#40530 [NEW]: php cores when pspell module is installed
| From: | php at nearlyfreespeech dot net | Date: | Sun, 18 Feb 2007 07:16:27 +0000 |
| Subject: | #40530 [NEW]: php cores when pspell module is installed | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-109069@lists.php.net to get a copy of this message | ||
From: php at nearlyfreespeech dot net
Operating system: FreeBSD 6
PHP version: 5.2.1
PHP Bug Type: Reproducible crash
Bug description: php cores when pspell module is installed
Description:
------------
In PHP 5.2.1 and PHP 5.2-200702180530, building and loading the pspell
module causes php to crash on exit.
Despite the apparent location in the session module, commenting out the
extension=pspell.so line in php.ini makes php exit without crashing.
Aspell is version 0.60.5.
Reproduce code:
---------------
To reproduce:
$ echo | php
-ksh93: 59569: Memory fault(coredump)
$
Expected result:
----------------
$ echo | php
$
Actual result:
--------------
(gdb) where
#0 0x00000000 in ?? ()
#1 0x29025050 in __do_global_dtors_aux ()
from
/nfsn/apps/php5/lib/php/extensions/no-debug-non-zts-20060613/session.so
#2 0x2902b6a8 in _fini ()
from
/nfsn/apps/php5/lib/php/extensions/no-debug-non-zts-20060613/session.so
#3 0x2826a6b8 in tls_dtv_generation () from /libexec/ld-elf.so.1
#4 0x2826c6b8 in ?? () from /libexec/ld-elf.so.1
#5 0xbfbfe938 in ?? ()
#6 0x2824d7b6 in elf_hash () from /libexec/ld-elf.so.1
#7 0x282500a0 in dlclose () from /libexec/ld-elf.so.1
#8 0x08153d30 in zend_hash_apply_deleter (ht=0x8266bc0, p=0x8322240)
at /tmp/source/php5.2-200702180530/Zend/zend_hash.c:611
#9 0x08153dcb in zend_hash_graceful_reverse_destroy (ht=0x8266bc0)
at /tmp/source/php5.2-200702180530/Zend/zend_hash.c:646
#10 0x0814a898 in zend_shutdown ()
at /tmp/source/php5.2-200702180530/Zend/zend.c:734
#11 0x08113553 in php_module_shutdown ()
at /tmp/source/php5.2-200702180530/main/main.c:1677
#12 0x081c4fb7 in main (argc=1, argv=0xbfbfec50)
at /tmp/source/php5.2-200702180530/sapi/cli/php_cli.c:1302
--
Edit bug report at http://bugs.php.net/?id=40530&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40530&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40530&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40530&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40530&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=40530&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=40530&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=40530&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=40530&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=40530&r=support
Expected behavior: http://bugs.php.net/fix.php?id=40530&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=40530&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=40530&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40530&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40530&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40530&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=40530&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=40530&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=40530&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=40530&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=40530&r=mysqlcfg