#20604 [Com]: PHP CLI exists always with Segmantation Fault

From: Date: Sun, 24 Nov 2002 11:11:19 +0000
Subject: #20604 [Com]: PHP CLI exists always with Segmantation Fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25715@lists.php.net to get a copy of this message
ID: 20604 Comment by: binary_digit@web.de Reported By: binary_digit@web.de Status: Feedback Bug Type: Unknown/Other Function Operating System: Linux Debian Sarge PHP Version: 4CVS-2002-11-24 (dev) New Comment: i installed now the libc6-dbg package and put /usr/lib/debug in LD_LIBRARY_PATH and now is the error in another function of libc Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 26000)] 0x403367d0 in main_arena () from /usr/lib/debug/libc.so.6 (gdb) bt #0 0x403367d0 in main_arena () from /usr/lib/debug/libc.so.6 #1 0x403367c0 in main_arena () from /usr/lib/debug/libc.so.6 #2 0x403367c0 in main_arena () from /usr/lib/debug/libc.so.6 #3 0x403367c8 in main_arena () from /usr/lib/debug/libc.so.6 #4 0x403367b0 in main_arena () from /usr/lib/debug/libc.so.6 #5 0x403367a8 in main_arena () from /usr/lib/debug/libc.so.6 #6 0x403367a0 in main_arena () from /usr/lib/debug/libc.so.6 #7 0x40336798 in main_arena () from /usr/lib/debug/libc.so.6 #8 0x40336790 in main_arena () from /usr/lib/debug/libc.so.6 #9 0x081a4560 in ?? () Previous Comments: ------------------------------------------------------------------------ [2002-11-24 04:49:27] binary_digit@web.de argh forget the relevant part of this script #!/usr/local/bin/php <? if ($argc < 2) die("nothing to do\n"); ------------------------------------------------------------------------ [2002-11-24 04:45:24] binary_digit@web.de here it is (gdb) run ddns-update.php Starting program: /usr/local/bin/php ddns-update.php [New Thread 1024 (LWP 24022)] nothing to do Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 24022)] 0x403357d0 in __morecore () from /lib/libc.so.6 (gdb) bt #0 0x403357d0 in __morecore () from /lib/libc.so.6 #1 0x403357c0 in __morecore () from /lib/libc.so.6 #2 0x403357c0 in __morecore () from /lib/libc.so.6 #3 0x403357c8 in __morecore () from /lib/libc.so.6 #4 0x403357b0 in __morecore () from /lib/libc.so.6 #5 0x403357a8 in __morecore () from /lib/libc.so.6 #6 0x403357a0 in __morecore () from /lib/libc.so.6 #7 0x40335798 in __morecore () from /lib/libc.so.6 #8 0x40335790 in __morecore () from /lib/libc.so.6 #9 0x081a5560 in ?? () ------------------------------------------------------------------------ [2002-11-24 04:37:31] binar_digit@web.de ok i just compiled now with my whole "standard" configure line but without the --with-apxs2 and it had no segmantation fault on the other bug report i can see the problem seems to be also with apache 1.3 --with-apxs line ------------------------------------------------------------------------ [2002-11-24 04:32:36] binary_digit@web.de it worked befor with exactly this configure line ./configure --disable-cgi --silent --with-mysql=/usr/local/mysql --enable-trans-sid --enable-inline-optimization --enable-ftp --enable-sockets --without-pear --with-mhash --with-bz2 --with-zlib but when i added the --with-apxs2=/usr/local/apache2/bin/apxs it has the segmantation fault sorry for double post ------------------------------------------------------------------------ [2002-11-24 04:31:48] jan@php.net cool, so all we need is a backtrace ;) http://bugs.php.net/bugs-generating-backtrace.php ------------------------------------------------------------------------ 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/20604 -- Edit this bug report at http://bugs.php.net/?id=20604&edit=1

« previous php.bugs (#25715) next »