sb@wopr-mobile:/usr/src/php5> gdb /usr/local/bin/php
GNU gdb 5.3
Copyright 2002 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"...
(gdb) r /usr/local/bin/pear
Starting program: /usr/local/bin/php /usr/local/bin/pear
# first find which PHP binary to use
if test "x$PHP_PEAR_PHP_BIN" != "x"; then
PHP="$PHP_PEAR_PHP_BIN"
else
if test "/usr/local/bin/php" = '@'php_bin'@'; then
PHP=php
else
PHP="/usr/local/bin/php"
fi
fi
# then look for the right pear include dir
if test "x$PHP_PEAR_INSTALL_DIR" != "x"; then
INC="-d include_path=$PHP_PEAR_INSTALL_DIR"
else
if test "@php_dir@" = '@'php_dir'@'; then
INC=""
else
INC="-d include_path=@php_dir@"
fi
fi
exec $PHP -C -q $INC -d output_buffering=1 $0 $@
Notice: ob_end_clean() [http://www.php.net/ref.outcontrol]: failed to
delete buffer. No buffer to delete. in /usr/local/bin/pear on line 48
/usr/local/bin/pear(48) : Notice - ob_end_clean()
[http://www.php.net/ref.outcontrol]: failed to delete buffer. No buffer to
delete.
Program received signal SIGSEGV, Segmentation fault.
0x081aafff in zend_hash_exists (ht=0x4049e228,
arKey=0x5c4 <Address 0x5c4 out of bounds>, nKeyLength=1)
at /usr/src/php5/Zend/zend_hash.c:923
923 HANDLE_NUMERIC(arKey, nKeyLength,
zend_hash_index_exists(ht, idx));
(gdb) bt
#0 0x081aafff in zend_hash_exists (ht=0x4049e228,
arKey=0x5c4 <Address 0x5c4 out of bounds>, nKeyLength=1)
at /usr/src/php5/Zend/zend_hash.c:923
#1 0x08192e06 in zend_do_fetch_property (result=0xbfff7410,
object=0xbfff7280, property=0xbfff7698)
at /usr/src/php5/Zend/zend_compile.c:2324
#2 0x081812c0 in zendparse () at
/usr/src/php5/Zend/zend_language_parser.y:771
#3 0x081829af in compile_file (file_handle=0xbfff89d0, type=8)
at /usr/src/php5/Zend/zend_language_scanner.l:295
#4 0x081c0a82 in zend_include_or_eval_handler (execute_data=0xbfff8b10,
op_array=0x4044ecd0) at /usr/src/php5/Zend/zend_execute.c:3311
#5 0x081b8f19 in execute (op_array=0x4044ecd0)
at /usr/src/php5/Zend/zend_execute.c:1220
#6 0x081c0c7d in zend_include_or_eval_handler (execute_data=0xbfff9cd0,
op_array=0x40437238) at /usr/src/php5/Zend/zend_execute.c:3364
#7 0x081b8f19 in execute (op_array=0x40437238)
at /usr/src/php5/Zend/zend_execute.c:1220
#8 0x081be1e0 in zend_do_fcall_common_helper (execute_data=0xbfff9e90,
op_array=0x4045b964) at /usr/src/php5/Zend/zend_execute.c:2605
#9 0x081be62e in zend_do_fcall_by_name_handler (execute_data=0xbfff9e90,
op_array=0x4045b964) at /usr/src/php5/Zend/zend_execute.c:2670
#10 0x081b8f19 in execute (op_array=0x4045b964)
at /usr/src/php5/Zend/zend_execute.c:1220
#11 0x081be1e0 in zend_do_fcall_common_helper (execute_data=0xbfffd2f0,
op_array=0x4036a1b4) at /usr/src/php5/Zend/zend_execute.c:2605
#12 0x081be62e in zend_do_fcall_by_name_handler (execute_data=0xbfffd2f0,
op_array=0x4036a1b4) at /usr/src/php5/Zend/zend_execute.c:2670
#13 0x081b8f19 in execute (op_array=0x4036a1b4)
at /usr/src/php5/Zend/zend_execute.c:1220
#14 0x081a371b in zend_execute_scripts (type=8, retval=0x0, file_count=3)
at /usr/src/php5/Zend/zend.c:981
#15 0x08163de8 in php_execute_script (primary_file=0xbffff684)
at /usr/src/php5/main/main.c:1699
#16 0x081c644d in main (argc=2, argv=0xbffff734)
at /usr/src/php5/sapi/cli/php_cli.c:874
#17 0x402499ed in __libc_start_main () from /lib/libc.so.6
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php