segfault while executing "require 'tk'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ruby1.9.1 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ruby1.9.1
A ruby/tk program of mine which works correctly under Ruby 1.8 and under a Ruby 1.9.1 which I compiled from source crashes at startup with the following backtrace:
ruby1.9.1 ~/wdrive/
/usr/lib/
ruby 1.9.1p243 (2009-07-16 revision 24175) [i486-linux]
-- control frame ----------
c:0012 p:---- s:0039 b:0039 l:000038 d:000038 CFUNC :_define_
c:0011 p:2128 s:0035 b:0035 l:001b60 d:001b60 CLASS /usr/lib/
c:0010 p:0019 s:0032 b:0032 l:000031 d:000031 CLASS /usr/lib/
c:0009 p:0043 s:0030 b:0030 l:000029 d:000029 TOP /usr/lib/
c:0008 p:---- s:0028 b:0028 l:000027 d:000027 FINISH
c:0007 p:0010 s:0026 b:0025 l:000024 d:000024 CLASS /usr/lib/
c:0006 p:0077 s:0023 b:0023 l:000022 d:000022 TOP /usr/lib/
c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :require
c:0003 p:0162 s:0006 b:0006 l:0013c4 d:00036c EVAL /home/siepo/
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0013c4 d:0013c4 TOP
-------
-- Ruby level backtrace information-
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/home/siepo/
/home/siepo/
-- C level backtrace information -------
0x23a6e9 /usr/lib/
0x15607f /usr/lib/
0x15611a /usr/lib/
0x1e1fa4 /usr/lib/
0xab3410 [0xab3410]
0x1e81ae /usr/lib/
0x2271e6 /usr/lib/
0x227251 /usr/lib/
0x22b2d7 /usr/lib/
0xef19c7 /usr/lib/
0x228983 /usr/lib/
0x228ce1 /usr/lib/
0x234ddc /usr/lib/
0x22e1ee /usr/lib/
0x231508 /usr/lib/
0x2317fa /usr/lib/
0x159ffd /usr/lib/
0x15ae78 /usr/lib/
0x2129e5 /usr/lib/
0x2152d6 /usr/lib/
0x22f519 /usr/lib/
0x231508 /usr/lib/
0x2317fa /usr/lib/
0x159ffd /usr/lib/
0x15ae78 /usr/lib/
0x15b166 /usr/lib/
0x228983 /usr/lib/
0x228ce1 /usr/lib/
0x234ddc /usr/lib/
0x22e1ee /usr/lib/
0x231508 /usr/lib/
0x2316ab /usr/lib/
0x158007 /usr/lib/
0x1595e6 /usr/lib/
0x80487e8 ruby1.9.
0x339b56 /lib/tls/
0x80486e1 ruby1.9.1 [0x80486e1]
[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://
Aborted
Additionally, this same program suffers under bug #511339 when run by ruby1.9.
I am open to suggestions how to narrow this down.
Ubuntu release: Karmic
Package version: 1.9.1.243-2
Hi,
I cannot reproduce this with version 1.9.1.378-3 (in lucid): require 'tk' doesn't cause a segfault.
Please provide more information if you can still reproduce that bug.