PHP 4.0 Bug #6709 Updated: intermittent segmentation faults

From: Date: Thu, 19 Oct 2000 23:52:01 +0000
Subject: PHP 4.0 Bug #6709 Updated: intermittent segmentation faults
Groups: php.dev 
Request: Send a blank email to php-dev+get-35600@lists.php.net to get a copy of this message
ID: 6709 Updated by: sniper Reported By: reef@totalise.co.uk Status: Closed Bug Type: MySQL related Assigned To: Comments: User feedback: ----------- I managed to narrow the problem down to the use of --enable-trans-sid The problem occured when PHP 4.01 or 4.02 were compiled with ./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars - -enable-trans-sid It was occuring at random with any script that produced HREFs. A re-compile without the above --enable-trans-sid cured the problem. P.S. Close the report if you want - I have forgoten my password! ---------- This should be fixed by now. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-10-18 16:33:57] sniper@php.net I can not reproduce this. Which version of mysql do you use? What is your configure line for PHP ? And please provide shortest possible reproducing script too. --Jani --------------------------------------------------------------------------- [2000-09-13 05:56:49] reef@totalise.co.uk 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. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6709

« previous php.dev (#35600) next »