From: Eric Hodel Date: 2005-02-02T05:58:35+09:00 Subject: Re: [BUG] Segmentation fault --Apple-Mail-34-135260671 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 01 Feb 2005, at 12:02, Andrew Walrond wrote: > On Tuesday 01 February 2005 18:27, Yukihiro Matsumoto wrote: >> Hi, >> >> In message "Re: [BUG] Segmentation fault" >> >> on Wed, 2 Feb 2005 02:03:05 +0900, Eric Hodel >> > writes: >> |> Hope it might mean something to someone :) >> | >> |It would mean more with a backtrace, and if your Ruby was compiled >> with >> |debugging symbols... >> >> And if the error reproducing Ruby program (along with input data) is >> supplied. >> > > Sorry guys. I always try my best to provide a patch, a testcase etc > (google me > and you'll see what I mean) But I'm afraid its another of those > inherently > unreproducible bugs. You're welcome to the code, but It's been run > thousands > of times with the same dataset andlib/modules/fglrx/build_mod/ this is > the > first (and last) time I've seen this particular segfault... You should be able to at least get a core-file you can examine with gdb... And compiling Ruby with debugging symbols makes things extra-helpful... > I am pushing ruby quite hard with Rubyx, and do seem to turn up these > unreproducible bugs (search back a couple months and you'll find the > last one > I was shouting about which turned out to be a nasty garbage collector > bug, > and really had me pulling my hair out :)) > > The purpose of my brief post was because, from (...long...) > experience, it > often useful for the author of code in question to have a quick look at > possible failure modes in that area. I guess thats why the segfault > notice > has file name and linenumber... Unfortunately, Rational is pure-ruby, so the failure could be in eval or in the GC or somewhere else. -- Eric Hodel - drbrain@segment7.net - http://segment7.net FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --Apple-Mail-34-135260671 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB/+1YMypVHHlsnwQRAnQtAKDGcNLFr5lKHcrfvWe9qqCEffDl3wCgwEk/ C8FsXCYrUVCMq2HdsdQz2V0= =lvBF -----END PGP SIGNATURE----- --Apple-Mail-34-135260671--