From: [EMAIL PROTECTED] Operating system: linux PHP version: 5CVS-2005-07-17 (dev) PHP Bug Type: Unknown/Other Function Bug description: PHP segfaults when using the pspell extension
Description: ------------ I'm not sure if this is a PHP bug, but here it is: (gdb) run -a Starting program: /usr/local/bin/php -a [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 18864)] Interactive mode enabled php > $pspell_link = pspell_new('en'); php > pspell_config_mode($pspell_link, PSPELL_FAST); *** glibc detected *** corrupted double-linked list: 0x0844e7f0 *** Program received signal SIGABRT, Aborted. [Switching to Thread 16384 (LWP 18864)] 0xb79b43e1 in kill () from /lib/libc.so.6 (gdb) bt #0 0xb79b43e1 in kill () from /lib/libc.so.6 #1 0xb7aac131 in pthread_kill () from /lib/libpthread.so.0 #2 0xb7aac4ab in raise () from /lib/libpthread.so.0 #3 0xb79b4174 in raise () from /lib/libc.so.6 #4 0xb79b564d in abort () from /lib/libc.so.6 #5 0xb79f0030 in mallopt () from /lib/libc.so.6 #6 0xb79ef03c in mallopt () from /lib/libc.so.6 #7 0xb79ee6ea in mallopt () from /lib/libc.so.6 #8 0xb79ed803 in malloc () from /lib/libc.so.6 #9 0x081fbd51 in _emalloc (size=18864) at /cvs/php-src/Zend/zend_alloc.c:181 #10 0x0820909d in op_array_alloc_ops (op_array=0x84a0b54) at /cvs/php-src/Zend/zend_opcode.c:48 #11 0x08209107 in init_op_array (op_array=0x84a0b54, type=4 '\004', initial_ops_size=8192) at /cvs/php-src/Zend/zend_opcode.c:68 #12 0x081f64c5 in compile_string (source_string=0xbffff410, filename=0x0) at zend_language_scanner.l:541 #13 0x08207934 in zend_eval_string (str=0x1 <Address 0x1 out of bounds>, retval_ptr=0x0, string_name=0x0) at /cvs/php-src/Zend/zend_execute_API.c:1030 #14 0x0827fadc in main (argc=2, argv=0xbffff644) at /cvs/php-src/sapi/cli/php_cli.c:1024 I have glib 2.3.4 and aspell 0.60.3. BTW, PHP segfaults when using aspell 0.50.5, so we should probably bump the version requirements (reference: http://sf.net/tracker/?func=detail&atid=100245&aid=1238839&group_id=245 -- Edit bug report at http://bugs.php.net/?id=33733&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33733&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33733&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33733&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33733&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33733&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33733&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33733&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33733&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33733&r=support Expected behavior: http://bugs.php.net/fix.php?id=33733&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33733&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33733&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33733&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33733&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33733&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33733&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33733&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33733&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33733&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33733&r=mysqlcfg