#40530 [Opn->Bgs]: php cores when pspell module is installed
| From: | johannes@php.net | Date: | Sun, 18 Feb 2007 13:00:42 +0000 |
| Subject: | #40530 [Opn->Bgs]: php cores when pspell module is installed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-109073@lists.php.net to get a copy of this message | ||
ID: 40530
Updated by: johannes@php.net
Reported By: php at nearlyfreespeech dot net
-Status: Open
+Status: Bogus
Bug Type: Reproducible crash
Operating System: FreeBSD 6
PHP Version: 5.2.1
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
Please try to re-arrange the order of the extension= entries in oyur
php.ini file (making pspell.so the first or the last one). On FreeBSD
there are a few issues for dl
Previous Comments:
------------------------------------------------------------------------
[2007-02-18 07:16:27] php at nearlyfreespeech dot net
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 this bug report at http://bugs.php.net/?id=40530&edit=1