Last active
August 24, 2017 02:06
-
-
Save cleverca22/80b1662e323acee137ede99245ffdb55 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[New Thread 0x7ffff166f700 (LWP 21731)] | |
trace: using host nixpkgs | |
Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS | |
Thread 1 "nix-instantiate" received signal SIGABRT, Aborted. | |
0x00007ffff63cf384 in raise () from /nix/store/l48biijfr1j6d5kdg911051x2phfjrz7-glibc-2.25/lib/libc.so.6 | |
(gdb) bt | |
#0 0x00007ffff63cf384 in raise () from /nix/store/l48biijfr1j6d5kdg911051x2phfjrz7-glibc-2.25/lib/libc.so.6 | |
#1 0x00007ffff63d07ea in abort () from /nix/store/l48biijfr1j6d5kdg911051x2phfjrz7-glibc-2.25/lib/libc.so.6 | |
#2 0x00007ffff78ed7ca in GC_add_to_heap () from /nix/store/yfd7jscd4arlp27wiw2cxkdy4avl2hfq-boehm-gc-7.6.0/lib/libgc.so.1 | |
#3 0x00007ffff78ed96e in GC_expand_hp_inner () from /nix/store/yfd7jscd4arlp27wiw2cxkdy4avl2hfq-boehm-gc-7.6.0/lib/libgc.so.1 | |
#4 0x00007ffff78edb9f in GC_collect_or_expand () from /nix/store/yfd7jscd4arlp27wiw2cxkdy4avl2hfq-boehm-gc-7.6.0/lib/libgc.so.1 | |
#5 0x00007ffff78edebe in GC_allocobj () from /nix/store/yfd7jscd4arlp27wiw2cxkdy4avl2hfq-boehm-gc-7.6.0/lib/libgc.so.1 | |
#6 0x00007ffff78f37cf in GC_generic_malloc_inner () from /nix/store/yfd7jscd4arlp27wiw2cxkdy4avl2hfq-boehm-gc-7.6.0/lib/libgc.so.1 | |
#7 0x00007ffff78f4a78 in GC_generic_malloc_many () from /nix/store/yfd7jscd4arlp27wiw2cxkdy4avl2hfq-boehm-gc-7.6.0/lib/libgc.so.1 | |
#8 0x00007ffff78fcffe in GC_malloc_kind () from /nix/store/yfd7jscd4arlp27wiw2cxkdy4avl2hfq-boehm-gc-7.6.0/lib/libgc.so.1 | |
#9 0x00007ffff7b706a7 in nix::EvalState::allocBindings(unsigned int) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#10 0x00007ffff7b70742 in nix::EvalState::mkAttrs(nix::Value&, unsigned int) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#11 0x00007ffff7b7383d in nix::ExprOpUpdate::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#12 0x00007ffff7b73698 in nix::ExprIf::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#13 0x00007ffff7b79626 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#14 0x00007ffff7ba53f4 in nix::prim_foldlStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#15 0x00007ffff7b78c1a in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#16 0x00007ffff7b79918 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#17 0x00007ffff7b7a7ba in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#18 0x00007ffff7b79626 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#19 0x00007ffff7b7a7ba in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#20 0x00007ffff7b82e31 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#21 0x00007ffff7b79bd1 in nix::ExprVar::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#22 0x00007ffff7b7b27e in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#23 0x00007ffff7b7a4a5 in nix::ExprOpEq::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#24 0x00007ffff7b73675 in nix::ExprIf::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#25 0x00007ffff7b79626 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#26 0x00007ffff7b7a7ba in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#27 0x00007ffff7b82e31 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#28 0x00007ffff7b79bd1 in nix::ExprVar::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#29 0x00007ffff7b73785 in nix::ExprOpUpdate::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#30 0x00007ffff7b79626 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#31 0x00007ffff7b7a7ba in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#32 0x00007ffff7b73698 in nix::ExprIf::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#33 0x00007ffff7b82e31 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#34 0x00007ffff7b79bd1 in nix::ExprVar::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
---Type <return> to continue, or q <return> to quit--- | |
.... | |
#740 0x00007ffff7ba2019 in nix::prim_toString(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#741 0x00007ffff7b78c1a in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#742 0x00007ffff7b79918 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#743 0x00007ffff7b7a7ba in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#744 0x00007ffff7b7d2fe in nix::ExprConcatStrings::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#745 0x00007ffff7b82e31 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#746 0x00007ffff7bb07d1 in nix::prim_derivationStrict(nix::EvalState&, nix::Pos const&, nix::Value**, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#747 0x00007ffff7b78c1a in nix::EvalState::callPrimOp(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#748 0x00007ffff7b79918 in nix::EvalState::callFunction(nix::Value&, nix::Value&, nix::Value&, nix::Pos const&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#749 0x00007ffff7b7a7ba in nix::ExprApp::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#750 0x00007ffff7b82e31 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#751 0x00007ffff7b79bd1 in nix::ExprVar::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#752 0x00007ffff7b7b27e in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#753 0x00007ffff7b82e31 in nix::EvalState::forceValue(nix::Value&, nix::Pos const&) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#754 0x00007ffff7b7cab1 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/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#755 0x00007ffff7b7d706 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/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#756 0x00007ffff7b836d7 in nix::DrvInfo::queryDrvPath[abi:cxx11]() () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixexpr.so | |
#757 0x0000000000406187 in processExpr(nix::EvalState&, std::__cxx11::list<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> > > > const&, bool, bool, nix::Bindings&, bool, OutputKind, bool, nix::Expr*) () | |
#758 0x0000000000407049 in main::{lambda()#1}::operator()() const () | |
#759 0x00007ffff76dcaab in nix::handleExceptions(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<void ()>) () from /nix/store/sgc7r9899sl1y3wyni2dx9m8zdjk3xir-nix-1.11.13/lib/libnixmain.so | |
#760 0x0000000000404369 in main () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[clever@amd-nixos:~/iohk/iohk-nixops]$ nix-build -E 'with import <nixpkgs> { config = {}; }; enableDebugging nix' | |
[clever@amd-nixos:~/iohk/nix-1.11.13]$ gdb --args ../iohk-nixops/result/bin/nix-instantiate -I nixops=/nix/store/mb4rfbkliwjvcdcnqzgg4bgi45i8pb3s-nixops-1.6pre0_abcdef/share/nix/nixops --arg networkExprs '[ "/home/clever/iohk/iohk-nixops/deployments/firewalls.nix" "/home/clever/iohk/iohk-nixops/deployments/keypairs.nix" "/home/clever/iohk/iohk-nixops/deployments/cardano-nodes.nix" "/home/clever/iohk/iohk-nixops/deployments/cardano-nodes-env-staging.nix" "/home/clever/iohk/iohk-nixops/deployments/cardano-nodes-target-aws.nix" "/home/clever/iohk/iohk-nixops/deployments/report-server.nix" "/home/clever/iohk/iohk-nixops/deployments/report-server-env-staging.nix" "/home/clever/iohk/iohk-nixops/deployments/report-server-target-aws.nix" "/home/clever/iohk/iohk-nixops/deployments/edgenodes.nix" "/home/clever/iohk/iohk-nixops/physical.nix" ]' --arg args '{ accessKeyId = "iohk"; deployerIP = "1.2.3.4"; systemStart = 1234; topologyYaml = ./topology-staging.yaml; }' --argstr uuid 0f27430c-877d-11e7-b2b9-02425df4edca --argstr deploymentName c444b73d-877c-11e7-b1a8-02425df4edca '<nixops/eval-machine-info.nix>' --arg names '[ "edgenode-1" "edgenode-2" "edgenode-3" "edgenode-4" "edgenode-5" "edgenode-6" "edgenode-7" "edgenode-8" "edgenode-9" ]' -A machines | |
(gdb) set debug-file-directory /nix/store/117cbr7hchjcm11b3s3rk2jlajd46qz6-nix-1.11.13-debug/lib/debug | |
(gdb) file ../iohk-nixops/result/bin/nix-instantiate | |
Reading symbols from ../iohk-nixops/result/bin/nix-instantiate...Reading symbols from /nix/store/117cbr7hchjcm11b3s3rk2jlajd46qz6-nix-1.11.13-debug/lib/debug/.build-id/33/f75bf2407c25f4233dec5d1afc6786eb31f0c9.debug...done. | |
done. | |
(gdb) list | |
79 printGCWarning(); | |
80 else { | |
81 Path rootName = gcRoot; | |
82 if (++rootNr > 1) rootName += "-" + std::to_string(rootNr); | |
83 drvPath = addPermRoot(*store, drvPath, rootName, indirectRoot); | |
84 } | |
85 std::cout << format("%1%%2%\n") % drvPath % (outputName != "out" ? "!" + outputName : ""); | |
86 } | |
87 } | |
88 } | |
(gdb) run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[clever@amd-nixos:~/iohk/iohk-nixops]$ nix-build -E 'with import <nixpkgs> { config = {}; }; (nix.override { boehmgc = null; }).overrideDerivation (drv: { configureFlags = drv.configureFlags ++ [ "--disable-gc" ]; })' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment