View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000046||Xdebug||Uncategorized||public||2004-02-24 03:11||2004-05-31 13:05|
|Summary||0000046: Segmentation fault with PHP5.0.0b4 in threadsafe|
PHP 5.0.0b4 exits with a segmentation fault if xdebug is installed as a thread-safe module with zend_extension_ts. This occurs with xdebug 1.3 and the latest version from CVS. The problem is with b4, it worked fine under b3.
|Tags||No tags attached.|
|Operating System||Redhat Linux 9|
Additional. Probably has something to do with the API change Zend made in b4
Does this happen with every script? If not, please provide a short! testing script. If you can, please also provide a backtrace.
Seems to occur with every invocation of php, even just simply fetching the version with -v. Running with a <? phpinfo() ?> as input, the script outputs all system variables and the PHP license before seg faulting.
I tried running it with gdb to get a backtrace but it wasn't being helpful, do I need to compile with any special options?
compiler flags being used by default are: -O2 -pipe -march=i686 -fomit-frame-pointer
As stated, everything worked fine until the change from b3 to b4
can you please compile without any of those flags, and add --enable-debug to your PHP configure line? That should give you a much better backtrace. I still can't reproduce your segfault here.
|2004-02-24 03:11||duncan||New Issue|
|2004-02-24 07:46||duncan||Note Added: 0000098|
|2004-02-25 17:09||derick||Note Added: 0000099|
|2004-02-25 17:09||derick||Status||new => feedback|
|2004-02-26 02:31||duncan||Note Added: 0000100|
|2004-02-27 21:07||derick||Note Added: 0000104|
|2004-05-31 13:05||derick||Status||feedback => resolved|
|2004-05-31 13:05||derick||Resolution||open => suspended|
|2004-05-31 13:05||derick||Assigned To||=> derick|
|2004-05-31 13:05||derick||Note Added: 0000140|
|2016-07-31 12:36||derick||Category||Usage problems => Usage problems (Crashes)|
|2016-07-31 12:38||derick||Category||Usage problems (Crashes) => Usage problems (Wrong Results)|
|2020-03-12 16:35||derick||Category||Usage problems (Wrong Results) => Variable Display|
|2020-03-12 16:38||derick||Category||Variable Display => Uncategorized|