WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

random nix-daemon crash when using nh os switch #14758

@N4CH723HR3R

Description

@N4CH723HR3R

Describe the bug

i was updating my system in the background when this happened

Steps To Reproduce

this randomly happened with nh --elevation-program run0 os switch .

Expected behavior

no crash

Metadata

nix-env (Nix) 2.31.2

Additional context

Dez 10 00:58:23 nix-daemon[229320]: Nix crashed. This is a bug. Please report this at https://github.com/NixOS/nix/issues with the following information included:
Dez 10 00:58:23 nix-daemon[229320]: Exception: nix::Interrupted: error: interrupted by the user
Dez 10 00:58:23 nix-daemon[229320]: Stack trace:
Dez 10 00:58:23 nix-daemon[229320]: 0# 0x000055863B652551 in nix-daemon
Dez 10 00:58:23 nix-daemon[229320]: 1# 0x00007F1A8BCBF1AA in /nix/store/xm08aqdd7pxcdhm0ak6aqb1v7hw5q6ri-gcc-14.3.0-lib/lib/libstdc++.so.6
Dez 10 00:58:23 nix-daemon[229320]: 2# std::unexpected() in /nix/store/xm08aqdd7pxcdhm0ak6aqb1v7hw5q6ri-gcc-14.3.0-lib/lib/libstdc++.so.6
Dez 10 00:58:23 nix-daemon[229320]: 3# 0x00007F1A8BCAD800 in /nix/store/xm08aqdd7pxcdhm0ak6aqb1v7hw5q6ri-gcc-14.3.0-lib/lib/libstdc++.so.6
Dez 10 00:58:23 nix-daemon[229320]: 4# 0x00007F1A8C6A81DF in /nix/store/3cv2fqgkp4jd03rc5nqlsg9zc7fvh5bs-nix-store-2.31.2/lib/libnixstore.so
Dez 10 00:58:23 nix-daemon[229320]: 5# 0x00007F1A8C76B422 in /nix/store/3cv2fqgkp4jd03rc5nqlsg9zc7fvh5bs-nix-store-2.31.2/lib/libnixstore.so
Dez 10 00:58:23 nix-daemon[229320]: 6# nix::ignoreExceptionExceptInterrupt(nix::Verbosity) in /nix/store/c613jxwz29sghszq5ic3kybw312dc59x-nix-util-2.31.2/lib/libnixutil.so
Dez 10 00:58:23 nix-daemon[229320]: 7# 0x00007F1A8CABE489 in /nix/store/c613jxwz29sghszq5ic3kybw312dc59x-nix-util-2.31.2/lib/libnixutil.so
Dez 10 00:58:23 nix-daemon[229320]: 8# 0x00007F1A8BCED064 in /nix/store/xm08aqdd7pxcdhm0ak6aqb1v7hw5q6ri-gcc-14.3.0-lib/lib/libstdc++.so.6
Dez 10 00:58:23 nix-daemon[229320]: 9# 0x00007F1A8B89A97A in /nix/store/xx7cm72qy2c0643cm1ipngd87aqwkcdp-glibc-2.40-66/lib/libc.so.6
Dez 10 00:58:23 nix-daemon[229320]: 10# 0x00007F1A8B922D2C in /nix/store/xx7cm72qy2c0643cm1ipngd87aqwkcdp-glibc-2.40-66/lib/libc.so.6
Dez 10 00:58:23 nix-daemon[229320]: Nix crashed. This is a bug. Please report this at https://github.com/NixOS/nix/issues with the following information included:
Dez 10 00:58:23 nix-daemon[229320]: Exception: nix::Interrupted: error: interrupted by the user
Dez 10 00:58:23 nix-daemon[229320]: Stack trace:
Dez 10 00:58:23 nix-daemon[229320]: 0# 0x000055863B652551 in nix-daemon
1# 0x00007F1A8BCBF1AA in /nix/store/xm08aqdd7pxcdhm0ak6aqb1v7hw5q6ri-gcc-14.3.0-lib/lib/libstdc++.so.6
2# std::unexpected() in /nix/store/xm08aqdd7pxcdhm0ak6aqb1v7hw5q6ri-gcc-14.3.0-lib/lib/libstdc++.so.6
3# 0x00007F1A8BCAD800 in /nix/store/xm08aqdd7pxcdhm0ak6aqb1v7hw5q6ri-gcc-14.3.0-lib/lib/libstdc++.so.6
4# 0x00007F1A8C6A81DF in /nix/store/3cv2fqgkp4jd03rc5nqlsg9zc7fvh5bs-nix-store-2.31.2/lib/libnixstore.so
5# 0x00007F1A8C76B422 in /nix/store/3cv2fqgkp4jd03rc5nqlsg9zc7fvh5bs-nix-store-2.31.2/lib/libnixstore.so
6# nix::ignoreExceptionExceptInterrupt(nix::Verbosity) in /nix/store/c613jxwz29sghszq5ic3kybw312dc59x-nix-util-2.31.2/lib/libnixutil.so
7# 0x00007F1A8CABE489 in /nix/store/c613jxwz29sghszq5ic3kybw312dc59x-nix-util-2.31.2/lib/libnixutil.so
8# 0x00007F1A8BCED064 in /nix/store/xm08aqdd7pxcdhm0ak6aqb1v7hw5q6ri-gcc-14.3.0-lib/lib/libstdc++.so.6
9# 0x00007F1A8B89A97A in /nix/store/xx7cm72qy2c0643cm1ipngd87aqwkcdp-glibc-2.40-66/lib/libc.so.6
10# 0x00007F1A8B922D2C in /nix/store/xx7cm72qy2c0643cm1ipngd87aqwkcdp-glibc-2.40-66/lib/libc.so.6

Checklist

  • checked [latest Nix manual] ([source])
  • checked [open bug issues and pull requests] for possible duplicates

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions