codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
15:31:37 (94f, 3.8Mb) ~/src/php/trunk {17813}(joey@sixtyfour) [0:j]-->gdb ./sapi/cli/php GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 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 /home/joey/src/php/trunk/sapi/cli/php...done. (gdb) r -r ' $a = new DateInterval("2008-05-11T15:30:00Z/2007-03-01T13:00:00Z"); var_dump($a);' Starting program: /home/joey/src/php/trunk/sapi/cli/php -r ' $a = new DateInterval("2008-05-11T15:30:00Z/2007-03-01T13:00:00Z"); var_dump($a);' PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/mbstring.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/mbstring.so: cannot open shared object file: No such file or directory in Unknown on line 0 Program received signal SIGSEGV, Segmentation fault. 0x0000000000420faf in date_object_get_properties_interval (object=<value optimized out>) at /home/joey/src/php/trunk/ext/date/php_date.c:2242 2242 PHP_DATE_INTERVAL_ADD_PROPERTY("y", y); (gdb) bt full #0 0x0000000000420faf in date_object_get_properties_interval (object=<value optimized out>) at /home/joey/src/php/trunk/ext/date/php_date.c:2242 props = 0x7ffff7fcfc20 zv = 0x7ffff7fce0b0 #1 0x00000000004dfcb3 in php_var_dump (struc=0x7ffff7f9b1c0, level=1) at /home/joey/src/php/trunk/ext/standard/var.c:129 myht = <value optimized out> class_name = <value optimized out> class_name_len = 32767 php_element_dump_func = <value optimized out> is_temp = 0 #2 0x00000000004dfd49 in zif_var_dump (ht=<value optimized out>, return_value=<value optimized out>, return_value_ptr=<value optimized out>, this_ptr=<value optimized out>, return_value_used=<value optimized out>) at /home/joey/src/php/trunk/ext/standard/var.c:181 args = 0x7ffff7fcffd0 argc = 1 i = 1 #3 0x00000000005bc371 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff7f9b060) at /home/joey/src/php/trunk/Zend/zend_vm_execute.h:638 ret = 0x7ffff7f9b198 opline = 0x7ffff7fcebf8 should_change_scope = 0 '\000' fbc = 0x939200 #4 0x00000000005bb6e0 in execute (op_array=0x7ffff7fce830) at /home/joey/src/php/trunk/Zend/zend_vm_execute.h:410 ret = <value optimized out> execute_data = 0x7ffff7f9b060 nested = 0 '\000' original_in_execution = 0 '\000' #5 0x000000000054ac05 in zend_eval_stringl (str=<value optimized out>, str_len=<value optimized out>, retval_ptr=0x0, string_name=<value optimized out>) at /home/joey/src/php/trunk/Zend/zend_execute_API.c:1195 local_retval_ptr = 0x0 original_return_value_ptr_ptr = 0x0 original_opline_ptr = 0x0 orig_interactive = 0 pv = {value = {lval = 140737488347847, dval = 6.9533558074653938e-310, str = {val = 0x7fffffffe2c7 " $a = new DateInterval(\"2008-05-11T15:30:00Z/2007-03-01T13:00:00Z\"); var_dump($a);", len = 82}, ht = 0x7fffffffe2c7, obj = {handle = 4294959815, handlers = 0x7fff00000052}}, refcount__gc = 1, type = 6 '\006', is_ref__gc = 0 '\000'} new_op_array = 0x7ffff7fce830 original_active_op_array = 0x0 original_compiler_options = <value optimized out> retval = <value optimized out> #6 0x000000000054ad99 in zend_eval_stringl_ex (str=0x7ffff7fcfc20 "\b", str_len=6269208, retval_ptr=0x0, string_name=0x7fffffffd968 "\260\340\374\367\377\177", handle_exceptions=24) at /home/joey/src/php/trunk/Zend/zend_execute_API.c:1237 result = <value optimized out> #7 0x00000000005f586a in main (argc=<value optimized out>, argv=<value optimized out>) at /home/joey/src/php/trunk/sapi/cli/php_cli.c:1291 __bailout = {{__jmpbuf = {110, 2256830302724237443, 9389744, 140737488347184, 0, 0, -2256831094743684989, 2256830434677565571}, __mask_was_saved = 0, __saved_mask = {__val = {140737354127792, 2090266759, 140737351935858, 0, 140737353997504, 140733193388033, 0, 1, 140737354127792, 140737351895032, 8455577600, 140737488346128, 0, 140737354130560, 140737488346336, 140737488346360}}}} exit_status = 0 c = <value optimized out> file_handle = {type = ZEND_HANDLE_FP, filename = 0x6c0533 "-", opened_path = 0x0, handle = {fd = -147966304, fp = 0x7ffff72e36a0, stream = {handle = 0x7ffff72e36a0, isatty = 4253375, mmap = {len = 140737336796768, pos = 4216744, map = 0x100000000, buf = 0x1000007f0 <Address 0x1000007f0 out of bounds>, old_handle = 0x7ffff7de6772, old_closer = 0}, reader = 0x7ffff7ffe480, fsizer = 0x7fffffffdf70, closer = 0x7ffff7fdd678}}, free_filename = 0 '\000'} behavior = 6 reflection_what = 0x0 orig_optind = 1 orig_optarg = 0x0 arg_free = 0x7fffffffe2c7 " $a = new DateInterval(\"2008-05-11T15:30:00Z/2007-03-01T13:00:00Z\"); var_dump($a);" arg_excp = 0x7fffffffe048 script_file = 0x0 interactive = <value optimized out> module_started = 1 request_started = 1 lineno = 0 exec_direct = 0x7fffffffe2c7 " $a = new DateInterval(\"2008-05-11T15:30:00Z/2007-03-01T13:00:00Z\"); var_dump($a);" exec_run = 0x0 exec_begin = 0x0 exec_end = 0x0 param_error = <value optimized out> hide_argv = 0 ini_entries_len = <value optimized out> (gdb)
Private
[
?
]
Run code
Submit