ID: 35304
Updated by: iliaa@php.net
Reported By: matteo at beccati dot com
-Status: Open
+Status: Feedback
Bug Type: PDO related
Operating System: Debian GNU/Linux testing/etch
PHP Version: 5CVS-2005-11-20 (snap)
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Compiled with your flags and things work fine, no crashes. Even
valgrind does not point to any problems...
Previous Comments:
------------------------------------------------------------------------
[2005-11-21 17:48:27] matteo at beccati dot com
Also without CFLAGS:
good-ol:~/compile/php5-200511211330# sapi/cli/php -n -r 'echo 1;'
Segmentation fault
good-ol:~/compile/php5-200511211330# sapi/cli/php -n somefile.php
Segmentation fault
------------------------------------------------------------------------
[2005-11-21 17:27:02] matteo at beccati dot com
This was without recompiling. I'll recompile without CFLAGS and let you
know.
------------------------------------------------------------------------
[2005-11-21 17:25:43] matteo at beccati dot com
good-ol:~/compile/php5-200511211330# sapi/cli/php -n -r 'echo 1;'
Segmentation fault
good-ol:~/compile/php5-200511211330# touch somefile.php
good-ol:~/compile/php5-200511211330# sapi/cli/php -n somefile.php
Segmentation fault
good-ol:~/compile/php5-200511211330#
------------------------------------------------------------------------
[2005-11-21 17:24:07] sniper@php.net
Try without setting those CFLAGS. And try running PHP like this after
compile:
# sapi/cli/php -n -r 'echo 1;'
Does that crash? Or this:
# sapi/cli/php -n somefile.php
------------------------------------------------------------------------
[2005-11-21 16:51:33] matteo at beccati dot com
No php.ini is present in /usr/local/lib. this was the configure line:
CFLAGS='-O0 -g' ./configure --disable-cgi --without-sqlite
which leads to the segfault on php start (I was probabily wrong saying
that it was working on start).
If you need I can give you ssh access on the machine.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/35304--
Edit this bug report at http://bugs.php.net/?id=35304&edit=1