Skip to content

Instantly share code, notes, and snippets.

@matsumotory
Created September 7, 2012 13:38
Show Gist options
  • Select an option

  • Save matsumotory/3666324 to your computer and use it in GitHub Desktop.

Select an option

Save matsumotory/3666324 to your computer and use it in GitHub Desktop.
mod_mruby segfault on mrb_run.
Program received signal SIGSEGV, Segmentation fault.
mrb_run (mrb=0xb59faa78, proc=0xb59fd94c, self=...) at vm.c:446
446 mrb_code *pc = irep->iseq;
(gdb)
(gdb) where
#0 mrb_run (mrb=0xb59faa78, proc=0xb59fd94c, self=...) at vm.c:446
#1 0xb7d3ac5d in ap_mruby_run (mrb=0xb59faa78, r=0xb5817be0, conf=0xb7e02158, mruby_code_file=0xb58195f0 "/var/www/html/test.mrb", module_status=0) at mod_mruby.c:995
#2 0xb7d3bda1 in mod_mruby_handler (r=0xb5817be0) at mod_mruby.c:1068
#3 0x0055ce9d in ap_run_handler ()
#4 0x00560863 in ap_invoke_handler ()
#5 0x0056c9de in ap_process_request ()
#6 0x0056977f in ?? ()
#7 0x00564d9d in ap_run_process_connection ()
#8 0x00564e9c in ap_process_connection ()
#9 0x00571a24 in ?? ()
#10 0x00571c94 in ?? ()
#11 0x00572ba9 in ap_mpm_run ()
#12 0x00548277 in main ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment