From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 10249 invoked from network); 28 Jun 2000 10:30:51 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 28 Jun 2000 10:30:51 -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 GAA26225 for ; Wed, 28 Jun 2000 06:30:49 -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 NAA14367 for (origin jd@ts.ray.fi); Wed, 28 Jun 2000 13:30:47 +0300 (EET DST) Received: from localhost (jd@localhost) by linray.ts.ray.fi (8.7.5/8.7.3) with SMTP id NAA26737 for ; Wed, 28 Jun 2000 13:30:31 +0300 X-Authentication-Warning: linray.ts.ray.fi: jd owned process doing -bs Date: Wed, 28 Jun 2000 13:30:31 +0300 (EET DST) From: Iso-H To: axp-list@redhat.com Subject: Apache & CGI & sigsegv Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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. If I run CGI from command line with same input it just works fine; CGI fails only if it is run by Apache. This all happens only with AlphaLinux (RHL-6x) and with this particular CGI; everything works with x86-Linux (and Apache) just dandy. I have tried this with two machine; PWS433a/RHL-61 and SX164/RHL-62. All rpms are original, I haven't upgrade anything. I'm not 100% sure, but I think CGI worked with RHL-52; I just can't verify this now because I don't have any RHL-52 system around. So if anybody has run into the same kind of problem and solved it please let me know. Iso-H --