#29630 [Opn->Bgs]: When compiled with --with-imap and --with-recode, PHP crashes on startup
| From: | derick@php.net | Date: | Thu, 12 Aug 2004 12:19:17 +0000 |
| Subject: | #29630 [Opn->Bgs]: When compiled with --with-imap and --with-recode, PHP crashes on startup | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-64484@lists.php.net to get a copy of this message | ||
ID: 29630
Updated by: derick@php.net
Reported By: boro at fixel dot org
-Status: Open
+Status: Bogus
Bug Type: IMAP related
Operating System: Slackware Linux 10.0
PHP Version: 4.3.8
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
See:
http://no2.php.net/recode
it's not a problem we can fix, either recode or imap needs to fix the
library as they have conflicting symbols and both are not willing to
change. I do recommend you to write to those two development teams.
Previous Comments:
------------------------------------------------------------------------
[2004-08-12 14:06:50] boro at fixel dot org
Description:
------------
PHP 4.3.8 segfaults when compiled with both --with-recode and
--with-imap. Leave out either one and PHP works fine. Used versions
Recode 3.6 and WU-imap 2004a.
Reproduce code:
---------------
Just compile PHP with configure options --with-imap --with-recode
--with-openssl, make and then try running sapi/cli/php.
Expected result:
----------------
PHP should not crash.
Actual result:
--------------
PHP crashes:
(gdb) run
Starting program: /usr/src/php-4.3.8/sapi/cli/php
Program received signal SIGSEGV, Segmentation fault.
hash_lookup (hashtab=0x825b648, key=0xbffff470
"ñ¯\024@\\Y\030@È%\bÈ%\bÈôÿ¿\220") at misc.c:296
296 {
(gdb) bt
#0 hash_lookup (hashtab=0x825b648, key=0xbffff470
"ñ¯\024@\\Y\030@È%\bÈ%\bÈôÿ¿\220") at misc.c:296
#1 0x400943ec in find_alias (outer=0x825b4c8, name=0x4014aff1 "data",
find_type=13) at names.c:273
#2 0x40096018 in register_all_modules (outer=0x825b4c8) at
outer.c:457
#3 0x40096768 in recode_new_outer (auto_abort=false) at outer.c:550
#4 0x080a6ebc in zm_startup_recode (type=1, module_number=5) at
/usr/src/php-4.3.8/ext/recode/recode.c:102
#5 0x0813d083 in zend_startup_module (module=0x8221c40) at
/usr/src/php-4.3.8/Zend/zend_API.c:1005
#6 0x08114ba9 in php_startup_extensions (ptr=0x822b910, count=13) at
/usr/src/php-4.3.8/main/main.c:1044
#7 0x0814b9d2 in php_startup_internal_extensions () at
main/internal_functions_cli.c:67
#8 0x08114f5a in php_module_startup (sf=0x6, additional_modules=0x0,
num_additional_modules=0)
at /usr/src/php-4.3.8/main/main.c:1216
#9 0x0814ae65 in main (argc=1, argv=0xbffff784) at
/usr/src/php-4.3.8/sapi/cli/php_cli.c:576
(gdb)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29630&edit=1