Last active
January 6, 2016 18:00
-
-
Save wadey/c16ea2040d3aeecd8e77 to your computer and use it in GitHub Desktop.
aglio segmentation fault. See https://github.com/danielgtaylor/aglio/issues/213
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
FORMAT: 1A | |
## Data Structures | |
### A | |
### B | |
### C | |
### D | |
### E | |
### F | |
### G | |
### H | |
### I | |
### J | |
### K | |
### L | |
### M | |
### N | |
### O | |
### P | |
### Q |
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
$ aglio -i test.apib -s | |
Server started on http://127.0.0.1:3000/ | |
Rendering test.apib | |
[1] 48736 segmentation fault aglio -i test.apib -s |
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
Program received signal SIGSEGV, Segmentation fault. | |
0x000000010166754e in std::string::compare(std::string const&) const () from /usr/lib/libstdc++.6.dylib | |
(gdb) bt | |
#0 0x000000010166754e in std::string::compare(std::string const&) const () from /usr/lib/libstdc++.6.dylib | |
#1 0x0000000103d14183 in drafter::InheritanceComparator::hasAncestor(snowcrash::DataStructure const*, snowcrash::DataStructure const*) () | |
from aglio/node_modules/protagonist/build/Release/protagonist.node | |
#2 0x0000000103d13f68 in drafter::InheritanceComparator::operator()(snowcrash::DataStructure const*, snowcrash::DataStructure const*) () | |
from aglio/node_modules/protagonist/build/Release/protagonist.node | |
#3 0x0000000103d148a8 in void std::__unguarded_linear_insert<__gnu_cxx::__normal_iterator<snowcrash::DataStructure const**, std::vector<snowcrash::DataStructure const*, std::allocator<snowcrash::DataStructure const*> > >, snowcrash::DataStructure const*, drafter::InheritanceComparator>(__gnu_cxx::__normal_iterator<snowcrash::DataStructure const**, std::vector<snowcrash::DataStructure const*, std::allocator<snowcrash::DataStructure const*> > >, snowcrash::DataStructure const*, drafter::InheritanceComparator) () from aglio/node_modules/protagonist/build/Release/protagonist.node | |
#4 0x0000000103d1388b in void std::__final_insertion_sort<__gnu_cxx::__normal_iterator<snowcrash::DataStructure const**, std::vector<snowcrash::DataStructure const*, std::allocator<snowcrash::DataStructure const*> > >, drafter::InheritanceComparator>(__gnu_cxx::__normal_iterator<snowcrash::DataStructure const**, std::vector<snowcrash::DataStructure const*, std::allocator<snowcrash::DataStructure const*> > >, __gnu_cxx::__normal_iterator<snowcrash::DataStructure const**, std::vector<snowcrash::DataStructure const*, std::allocator<snowcrash::DataStructure const*> > >, drafter::InheritanceComparator) () | |
from aglio/node_modules/protagonist/build/Release/protagonist.node | |
#5 0x0000000103d113d5 in void std::sort<__gnu_cxx::__normal_iterator<snowcrash::DataStructure const**, std::vector<snowcrash::DataStructure const*, std::allocator<snowcrash::DataStructure const*> > >, drafter::InheritanceComparator>(__gnu_cxx::__normal_iterator<snowcrash::DataStructure const**, std::vector<snowcrash::DataStructure const*, std::allocator<snowcrash::DataStructure const*> > >, __gnu_cxx::__normal_iterator<snowcrash::DataStructure const**, std::vector<snowcrash::DataStructure const*, std::allocator<snowcrash::DataStructure const*> > >, drafter::InheritanceComparator) () | |
from aglio/node_modules/protagonist/build/Release/protagonist.node | |
#6 0x0000000103d0dd4a in drafter::RegisterNamedTypes(std::vector<snowcrash::Element, std::allocator<snowcrash::Element> > const&) () | |
from aglio/node_modules/protagonist/build/Release/protagonist.node | |
#7 0x0000000103d0a3e8 in drafter::WrapBlueprint (blueprint=..., expandMSON=<optimized out>) at ../drafter/src/SerializeAST.cc:812 | |
#8 0x0000000103d0d6d3 in WrapParseResultAST (blueprint=..., options=...) at ../drafter/src/SerializeResult.cc:46 | |
#9 0x0000000103d0d978 in drafter::WrapResult (blueprint=..., options=...) at ../drafter/src/SerializeResult.cc:86 | |
#10 0x0000000103d0499c in protagonist::Result::WrapResult(snowcrash::ParseResult<snowcrash::Blueprint>&, unsigned int const&, drafter::ASTType const&) () at ../drafter/ext/snowcrash/src/MSON.h:88 | |
#11 0x0000000103d02f9d in AsyncParseAfter(uv_work_s*) () at ../drafter/ext/snowcrash/src/MSON.h:88 | |
#12 0x0000000100769e72 in uv.work_done () at ../drafter/ext/snowcrash/src/MSON.h:88 | |
#13 0x000000010076b964 in uv.async_event () at ../drafter/ext/snowcrash/src/MSON.h:88 | |
#14 0x000000010076bae7 in uv.async_io () at ../drafter/ext/snowcrash/src/MSON.h:88 | |
#15 0x0000000100779f06 in uv.io_poll () at ../drafter/ext/snowcrash/src/MSON.h:88 | |
#16 0x000000010076bf9b in uv_run () at ../drafter/ext/snowcrash/src/MSON.h:88 | |
#17 0x00000001006491f2 in node::Start(int, char**) () at ../drafter/ext/snowcrash/src/MSON.h:88 | |
#18 0x0000000100001934 in start () at ../drafter/ext/snowcrash/src/MSON.h:88 |
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
$ node --version | |
v4.2.4 | |
$ uname -a | |
Darwin menemsha.local 15.2.0 Darwin Kernel Version 15.2.0: Fri Nov 13 19:56:56 PST 2015; root:xnu-3248.20.55~2/RELEASE_X86_64 x86_64 | |
$ # OS X 10.11.2 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment