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

From: Date: Thu, 04 Jul 2002 12:46:02 +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-13107@lists.php.net to get a copy of this message
ID: 18032 Updated by: vhoel99@grm.hia.no Reported By: vhoel99@grm.hia.no Status: Assigned Bug Type: Reproducible crash Operating System: Linux 2.4.17 PHP Version: 4.2.1 Assigned To: sniper New Comment: If I do _not_ include OpenSSL support it works with both GD and Pgsql. Previous Comments: ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ [2002-06-28 22:31:37] sniper@php.net The first configure line of yours (in your initial report) works? But it segfaults when starting apache? You could try this: # cd /usr/src/apache_1.3.xx # make clean # LIBS=-lpthread ./config.status # make # make install And then make sure your httpd is linked with pthread: ldd /usr/local/apache/bin/httpd The list should contain libpthread ------------------------------------------------------------------------ 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 (#13107) next »