#45014 [Opn->Fbk]: Segmentation fault at end of program execution
| From: | felipe@php.net | Date: | Thu, 15 May 2008 21:52:28 +0000 |
| Subject: | #45014 [Opn->Fbk]: Segmentation fault at end of program execution | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-125035@lists.php.net to get a copy of this message | ||
ID: 45014
Updated by: felipe@php.net
Reported By: lukasz at zhr dot pl
-Status: Open
+Status: Feedback
Bug Type: SPL related
Operating System: FreeBSD 6.2
PHP Version: 5.2.6
New Comment:
What configure line did you use?
Previous Comments:
------------------------------------------------------------------------
[2008-05-15 20:58:38] lukasz at zhr dot pl
Description:
------------
Basically, doing anything results in correct script execution and a
segmentation fault afterwards. Even running php manually and typeing ^D
produces this error.
Disabling _any_ of the following modules causes php to function
normally again:
-spl
-pdo
-pspell
-simplexml
but the backtrace suggests it is an spl error.
Reproduce code:
---------------
-Run php and type any code, even no code at all.
-Or run php -v
Actual result:
--------------
(gdb) run
Starting program: /usr/local/bin/php
^D
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) backtrace
#0 0x00000000 in ?? ()
#1 0x293e3694 in __do_global_dtors_aux () from
/usr/local/lib/php/20060613-debug/spl.so
#2 0x293fb3d8 in _fini () from
/usr/local/lib/php/20060613-debug/spl.so
#3 0x282c3040 in ?? ()
#4 0x282b9018 in ?? () from /libexec/ld-elf.so.1
#5 0xbfbfe628 in ?? ()
#6 0x28298a96 in elf_hash () from /libexec/ld-elf.so.1
#7 0x2829b71c in dlclose () from /libexec/ld-elf.so.1
#8 0x081984a2 in module_destructor (module=0x836d900) at
/usr/ports/lang/php5/work/php-5.2.6/Zend/zend_API.c:1943
#9 0x0819dae8 in zend_hash_apply_deleter (ht=0x82ab5e0, p=0x8383540)
at /usr/ports/lang/php5/work/php-5.2.6/Zend/zend_hash.c:805
#10 0x0819dc6c in zend_hash_graceful_reverse_destroy (ht=0x82ab5e0) at
/usr/ports/lang/php5/work/php-5.2.6/Zend/zend_hash.c:840
#11 0x08190f1a in zend_shutdown () at
/usr/ports/lang/php5/work/php-5.2.6/Zend/zend.c:814
#12 0x0813e8e2 in php_module_shutdown () at
/usr/ports/lang/php5/work/php-5.2.6/main/main.c:1906
#13 0x08208a66 in main (argc=1, argv=0xbfbfe8d4) at
/usr/ports/lang/php5/work/php-5.2.6/sapi/cli/php_cli.c:1341
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45014&edit=1