![]() |
sponsored links |
|
|
sponsored links
|
|
|
|
3
1st April 12:45
External User
Posts: 1
|
Could your segmentation fault be due to the same problem as in the
following? From: Mauricio Fernández <batsman.geo@yahoo.com> Date: Sat Jul 5, 2003 7:20:38 PM Europe/London To: ruby-talk@ruby-lang.org (ruby-talk ML) Subject: Re: Tracking down a seg fault Reply-To: ruby-talk@ruby-lang.org I had a similar problem, with the same code (I wrote ObjectPoolingAndThreading :-) I was getting random segfaults with a heavily threaded script that was doing 200 connections to a dictd server. After some time, I found out that the problem seemed to be associated to GCC, as the segfault would only happen when targeting i386 and using gcc 3.2... You could check if the problem persists w/ a different GCC (although I don't know if you are limited to gcc 3.1 in OSX). Other than that, I guess there's not much to do :-( In my case, it was impossible to isolate the bug, as any attempt to remove code would make it impossible to reproduce it. -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com <Tazman> damn my office is cold. <Tazman> need a hot secretary to warm it up. -- Seen on #Linux On Sunday, July 6, 2003, at 11:27 AM, Richard Zidlicky wrote: __________________________________________________ ______________________ __ Professor Nigel Gilbert, FREng, AcSS, Pro Vice-Chancellor and Professor of Sociology, University of Surrey, Guildford GU2 7XH, UK. +44 (0)1483 689173 |
|