Project

General

Profile

Backport #1383

Updated by jeremyevans0 (Jeremy Evans) about 1 year ago

=begin 
  
  ruby constantly segfaults. below is part of the stack as shown by gdb. i'd be happy to provide more information if you tell me what you need. unfortunately, i can't provide the code that caused this nor a toy example to recreate.  
 
  #0    rb_eval (self=184139294640, n=0x2a96e4b360) at eval.c:2945 
  #1    0x000000000041490b in rb_eval (self=184139294640, n=0x2a96e4b360) at eval.c:3488 
  #2    0x000000000041348a in rb_eval (self=184139294640, n=0x2a96e4b360) at eval.c:3049 
  #3    0x0000000000413b13 in rb_eval (self=184139294640, n=0x2a96e4b360) at eval.c:3183 
  #4    0x0000000000419da4 in rb_call0 (klass=182920164920, recv=184139294640, id=3439, oid=0, argc=0, argv=0x7fbfe04290, body=0x2a96e4b0e0, flags=0) 
      at eval.c:6057 
  #5    0x000000000041a54f in rb_call (klass=182920164920, recv=184139294640, mid=3439, argc=1, argv=0x7fbfe04288, scope=0, self=184139294320) at eval.c:6153 
  #6    0x0000000000414a11 in rb_eval (self=184139294320, n=0x2a96e4b360) at eval.c:3496 
  #7    0x000000000041348a in rb_eval (self=184139294320, n=0x2a96e4b360) at eval.c:3049 
  #8    0x0000000000419da4 in rb_call0 (klass=182920164920, recv=184139294320, id=2961, oid=0, argc=0, argv=0x7fbfe08190, body=0x2a96e4c008, flags=2) 
      at eval.c:6057 
  #9    0x000000000041a54f in rb_call (klass=182920164920, recv=184139294320, mid=2961, argc=3, argv=0x7fbfe08178, scope=1, self=6) at eval.c:6153 
  #10 0x000000000041ab54 in rb_funcall2 (recv=184139294640, mid=182920196960, argc=-1075840816, argv=0x0) at ruby.h:696 
  #11 0x000000000041d884 in rb_obj_call_init (obj=184139294320, argc=3, argv=0x7fbfe08178) at eval.c:7789 
  #12 0x0000000000443b31 in rb_class_new_instance (argc=3, argv=0x7fbfe08178, klass=184139294640) at object.c:1644 
  #13 0x00000000004275e6 in call_cfunc (func=0x443b00 <rb_class_new_instance>, recv=182920164920, len=-1075840816, argc=-544299088, argv=0x2a96e4b360) 
      at eval.c:5751 
  #14 0x0000000000419a34 in rb_call0 (klass=182904302080, recv=182920164920, id=3361, oid=4294967295, argc=3, argv=0x7fbfe08178, body=0x2a95f204f8, flags=0) 
      at eval.c:5906 
  #15 0x000000000041a54f in rb_call (klass=182904302080, recv=182920164920, mid=3361, argc=3, argv=0x7fbfe08178, scope=0, self=184139294640) at eval.c:6153 
  #16 0x0000000000414a11 in rb_eval (self=184139294640, n=0x2a96e4b360) at eval.c:3496 
  #17 0x0000000000419da4 in rb_call0 (klass=182920164920, recv=184139294640, id=20985, oid=0, argc=0, argv=0x7fbfe0a0b0, body=0x2a96e4ab68, flags=0) 
      at eval.c:6057 
  #18 0x000000000041a54f in rb_call (klass=182920164920, recv=184139294640, mid=20985, argc=1, argv=0x7fbfe0a0a8, scope=0, self=184139954480) at eval.c:6153 
  #19 0x0000000000414a11 in rb_eval (self=184139954480, n=0x2a96e4b360) at eval.c:3496 
  #20 0x0000000000414ccb in rb_eval (self=184139954480, n=0x2a96e4b360) at ruby.h:701 
  #21 0x0000000000415473 in rb_eval (self=184139954480, n=0x2a96e4b360) at eval.c:3278 
  #22 0x000000000041490b in rb_eval (self=184139954480, n=0x2a96e4b360) at eval.c:3488 
  #23 0x0000000000419da4 in rb_call0 (klass=182920165120, recv=184139954480, id=49185, oid=0, argc=0, argv=0x7fbfe10ca8, body=0x2a96e447e0, flags=0) 
      at eval.c:6057 
  #24 0x000000000041a54f in rb_call (klass=182920165120, recv=184139954480, mid=49185, argc=2, argv=0x7fbfe10c98, scope=1, self=184139954480) at eval.c:6153 
  #25 0x0000000000414a11 in rb_eval (self=184139954480, n=0x2a96e4b360) at eval.c:3496 
  #26 0x000000000041632e in rb_eval (self=184139954480, n=0x2a96e4b360) at eval.c:3438 
  #27 0x0000000000419da4 in rb_call0 (klass=182920165120, recv=184139954480, id=49185, oid=0, argc=0, argv=0x7fbfe14568, body=0x2a96e447e0, flags=0) 
      at eval.c:6057 
  #28 0x000000000041a54f in rb_call (klass=182920165120, recv=184139954480, mid=49185, argc=2, argv=0x7fbfe14558, scope=1, self=184139954480) at eval.c:6153 
  #29 0x0000000000414a11 in rb_eval (self=184139954480, n=0x2a96e4b360) at eval.c:3496 
  #30 0x0000000000415473 in rb_eval (self=184139954480, n=0x2a96e4b360) at eval.c:3278 
  #31 0x000000000041490b in rb_eval (self=184139954480, n=0x2a96e4b360) at eval.c:3488 
  #32 0x0000000000419da4 in rb_call0 (klass=182920165120, recv=184139954480, id=49185, oid=0, argc=0, argv=0x7fbfe197b8, body=0x2a96e447e0, flags=0) 
      at eval.c:6057 
 
 =end 
 

Back