Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash when evaluating module #2718

Open
teto opened this issue Mar 11, 2019 · 10 comments
Open

crash when evaluating module #2718

teto opened this issue Mar 11, 2019 · 10 comments

Comments

@teto
Copy link
Member

teto commented Mar 11, 2019

I am trying to write some module that generates a (neo)vim config based on buildInputs (will create a proper python3Env etc).
The crash happens when running this nix-shell :
https://github.com/teto/mptcpanalyzer/blob/fda8ffb12976c3de31f537386b02eb9ded09ca9d/contrib/shell.nix
with this nixpkgs (nixos-unstable plus my WIP patches):
teto/nixpkgs@a3b1357

When I try to test it, nix crashes:
nix (Nix) 2.2

I fear the backtrace might not be very helpful as is but I don't hae yet a good workflow on nixpkgs for gdb (any hint/tip appreciated):

           PID: 19542 (nix-shell)
           UID: 1000 (teto)
           GID: 100 (users)
        Signal: 11 (SEGV)
     Timestamp: Mon 2019-03-11 15:37:34 JST (37s ago)
  Command Line: nix-shell
    Executable: /nix/store/08i4l3pxx0z7ndrbbcwnbr2nxml6gh0r-nix-2.2/bin/nix
 Control Group: /user.slice/user-1000.slice/session-1.scope
          Unit: session-1.scope
         Slice: user-1000.slice
       Session: 1
     Owner UID: 1000 (teto)
       Boot ID: 92207d172c3340d8a0f746b739a091ee
    Machine ID: 1aa845d7be064cb893633636b9b393d7
      Hostname: jedha
       Storage: /var/lib/systemd/coredump/core.nix-shell.1000.92207d172c3340d8a0f746b739a091ee.19542.1552286254000000.lz4 (truncated)
       Message: Process 19542 (nix-shell) of user 1000 dumped core.

GNU gdb (GDB) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /nix/store/08i4l3pxx0z7ndrbbcwnbr2nxml6gh0r-nix-2.2/bin/nix...(no debugging symbols found)...done.
BFD: warning: /var/tmp/coredump-F9asqf is truncated: expected core file size >= 4248256512, found: 2147483648

warning: core file may not match specified executable file.

warning: platform-specific solib_create_inferior_hook did not load initial shared libraries.
Cannot access memory at address 0x7f7eb36a40e8
Cannot access memory at address 0x7f7eb36a40e0
Failed to read a valid object file image from memory.
Core was generated by `nix-shell'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000000000436b38 in boost::io::basic_altstringbuf<char, std::char_traits<char>, std::allocator<char> >::overflow(int) ()
[Current thread is 1 (LWP 19542)]
+(gdb) bt
#0  0x0000000000436b38 in boost::io::basic_altstringbuf<char, std::char_traits<char>, std::allocator<char> >::overflow(int) ()
Backtrace stopped: Cannot access memory at address 0x7fff9beb59a8


@teto
Copy link
Member Author

teto commented Mar 12, 2019

same crash happens with master 5886bc5.

I wanted to investigate deeper and followed the hacking section https://nixos.org/nix/manual/#chap-hacking yet:
nix-shell yet make installcheck misses libsodium

running test tests/pure-eval.sh... [FAIL]
    + clearStore
    + echo 'clearing store...'
    clearing store...
    + chmod -R +w /run/user/1000/nix-test/store
    + rm -rf /run/user/1000/nix-test/store
    + mkdir /run/user/1000/nix-test/store
    + rm -rf /run/user/1000/nix-test/var/nix
    + mkdir /run/user/1000/nix-test/var/nix
    + nix-store --init
    nix-store: error while loading shared libraries: libsodium.so.23: cannot open shared object file: No such file or directory
running test tests/check.sh... [FAIL]
    + clearStore
    + echo 'clearing store...'
    clearing store...
    + chmod -R +w /run/user/1000/nix-test/store
    + rm -rf /run/user/1000/nix-test/store
    + mkdir /run/user/1000/nix-test/store
    + rm -rf /run/user/1000/nix-test/var/nix
    + mkdir /run/user/1000/nix-test/var/nix
    + nix-store --init
    nix-store: error while loading shared libraries: libsodium.so.23: cannot open shared object file: No such file or directory

then I tried to run the inst/bin/nix-shell and got /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib/libc.so.6: version GLIBC_2.27' not found (required by /nix/store/bp9i6x5f3hvh2qh049ffsihslz1kf45m-libkrb5-1.15.2/lib/libgssapi_krb5.so.2)`. I noticed nixpkgs is taken from stable by default while I run nixos-unstable. Why this choice ? Shouldn't this be added to the hacking section ?

