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

Segmentation fault in nixos-rebuild with flakes #4670

Open
wahjava opened this issue Mar 26, 2021 · 5 comments
Open

Segmentation fault in nixos-rebuild with flakes #4670

wahjava opened this issue Mar 26, 2021 · 5 comments

Comments

@wahjava
Copy link

wahjava commented Mar 26, 2021

Describe the bug

The last few lines from the output:

instantiated 'python3.8-urllib3-1.26.3' -> '/nix/store/d3qrq12mrfws3z2y1snrhfhfscc26v8c-python3.8-urllib3-1.26.3.drv'
instantiated 'requests-2.25.1.tar.gz' -> '/nix/store/ylsrhgwaxjfiq6qf7214g3qs4hkrp3bp-requests-2.25.1.tar.gz.drv'
instantiated 'python3.8-requests-2.25.1' -> '/nix/store/mq21c4vz1hznkkvrz976amij82dm3421-python3.8-requests-2.25.1.drv'
instantiated 'snowballstemmer-2.1.0.tar.gz' -> '/nix/store/fzfgjndq9kplz468iq86213wdqii3h2v-snowballstemmer-2.1.0.tar.gz.drv'
instantiated 'python3.8-snowballstemmer-2.1.0' -> '/nix/store/lyibwippjs0j3br837hw2p8cn8zpg3bk-python3.8-snowballstemmer-2.1.0.drv'
instantiated 'sphinxcontrib-applehelp-1.0.2.tar.gz' -> '/nix/store/1ycmay3bvz81k6pi51zg4krfa31hgw4d-sphinxcontrib-applehelp-1.0.2.tar.gz.drv'
instantiated 'python3.8-sphinxcontrib-applehelp-1.0.2' -> '/nix/store/7b7s1mvjbislzwnnc52a3ap2qbkb437b-python3.8-sphinxcontrib-applehelp-1.0.2.drv'
instantiated 'sphinxcontrib-devhelp-1.0.2.tar.gz' -> '/nix/store/8w3fqnarfa1k1ph9anp851s464sj6bqg-sphinxcontrib-devhelp-1.0.2.tar.gz.drv'
instantiated 'python3.8-sphinxcontrib-devhelp-1.0.2' -> '/nix/store/zja1s0bwd7xln545vqk88i9jb57vb300-python3.8-sphinxcontrib-devhelp-1.0.2.drv'
instantiated 'sphinxcontrib-htmlhelp-1.0.3.tar.gz' -> '/nix/store/sg8pwgmf44gqzphls6n8r65zjq5ql908-sphinxcontrib-htmlhelp-1.0.3.tar.gz.drv'
instantiated 'python3.8-sphinxcontrib-htmlhelp-1.0.3' -> '/nix/store/4ninq3b7w02sxzkqg4ndv36pdqijgl6y-python3.8-sphinxcontrib-htmlhelp-1.0.3.drv'
instantiated 'sphinxcontrib-jsmath-1.0.1.tar.gz' -> '/nix/store/244yl767fwh1wqbds01wxhx6yv1sngda-sphinxcontrib-jsmath-1.0.1.tar.gz.drv'
instantiated 'python3.8-sphinxcontrib-jsmath-1.0.1' -> '/nix/store/q17i377zlhw4zksq4661n6dn8bczsf0q-python3.8-sphinxcontrib-jsmath-1.0.1.drv'
instantiated 'sphinxcontrib-qthelp-1.0.3.tar.gz' -> '/nix/store/13vzng8ijy27cz25rygs5zaafv9y3cjd-sphinxcontrib-qthelp-1.0.3.tar.gz.drv'
instantiated 'python3.8-sphinxcontrib-qthelp-1.0.3' -> '/nix/store/94rmkbrpmwn9pgzcd5bjqfgwh6lxf4pn-python3.8-sphinxcontrib-qthelp-1.0.3.drv'
instantiated 'sphinxcontrib-serializinghtml-1.1.4.tar.gz' -> '/nix/store/5ybv5b40d0r8409capi3b12mydx90nav-sphinxcontrib-serializinghtml-1.1.4.tar.gz.drv'
instantiated 'python3.8-sphinxcontrib-serializinghtml-1.1.4' -> '/nix/store/lardqmjjgms4imhkg7d05i8xg1qna671-python3.8-sphinxcontrib-serializinghtml-1.1.4.drv'
instantiated 'Sphinx-3.4.3.tar.gz' -> '/nix/store/sc5fqsy34yzmff7n9a3928l9q13xfixn-Sphinx-3.4.3.tar.gz.drv'
instantiated 'python3.8-sphinx-3.4.3' -> '/nix/store/gpxs3cd6dacy86w2h0hkih82zcgc4kdw-python3.8-sphinx-3.4.3.drv'
evaluating file '/nix/store/dyxka00cvc00x2vfd8kdxib3h45y8hnc-source/pkgs/applications/networking/sync/rsync/default.nix'
evaluating file '/nix/store/dyxka00cvc00x2vfd8kdxib3h45y8hnc-source/pkgs/development/libraries/xxHash/default.nix'
evaluating file '/nix/store/dyxka00cvc00x2vfd8kdxib3h45y8hnc-source/pkgs/applications/networking/sync/rsync/base.nix'
instantiated 'source' -> '/nix/store/pnlycyrf1xvd4a5h7x2bm7iikcr2mkfp-source.drv'
instantiated 'xxHash-0.8.0' -> '/nix/store/ma3xgchyv5g22jamf61ljl0hcdqplqr0-xxHash-0.8.0.drv'
instantiated 'rsync-3.2.3.tar.gz' -> '/nix/store/26r7jg4jl9az1mkp5dcqlv9hylhldxgw-rsync-3.2.3.tar.gz.drv'
instantiated 'rsync-patches-3.2.3.tar.gz' -> '/nix/store/2xii0yjx8l05kiplmjiz8w0knpqvmwgg-rsync-patches-3.2.3.tar.gz.drv'
instantiated 'rsync-3.2.3' -> '/nix/store/1gpc7f7wdwbfxkxmx948ksrpa1l46qac-rsync-3.2.3.drv'
instantiated 'prettytable-0.7.2.tar.bz2' -> '/nix/store/ffglkn18m2sx0z5sl3qrmm0a4gc6rawm-prettytable-0.7.2.tar.bz2.drv'
instantiated 'python3.8-prettytable-0.7.2' -> '/nix/store/3w4dbk506q6vd47q0s5bf0rcbvxfhg0y-python3.8-prettytable-0.7.2.drv'
instantiated 'typeguard-2.10.0.tar.gz' -> '/nix/store/9slr6n4hnwr66kf8ri9zfaz7z6xdfxa3-typeguard-2.10.0.tar.gz.drv'
instantiated 'python3.8-typeguard-2.10.0' -> '/nix/store/k1jjdi4nzqw7sydx8cabg1fsvqdbqfql-python3.8-typeguard-2.10.0.drv'
evaluating file '/nix/store/dyxka00cvc00x2vfd8kdxib3h45y8hnc-source/pkgs/build-support/nix-gitignore/default.nix'
/run/current-system/sw/bin/nixos-rebuild: line 474:  6339 Segmentation fault      (core dumped) nix "${flakeFlags[@]}" build "$flake#$flakeAttr.config.system.build.toplevel" "${extraBuildFlags[@]}" "${lockFlags[@]}" --out-link $outLink

