PHP 4.0 Bug #6709: intermittent segmentation faults

From: Date: Wed, 13 Sep 2000 09:56:49 +0000
Subject: PHP 4.0 Bug #6709: intermittent segmentation faults
Groups: php.dev 
Request: Send a blank email to php-dev+get-33117@lists.php.net to get a copy of this message
From: reef@totalise.co.uk Operating system: rh6.2 PHP version: 4.0.2 PHP Bug Type: MySQL related Bug description: intermittent segmentation faults I am getting intermittent 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 mysql multithreading? Mysql was compiled from source to eliminate linking against pthreads.

« previous php.dev (#33117) next »