Describe the bug
terminating due to unexpected unrecoverable internal error: Unexpected condition in T nix::Value::getStorage() const [T = nix::Bindings *] at /nix/store/70yy9na53ar2ckqr27bsq76s8z1mah8k-determinate-nix-expr-3.18.1-dev/include/nix/expr/value.hh:1205
Determinate Nix crashed. This is a bug. Please report this at https://github.com/DeterminateSystems/nix-src/issues with the following information included:
std::terminate() called without exception
Stack trace:
0# nix::(anonymous namespace)::onTerminate() in /nix/store/dvgx2h7hxgx4ccdjwdrd2d2c353nq3df-determinate-nix-3.18.1/bin/nix
1# std::__terminate(void (*)()) in /nix/store/sg5gfy9cj0991jbd4xfyrl21rmqib9r2-libcxx-19.1.7/lib/libc++abi.1.0.dylib
2# std::terminate() in /nix/store/sg5gfy9cj0991jbd4xfyrl21rmqib9r2-libcxx-19.1.7/lib/libc++abi.1.0.dylib
3# nix::writeErr(std::__1::basic_string_view<char, std::__1::char_traits>) in /nix/store/s0qbs9q53zw9axcimp21k48vg652rm0j-determinate-nix-util-3.18.1/lib/libnixutil.2.33.4.dylib
4# 0x000000010365B668 in /nix/store/s0qbs9q53zw9axcimp21k48vg652rm0j-determinate-nix-util-3.18.1/lib/libnixutil.2.33.4.dylib
5# nix::NixRepl::showLastLoaded() in /nix/store/wna43yrf9vyqgqyky8xz3025i04lj2k4-determinate-nix-cmd-3.18.1/lib/libnixcmd.2.33.4.dylib
6# nix::NixRepl::processLine(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>) in /nix/store/wna43yrf9vyqgqyky8xz3025i04lj2k4-determinate-nix-cmd-3.18.1/lib/libnixcmd.2.33.4.dylib
7# nix::NixRepl::mainLoop() in /nix/store/wna43yrf9vyqgqyky8xz3025i04lj2k4-determinate-nix-cmd-3.18.1/lib/libnixcmd.2.33.4.dylib
8# nix::CmdRepl::run(nix::refnix::Store, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>>>&&) in /nix/store/dvgx2h7hxgx4ccdjwdrd2d2c353nq3df-determinate-nix-3.18.1/bin/nix
9# nix::RawInstallablesCommand::run(nix::refnix::Store) in /nix/store/wna43yrf9vyqgqyky8xz3025i04lj2k4-determinate-nix-cmd-3.18.1/lib/libnixcmd.2.33.4.dylib
10# nix::StoreCommand::run() in /nix/store/wna43yrf9vyqgqyky8xz3025i04lj2k4-determinate-nix-cmd-3.18.1/lib/libnixcmd.2.33.4.dylib
11# nix::mainWrapped(int, char**) in /nix/store/dvgx2h7hxgx4ccdjwdrd2d2c353nq3df-determinate-nix-3.18.1/bin/nix
12# nix::handleExceptions(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, std::__1::function<void ()>) in /nix/store/vl19vnjdj4ib3q3md7cag5janhb8wdfz-determinate-nix-main-3.18.1/lib/libnixmain.2.33.4.dylib
13# main in /nix/store/dvgx2h7hxgx4ccdjwdrd2d2c353nq3df-determinate-nix-3.18.1/bin/nix
Steps To Reproduce
nix-repl> :lf
...
other stuff, :?, etc
...
nix-repl> import <nixpkgs>
nix-repl> :ll
Expected behavior
no crash. only my 2nd time using nix repl, but I expected some info on the result of loading the flake and/or of importing Nixpkgs.
Metadata
Determinate Nixd daemon version: 3.18.1
Determinate Nixd client version: 3.18.1
nix (Determinate Nix 3.18.1) 2.33.4
Additional context
Checklist
I did look at the other three "potential duplicates" and this does seem quite different. I now realize my version is not the latest, so I will update my nix and hope this has been fixed.
Describe the bug
terminating due to unexpected unrecoverable internal error: Unexpected condition in T nix::Value::getStorage() const [T = nix::Bindings *] at /nix/store/70yy9na53ar2ckqr27bsq76s8z1mah8k-determinate-nix-expr-3.18.1-dev/include/nix/expr/value.hh:1205
Determinate Nix crashed. This is a bug. Please report this at https://github.com/DeterminateSystems/nix-src/issues with the following information included:
std::terminate() called without exception
Stack trace:
0# nix::(anonymous namespace)::onTerminate() in /nix/store/dvgx2h7hxgx4ccdjwdrd2d2c353nq3df-determinate-nix-3.18.1/bin/nix
1# std::__terminate(void (*)()) in /nix/store/sg5gfy9cj0991jbd4xfyrl21rmqib9r2-libcxx-19.1.7/lib/libc++abi.1.0.dylib
2# std::terminate() in /nix/store/sg5gfy9cj0991jbd4xfyrl21rmqib9r2-libcxx-19.1.7/lib/libc++abi.1.0.dylib
3# nix::writeErr(std::__1::basic_string_view<char, std::__1::char_traits>) in /nix/store/s0qbs9q53zw9axcimp21k48vg652rm0j-determinate-nix-util-3.18.1/lib/libnixutil.2.33.4.dylib
4# 0x000000010365B668 in /nix/store/s0qbs9q53zw9axcimp21k48vg652rm0j-determinate-nix-util-3.18.1/lib/libnixutil.2.33.4.dylib
5# nix::NixRepl::showLastLoaded() in /nix/store/wna43yrf9vyqgqyky8xz3025i04lj2k4-determinate-nix-cmd-3.18.1/lib/libnixcmd.2.33.4.dylib
6# nix::NixRepl::processLine(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>) in /nix/store/wna43yrf9vyqgqyky8xz3025i04lj2k4-determinate-nix-cmd-3.18.1/lib/libnixcmd.2.33.4.dylib
7# nix::NixRepl::mainLoop() in /nix/store/wna43yrf9vyqgqyky8xz3025i04lj2k4-determinate-nix-cmd-3.18.1/lib/libnixcmd.2.33.4.dylib
8# nix::CmdRepl::run(nix::refnix::Store, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>>>&&) in /nix/store/dvgx2h7hxgx4ccdjwdrd2d2c353nq3df-determinate-nix-3.18.1/bin/nix
9# nix::RawInstallablesCommand::run(nix::refnix::Store) in /nix/store/wna43yrf9vyqgqyky8xz3025i04lj2k4-determinate-nix-cmd-3.18.1/lib/libnixcmd.2.33.4.dylib
10# nix::StoreCommand::run() in /nix/store/wna43yrf9vyqgqyky8xz3025i04lj2k4-determinate-nix-cmd-3.18.1/lib/libnixcmd.2.33.4.dylib
11# nix::mainWrapped(int, char**) in /nix/store/dvgx2h7hxgx4ccdjwdrd2d2c353nq3df-determinate-nix-3.18.1/bin/nix
12# nix::handleExceptions(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, std::__1::function<void ()>) in /nix/store/vl19vnjdj4ib3q3md7cag5janhb8wdfz-determinate-nix-main-3.18.1/lib/libnixmain.2.33.4.dylib
13# main in /nix/store/dvgx2h7hxgx4ccdjwdrd2d2c353nq3df-determinate-nix-3.18.1/bin/nix
Steps To Reproduce
nix-repl> :lf
...
other stuff, :?, etc
...
nix-repl> import <nixpkgs>
nix-repl> :ll
Expected behavior
no crash. only my 2nd time using nix repl, but I expected some info on the result of loading the flake and/or of importing Nixpkgs.
Metadata
Determinate Nixd daemon version: 3.18.1
Determinate Nixd client version: 3.18.1
nix (Determinate Nix 3.18.1) 2.33.4
Additional context
Checklist
I did look at the other three "potential duplicates" and this does seem quite different. I now realize my version is not the latest, so I will update my
nixand hope this has been fixed.