@teto
Copy link
Member Author

teto commented Mar 13, 2019

Here is a full backtrace, I hope that's helpful.

#0  0x00000000004361c8 in boost::io::basic_altstringbuf<char, std::char_traits<char>, std::allocator<char> >::overflow(int) ()
#1  0x00007ffff68850f9 in std::basic_streambuf<char, std::char_traits<char> >::xsputn(char const*, long) ()
   from /nix/store/qh3pn6d1a6m31kb385pzi7vagwcbwayq-gcc-7.3.0-lib/lib/libstdc++.so.6
#2  0x00007ffff6875824 in std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long) ()
   from /nix/store/qh3pn6d1a6m31kb385pzi7vagwcbwayq-gcc-7.3.0-lib/lib/libstdc++.so.6
#3  0x00007ffff76b753a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#4  0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#5  0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#6  0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#7  0x00007ffff76b761a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#8  0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#9  0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
(More stack frames follow...)
#0  0x00000000004361c8 in boost::io::basic_altstringbuf<char, std::char_traits<char>, std::allocator<char> >::overflow(int) ()
#1  0x00007ffff68850f9 in std::basic_streambuf<char, std::char_traits<char> >::xsputn(char const*, long) ()
   from /nix/store/qh3pn6d1a6m31kb385pzi7vagwcbwayq-gcc-7.3.0-lib/lib/libstdc++.so.6
#2  0x00007ffff6875824 in std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long) ()
   from /nix/store/qh3pn6d1a6m31kb385pzi7vagwcbwayq-gcc-7.3.0-lib/lib/libstdc++.so.6
#3  0x00007ffff76b753a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#4  0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#5  0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#6  0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#7  0x00007ffff76b761a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#8  0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#9  0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#10 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#11 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#12 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#13 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#14 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#15 0x00007ffff76b761a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#16 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#17 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#18 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#19 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#20 0x00007ffff76b761a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#21 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#22 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#23 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#24 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#25 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#26 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#27 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#28 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#29 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#30 0x00007ffff76b761a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#31 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#32 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#33 0x00007ffff76b761a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#34 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#35 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#36 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#37 0x00007ffff76b793a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#38 0x00007ffff76b761a in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#39 0x00007ffff76b7b13 in nix::operator<<(std::ostream&, nix::Value const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#40 0x000000000043cc1a in void boost::io::detail::put<char, std::char_traits<char>, std::allocator<char>, boost::io::detail::put_holder<char, std::char_traits<char> > const&>(boost::io::detail::put_holder<char, std::char_traits<char> > const&, boost::io::detail::format_item<char, std::char_traits<char>, std::allocator<char> > const&, boost::basic_format<char, std::char_traits<char>, std::allocator<char> >::string_type&, boost::basic_format<char, std::char_traits<char>, std::allocator<char> >::internal_streambuf_t&, std::locale*)
    ()
