[EMAIL PROTECTED] 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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to