ID: 23906 User updated by: mbrennen at fni dot com Reported By: mbrennen at fni dot com -Status: Bogus +Status: Open Bug Type: Reproducible crash Operating System: MDK 8.2 (Linux 2.4) PHP Version: 4.3.2 New Comment:
The c-client is built with SSL support. There are two MDK 8.2 IMAP RPMs installed on the server. imap-2001a-5.1mdk imap-devel-2001a-5.1mdk Running 'strings /usr/lib/libc-client.a' I see references to ssl_open, ssl_aopen, ssl_getline, ssl_getbuffer and other ssl functions. There is also a libc-client-nossl.a library. It seems safe to assume that the libc-client.a I am linking against was built with SSL support. Do you disagree? Why did the --with-imap-ssl configuration work without problem on 4.3.0 on exactly the same server, with the same RPM set? Is there perhaps an openssl version dependency change between 4.3.0 and 4.3.2? The following SSL RPMs are installed. Does 4.3.2 depend on a later version? libopenssl0-devel-0.9.6i-1.4mdk openssl-0.9.6i-1.4mdk libopenssl0-0.9.6i-1.4mdk Previous Comments: ------------------------------------------------------------------------ [2003-06-06 06:30:35] [EMAIL PROTECTED] Why do you add --with-imap-ssl if the c-client is not build with SSL support? Not PHP bug. ------------------------------------------------------------------------ [2003-06-02 14:41:55] mbrennen at fni dot com gdb version: GNU gdb 5.1.1 (via RPM on Mandrake 8.2) IMAP is imap-2001a via RPM on Mandrake 8.2. openssl is openssl-0.9.6c, again via RPM on Mandrake 8.2. There is no other version of openssl on the box. I have verified that it is the imap_ssl option; with just imap apache starts okay. PHP 4.3.0 works fine on the same servers. On the servers that I've done testing on so far IMAP is not actually used, so there isn't a c-client configuration per se that I am aware of. It isn't that apache dies when using IMAP; it segfaults very quickly during startup. Thanks, glad to help debug as needed... ------------------------------------------------------------------------ [2003-06-02 13:26:49] [EMAIL PROTECTED] What GDB version are you trying with..? Also, how was the c-client configured ? Are you absolutely sure it's using the same openssl library you're linking PHP with (--with-openssl) ?? ------------------------------------------------------------------------ [2003-06-02 12:48:16] mbrennen at fni dot com With --enable-debug, gdb gives this error: ========================================================== Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 24208)] 0x082c1c1d in nothrow() (gdb) bt #0 0x082c1c1d in nothrow () #1 0x4000b616 in _dl_map_object_deps () at dl-deps.c:498 #2 0x00000007 in ?? () Cannot access memory at address 0x8 ========================================================== On a hunch, given the dl*.c file name, I pulled out the two imap options and apache now starts / runs. --with-imap \ --with-imap-ssl \ ------------------------------------------------------------------------ [2003-06-01 20:46:01] [EMAIL PROTECTED] Try with --enable-debug and generate new GDB backtrace. (NOT strace) And try find out what configure option is causing this. Remove them one by one until it works.. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/23906 -- Edit this bug report at http://bugs.php.net/?id=23906&edit=1