# Able to reproduce segfault, what now?

**URL:** <https://rubytalk.org/t/able-to-reproduce-segfault-what-now/42255>\
**Category:** ruby-talk\
**Created:** [16 November 2007 14:55 UTC](https://rubytalk.org/t/able-to-reproduce-segfault-what-now/42255 "2007-11-16T14:55:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aktxyz](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@aktxyz](https://rubytalk.org/u/aktxyz)\
**Post date:** [16 November 2007 14:55 UTC](https://rubytalk.org/t/able-to-reproduce-segfault-what-now/42255/1 "2007-11-16T14:55:10Z")

</div>

/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?

---

<div class="post-metadata">

**Author:** ![Eric\_Hodel1](https://avatars.discourse-cdn.com/v4/letter/e/a9adbd/32.png) [@Eric\_Hodel1](https://rubytalk.org/u/Eric_Hodel1)\
**Post date:** [17 November 2007 03:21 UTC](https://rubytalk.org/t/able-to-reproduce-segfault-what-now/42255/2 "2007-11-17T03:21:36Z")

</div>

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.

> **···**
>
> 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?
> 
> --  
> Poor workers blame their tools. Good workers build better tools. The  
> best workers get their tools to do the work for them. -- Syndicate Wars
