Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25074 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7857 invoked by uid 1010); 1 Aug 2006 03:06:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 7842 invoked from network); 1 Aug 2006 03:06:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Aug 2006 03:06:53 -0000 X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.2 main.gmane.org Linux 2.5 (sometimes 2.4) (4) Received: from ([80.91.229.2:59141] helo=ciao.gmane.org) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id BF/61-35486-A45CEC44 for ; Mon, 31 Jul 2006 23:06:52 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1G7kak-000575-GG for internals@lists.php.net; Tue, 01 Aug 2006 05:06:46 +0200 Received: from 137.80-202-59.nextgentel.com ([80.202.59.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Aug 2006 05:06:46 +0200 Received: from sb by 137.80-202-59.nextgentel.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Aug 2006 05:06:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Tue, 01 Aug 2006 05:06:30 +0200 Lines: 78 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: 137.80-202-59.nextgentel.com User-Agent: Thunderbird 1.5.0.5 (X11/20060731) X-Enigmail-Version: 0.94.0.0 Sender: news Subject: PHP_5_2 segfaults From: sb@sebastian-bergmann.de (Sebastian Bergmann) sb@wopr-mobile php-5.2 % ./cvsclean && ./buildconf && ./configure && make -j3 && gdb ./sapi/cli/php GNU gdb 6.5 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". gdb> r Program received signal SIGINT, Interrupt. _______________________________________________________________________________ eax:FFFFFE00 ebx:00000000 ecx:B7FE3000 edx:00000400 eflags:00000246 esi:B7E27420 edi:B7D0CB70 esp:BFF6CA28 ebp:BFF6CA4C eip:FFFFE410 cs:0073 ds:007B es:007B fs:0000 gs:0033 ss:007B o d I t s Z a P c [007B:BFF6CA28]---------------------------------------------------------[stack] BFF6CA58 : 00 30 FE B7 00 04 00 00 - F4 6F E2 B7 20 74 E2 B7 .0.......o.. t.. BFF6CA48 : 00 04 00 00 6C CA F6 BF - 90 D0 D6 B7 20 74 E2 B7 ....l....... t.. BFF6CA38 : F4 6F E2 B7 68 BE D6 B7 - 00 00 00 00 00 30 FE B7 .o..h........0.. BFF6CA28 : 4C CA F6 BF 00 04 00 00 - 00 30 FE B7 F3 A2 DB B7 L........0...... [007B:B7E27420]---------------------------------------------------------[ data] B7E27420 : 88 22 AD FB 00 30 FE B7 - 00 30 FE B7 00 30 FE B7 ."...0...0...0.. B7E27430 : 00 30 FE B7 00 30 FE B7 - 00 30 FE B7 00 30 FE B7 .0...0...0...0.. [0073:FFFFE410]---------------------------------------------------------[ code] 0xffffe410 <__kernel_vsyscall+16>: pop %ebp 0xffffe411 <__kernel_vsyscall+17>: pop %edx 0xffffe412 <__kernel_vsyscall+18>: pop %ecx 0xffffe413 <__kernel_vsyscall+19>: ret 0xffffe414 <__kernel_vsyscall+20>: nop 0xffffe415 <__kernel_vsyscall+21>: nop ------------------------------------------------------------------------------ 0xffffe410 in __kernel_vsyscall () gdb> bt #0 0xffffe410 in __kernel_vsyscall () #1 0xb7dba2f3 in read () from /lib/libc.so.6 #2 0xb7d6be68 in _IO_file_read () from /lib/libc.so.6 #3 0xb7d6d090 in _IO_file_underflow () from /lib/libc.so.6 #4 0xb7d6eced in __underflow () from /lib/libc.so.6 #5 0xb7d6b94b in _IO_file_seek () from /lib/libc.so.6 #6 0xb7d6d838 in _IO_sgetn () from /lib/libc.so.6 #7 0xb7d620cf in fread () from /lib/libc.so.6 #8 0x0821c8f8 in zend_stream_stdio_reader (handle=0xb7e27420, buf=0xbff6cb37 "?X???\214?!\b?\003??n", len=0x1) at /usr/local/src/php/php-5.2/Zend/zend_stream.c:29 #9 0x0821c732 in zend_stream_getc (file_handle=0xbff703a0) at /usr/local/src/php/php-5.2/Zend/zend_stream.c:128 #10 0x0821c78c in zend_stream_read (file_handle=0xbff703a0, buf=0x83f5b08 "", len=0x2000) at /usr/local/src/php/php-5.2/Zend/zend_stream.c:113 #11 0x081f19db in lex_scan (zendlval=0xbff6df1c) at Zend/zend_language_scanner.c:5563 #12 0x081f5557 in zendlex (zendlval=0xbff6df18) at /usr/local/src/php/php-5.2/Zend/zend_compile.c:4068 #13 0x081ea5fb in zendparse () at Zend/zend_language_parser.c:2978 #14 0x081edffd in compile_file (file_handle=0xbff703a0, type=0x8) at /usr/local/src/php/php-5.2/Zend/zend_language_scanner.l:394 #15 0x0820a7b9 in zend_execute_scripts (type=0x8, retval=0x0, file_count=0x3) at /usr/local/src/php/php-5.2/Zend/zend.c:1087 #16 0x081ce380 in php_execute_script (primary_file=0xbff703a0) at /usr/local/src/php/php-5.2/main/main.c:1759 #17 0x0828375a in main (argc=0x1, argv=0xbff704d4) at /usr/local/src/php/php-5.2/sapi/cli/php_cli.c:1097 -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69