From:             matteo at beccati dot com
Operating system: Debian GNU/Linux testing/etch
PHP version:      5.1.0RC6
PHP Bug Type:     Scripting Engine problem
Bug description:  PHP always segfaults with --without-sqlite

Description:
------------
I was starting to test PHP5.1.0RC6.

make install was exiting with a segmentation fault, because running php
from command line always exit with a segfault. I tracked down that the
problem depends by the fact I used --without-sqlite in the configure
options.

Using the php5-200511200930 snapshot also leads to the same result.

Configure line used for the backtrace:
CFLAGS=-O0 ./configure --disable-cgi --without-sqlite


Actual result:
--------------
(gdb) run
Starting program: /root/compile/php5-200511200930/sapi/cli/php

Program received signal SIGSEGV, Segmentation fault.
0x08200adf in _zend_hash_add_or_update ()
(gdb) bt full
#0  0x08200adf in _zend_hash_add_or_update ()
No symbol table info available.
#1  0x080ce8c4 in php_pdo_register_driver ()
No symbol table info available.
#2  0x080d8fc7 in zm_startup_pdo_sqlite ()
No symbol table info available.
#3  0x081fcd27 in zend_startup_module_ex ()
No symbol table info available.
#4  0x08202047 in zend_hash_apply ()
No symbol table info available.
#5  0x081fceb6 in zend_startup_modules ()
No symbol table info available.
#6  0x081ba3c2 in php_module_startup ()
No symbol table info available.
#7  0x082674dd in main ()
No symbol table info available.


-- 
Edit bug report at http://bugs.php.net/?id=35304&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35304&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=35304&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=35304&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35304&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35304&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35304&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35304&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35304&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35304&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35304&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=35304&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=35304&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35304&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35304&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35304&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35304&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35304&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35304&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35304&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35304&r=mysqlcfg

Reply via email to