Backtrace:

#0  0x00007f28d75f82c0 in GC_push_all_eager () from /nix/store/wkl16zs8r7mhvc1khyj7ya2hn30x0hxw-boehm-gc-8.0.4/lib/libgc.so.1
#1  0x00007f28d7604f1b in GC_push_all_stacks () from /nix/store/wkl16zs8r7mhvc1khyj7ya2hn30x0hxw-boehm-gc-8.0.4/lib/libgc.so.1
#2  0x00007f28d75fbae7 in GC_mark_some () from /nix/store/wkl16zs8r7mhvc1khyj7ya2hn30x0hxw-boehm-gc-8.0.4/lib/libgc.so.1
#3  0x00007f28d75fd7ed in GC_stopped_mark () from /nix/store/wkl16zs8r7mhvc1khyj7ya2hn30x0hxw-boehm-gc-8.0.4/lib/libgc.so.1
#4  0x00007f28d7601e6a in GC_try_to_collect_inner.part.0 () from /nix/store/wkl16zs8r7mhvc1khyj7ya2hn30x0hxw-boehm-gc-8.0.4/lib/libgc.so.1
#5  0x00007f28d760228f in GC_collect_or_expand () from /nix/store/wkl16zs8r7mhvc1khyj7ya2hn30x0hxw-boehm-gc-8.0.4/lib/libgc.so.1
#6  0x00007f28d7602518 in GC_allocobj () from /nix/store/wkl16zs8r7mhvc1khyj7ya2hn30x0hxw-boehm-gc-8.0.4/lib/libgc.so.1
#7  0x00007f28d76028af in GC_generic_malloc_inner () from /nix/store/wkl16zs8r7mhvc1khyj7ya2hn30x0hxw-boehm-gc-8.0.4/lib/libgc.so.1
#8  0x00007f28d7607a24 in GC_generic_malloc_many () from /nix/store/wkl16zs8r7mhvc1khyj7ya2hn30x0hxw-boehm-gc-8.0.4/lib/libgc.so.1
#9  0x00007f28d7607c92 in GC_malloc_kind () from /nix/store/wkl16zs8r7mhvc1khyj7ya2hn30x0hxw-boehm-gc-8.0.4/lib/libgc.so.1
#10 0x00007f28d79232c6 in nix::allocBytes (n=24) at src/libexpr/eval-inline.hh:90
#11 nix::EvalState::allocValue (this=this@entry=0x170edf0) at src/libexpr/eval.cc:764
#12 0x00007f28d79cc671 in nix::prim_split (state=..., pos=..., args=<optimized out>, v=...) at src/libexpr/primops.cc:3238
#13 0x00007f28d7927c85 in nix::EvalState::callPrimOp (this=this@entry=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1230
#14 0x00007f28d792d6a3 in nix::EvalState::callFunction (this=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1245
#15 0x00007f28d792d84d in nix::ExprApp::eval (this=0x15fc0cc0, state=..., env=..., v=...) at src/libexpr/eval.cc:1200
#16 0x00007f28d79bcfbe in nix::EvalState::forceValue (pos=..., v=..., this=0x170edf0) at src/libexpr/eval-inline.hh:41
#17 nix::EvalState::forceList (pos=..., v=..., this=0x170edf0) at src/libexpr/eval-inline.hh:80
#18 nix::prim_filter (state=..., pos=..., args=0x7f289136b7c0, v=...) at src/libexpr/primops.cc:2469
#19 0x00007f28d7927c85 in nix::EvalState::callPrimOp (this=this@entry=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1230
#20 0x00007f28d792d6a3 in nix::EvalState::callFunction (this=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1245
#21 0x00007f28d792d84d in nix::ExprApp::eval (this=0x15fc0d00, state=..., env=..., v=...) at src/libexpr/eval.cc:1200
#22 0x00007f28d79bc2d6 in nix::EvalState::forceValue (pos=..., v=..., this=0x170edf0) at src/libexpr/eval-inline.hh:41
#23 nix::EvalState::forceList (pos=..., v=..., this=0x170edf0) at src/libexpr/eval-inline.hh:80
#24 nix::prim_map (state=..., pos=..., args=0x7f289136b9d0, v=...) at src/libexpr/primops.cc:2438
#25 0x00007f28d7927c85 in nix::EvalState::callPrimOp (this=this@entry=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1230
#26 0x00007f28d792d6a3 in nix::EvalState::callFunction (this=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1245
#27 0x00007f28d792d84d in nix::ExprApp::eval (this=0x15fc0d40, state=..., env=..., v=...) at src/libexpr/eval.cc:1200
#28 0x00007f28d792d6c2 in nix::EvalState::callFunction (this=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1332
#29 0x00007f28d792d84d in nix::ExprApp::eval (this=0x15fc10b0, state=..., env=..., v=...) at src/libexpr/eval.cc:1200
#30 0x00007f28d79bc2d6 in nix::EvalState::forceValue (pos=..., v=..., this=0x170edf0) at src/libexpr/eval-inline.hh:41
#31 nix::EvalState::forceList (pos=..., v=..., this=0x170edf0) at src/libexpr/eval-inline.hh:80
#32 nix::prim_map (state=..., pos=..., args=0x7f289136bd10, v=...) at src/libexpr/primops.cc:2438
#33 0x00007f28d7927c85 in nix::EvalState::callPrimOp (this=this@entry=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1230
#34 0x00007f28d792d6a3 in nix::EvalState::callFunction (this=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1245
#35 0x00007f28d792d84d in nix::ExprApp::eval (this=0x15faa500, state=..., env=..., v=...) at src/libexpr/eval.cc:1200
#36 0x00007f28d79bcfbe in nix::EvalState::forceValue (pos=..., v=..., this=0x170edf0) at src/libexpr/eval-inline.hh:41
#37 nix::EvalState::forceList (pos=..., v=..., this=0x170edf0) at src/libexpr/eval-inline.hh:80
#38 nix::prim_filter (state=..., pos=..., args=0x7f289136bf60, v=...) at src/libexpr/primops.cc:2469
#39 0x00007f28d7927c85 in nix::EvalState::callPrimOp (this=this@entry=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1230
#40 0x00007f28d792d6a3 in nix::EvalState::callFunction (this=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1245
#41 0x00007f28d792d84d in nix::ExprApp::eval (this=0x15fa9960, state=..., env=..., v=...) at src/libexpr/eval.cc:1200
#42 0x00007f28d792e4f1 in nix::ExprOpConcatLists::eval (this=0x15fa99a0, state=..., env=..., v=...) at src/libexpr/eval.cc:1505
#43 0x00007f28d79bbd84 in nix::EvalState::forceValue (pos=..., v=..., this=<optimized out>) at src/libexpr/eval-inline.hh:41
#44 nix::EvalState::forceList (pos=..., v=..., this=<optimized out>) at src/libexpr/eval-inline.hh:80
#45 nix::prim_length (state=..., pos=..., args=0x7f289136c200, v=...) at src/libexpr/primops.cc:2545
#46 0x00007f28d7927c85 in nix::EvalState::callPrimOp (this=this@entry=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1230
#47 0x00007f28d792d6a3 in nix::EvalState::callFunction (this=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1245
#48 0x00007f28d792d84d in nix::ExprApp::eval (this=0x15faa090, state=..., env=..., v=...) at src/libexpr/eval.cc:1200
#49 0x00007f28d79bd815 in nix::EvalState::forceValue (pos=..., v=..., this=0x170edf0) at src/libexpr/eval-inline.hh:41
#50 nix::prim_sub (state=..., pos=..., args=0x7f289136c410, v=...) at src/libexpr/primops.cc:2856
#51 0x00007f28d7927c85 in nix::EvalState::callPrimOp (this=this@entry=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1230
#52 0x00007f28d792d6a3 in nix::EvalState::callFunction (this=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1245
#53 0x00007f28d792d84d in nix::ExprApp::eval (this=0x15fae990, state=..., env=..., v=...) at src/libexpr/eval.cc:1200
#54 0x00007f28d792e5b0 in nix::EvalState::forceValue (pos=..., v=..., this=this@entry=0x15fa6868) at src/libexpr/eval-inline.hh:41
#55 nix::EvalState::forceInt (this=this@entry=0x170edf0, v=..., pos=...) at src/libexpr/eval.cc:1637
#56 0x00007f28d79be712 in nix::prim_elemAt (state=..., pos=..., args=0x7f289136c640, v=...) at src/libexpr/primops.cc:2372
#57 0x00007f28d7927c85 in nix::EvalState::callPrimOp (this=this@entry=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1230
#58 0x00007f28d792d6a3 in nix::EvalState::callFunction (this=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1245
#59 0x00007f28d792d84d in nix::ExprApp::eval (this=0x15fa6860, state=..., env=..., v=...) at src/libexpr/eval.cc:1200
#60 0x00007f28d792d6c2 in nix::EvalState::callFunction (this=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1332
#61 0x00007f28d792d84d in nix::ExprApp::eval (this=0x15fa99e0, state=..., env=..., v=...) at src/libexpr/eval.cc:1200
#62 0x00007f28d79bbd84 in nix::EvalState::forceValue (pos=..., v=..., this=<optimized out>) at src/libexpr/eval-inline.hh:41
#63 nix::EvalState::forceList (pos=..., v=..., this=<optimized out>) at src/libexpr/eval-inline.hh:80
#64 nix::prim_length (state=..., pos=..., args=0x7f289136c980, v=...) at src/libexpr/primops.cc:2545
#65 0x00007f28d7927c85 in nix::EvalState::callPrimOp (this=this@entry=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1230
#66 0x00007f28d792d6a3 in nix::EvalState::callFunction (this=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1245
#67 0x00007f28d792d84d in nix::ExprApp::eval (this=0x15faa090, state=..., env=..., v=...) at src/libexpr/eval.cc:1200
#68 0x00007f28d79bd815 in nix::EvalState::forceValue (pos=..., v=..., this=0x170edf0) at src/libexpr/eval-inline.hh:41
#69 nix::prim_sub (state=..., pos=..., args=0x7f289136cb90, v=...) at src/libexpr/primops.cc:2856
#70 0x00007f28d7927c85 in nix::EvalState::callPrimOp (this=this@entry=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1230
#71 0x00007f28d792d6a3 in nix::EvalState::callFunction (this=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1245
#72 0x00007f28d792d84d in nix::ExprApp::eval (this=0x15fae990, state=..., env=..., v=...) at src/libexpr/eval.cc:1200
#73 0x00007f28d792e5b0 in nix::EvalState::forceValue (pos=..., v=..., this=this@entry=0x15fa6868) at src/libexpr/eval-inline.hh:41
#74 nix::EvalState::forceInt (this=this@entry=0x170edf0, v=..., pos=...) at src/libexpr/eval.cc:1637
#75 0x00007f28d79be712 in nix::prim_elemAt (state=..., pos=..., args=0x7f289136cdc0, v=...) at src/libexpr/primops.cc:2372
#76 0x00007f28d7927c85 in nix::EvalState::callPrimOp (this=this@entry=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1230
#77 0x00007f28d792d6a3 in nix::EvalState::callFunction (this=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1245
#78 0x00007f28d792d84d in nix::ExprApp::eval (this=0x15fa6860, state=..., env=..., v=...) at src/libexpr/eval.cc:1200
#79 0x00007f28d792d6c2 in nix::EvalState::callFunction (this=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1332
#80 0x00007f28d792d84d in nix::ExprApp::eval (this=0x15fa9a20, state=..., env=..., v=...) at src/libexpr/eval.cc:1200
#81 0x00007f28d792d6c2 in nix::EvalState::callFunction (this=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1332
#82 0x00007f28d792d84d in nix::ExprApp::eval (this=0x15fc2580, state=..., env=..., v=...) at src/libexpr/eval.cc:1200
#83 0x00007f28d7930a45 in nix::EvalState::evalBool (pos=..., e=<optimized out>, env=..., this=0x170edf0) at src/libexpr/eval.cc:940
#84 nix::ExprOpAnd::eval (this=0x15fc2760, state=..., env=..., v=...) at src/libexpr/eval.cc:1450
#85 0x00007f28d792d6c2 in nix::EvalState::callFunction (this=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1332
#86 0x00007f28d792d84d in nix::ExprApp::eval (this=0x15f827a0, state=..., env=..., v=...) at src/libexpr/eval.cc:1200
#87 0x00007f28d7930ab8 in nix::EvalState::evalBool (pos=..., e=<optimized out>, env=..., this=0x170edf0) at src/libexpr/eval.cc:940
#88 nix::ExprOpAnd::eval (this=0x7f289136d3d0, state=..., env=..., v=...) at src/libexpr/eval.cc:1450
#89 0x00007f28d792d6c2 in nix::EvalState::callFunction (this=0x170edf0, fun=..., arg=..., v=..., pos=...) at src/libexpr/eval.cc:1332
#90 0x00007f28d79b05d0 in operator() (__closure=0x15faaba0, path=...) at src/libexpr/primops.cc:1783
#91 0x00007f28d7073069 in std::function<bool (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (__args#0="/nix/store/7xqy8c4a2rlfyqpvw1s8ayzmxmbymwvx-source/ci/check-formatting.sh", this=0x7ffc9a2e7a00) at /nix/store/xrb5qsxpvhpm0irr9ykfqpvj8a6sk4xh-gcc-10.2.0/include/c++/10.2.0/bits/std_function.h:622
#92 nix::dump (path="/nix/store/7xqy8c4a2rlfyqpvw1s8ayzmxmbymwvx-source/ci", sink=..., filter=...) at src/libutil/archive.cc:105
#93 0x00007f28d7073252 in nix::dump (path="/nix/store/7xqy8c4a2rlfyqpvw1s8ayzmxmbymwvx-source", sink=..., filter=...) at src/libutil/archive.cc:107
#94 0x00007f28d70c3a08 in std::function<void (nix::Sink&)>::operator()(nix::Sink&) const (__args#0=..., this=0x15fa1ca8) at /nix/store/xrb5qsxpvhpm0irr9ykfqpvj8a6sk4xh-gcc-10.2.0/include/c++/10.2.0/bits/std_function.h:622
#95 operator() (yield=..., __closure=<synthetic pointer>) at src/libutil/serialise.cc:232
#96 operator() (c=..., this=<optimized out>) at include/boost/coroutine2/detail/pull_control_block_cc.ipp:84
#97 std::__invoke_impl<boost::context::fiber, boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block<nix::VirtualStackAllocator, nix::sinkToSource(std::function<void(nix::Sink&)>, std::function<void()>)::SinkToSource::read(char*, size_t)::<lambda(boost::coroutines2::coroutine<std::__cxx11::basic_string<char> >::push_type&)> >::<lambda(boost::context::fiber&&)>&, boost::context::fiber> (__f=...) at /nix/store/xrb5qsxpvhpm0irr9ykfqpvj8a6sk4xh-gcc-10.2.0/include/c++/10.2.0/bits/invoke.h:60
#98 std::__invoke<boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block<nix::VirtualStackAllocator, nix::sinkToSource(std::function<void(nix::Sink&)>, std::function<void()>)::SinkToSource::read(char*, size_t)::<lambda(boost::coroutines2::coroutine<std::__cxx11::basic_string<char> >::push_type&)> >::<lambda(boost::context::fiber&&)>&, boost::context::fiber> (__fn=...) at /nix/store/xrb5qsxpvhpm0irr9ykfqpvj8a6sk4xh-gcc-10.2.0/include/c++/10.2.0/bits/invoke.h:96
#99 std::invoke<boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block<nix::VirtualStackAllocator, nix::sinkToSource(std::function<void(nix::Sink&)>, std::function<void()>)::SinkToSource::read(char*, size_t)::<lambda(boost::coroutines2::coroutine<std::__cxx11::basic_string<char> >::push_type&)> >::<lambda(boost::context::fiber&&)>&, boost::context::fiber> (__fn=...) at /nix/store/xrb5qsxpvhpm0irr9ykfqpvj8a6sk4xh-gcc-10.2.0/include/c++/10.2.0/functional:89
#100 boost::context::detail::fiber_record<boost::context::fiber, nix::VirtualStackAllocator, boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block<nix::VirtualStackAllocator, nix::sinkToSource(std::function<void(nix::Sink&)>, std::function<void()>)::SinkToSource::read(char*, size_t)::<lambda(boost::coroutines2::coroutine<std::__cxx11::basic_string<char> >::push_type&)> >::<lambda(boost::context::fiber&&)> >::run (fctx=<optimized out>, this=<optimized out>) at include/boost/context/fiber_fcontext.hpp:144
#101 boost::context::detail::fiber_entry<boost::context::detail::fiber_record<boost::context::fiber, nix::VirtualStackAllocator, boost::coroutines2::detail::pull_coroutine<T>::control_block::control_block<nix::VirtualStackAllocator, nix::sinkToSource(std::function<void(nix::Sink&)>, std::function<void()>)::SinkToSource::read(char*, size_t)::<lambda(boost::coroutines2::coroutine<std::__cxx11::basic_string<char> >::push_type&)> >::<lambda(boost::context::fiber&&)> > >(boost::context::detail::transfer_t) (t=...) at include/boost/context/fiber_fcontext.hpp:80
#102 0x00007f28d6a6e1ef in make_fcontext () from /nix/store/89fzkwbi8s67cxd6466c59d4s5xflyiq-nix-2.4pre20210317_8a5203d/lib/libboost_context.so.1.69.0
#103 0x0000000000000000 in ?? ()

