Skip to content

Instantly share code, notes, and snippets.

@agentzh
Created October 19, 2018 23:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agentzh/55c74510f751d659a04397afb29cd5ca to your computer and use it in GitHub Desktop.
Save agentzh/55c74510f751d659a04397afb29cd5ca to your computer and use it in GitHub Desktop.
e->tok is NULL
Core was generated by `stap -vvv -p4 -DSTP_OVERLOAD_THRESHOLD=5000000000 -DMAXACTION=5000000 --no-w ne'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000000000045edcc in operator<< (o=..., t=...) at parse.cxx:338
338 o << tt2str(t.type);
(gdb) bt
#0 0x000000000045edcc in operator<< (o=..., t=...) at parse.cxx:338
#1 0x00000000004ea915 in const_folder::visit_binary_expression (this=0x7fff7c74daf0, e=0x5677600) at elaborate.cxx:4621
#2 0x00000000004ac299 in binary_expression::visit (this=0x5677600, u=0x7fff7c74daf0) at staptree.cxx:1688
#3 0x00000000004c0c3a in update_visitor::require<expression> (this=0x7fff7c74daf0, src=0x5677600, clearok=false) at staptree.h:1279
#4 0x00000000004bb954 in update_visitor::replace<expression> (this=0x7fff7c74daf0, src=@0x56776d0: 0x5677600, clearok=false) at staptree.h:1310
#5 0x00000000004e9519 in const_folder::get_number (this=0x7fff7c74daf0, e=@0x56776d0: 0x5677600) at elaborate.cxx:4431
#6 0x00000000004e9c9a in const_folder::visit_binary_expression (this=0x7fff7c74daf0, e=0x5677690) at elaborate.cxx:4533
#7 0x00000000004ac299 in binary_expression::visit (this=0x5677690, u=0x7fff7c74daf0) at staptree.cxx:1688
#8 0x00000000004c0c3a in update_visitor::require<expression> (this=0x7fff7c74daf0, src=0x5677690, clearok=false) at staptree.h:1279
#9 0x00000000004bb954 in update_visitor::replace<expression> (this=0x7fff7c74daf0, src=@0x56777c0: 0x5677690, clearok=false) at staptree.h:1310
#10 0x00000000004b4379 in update_visitor::visit_return_statement (this=0x7fff7c74daf0, s=0x56777b0) at staptree.cxx:3600
#11 0x00000000004abfd3 in return_statement::visit (this=0x56777b0, u=0x7fff7c74daf0) at staptree.cxx:1638
#12 0x00000000004beda4 in update_visitor::require<statement> (this=0x7fff7c74daf0, src=0x56777b0, clearok=false) at staptree.h:1279
#13 0x00000000004bc272 in update_visitor::replace<statement> (this=0x7fff7c74daf0, src=@0x5674778: 0x56777b0, clearok=false) at staptree.h:1310
#14 0x00000000004ecaa9 in semantic_pass_const_fold (s=..., relaxed_p=@0x7fff7c74dbd7: false) at elaborate.cxx:5048
#15 0x00000000004efcdd in semantic_pass_optimize1 (s=...) at elaborate.cxx:5699
#16 0x00000000004df0e0 in semantic_pass (s=...) at elaborate.cxx:2536
#17 0x0000000000414c22 in passes_0_4 (s=...) at main.cxx:948
#18 0x0000000000417673 in main (argc=17, argv=0x7fff7c74f458) at main.cxx:1415
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment