Project

General

Profile

Actions

Bug #544

closed

Segmentation fault on mandriva 2008.1

Added by lacton (Antoine Contal) about 16 years ago. Updated almost 8 years ago.

Status:
Closed
ruby -v:
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux]

Description

=begin
Hi,

I'm using ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux] compiled from sources on a Mandriva 2008.1 Linux. I keep getting segmentation faults.

Here is the stack I found in one of the core dumps.

#0 0x08070905 in gc_mark_children (ptr=2883638600, lev=3) at gc.c:961
#1 0x08070c3e in gc_mark_children (ptr=, lev=2) at gc.c:981
#2 0x08070c80 in gc_mark_children (ptr=, lev=1) at gc.c:1032
#3 0x08054166 in blk_mark (data=0xb605878) at eval.c:8396
#4 0x08070cde in gc_mark_children (ptr=2883637000, lev=14) at gc.c:1000
#5 0x08070c3e in gc_mark_children (ptr=, lev=13) at gc.c:981
#6 0x08070ec1 in mark_entry (key=31570, value=2883638420, lev=12) at gc.c:706
#7 0x080b841e in st_foreach (table=0xb5a3800, func=0x8070eb0 <mark_entry>, arg=12) at st.c:487
#8 0x080704ee in mark_tbl (tbl=0xb7df2408, lev=3) at gc.c:716
#9 0x08070c3e in gc_mark_children (ptr=, lev=11) at gc.c:981
#10 0x08070ec1 in mark_entry (key=32202, value=2883510260, lev=10) at gc.c:706
#11 0x080b841e in st_foreach (table=0xb5f01e8, func=0x8070eb0 <mark_entry>, arg=10) at st.c:487
#12 0x080704ee in mark_tbl (tbl=0xb7df2408, lev=3) at gc.c:716
#13 0x08070ec1 in mark_entry (key=31554, value=2883510220, lev=9) at gc.c:706
#14 0x080b841e in st_foreach (table=0xb867d50, func=0x8070eb0 <mark_entry>, arg=9) at st.c:487
#15 0x080704ee in mark_tbl (tbl=0xb7df2408, lev=3) at gc.c:716
#16 0x08070c3e in gc_mark_children (ptr=, lev=8) at gc.c:981
#17 0x08070ec1 in mark_entry (key=32202, value=2883495560, lev=7) at gc.c:706
#18 0x080b841e in st_foreach (table=0x9b22d78, func=0x8070eb0 <mark_entry>, arg=7) at st.c:487
#19 0x080704ee in mark_tbl (tbl=0xb7df2408, lev=3) at gc.c:716
#20 0x08070ec1 in mark_entry (key=31554, value=2883495520, lev=6) at gc.c:706
#21 0x080b841e in st_foreach (table=0xaaf9a58, func=0x8070eb0 <mark_entry>, arg=6) at st.c:487
#22 0x080704ee in mark_tbl (tbl=0xb7df2408, lev=3) at gc.c:716
#23 0x08070c3e in gc_mark_children (ptr=, lev=5) at gc.c:981
#24 0x08070ec1 in mark_entry (key=32202, value=2883590640, lev=4) at gc.c:706
#25 0x080b841e in st_foreach (table=0xb892860, func=0x8070eb0 <mark_entry>, arg=4) at st.c:487
#26 0x080704ee in mark_tbl (tbl=0xb7df2408, lev=3) at gc.c:716
#27 0x08070ec1 in mark_entry (key=31554, value=2883590600, lev=3) at gc.c:706
#28 0x080b841e in st_foreach (table=0xb6ab268, func=0x8070eb0 <mark_entry>, arg=3) at st.c:487
#29 0x080704ee in mark_tbl (tbl=0xb7df2408, lev=3) at gc.c:716
#30 0x08070c3e in gc_mark_children (ptr=, lev=2) at gc.c:981
#31 0x08070ec1 in mark_entry (key=68602, value=2883599240, lev=1) at gc.c:706
#32 0x080b841e in st_foreach (table=0xb878a18, func=0x8070eb0 <mark_entry>, arg=1) at st.c:487
#33 0x080704ee in mark_tbl (tbl=0xb7df2408, lev=3) at gc.c:716
#34 0x08053eba in bm_mark (data=0xb60dca8) at eval.c:9206
#35 0x08070cde in gc_mark_children (ptr=2883577980, lev=2) at gc.c:1000
#36 0x08070c80 in gc_mark_children (ptr=, lev=1) at gc.c:1032
#37 0x08054166 in blk_mark (data=0xb6815f8) at eval.c:8396
#38 0x08070cde in gc_mark_children (ptr=2883566260, lev=7) at gc.c:1000
#39 0x08070c3e in gc_mark_children (ptr=, lev=6) at gc.c:981
#40 0x08070ec1 in mark_entry (key=31570, value=2883568280, lev=5) at gc.c:706
#41 0x080b841e in st_foreach (table=0xb67ffa8, func=0x8070eb0 <mark_entry>, arg=5) at st.c:487
#42 0x080704ee in mark_tbl (tbl=0xb7df2408, lev=3) at gc.c:716
#43 0x08070e9e in mark_keyvalue (key=2883568300, value=2883568540, lev=4) at gc.c:733
#44 0x080b841e in st_foreach (table=0xb3eb550, func=0x8070e80 <mark_keyvalue>, arg=4) at st.c:487
#45 0x080704be in mark_hash (tbl=0xb7df2408, lev=3) at gc.c:743
#46 0x08070c95 in gc_mark_children (ptr=2883761120, lev=4) at gc.c:987
#47 0x08070ec1 in mark_entry (key=32434, value=2883761120, lev=3) at gc.c:706
#48 0x080b841e in st_foreach (table=0xb3eb598, func=0x8070eb0 <mark_entry>, arg=3) at st.c:487
#49 0x080704ee in mark_tbl (tbl=0xb7df2408, lev=3) at gc.c:716
...
#5584 0x0805df85 in rb_eval (self=3074483620, n=) at eval.c:3487
#5585 0x0805cb9a in rb_eval (self=3074483620, n=) at eval.c:3677
#5586 0x0805ac5e in rb_yield_0 (val=3074481040, self=3074483620, klass=0, flags=, avalue=0) at eval.c:5077
#5587 0x0805b631 in rb_yield (val=3074481040) at eval.c:5161
#5588 0x080cc5c1 in rb_ary_each (ary=2885051400) at array.c:1261
#5589 0x0805faa4 in rb_call0 (klass=3084832300, recv=2885051400, id=4001, oid=4001, argc=0, argv=0x0, body=0xb7deca08, flags=0) at eval.c:5904
#5590 0x0805fd51 in rb_call (klass=3084832300, recv=2885051400, mid=4001, argc=0, argv=0x0, scope=0, self=3074483620) at eval.c:6151
#5591 0x0805ba29 in rb_eval (self=3074483620, n=) at eval.c:3492
#5592 0x0805eb46 in rb_eval (self=3074483620, n=) at eval.c:3222
#5593 0x0805f9fa in rb_call0 (klass=3084560060, recv=3074483620, id=13113, oid=13113, argc=3, argv=0xbfcf6a30, body=0xb7db1e30,
flags=) at eval.c:6055
#5594 0x0805fd51 in rb_call (klass=3084560060, recv=3074483620, mid=13113, argc=3, argv=0xbfcf6a30, scope=1, self=3074483620) at eval.c:6151
#5595 0x0805bb4a in rb_eval (self=3, n=) at eval.c:3507
#5596 0x0805d377 in rb_eval (self=3074483620, n=) at eval.c:3280
#5597 0x0805cb5a in rb_eval (self=3074483620, n=) at eval.c:3671
#5598 0x0805f9fa in rb_call0 (klass=3084560060, recv=3074483620, id=5393, oid=5393, argc=0, argv=0x0, body=0xb7db6444, flags=)
at eval.c:6055
#5599 0x0805fd51 in rb_call (klass=3084560060, recv=3074483620, mid=5393, argc=0, argv=0x0, scope=0, self=3084226060) at eval.c:6151
#5600 0x0805ba29 in rb_eval (self=3084226060, n=) at eval.c:3492
#5601 0x0805df85 in rb_eval (self=3084226060, n=) at eval.c:3487
#5602 0x0805cb9a in rb_eval (self=3084226060, n=) at eval.c:3677
#5603 0x0805ac5e in rb_yield_0 (val=3074483620, self=3084226060, klass=0, flags=, avalue=0) at eval.c:5077
#5604 0x0805b631 in rb_yield (val=3074483620) at eval.c:5161
#5605 0x080cc5c1 in rb_ary_each (ary=3084271140) at array.c:1261
#5606 0x0805faa4 in rb_call0 (klass=3084832300, recv=3084271140, id=4001, oid=4001, argc=0, argv=0x0, body=0xb7deca08, flags=0) at eval.c:5904
#5607 0x0805fd51 in rb_call (klass=3084832300, recv=3084271140, mid=4001, argc=0, argv=0x0, scope=0, self=3084226060) at eval.c:6151
#5608 0x0805ba29 in rb_eval (self=3084226060, n=) at eval.c:3492
#5609 0x0805eb46 in rb_eval (self=3084226060, n=) at eval.c:3222
#5610 0x0805e6e8 in rb_eval (self=3084226060, n=) at eval.c:3356
#5611 0x0805f9fa in rb_call0 (klass=3084685820, recv=3084226060, id=5393, oid=5393, argc=0, argv=0x0, body=0xb7dcb948, flags=)
at eval.c:6055
#5612 0x0805fd51 in rb_call (klass=3084685820, recv=3084226060, mid=5393, argc=0, argv=0x0, scope=0, self=3084271320) at eval.c:6151
#5613 0x0805ba29 in rb_eval (self=3084271320, n=) at eval.c:3492
#5614 0x0805cb9a in rb_eval (self=3084271320, n=) at eval.c:3677
#5615 0x0805e6e8 in rb_eval (self=3084271320, n=) at eval.c:3356
#5616 0x0805f9fa in rb_call0 (klass=3084475720, recv=3084271320, id=10993, oid=10993, argc=0, argv=0x0, body=0xb7d9bdd8, flags=)
at eval.c:6055
#5617 0x0805fd51 in rb_call (klass=3084475720, recv=3084271320, mid=10993, argc=0, argv=0x0, scope=0, self=3084678100) at eval.c:6151
#5618 0x0805ba29 in rb_eval (self=3084678100, n=) at eval.c:3492
#5619 0x0805bd79 in rb_eval (self=3084678100, n=) at eval.c:3436
#5620 0x0805e6e8 in rb_eval (self=3084678100, n=) at eval.c:3356
#5621 0x0805f9fa in rb_call0 (klass=3084678080, recv=3084678100, id=5393, oid=5393, argc=1, argv=0xbfcf9760, body=0xb7dc8414, flags=)
at eval.c:6055
#5622 0x0805fd51 in rb_call (klass=3084678080, recv=3084678100, mid=5393, argc=1, argv=0xbfcf9760, scope=0, self=3084859740) at eval.c:6151
#5623 0x0805ba29 in rb_eval (self=3084859740, n=) at eval.c:3492
#5624 0x0805df27 in rb_eval (self=3084859740, n=) at eval.c:3502
#5625 0x0806a98d in ruby_exec_internal () at eval.c:1641
#5626 0x0806a9c6 in ruby_exec () at eval.c:1661
#5627 0x0806a9f1 in ruby_run () at eval.c:1671
#5628 0x08052e8f in main (argc=Cannot access memory at address 0x9
) at main.c:48

What information can I provide to help you analyze this issue?

Regards.
=end

Actions #1

Updated by shyouhei (Shyouhei Urabe) almost 16 years ago

  • Status changed from Open to Feedback
  • Assignee set to shyouhei (Shyouhei Urabe)
  • ruby -v set to ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux]

=begin

=end

Actions #2

Updated by marcandre (Marc-Andre Lafortune) about 15 years ago

  • Category set to build

=begin

=end

Actions #3

Updated by shyouhei (Shyouhei Urabe) almost 8 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0