Re: seg fault php 4.0.2
| From: | ferret | Date: | Wed, 13 Sep 2000 20:48:21 +0000 |
| Subject: | Re: seg fault php 4.0.2 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16640@lists.php.net to get a copy of this message | ||
Just an update for anyone else in the same boat:
I recompiled without --enable-trans-sid and it works fine now.
This definately looks like a bug though.
On 12 Sep 2000 08:43:13 -0700, reef@totalise.co.uk (ferret) wrote:
>I am getting segmentation faults when running scripts that talk to a
>remote mysql server.
>
>I have tried running php as dso and cgi and on both rh6.1 & 6.2 - and
>it doesn't make any difference.
>
>The only success I have had is when I tried running the scripts on the
>mysql box (so it connects to localhost) and it seems to work fine.
>
>I have tried a back trace and this is what I get:
>
>
>(gdb) run -X -f /usr/local/apache/conf/httpd.conf
>Starting program: /usr/local/apache/bin/httpd -X -f
>/usr/local/apache/conf/httpd.conf
>
>Program received signal SIGSEGV, Segmentation fault.
>0x4013d0e4 in chunk_free (ar_ptr=0x401d1d60, p=0x8202f18) at
>malloc.c:3100
>3100 malloc.c: No such file or directory.
>
>
>
>Is this something to do with multithreading?