Steps To Reproduce

nixos-rebuild switch -vvv --flake '/etc/nixos#'

Expected behavior

A clear and concise description of what you expected to happen.

nix-env --version output

λ nix-env --version                                                                                                                                                                                                                                        ~
nix-env (Nix) 2.4pre20210317_8a5203d

Additional context

flake.nix:

{
  description = "nixOS configuration";

  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
  inputs.nix-pills = {
    url = "github:NixOS/nix-pills/master";
    flake = false;
  };
  inputs.home-manager.url = "github:nix-community/home-manager";
  inputs.emacs-overlay.url = "github:nix-community/emacs-overlay";
  inputs.rust-overlay.url = "github:oxalica/rust-overlay";
  inputs.nixops.url = "github:NixOS/nixops";
  inputs.nur.url = "github:nix-community/NUR";
  outputs = { self, nixpkgs, nix-pills, home-manager, emacs-overlay
    , rust-overlay, nur, nixops }: {
      nixosConfigurations.chateau = nixpkgs.lib.nixosSystem {
        system = "x86_64-linux";
        modules = [
          {
            nixpkgs.config = {
              allowUnfree = true;
              vim.gui = "gtk3";
              pulseaudio = true;
            };
          }
          ./configuration.nix
          home-manager.nixosModules.home-manager
          {
            nixpkgs.overlays = import ./home/overlays.nix { inherit (self) inputs; };
          }
          {
            home-manager.useGlobalPkgs = true;
            home-manager.useUserPackages = true;
            home-manager.users.abbe = import ./home/home.nix;
            home-manager.extraSpecialArgs = {
              inherit (self) inputs;
              system = "x86_64-linux";
            };
          }
        ];
        extraArgs = { inherit (self) inputs; };
      };
    };
}