#41 0x00007ffff76f0c79 in boost::basic_format<char, std::char_traits<char>, std::allocator<char> >& boost::io::detail::feed_impl<char, std::char_traits<char>, std::allocator<char>, boost::io::detail::put_holder<char, std::char_traits<char> > const&>(boost::basic_format<char, std::char_traits<char>, std::allocator<char> >&, boost::io::detail::put_holder<char, std::char_traits<char> > const&) [clone .constprop.1199] () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#42 0x00007ffff76f5def in nix::prim_trace(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#43 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#44 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#45 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#46 0x00007ffff76b264b in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#47 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#48 0x00007ffff76b2e01 in nix::ExprOpConcatLists::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#49 0x00007ffff76b2e14 in nix::ExprOpConcatLists::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#50 0x00007ffff76b264b in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#51 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#52 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#53 0x00007ffff76b2b82 in nix::ExprVar::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#54 0x00007ffff76b2e01 in nix::ExprOpConcatLists::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#55 0x00007ffff76f4591 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) [clone .constprop.1193] ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#56 0x00007ffff76f8748 in nix::prim_filter(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#57 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#58 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#59 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#60 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#61 0x00007ffff76b2b82 in nix::ExprVar::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#62 0x00007ffff76b2e01 in nix::ExprOpConcatLists::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#63 0x00007ffff76b2e14 in nix::ExprOpConcatLists::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#64 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#65 0x00007ffff76b2b82 in nix::ExprVar::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#66 0x00007ffff76b3b68 in nix::ExprOpEq::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#67 0x00007ffff76af918 in nix::ExprIf::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#68 0x00007ffff76b264b in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#69 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#70 0x00007ffff76b264b in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#71 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#72 0x00007ffff76f4591 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) [clone .constprop.1193] ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#73 0x00007ffff76f7f38 in nix::prim_map(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#74 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#75 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#76 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#77 0x00007ffff77383f7 in nix::printValueAsJSON(nix::EvalState&, bool, nix::Value&, nix::JSONPlaceholder&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#78 0x00007ffff77387c0 in nix::printValueAsJSON(nix::EvalState&, bool, nix::Value&, std::ostream&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#79 0x00007ffff76ef430 in nix::prim_toJSON(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#80 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#81 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#82 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#83 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#84 0x00007ffff76b5bd2 in nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, bool, bool) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#85 0x00007ffff76eefb3 in nix::prim_stringLength(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#86 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#87 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#88 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#89 0x00007ffff76f4591 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) [clone .constprop.1193] ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#90 0x00007ffff76f6ae9 in nix::prim_lessThan(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#91 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#92 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#93 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#94 0x00007ffff76af999 in nix::ExprOpNot::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#95 0x00007ffff76af918 in nix::ExprIf::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#96 0x00007ffff76f4591 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) [clone .constprop.1193] ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#97 0x00007ffff7705270 in nix::prim_derivationStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#98 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#99 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#100 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#101 0x00007ffff76f4591 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) [clone .constprop.1193] ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#102 0x00007ffff76f7ba5 in nix::prim_getAttr(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#103 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#104 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#105 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#106 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#107 0x00007ffff76b3e34 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#108 0x00007ffff76b09be in nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#109 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#110 0x00007ffff76b5bd2 in nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, bool, bool) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#111 0x00007ffff76b5fac in nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, bool, bool) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#112 0x00007ffff76b656b in nix::ExprConcatStrings::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#113 0x00007ffff76af93b in nix::ExprIf::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#114 0x00007ffff76b641f in nix::ExprConcatStrings::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#115 0x00007ffff76b641f in nix::ExprConcatStrings::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#116 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#117 0x00007ffff76b3e34 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#118 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#119 0x00007ffff76b2b82 in nix::ExprVar::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#120 0x00007ffff76b3cb9 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#121 0x00007ffff76b3b68 in nix::ExprOpEq::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#122 0x00007ffff76af918 in nix::ExprIf::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#123 0x00007ffff76b264b in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#124 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#125 0x00007ffff76f4591 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) [clone .constprop.1193] ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#126 0x00007ffff76f7f38 in nix::prim_map(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#127 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#128 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#129 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#130 0x00007ffff76b264b in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#131 0x00007ffff76f855e in nix::prim_concatMap(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#132 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#133 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#134 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#135 0x00007ffff76f4591 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) [clone .constprop.1193] ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#136 0x00007ffff76f84d8 in nix::prim_concatMap(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#137 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#138 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#139 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#140 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#141 0x00007ffff76b3e34 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#142 0x00007ffff76f4591 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) [clone .constprop.1193] ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#143 0x00007ffff76f6b84 in nix::prim_any(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#144 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#145 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#146 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#147 0x00007ffff76af918 in nix::ExprIf::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#148 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#149 0x00007ffff76b3e34 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#150 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#151 0x00007ffff76b2b82 in nix::ExprVar::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#152 0x00007ffff76b3c08 in nix::ExprOpNEq::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#153 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#154 0x00007ffff76b3e34 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#155 0x00007ffff76af999 in nix::ExprOpNot::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#156 0x00007ffff76af918 in nix::ExprIf::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#157 0x00007ffff76f4591 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) [clone .constprop.1193] ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#158 0x00007ffff76f58e8 in nix::prim_addErrorContext(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#159 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#160 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#161 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#162 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#163 0x00007ffff76b3e34 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#164 0x00007ffff76af93b in nix::ExprIf::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#165 0x00007ffff76b264b in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#166 0x00007ffff76b3e34 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#167 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#168 0x00007ffff76b2b82 in nix::ExprVar::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#169 0x00007ffff76b3cb9 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#170 0x00007ffff76b3b68 in nix::ExprOpEq::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#171 0x00007ffff76af918 in nix::ExprIf::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#172 0x00007ffff76b264b in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#173 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#174 0x00007ffff76f4591 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) [clone .constprop.1193] ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#175 0x00007ffff76f7f38 in nix::prim_map(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#176 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#177 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#178 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#179 0x00007ffff76b264b in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#180 0x00007ffff76f855e in nix::prim_concatMap(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#181 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#182 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#183 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#184 0x00007ffff76f4591 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) [clone .constprop.1193] ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#185 0x00007ffff76f84d8 in nix::prim_concatMap(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#186 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#187 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#188 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#189 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#190 0x00007ffff76b3e34 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#191 0x00007ffff76f4591 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) [clone .constprop.1193] ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#192 0x00007ffff76f6b84 in nix::prim_any(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#193 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#194 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#195 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#196 0x00007ffff76af918 in nix::ExprIf::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#197 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#198 0x00007ffff76b3e34 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#199 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#200 0x00007ffff76b2b82 in nix::ExprVar::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#201 0x00007ffff76b3c08 in nix::ExprOpNEq::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#202 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#203 0x00007ffff76b3e34 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#204 0x00007ffff76af999 in nix::ExprOpNot::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#205 0x00007ffff76af918 in nix::ExprIf::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#206 0x00007ffff76f4591 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) [clone .constprop.1193] ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#207 0x00007ffff76f58e8 in nix::prim_addErrorContext(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#208 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#209 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#210 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#211 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#212 0x00007ffff76b3e34 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#213 0x00007ffff76af93b in nix::ExprIf::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#214 0x00007ffff76b264b in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#215 0x00007ffff76b3e34 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#216 0x00007ffff76f4591 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) [clone .constprop.1193] ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#217 0x00007ffff7705270 in nix::prim_derivationStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#218 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#219 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#220 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#221 0x00007ffff76f4591 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) [clone .constprop.1193] ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#222 0x00007ffff76f7ba5 in nix::prim_getAttr(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#223 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#224 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#225 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#226 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#227 0x00007ffff76b3e34 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#228 0x00007ffff76b09be in nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#229 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#230 0x00007ffff76b5bd2 in nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, bool, bool) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#231 0x00007ffff76b5fac in nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, bool, bool) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#232 0x00007ffff76b656b in nix::ExprConcatStrings::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#233 0x00007ffff76b641f in nix::ExprConcatStrings::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#234 0x00007ffff76f4591 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) [clone .constprop.1193] ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#235 0x00007ffff7705270 in nix::prim_derivationStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#236 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#237 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#238 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#239 0x00007ffff76f4591 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) [clone .constprop.1193] ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#240 0x00007ffff76f7ba5 in nix::prim_getAttr(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#241 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#242 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#243 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#244 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#245 0x00007ffff76b3e34 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#246 0x00007ffff76b09be in nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#247 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#248 0x00007ffff76b5bd2 in nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, bool, bool) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#249 0x00007ffff76b5fac in nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, bool, bool) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#250 0x00007ffff76b5ce6 in nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, bool, bool) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#251 0x00007ffff77052b8 in nix::prim_derivationStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#252 0x00007ffff76ae53d in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#253 0x00007ffff76b2816 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#254 0x00007ffff76b434d in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#255 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#256 0x00007ffff76b2b82 in nix::ExprVar::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#257 0x00007ffff76b3cb9 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#258 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#259 0x00007ffff76b3e34 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#260 0x00007ffff76b09be in nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#261 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#262 0x00007ffff76b3e34 in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#263 0x00007ffff76b09be in nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#264 0x00000000004e6c61 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
#265 0x00007ffff76b5bd2 in nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, bool, bool) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#266 0x00007ffff76b6966 in nix::EvalState::coerceToPath(nix::Pos const&, nix::Value&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#267 0x00007ffff76be82a in nix::DrvInfo::queryDrvPath[abi:cxx11]() const ()
   from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixexpr.so
