# Facing Segmentation Fault

**URL:** <https://rubytalk.org/t/facing-segmentation-fault/47839>\
**Category:** ruby-talk\
**Created:** [22 July 2008 05:15 UTC](https://rubytalk.org/t/facing-segmentation-fault/47839 "2008-07-22T05:15:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darshana\_Gangwal](https://avatars.discourse-cdn.com/v4/letter/d/f08c70/32.png) [@Darshana\_Gangwal](https://rubytalk.org/u/Darshana_Gangwal)\
**Post date:** [22 July 2008 05:15 UTC](https://rubytalk.org/t/facing-segmentation-fault/47839/1 "2008-07-22T05:15:19Z")

</div>

Hi All,

We are working on project running ruby 1.8.5 on UNIX.

We have been getting segmentation faults [BUG] fairly consistently (but  
at unpredictable times)  
If anyone faced this kind of issue before or anyone can provide  
pointers, it will be very helpful.

Regards  
Darshana

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

**Author:** ![M\_Edward\_Ed\_Borasky1](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@M\_Edward\_Ed\_Borasky1](https://rubytalk.org/u/M_Edward_Ed_Borasky1)\
**Post date:** [22 July 2008 05:20 UTC](https://rubytalk.org/t/facing-segmentation-fault/47839/2 "2008-07-22T05:20:52Z")

</div>

If you have gdb, disable the ulimit on core dump files. Then when you  
get a segfault, go into the core dump with gdb, do a stack backtrace and  
file a bug report. Given a stack backtrace, it shouldn't take them too  
long to find it.

If you can, upgrade to 1.8.6. 1.8.5 is not supported any more.

> **···**
>
> On Tue, 2008-07-22 at 14:15 +0900, Darshana Gangwal wrote:
> 
> > Hi All,
> > 
> > We are working on project running ruby 1.8.5 on UNIX.
> > 
> > We have been getting segmentation faults [BUG] fairly consistently (but  
> > at unpredictable times)  
> > If anyone faced this kind of issue before or anyone can provide  
> > pointers, it will be very helpful.
> > 
> > Regards  
> > Darshana
> 
> --  
> M. Edward (Ed) Borasky  
> ruby-perspectives.blogspot.com
> 
> "A mathematician is a machine for turning coffee into theorems." --  
> Alfréd Rényi via Paul Erdős