After removing references to NUR overlay from the configuration, it seems to be working now

@wahjava wahjava added the bug label Mar 26, 2021
@cole-h
Copy link
Member

cole-h commented Mar 26, 2021

Sounds similar to #4178. What if you try with GC_DONT_GC=1? (#4178 (comment))

@wahjava
Copy link
Author

wahjava commented Mar 27, 2021

Sounds similar to #4178. What if you try with GC_DONT_GC=1? (#4178 (comment))

Yes, no more segfault, if I invoke it with GC_DONT_GC=1.

@MarcoPolo
Copy link

Happens to me too. Here's my valgrind trace: https://gist.github.com/MarcoPolo/b8525d7967bd5d7ae053859ef59e76bb

@GTrunSec
Copy link

GTrunSec commented Jun 8, 2021

+1 I git the same error output on flake, Also the GC_DONT_GC=1 workaround works for me.

@ggreif
Copy link

ggreif commented Nov 20, 2021

I have a similar backtrace from a reproducible crash with nix-2.4

$ lldb
(lldb) run nix-build -A moc -A mo-ide -A mo-doc -A js.moc -A js.moc_interpreter
error: invalid target, create a target using the 'target create' command
(lldb) q
GaborGreifsMBP:motoko ggreif$ lldb nix-build -A moc -A mo-ide -A mo-doc -A js.moc -A js.moc_interpreter
warning: ignoring unknown option: -A
warning: ignoring unknown option: -A
warning: ignoring unknown option: -A
warning: ignoring unknown option: -A
warning: ignoring unknown option: -A
(lldb) target create "nix-build"
Current executable set to 'nix-build' (x86_64).
(lldb) settings set -- target.run-args  "moc" "mo-ide" "mo-doc" "js.moc" "js.moc_interpreter"
(lldb) ^D
GaborGreifsMBP:motoko ggreif$ lldb nix-build
(lldb) target create "nix-build"
Current executable set to 'nix-build' (x86_64).
(lldb) settings set -- target.run-args "-A" moc "-A" mo-ide "-A" mo-doc "-A" js.moc "-A" js.moc_interpreter
(lldb) run
warning: (x86_64) /nix/store/c3mvzszvyzakvcp9spnjvsb8m2bpjk7m-nix-2.4/bin/nix(0x0000000100000000) address 0x0000000100000000 maps to more than one section: nix.__TEXT and nix.__TEXT
warning: (x86_64) /nix/store/c3mvzszvyzakvcp9spnjvsb8m2bpjk7m-nix-2.4/bin/nix(0x0000000100000000) address 0x00000001001f4000 maps to more than one section: nix.__DATA and nix.__DATA
Process 49125 launched: '/Users/ggreif/.nix-profile/bin/nix-build' (x86_64)
warning: (x86_64) /Users/ggreif/.nix-profile/bin/nix-build(0x0000000100000000) address 0x0000000100000000 maps to more than one section: nix-build.__TEXT and nix.__TEXT
warning: (x86_64) /Users/ggreif/.nix-profile/bin/nix-build(0x0000000100000000) address 0x00000001001f4000 maps to more than one section: nix-build.__DATA and nix.__DATA
Process 49125 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x12bf01000)
    frame #0: 0x00000001006f2e40 libgc.1.dylib`GC_push_all_stack + 176