#268 0x0000000000444bf9 in _main ()
#269 0x00000000004d047e in nix::mainWrapped(int, char**) ()
#270 0x00007ffff71d032c in nix::handleExceptions(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<void ()>) () from /nix/store/j40zb6apb6pl2n1imrpxikr1g221p448-nix-2.3pre6645_5886bc5/lib/libnixmain.so
#271 0x0000000000430d0c in main ()


@dtzWill
Copy link
Member

dtzWill commented Mar 13, 2019 via email

@teto
Copy link
Member Author

teto commented Mar 13, 2019

when I noticed trace was involved, I disabled the call in

    python3Env = let
      pluginPython3Packages = getDeps "python3Dependencies" (requiredPlugins config);
    in
      python3Packages.python.withPackages (ps:
              [ ps.pynvim ]
              ++ (config.extraPython3Packages ps)
              # ++ debug.traceVal (config.extraPython3Packages ps)
              ++ (concatMap (f: f ps) pluginPython3Packages)
              );

and it stopped crashing. There should have been 8 packages , 15 at most.

@teto
Copy link
Member Author

teto commented Apr 22, 2019

it happened again also because of a lib.debug.traceVal. I've tried nix master with a similar backtrace :'(

@jtojnar
Copy link
Member

jtojnar commented Apr 29, 2020

I can reproduce this issue on https://github.com/jtojnar/nixpkgs/tree/nix-segfault with following versions:

$ nix run -f . nixStable -c nix-build --version
nix-build (Nix) 2.3.4
$ nix-build --version
nix-build (Nix) 2.4pre7346_5e7ccdc9

when building the NixOS manual using nix-build nixos/release.nix -A manualHTML.x86_64-linux. The issue seems to be triggered by the builtin.trace here as well.

Stable Nix shows the same traceback as OP:

#0  0x000000000044c127 in boost::io::basic_altstringbuf<char, std::char_traits<char>, std::allocator<char> >::overflow(int) ()
No symbol table info available.
Backtrace stopped: Cannot access memory at address 0x7ffd07c6d308

with unstable, it changes slightly:

#0  0x00000000004554f7 in std::basic_streambuf<char, std::char_traits<char> >::sputc (__c=116 't', 
    this=0x7fffe62924c8)
    at /nix/store/yrm128w6m29dcq2yg1rlgyq037vjnv0p-gcc-9.3.0/include/c++/9.3.0/streambuf:431
