php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #51424
Patch membar-solaris.patch revision 2010-06-16 22:59 UTC by SRIRAM dot NATARAJAN at GMAIL dot COM
Patch Dead_lock_fix_attempt revision 2010-03-29 11:54 UTC by pajoye@php.net
Patch GDB-backtrace-proper revision 2010-03-29 11:27 UTC by laacz at laacz dot lv
Patch GDB-backtrace revision 2010-03-29 11:13 UTC by laacz at laacz dot lv

Patch GDB-backtrace for Strings related Bug #51424

Patch version 2010-03-29 11:13 UTC

Return to Bug #51424 | Download this patch
This patch is obsolete

Obsoleted by patches:

Patch Revisions:

Developer: laacz@laacz.lv

$ gdb php crypt.php
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/php...done.
"/root/crypt.php" is not a core dump: File format not recognized
(gdb) run
Starting program: /usr/local/bin/php
[Thread debugging using libthread_db enabled]
^C
Program received signal SIGINT, Interrupt.
0x00007ffff3bc6a80 in read () from /lib/libc.so.6
(gdb) bt
#0  0x00007ffff3bc6a80 in read () from /lib/libc.so.6
#1  0x00007ffff3b66ad8 in _IO_file_underflow () from /lib/libc.so.6
#2  0x00007ffff3b664a8 in ?? () from /lib/libc.so.6
#3  0x00007ffff3b5c312 in fread () from /lib/libc.so.6
#4  0x0000000000818aef in zend_stream_getc (file_handle=0x7fffffffdff0, buf=0x13c8118 "\b\201<\001", len=4096, tsrm_ls=0xfdc0c0) at /home/install/php-5.3.2/Zend/zend_stream.c:134
#5  zend_stream_read (file_handle=0x7fffffffdff0, buf=0x13c8118 "\b\201<\001", len=4096, tsrm_ls=0xfdc0c0) at /home/install/php-5.3.2/Zend/zend_stream.c:154
#6  0x0000000000819076 in zend_stream_fixup (file_handle=0x7fffffffdff0, buf=0x7fffffffb738, len=0x7fffffffb730, tsrm_ls=0xfdc0c0) at /home/install/php-5.3.2/Zend/zend_stream.c:246
#7  0x00000000007d713e in open_file_for_scanning (file_handle=0x0, tsrm_ls=0xfdc0c0) at Zend/zend_language_scanner.l:246
#8  0x00000000007d768f in compile_file (file_handle=<value optimized out>, type=<value optimized out>, tsrm_ls=0xfdc0c0) at Zend/zend_language_scanner.l:331
#9  0x00000000006213b6 in phar_compile_file (file_handle=<value optimized out>, type=<value optimized out>, tsrm_ls=<value optimized out>) at /home/install/php-5.3.2/ext/phar/phar.c:3390
#10 0x000000000080088d in zend_execute_scripts (type=<value optimized out>, tsrm_ls=0xfdc0c0, retval=<value optimized out>, file_count=3) at /home/install/php-5.3.2/Zend/zend.c:1186
#11 0x00000000007a2aff in php_execute_script (primary_file=<value optimized out>, tsrm_ls=<value optimized out>) at /home/install/php-5.3.2/main/main.c:2260
#12 0x000000000089b46c in main (argc=<value optimized out>, argv=<value optimized out>) at /home/install/php-5.3.2/sapi/cli/php_cli.c:1192
(gdb) quit
A debugging session is active.

        Inferior 1 [process 5117] will be killed.

Quit anyway? (y or n) y

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 16:01:29 2024 UTC