Package: ruby1.8
Version: 1.8.7.173-1
Severity: normal
Hi,
tdiary's amazon.rb segfault in the cause of ruby's bug.
(tdiary/lang/ja.rb):36:[BUG] Segmentation fault ruby 1.8.7 (2009-06-08
patchlevel 173) [i486-linux]
It is reported to tdiary's BTS (in Japanese).
http://www.cozmixng.org/retro/projects/tdiary/tickets/142
It is investigated by hiraku, and his blog is in Japanese.
http://www.hinet.mydns.jp/tdiary/?date=20090506#p01
http://www.hinet.mydns.jp/tdiary/?date=20090508#p01
Here is simply reproduce one liner.
ruby -ve "C=0; o=''; o.instance_eval('def m; C; end'); o.clone.m"
And hiraku points that this bug is due to below patch.
debian/patches/905_class_dup_should_copy_constants.dpatch
It is introduced to ruby1.8 1.8.7.72-3 and dropped in ruby1.8 1.8.7.173-1
because of the upstream's inclusion.
This bug is fixed in ruby1.8 development branch.
But I do not know what revision fixes it... Sorry.
Regards,
dai
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to ja_JP.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages ruby1.8 depends on:
ii libc6 2.9-13 GNU C Library: Shared libraries
ii libruby1.8 1.8.7.173-1 Libraries necessary to run Ruby 1.
ruby1.8 recommends no packages.
Versions of packages ruby1.8 suggests:
ii rdoc1.8 1.8.7.173-1 Generate documentation from Ruby s
pn ri1.8 <none> (no description available)
ii ruby1.8-examples 1.8.7.173-1 Examples for Ruby 1.8
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]