#1  boost::io::basic_altstringbuf<char, std::char_traits<char>, std::allocator<char> >::overflow (
    this=0x7fffe62924c8, meta=116) at include/boost/format/alt_sstream_impl.hpp:290
Backtrace stopped: Cannot access memory at address 0x7fffe62906b8

@chkno
Copy link
Member

chkno commented Jan 22, 2021

I am still seeing this on current master.

#0  0x000000000046a367 in boost::io::basic_altstringbuf<char, std::char_traits<char>, std::allocator<char> >::overflow(int) ()
#1  0x00007ffff74bc4ca in std::basic_streambuf<char, std::char_traits<char> >::xsputn(char const*, long) () from /nix/store/vran8acwir59772hj4vscr7zribvp7l5-gcc-9.3.0-lib/lib/libstdc++.so.6
#2  0x00007ffff74ac1f3 in std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long) () from /nix/store/vran8acwir59772hj4vscr7zribvp7l5-gcc-9.3.0-lib/lib/libstdc++.so.6
#3  0x00007ffff7e38943 in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/5r9vkqvgr9szxpma5jq43w0fgc916a95-nix-2.4pre20210122_b7bfc7e/lib/libnixexpr.so
#4  0x00007ffff7e38c7d in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/5r9vkqvgr9szxpma5jq43w0fgc916a95-nix-2.4pre20210122_b7bfc7e/lib/libnixexpr.so
#5  0x00007ffff7e38c7d in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/5r9vkqvgr9szxpma5jq43w0fgc916a95-nix-2.4pre20210122_b7bfc7e/lib/libnixexpr.so
...
#42 0x00007ffff7e38c7d in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/5r9vkqvgr9szxpma5jq43w0fgc916a95-nix-2.4pre20210122_b7bfc7e/lib/libnixexpr.so
#43 0x00007ffff7e3874f in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/5r9vkqvgr9szxpma5jq43w0fgc916a95-nix-2.4pre20210122_b7bfc7e/lib/libnixexpr.so
#44 0x00007ffff7e38c7d in nix::printValue(std::ostream&, std::set<nix::Value const*, std::less<nix::Value const*>, std::allocator<nix::Value const*> >&, nix::Value const&) () from /nix/store/5r9vkqvgr9szxpma5jq43w0fgc916a95-nix-2.4pre20210122_b7bfc7e/lib/libnixexpr.so
#45 0x00007ffff7e38d92 in nix::operator<<(std::ostream&, nix::Value const&) () from /nix/store/5r9vkqvgr9szxpma5jq43w0fgc916a95-nix-2.4pre20210122_b7bfc7e/lib/libnixexpr.so
#46 0x0000000000475812 in void boost::io::detail::put<char, std::char_traits<char>, std::allocator<char>, boost::io::detail::put_holder<char, std::char_traits<char> > const&>(boost::io::detail::put_holder<char, std::char_traits<char> > const&, boost::io::detail::format_item<char, std::char_traits<char>, std::allocator<char> > const&, boost::basic_format<char, std::char_traits<char>, std::allocator<char> >::string_type&, boost::basic_format<char, std::char_traits<char>, std::allocator<char> >::internal_streambuf_t&, std::locale*) ()
#47 0x00000000004764bf in void boost::io::detail::distribute<char, std::char_traits<char>, std::allocator<char>, boost::io::detail::put_holder<char, std::char_traits<char> > const&>(boost::basic_format<char, std::char_traits<char>, std::allocator<char> >&, boost::io::detail::put_holder<char, std::char_traits<char> > const&) ()
#48 0x000000000047658b in boost::basic_format<char, std::char_traits<char>, std::allocator<char> >& boost::io::detail::feed_impl<char, std::char_traits<char>, std::allocator<char>, boost::io::detail::put_holder<char, std::char_traits<char> > const&>(boost::basic_format<char, std::char_traits<char>, std::allocator<char> >&, boost::io::detail::put_holder<char, std::char_traits<char> > const&) ()
#49 0x00007ffff7ebaccc in nix::prim_trace(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) () from /nix/store/5r9vkqvgr9szxpma5jq43w0fgc916a95-nix-2.4pre20210122_b7bfc7e/lib/libnixexpr.so
#50 0x00007ffff7e2c9d5 in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) () from /nix/store/5r9vkqvgr9szxpma5jq43w0fgc916a95-nix-2.4pre20210122_b7bfc7e/lib/libnixexpr.so
#51 0x00007ffff7e32cde in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) () from /nix/store/5r9vkqvgr9szxpma5jq43w0fgc916a95-nix-2.4pre20210122_b7bfc7e/lib/libnixexpr.so
#52 0x00007ffff7e334bd in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/5r9vkqvgr9szxpma5jq43w0fgc916a95-nix-2.4pre20210122_b7bfc7e/lib/libnixexpr.so
#53 0x0000000000536098 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) ()
...
#205 0x00007ffff7e34c4e in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/5r9vkqvgr9szxpma5jq43w0fgc916a95-nix-2.4pre20210122_b7bfc7e/lib/libnixexpr.so
#206 0x00007ffff7e35331 in nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/5r9vkqvgr9szxpma5jq43w0fgc916a95-nix-2.4pre20210122_b7bfc7e/lib/libnixexpr.so
#207 0x00007ffff7e2263d in nix::eval_cache::AttrCursor::forceValue() () from /nix/store/5r9vkqvgr9szxpma5jq43w0fgc916a95-nix-2.4pre20210122_b7bfc7e/lib/libnixexpr.so
#208 0x00007ffff7e24ce8 in nix::eval_cache::AttrCursor::getString[abi:cxx11]() () from /nix/store/5r9vkqvgr9szxpma5jq43w0fgc916a95-nix-2.4pre20210122_b7bfc7e/lib/libnixexpr.so
#209 0x00007ffff7e24f0d in nix::eval_cache::AttrCursor::forceDerivation() () from /nix/store/5r9vkqvgr9szxpma5jq43w0fgc916a95-nix-2.4pre20210122_b7bfc7e/lib/libnixexpr.so
#210 0x0000000000553043 in nix::InstallableFlake::toDerivation[abi:cxx11]() ()
#211 0x000000000055354d in nix::InstallableFlake::toDerivations() ()
#212 0x000000000054e949 in nix::InstallableValue::toBuildables() ()
#213 0x00000000005480de in nix::build(nix::ref<nix::Store>, nix::Realise, std::vector<std::shared_ptr<nix::Installable>, std::allocator<std::shared_ptr<nix::Installable> > >, nix::BuildMode) ()
#214 0x00000000004e9d2a in CmdBuild::run(nix::ref<nix::Store>) ()
#215 0x00000000004f47f8 in nix::StoreCommand::run() ()
#216 0x0000000000560d3c in nix::mainWrapped(int, char**) ()
#217 0x00007ffff7ad2a08 in nix::handleExceptions(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<void ()>) () from /nix/store/5r9vkqvgr9szxpma5jq43w0fgc916a95-nix-2.4pre20210122_b7bfc7e/lib/libnixmain.so
#218 0x000000000046291b in main ()

