[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

able to reproduce segfault, what now?

uncle

11/16/2007 2:51:00 PM

/usr/lib/ruby/1.8/ostruct.rb:74: [BUG] Segmentation fault
ruby 1.8.6 (2007-09-23) [i686-linux]

unfortunately, it's not a small test case
how do I gather more info for someone to take a look?
1 Answer

Eric Hodel

11/17/2007 3:22:00 AM

0

On Nov 16, 2007, at 06:55 , aktxyz@gmail.com wrote:
> /usr/lib/ruby/1.8/ostruct.rb:74: [BUG] Segmentation fault
> ruby 1.8.6 (2007-09-23) [i686-linux]
>
> unfortunately, it's not a small test case
> how do I gather more info for someone to take a look?

gdb ruby
(gdb) run -yourargs
[segfault]
(gdb) bt
[backtrace]

Then examine your backtrace to see where it crashed. This may not be
helpful to you, but you can post it here and maybe get some help.

--
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars