Additional Information | (gdb) bt
#0 add_stack_frame (zdata=0xbfffb860, op_array=0x81ca4e4, type=0) at /home/segv/install/xdebug/xdebug.c:854
#1 0x40953046 in xdebug_execute (op_array=0x81ca4e4) at /home/segv/install/xdebug/xdebug.c:1067
0000002 0x40246fb1 in zend_call_function (fci=0xbfffb910, fci_cache=0x0) at /home/segv/install/php-5.0.2/Zend/zend_execute_API.c:838
0000003 0x40246003 in call_user_function_ex (function_table=0x80d23f8, object_pp=0x0, function_name=0x8198a3c, retval_ptr_ptr=0xbfffb984, param_count=1,
params=0x8289e04, no_separation=1, symbol_table=0x0) at /home/segv/install/php-5.0.2/Zend/zend_execute_API.c:553
0000004 0x4025371b in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /home/segv/install/php-5.0.2/Zend/zend.c:1077
0000005 0x4020df14 in php_execute_script (primary_file=0xbfffdc80) at /home/segv/install/php-5.0.2/main/main.c:1629
0000006 0x40283214 in apache_php_module_main (r=0x8156664, display_source_mode=0) at /home/segv/install/php-5.0.2/sapi/apache/sapi_apache.c:54
0000007 0x40284196 in send_php (r=0x8156664, display_source_mode=0, filename=0x8157324 "/home/ssw/public_html/S3/hompy/index.nwz")
at /home/segv/install/php-5.0.2/sapi/apache/mod_php5.c:622
0000008 0x4028420f in send_parsed_php (r=0x8156664) at /home/segv/install/php-5.0.2/sapi/apache/mod_php5.c:637
0000009 0x08071f23 in ap_invoke_handler ()
0000010 0x08086d4d in process_request_internal ()
0000011 0x08086dac in ap_process_request ()
0000012 0x0807df2d in child_main ()
0000013 0x0807e18d in make_child ()
0000014 0x0807e233 in startup_children ()
0000015 0x0807e8ea in standalone_main ()
0000016 0x0807f108 in main ()
0000017 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6
(gdb) list
849 }
850
851 } else {
852 if (EG(opline_ptr)) {
853 cur_opcode = EG(opline_ptr);
854 tmp->lineno = cur_opcode->lineno;
855 }
856 if (XG(collect_params)) {
857 tmp->var = xdmalloc(arg_count sizeof (xdebug_var));
858 for (i = 0; i < arg_count; i++) {
(gdb) print cur_opcode
$3 = (zend_op *) 0x0
when i changed xdebug.c:854 like belows, It seems that works fine.
xdebug.c:854
if (cur_opcode)
tmp->lineno = cur_opcode->lineno; |
---|