I'm encountering this after adding a trace on purpose, so removing the trace statement isn't a workaround.

I was trying to trace-print a derivation. As a workaround, I was able to trace-print the .drvPath attribute of the derivation instead.

@Ma27
Copy link
Member

Ma27 commented Apr 3, 2021

I can also confirm this on both Nix unstable (nix (Nix) 2.4pre20210326_dd77f71) and stable (nix (Nix) 2.3.10). I also observed this in the past and I'm pretty sure that it's related to builtins.trace of config.* values in a NixOS module.

A minimal example to reproduce looks like this:

with import <nixpkgs> { };

let
  foo = import (pkgs.path + "/nixos/lib/eval-config.nix") {
    modules = [
      ({ config, ... }: {
        services.grafana.enable = builtins.trace config true;
      })
    ];
  };
in foo.config.system.build.toplevel

My <nixpkgs> points to release-20.09, however I encountered this in the past rather often, so I guess it's due to the module system in general.

The error looks like this on both unstable and stable:

λ ma27 [~/Projects/test] → nix-instantiate test.nix --eval
[1]    18983 segmentation fault (core dumped)  nix-instantiate test.nix --eval

The culprit seems to be:

#0  0x000000000044c127 in boost::io::basic_altstringbuf<char, std::char_traits<char>, std::allocator<char> >::overflow(int) ()
Backtrace stopped: Cannot access memory at address 0x7fffa2ae6958

CCing @edolstra & @infinisil who may have an idea how to investigate this further or how to fix this :)

@stale
Copy link

stale bot commented Oct 2, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the stale label Oct 2, 2021
@kjeremy
Copy link
Contributor

kjeremy commented May 28, 2024

@Ma27 I just tried reproducing this with your example and could not (but I do get an evaluation error).

@stale stale bot removed the stale label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants