From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 3873 invoked from network); 28 Jun 2000 14:43:13 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 28 Jun 2000 14:43:13 -0000 Received: from mandy.eunet.fi (mandy.eunet.fi [193.66.1.129]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA15109 for ; Wed, 28 Jun 2000 10:43:12 -0400 Received: from linray.ts.ray.fi (ws.ray.fi [193.64.14.224]) by mandy.eunet.fi (8.9.3/8.9.3-KJN-spamaway) with ESMTP id RAA09981 for (origin jd@ts.ray.fi); Wed, 28 Jun 2000 17:43:10 +0300 (EET DST) Received: from localhost (jd@localhost) by linray.ts.ray.fi (8.7.5/8.7.3) with SMTP id RAA28049 for ; Wed, 28 Jun 2000 17:42:53 +0300 X-Authentication-Warning: linray.ts.ray.fi: jd owned process doing -bs Date: Wed, 28 Jun 2000 17:42:53 +0300 (EET DST) From: Iso-H Reply-To: Iso-H To: axp-list@redhat.com Subject: Re: Apache & CGI & sigsegv In-Reply-To: <20000628113808.7970.cpmta@c012.sfo.cp.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 28 Jun 2000, Phil Carmody wrote: > On Wed, 28 June 2000, Iso-H wrote: > > I have run into very wierd problem with quite simple > > CGI binary (coded by C++); binary just SIGSEGVs at very > > beginning. It seems that there is some kind of > > malloc problems; gdb's backtrace says so. > > Get out your binary chopping tool and reduce the code to the > minimal criminal. Then post it here, we have coders here, we have > compilers and systems here, I for one don't mind spending 10 minutes > checking to see if a 20 line program crashes or not, and then thinking > of workarounds, or whatever. I made stripped version of CGI, but obviously I stripped too much because original problem disappears too ;) I'll let you know if I can produce stripped but still buggy version of CGI binary. > > Phil > > You're only as young as the man that you feel - Mae West > You're only as straight as the man that you feel - Dr R Thompson > _______________________________________________________________________ > > $1 million in prizes! 20 daily instant winners. > AltaVista Rewards: Click here to win! > http://shopping.altavista.com/e.sdc?e=3 > > _______________________________________________________________________ > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > > Iso-H --