libgc.1.dylib`GC_push_all_stack:
->  0x1006f2e40 <+176>: movq   (%rbx), %rdi
    0x1006f2e43 <+179>: cmpq   %r12, %rdi
    0x1006f2e46 <+182>: jb     0x1006f2e52               ; <+194>
    0x1006f2e48 <+184>: cmpq   %r15, %rdi
Target 0: (nix-build) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x12bf01000)
  * frame #0: 0x00000001006f2e40 libgc.1.dylib`GC_push_all_stack + 176
    frame #1: 0x00000001006f8f8f libgc.1.dylib`GC_push_all_stacks + 255
    frame #2: 0x00000001006e6698 libgc.1.dylib`GC_mark_some + 616
    frame #3: 0x00000001006e59ad libgc.1.dylib`GC_stopped_mark + 285
    frame #4: 0x00000001006e536d libgc.1.dylib`GC_try_to_collect_inner + 413
    frame #5: 0x00000001006e8c95 libgc.1.dylib`GC_collect_or_expand + 197
    frame #6: 0x00000001006e8f1f libgc.1.dylib`GC_allocobj + 255
    frame #7: 0x00000001006df759 libgc.1.dylib`GC_generic_malloc_inner + 329
    frame #8: 0x00000001006ea2b1 libgc.1.dylib`GC_generic_malloc + 81
    frame #9: 0x00000001006ef55b libgc.1.dylib`GC_malloc_kind_global + 219
    frame #10: 0x000000010050108f libnixexpr.dylib`nix::EvalState::allocBindings(unsigned long) + 479
    frame #11: 0x00000001005011a0 libnixexpr.dylib`nix::EvalState::mkAttrs(nix::Value&, unsigned long) + 32
    frame #12: 0x0000000100521a05 libnixexpr.dylib`nix::ExprOpUpdate::eval(nix::EvalState&, nix::Env&, nix::Value&) + 149
    frame #13: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #14: 0x000000010051ea99 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 585
    frame #15: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #16: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #17: 0x000000010051d6b7 libnixexpr.dylib`nix::ExprVar::eval(nix::EvalState&, nix::Env&, nix::Value&) + 55
    frame #18: 0x00000001005219a7 libnixexpr.dylib`nix::ExprOpUpdate::eval(nix::EvalState&, nix::Env&, nix::Value&) + 55
    frame #19: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #20: 0x000000010051d6b7 libnixexpr.dylib`nix::ExprVar::eval(nix::EvalState&, nix::Env&, nix::Value&) + 55
    frame #21: 0x00000001005219a7 libnixexpr.dylib`nix::ExprOpUpdate::eval(nix::EvalState&, nix::Env&, nix::Value&) + 55
    frame #22: 0x000000010051ee0f libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 1471
    frame #23: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #24: 0x00000001005207dc libnixexpr.dylib`nix::ExprIf::eval(nix::EvalState&, nix::Env&, nix::Value&) + 92
    frame #25: 0x000000010051ee0f libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 1471
    frame #26: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #27: 0x000000010052089a libnixexpr.dylib`nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) + 106
    frame #28: 0x000000010051ee0f libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 1471
    frame #29: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #30: 0x00000001005bb995 libnixexpr.dylib`nix::prim_derivationStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 2021
    frame #31: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #32: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #33: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #34: 0x00000001005c6d48 libnixexpr.dylib`nix::EvalState::forceAttrs(nix::Value&, nix::Pos const&) + 120
    frame #35: 0x00000001005c6acc libnixexpr.dylib`nix::prim_getAttr(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 76
    frame #36: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #37: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #38: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #39: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #40: 0x000000010051da2a libnixexpr.dylib`nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) + 842
    frame #41: 0x000000010052089a libnixexpr.dylib`nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) + 106
    frame #42: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #43: 0x0000000100522842 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 66
    frame #44: 0x0000000100522d23 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 1315
    frame #45: 0x000000010052291f libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 287
    frame #46: 0x00000001005bbe37 libnixexpr.dylib`nix::prim_derivationStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 3207
    frame #47: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #48: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #49: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #50: 0x00000001005c6d48 libnixexpr.dylib`nix::EvalState::forceAttrs(nix::Value&, nix::Pos const&) + 120
    frame #51: 0x00000001005c6acc libnixexpr.dylib`nix::prim_getAttr(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 76
    frame #52: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #53: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #54: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #55: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #56: 0x000000010051da2a libnixexpr.dylib`nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) + 842
    frame #57: 0x000000010052089a libnixexpr.dylib`nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) + 106
    frame #58: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #59: 0x0000000100522842 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 66
    frame #60: 0x0000000100522d23 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 1315
    frame #61: 0x000000010052291f libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 287
    frame #62: 0x00000001005bbe37 libnixexpr.dylib`nix::prim_derivationStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 3207
    frame #63: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #64: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #65: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #66: 0x00000001005c6d48 libnixexpr.dylib`nix::EvalState::forceAttrs(nix::Value&, nix::Pos const&) + 120
    frame #67: 0x00000001005c6acc libnixexpr.dylib`nix::prim_getAttr(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 76
    frame #68: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #69: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #70: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #71: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #72: 0x000000010051da2a libnixexpr.dylib`nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) + 842
    frame #73: 0x000000010052089a libnixexpr.dylib`nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) + 106
    frame #74: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #75: 0x0000000100522842 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 66
    frame #76: 0x0000000100522d23 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 1315
    frame #77: 0x000000010052231e libnixexpr.dylib`nix::ExprConcatStrings::eval(nix::EvalState&, nix::Env&, nix::Value&) + 734
    frame #78: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #79: 0x0000000100522842 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 66
    frame #80: 0x000000010052291f libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 287
    frame #81: 0x00000001005bbe37 libnixexpr.dylib`nix::prim_derivationStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 3207
    frame #82: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #83: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #84: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #85: 0x00000001005c6d48 libnixexpr.dylib`nix::EvalState::forceAttrs(nix::Value&, nix::Pos const&) + 120
    frame #86: 0x00000001005c6acc libnixexpr.dylib`nix::prim_getAttr(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 76
    frame #87: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #88: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #89: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #90: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #91: 0x000000010051da2a libnixexpr.dylib`nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) + 842
    frame #92: 0x000000010052089a libnixexpr.dylib`nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) + 106
    frame #93: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #94: 0x0000000100522842 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 66
    frame #95: 0x0000000100522d23 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 1315
    frame #96: 0x000000010052291f libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 287
    frame #97: 0x00000001005bbe37 libnixexpr.dylib`nix::prim_derivationStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 3207
    frame #98: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #99: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #100: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #101: 0x00000001005c6d48 libnixexpr.dylib`nix::EvalState::forceAttrs(nix::Value&, nix::Pos const&) + 120
    frame #102: 0x00000001005c6acc libnixexpr.dylib`nix::prim_getAttr(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 76
    frame #103: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #104: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #105: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #106: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #107: 0x0000000100522842 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 66
    frame #108: 0x0000000100522d23 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 1315
    frame #109: 0x00000001005bbe37 libnixexpr.dylib`nix::prim_derivationStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 3207
    frame #110: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #111: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #112: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #113: 0x00000001005c6d48 libnixexpr.dylib`nix::EvalState::forceAttrs(nix::Value&, nix::Pos const&) + 120
    frame #114: 0x00000001005c6acc libnixexpr.dylib`nix::prim_getAttr(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 76
    frame #115: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #116: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #117: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #118: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #119: 0x000000010051da2a libnixexpr.dylib`nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) + 842
    frame #120: 0x000000010052089a libnixexpr.dylib`nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) + 106
    frame #121: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #122: 0x0000000100522842 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 66
    frame #123: 0x0000000100522d23 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 1315
    frame #124: 0x00000001005bbe37 libnixexpr.dylib`nix::prim_derivationStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 3207
    frame #125: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #126: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #127: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #128: 0x00000001005c6d48 libnixexpr.dylib`nix::EvalState::forceAttrs(nix::Value&, nix::Pos const&) + 120
    frame #129: 0x00000001005c6acc libnixexpr.dylib`nix::prim_getAttr(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 76
    frame #130: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #131: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #132: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #133: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #134: 0x000000010051da2a libnixexpr.dylib`nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) + 842
    frame #135: 0x000000010052089a libnixexpr.dylib`nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) + 106
    frame #136: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #137: 0x0000000100522842 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 66
    frame #138: 0x0000000100522d23 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 1315
    frame #139: 0x00000001005bbe37 libnixexpr.dylib`nix::prim_derivationStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 3207
    frame #140: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #141: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #142: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #143: 0x00000001005c6d48 libnixexpr.dylib`nix::EvalState::forceAttrs(nix::Value&, nix::Pos const&) + 120
    frame #144: 0x00000001005c6acc libnixexpr.dylib`nix::prim_getAttr(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 76
    frame #145: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #146: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #147: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #148: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #149: 0x000000010051da2a libnixexpr.dylib`nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) + 842
    frame #150: 0x000000010052089a libnixexpr.dylib`nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) + 106
    frame #151: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #152: 0x0000000100522842 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 66
    frame #153: 0x0000000100522d23 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 1315
    frame #154: 0x000000010052291f libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 287
    frame #155: 0x00000001005bbe37 libnixexpr.dylib`nix::prim_derivationStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 3207
    frame #156: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #157: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #158: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #159: 0x00000001005c6d48 libnixexpr.dylib`nix::EvalState::forceAttrs(nix::Value&, nix::Pos const&) + 120
    frame #160: 0x00000001005c6acc libnixexpr.dylib`nix::prim_getAttr(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 76
    frame #161: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #162: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #163: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #164: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #165: 0x000000010051da2a libnixexpr.dylib`nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) + 842
    frame #166: 0x000000010052089a libnixexpr.dylib`nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) + 106
    frame #167: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #168: 0x0000000100522842 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 66
    frame #169: 0x0000000100522d23 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 1315
    frame #170: 0x000000010052231e libnixexpr.dylib`nix::ExprConcatStrings::eval(nix::EvalState&, nix::Env&, nix::Value&) + 734
    frame #171: 0x00000001005207dc libnixexpr.dylib`nix::ExprIf::eval(nix::EvalState&, nix::Env&, nix::Value&) + 92
    frame #172: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #173: 0x0000000100522842 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 66
    frame #174: 0x000000010052291f libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 287
    frame #175: 0x00000001005bbe37 libnixexpr.dylib`nix::prim_derivationStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 3207
    frame #176: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #177: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #178: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #179: 0x00000001005c6d48 libnixexpr.dylib`nix::EvalState::forceAttrs(nix::Value&, nix::Pos const&) + 120
    frame #180: 0x00000001005c6acc libnixexpr.dylib`nix::prim_getAttr(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 76
    frame #181: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #182: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #183: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #184: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #185: 0x000000010051da2a libnixexpr.dylib`nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) + 842
    frame #186: 0x000000010052089a libnixexpr.dylib`nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) + 106
    frame #187: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #188: 0x0000000100522842 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 66
    frame #189: 0x0000000100522d23 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 1315
    frame #190: 0x000000010052291f libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 287
    frame #191: 0x00000001005bbe37 libnixexpr.dylib`nix::prim_derivationStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 3207
    frame #192: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #193: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #194: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #195: 0x00000001005c6d48 libnixexpr.dylib`nix::EvalState::forceAttrs(nix::Value&, nix::Pos const&) + 120
    frame #196: 0x00000001005c6acc libnixexpr.dylib`nix::prim_getAttr(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 76
    frame #197: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #198: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #199: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #200: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #201: 0x000000010051da2a libnixexpr.dylib`nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) + 842
    frame #202: 0x000000010052089a libnixexpr.dylib`nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) + 106
    frame #203: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #204: 0x0000000100522842 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 66
    frame #205: 0x0000000100522d23 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 1315
    frame #206: 0x000000010052231e libnixexpr.dylib`nix::ExprConcatStrings::eval(nix::EvalState&, nix::Env&, nix::Value&) + 734
    frame #207: 0x00000001005bb995 libnixexpr.dylib`nix::prim_derivationStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 2021
    frame #208: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #209: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #210: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #211: 0x00000001005c6d48 libnixexpr.dylib`nix::EvalState::forceAttrs(nix::Value&, nix::Pos const&) + 120
    frame #212: 0x00000001005c6acc libnixexpr.dylib`nix::prim_getAttr(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 76
    frame #213: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #214: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #215: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #216: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #217: 0x000000010051da2a libnixexpr.dylib`nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) + 842
    frame #218: 0x000000010052089a libnixexpr.dylib`nix::ExprAssert::eval(nix::EvalState&, nix::Env&, nix::Value&) + 106
    frame #219: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #220: 0x0000000100522842 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 66
    frame #221: 0x0000000100522d23 libnixexpr.dylib`nix::EvalState::coerceToString(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, bool, bool, bool) + 1315
    frame #222: 0x0000000100525948 libnixexpr.dylib`nix::EvalState::coerceToPath(nix::Pos const&, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&) + 40
    frame #223: 0x00000001005c1b9b libnixexpr.dylib`nix::prim_readFile(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 107
    frame #224: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #225: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #226: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #227: 0x000000010051cc85 libnixexpr.dylib`nix::EvalState::forceValue(nix::Value&, nix::Pos const&) + 117
    frame #228: 0x00000001005237b5 libnixexpr.dylib`nix::EvalState::forceString(nix::Value&, nix::Pos const&) + 37
    frame #229: 0x000000010052423b libnixexpr.dylib`nix::EvalState::forceString(nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&, nix::Pos const&) + 27
    frame #230: 0x00000001005ce5b0 libnixexpr.dylib`nix::prim_split(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 320
    frame #231: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #232: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #233: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #234: 0x00000001005b89b5 libnixexpr.dylib`nix::EvalState::forceList(nix::Value&, nix::Pos const&) + 117
    frame #235: 0x00000001005c9809 libnixexpr.dylib`nix::prim_filter(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 73
    frame #236: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #237: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #238: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #239: 0x000000010051ee0f libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 1471
    frame #240: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #241: 0x00000001005b89b5 libnixexpr.dylib`nix::EvalState::forceList(nix::Value&, nix::Pos const&) + 117
    frame #242: 0x00000001005cac6f libnixexpr.dylib`nix::prim_concatMap(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 79
    frame #243: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #244: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #245: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #246: 0x00000001005b89b5 libnixexpr.dylib`nix::EvalState::forceList(nix::Value&, nix::Pos const&) + 117
    frame #247: 0x00000001005c80a4 libnixexpr.dylib`nix::prim_listToAttrs(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 68
    frame #248: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #249: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #250: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #251: 0x00000001005c6d48 libnixexpr.dylib`nix::EvalState::forceAttrs(nix::Value&, nix::Pos const&) + 120
    frame #252: 0x00000001005c7b3a libnixexpr.dylib`nix::prim_hasAttr(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) + 74
    frame #253: 0x000000010051f497 libnixexpr.dylib`nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 551
    frame #254: 0x000000010051e917 libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 199
    frame #255: 0x000000010051e821 libnixexpr.dylib`nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) + 97
    frame #256: 0x000000010051ee0f libnixexpr.dylib`nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) + 1471
    frame #257: 0x00000001005dab33 libnixexpr.dylib`std::__1::__function::__func<nix::addPath(nix::EvalState&, nix::Pos const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, nix::Value*, nix::FileIngestionMethod, std::__1::optional<nix::Hash>, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&)::$_7, std::__1::allocator<nix::addPath(nix::EvalState&, nix::Pos const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, nix::Value*, nix::FileIngestionMethod, std::__1::optional<nix::Hash>, nix::Value&, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&)::$_7>, bool (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>::operator()(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 307
    frame #258: 0x0000000100d95d69 libnixutil.dylib`nix::dump(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, nix::Sink&, std::__1::function<bool (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>&) + 3065
    frame #259: 0x0000000100deee01 libnixutil.dylib`void boost::context::detail::fiber_entry<boost::context::detail::fiber_record<boost::context::fiber, nix::VirtualStackAllocator, boost::coroutines2::detail::pull_coroutine<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::control_block::control_block<nix::VirtualStackAllocator, nix::sinkToSource(std::__1::function<void (nix::Sink&)>, std::__1::function<void ()>)::SinkToSource::read(char*, unsigned long)::'lambda'(boost::coroutines2::detail::push_coroutine<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >&)>(boost::context::preallocated, nix::VirtualStackAllocator&&, nix::sinkToSource(std::__1::function<void (nix::Sink&)>, std::__1::function<void ()>)::SinkToSource::read(char*, unsigned long)::'lambda'(boost::coroutines2::detail::push_coroutine<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >&)&&)::'lambda'(boost::context::fiber&&)> >(boost::context::detail::transfer_t) + 289
    frame #260: 0x000000010104c32f libboost_context.dylib`trampoline + 3
(lldb) 

More info in dfinity/motoko#2912 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants