Bug #18032 Updated: Configurescript problems, my result in Segfault

From: Date: Thu, 11 Jul 2002 20:50:10 +0000
Subject: Bug #18032 Updated: Configurescript problems, my result in Segfault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13880@lists.php.net to get a copy of this message
ID: 18032 Updated by: sniper@php.net Reported By: vhoel99@grm.hia.no -Status: Assigned +Status: Feedback Bug Type: Reproducible crash Operating System: Linux 2.4.17 PHP Version: 4.2.1 Assigned To: sniper New Comment: You should make sure that pgsql is compiled/linked with the same openssl libs as PHP is. Make sure you don't have two versions of ssl libraries installed in your system, for example under /usr. Previous Comments: ------------------------------------------------------------------------ [2002-07-04 08:46:02] vhoel99@grm.hia.no If I do _not_ include OpenSSL support it works with both GD and Pgsql. ------------------------------------------------------------------------ [2002-07-03 19:08:33] sniper@php.net Any news about this? (how did the tests without openssl work?) ------------------------------------------------------------------------ [2002-07-02 19:44:54] sniper@php.net assigning this to myself.. ------------------------------------------------------------------------ [2002-07-02 17:27:40] sniper@php.net Try 'run -X' in gdb..should give better backtrace.. ------------------------------------------------------------------------ [2002-07-02 14:45:35] vhoel99@grm.hia.no I did what you suggested, and it is now linked. I get same error: ldd /usr/local/apache/bin/httpd libpthread.so.0 => /lib/libpthread.so.0 (0x40018000) libm.so.6 => /lib/libm.so.6 (0x4002a000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40046000) libnsl.so.1 => /lib/libnsl.so.1 (0x40073000) libdb.so.3 => /lib/libdb.so.3 (0x40088000) libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x400c2000) libdl.so.2 => /lib/libdl.so.2 (0x400c9000) libc.so.6 => /lib/libc.so.6 (0x400cd000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) (gdb) run Starting program: /usr/local/apache/bin/httpd warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. Program received signal SIGSEGV, Segmentation fault. 0x401286d4 in strcmp () from /lib/libc.so.6 (gdb) bt #0 0x401286d4 in strcmp () from /lib/libc.so.6 #1 0x4041d13d in ?? () Cannot access memory at address 0x1 ------------------------------------------------------------------------ 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/18032 -- Edit this bug report at http://bugs.php.net/?id=18032&edit=1

« previous php.bugs (#13880) next »