ID: 31725
Updated by: dmitry@php.net
Reported By: nlopess@php.net
Status: Assigned
Bug Type: Zend Engine 2 problem
Operating System: *
PHP Version: 5CVS-2005-03-21
Assigned To: wez
New Comment:
Probably this bug should be fixed in CVS HEAD and PHP_5_0 with the
following patch:
http://cvs.php.net/diff.php/php-src/ext/sqlite/sqlite.c?r1=1.146.2.6&r2=1.146.2.7&ty=u
Previous Comments:
------------------------------------------------------------------------
[2005-04-26 23:12:09] nlopess@php.net
Sorry, valgrind took a while to finish.
The output: http://mega.ist.utl.pt/~ncpl/valgrind-php.txt
------------------------------------------------------------------------
[2005-04-26 20:26:06] wez@php.net
valgrind...
------------------------------------------------------------------------
[2005-04-26 20:02:44] nlopess@php.net
Well, I've already posted 2 examples with backtraces above.
I've run the ini-update.php script (available in the above URL) and I
got this:
#0 0x4046dd67 in mallopt () from /lib/libc.so.6
#1 0x4046db5e in mallopt () from /lib/libc.so.6
#2 0x4046c908 in free () from /lib/libc.so.6
#3 0x081ea0e7 in shutdown_memory_manager (silent=0, full_shutdown=0)
at /cvs/php-src/Zend/zend_alloc.c:511
#4 0x081c9821 in php_request_shutdown (dummy=0x0)
at /cvs/php-src/main/main.c:1228
#5 0x082633df in main (argc=2, argv=0xbffff944)
at /cvs/php-src/sapi/cli/php_cli.c:1057
------------------------------------------------------------------------
[2005-04-22 04:46:36] wez@php.net
backtrace and/or valgrind output please.
------------------------------------------------------------------------
[2005-04-21 20:21:52] nlopess@php.net
It segfaults in both windows (using the 'official' binaries) and
linux.
The program that I've used that is segfaulting is in CVS:
http://cvs.php.net/phpdoc/scripts/iniupdate/
------------------------------------------------------------------------
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/31725--
Edit this bug report at http://bugs.php.net/?id=31725&edit=1