Hi Derick,
I'm finally back, so here's the info you requested:
gdev:~# gdb php
GNU gdb 6.6.90.20070912-debian
Copyright (C) 2007 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"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run -r "echo('helloworld');"
Starting program: /usr/bin/php -r "echo('helloworld');"
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0x2ad744be46b0 (LWP 5963)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2ad744be46b0 (LWP 5963)]
0x00002ad744f3c205 in add_stack_frame (zdata=0x0, op_array=0xe667e8,
type=2) at /home/sdev/src/archives/xdebug-cvs/xdebug/xdebug.c:1191
1191 if (XDEBUG_LLIST_TAIL(XG(stack))) {
(gdb) bt
#0 0x00002ad744f3c205 in add_stack_frame (zdata=0x0, op_array=0xe667e8,
type=2) at /home/sdev/src/archives/xdebug-cvs/xdebug/xdebug.c:1191
#1 0x00002ad744f3d281 in xdebug_execute (op_array=0xe667e8) at
/home/sdev/src/archives/xdebug-cvs/xdebug/xdebug.c:1489
#2 0x00002ad745582ac5 in zm_activate_java (type=<value optimized out>,
module_number=1156960608) at /home/sdev/src/php-java-bridge/java.c:159
#3 0x000000000071573c in module_registry_request_startup ()
#4 0x000000000071c1f5 in zend_hash_apply ()
#5 0x00000000006d020a in php_request_startup ()
#6 0x0000000000791008 in main ()
(gdb) print xdebug_globals
$1 = {status = 0, reason = 0, level = 1, stack = 0x0, max_nesting_level
= 100, default_enable = 1 '\001', collect_includes = 1 '\001',
collect_params = 0,
collect_return = 0 '\0', collect_vars = 0 '\0', extended_info = 1
'\001', show_ex_trace = 0 '\0', show_local_vars = 0 '\0', show_mem_delta
= 0 '\0',
manual_url = 0x2ad744f5cb85 "http://www.php.net", start_time = 0,
active_symbol_table = 0x0, active_execute_data = 0x0, prev_memory = 1186064,
file_link_format = 0x2ad744f5cb72 "", overload_var_dump = 1 '\001',
var_dump_overloaded = 0 '\0', orig_var_dump_func = 0,
orig_set_time_limit_func = 0,
trace_file = 0x0, do_trace = 0 '\0', auto_trace = 0 '\0',
trace_output_dir = 0x2ad744f5ca85 "/tmp", trace_output_name =
0x2ad744f5caa3 "trace.%c",
trace_options = 0, trace_format = 0, tracefile_name = 0x0,
last_exception_trace = 0x0, display_max_children = 128, display_max_data
= 512,
display_max_depth = 3, do_code_coverage = 0 '\0', code_coverage =
0x0, code_coverage_unused = 0 '\0', code_coverage_dead_code_analysis = 0
'\0',
function_count = 0, reserved_offset = 0, do_collect_errors = 0 '\0',
collected_errors = 0x0, dump_globals = 1 '\001', dump_once = 1 '\001',
dump_undefined = 0 '\0', dumped = 0 '\0', server = {head = 0x0, tail
= 0x0, dtor = 0x2ad744f5557c <xdebug_superglobals_dump_dtor>, size = 0},
get = {
head = 0x0, tail = 0x0, dtor = 0x2ad744f5557c
<xdebug_superglobals_dump_dtor>, size = 0}, post = {head = 0x0, tail = 0x0,
dtor = 0x2ad744f5557c <xdebug_superglobals_dump_dtor>, size = 0},
cookie = {head = 0x0, tail = 0x0,
dtor = 0x2ad744f5557c <xdebug_superglobals_dump_dtor>, size = 0},
files = {head = 0x0, tail = 0x0,
dtor = 0x2ad744f5557c <xdebug_superglobals_dump_dtor>, size = 0},
env = {head = 0x0, tail = 0x0, dtor = 0x2ad744f5557c
<xdebug_superglobals_dump_dtor>,
size = 0}, request = {head = 0x0, tail = 0x0, dtor = 0x2ad744f5557c
<xdebug_superglobals_dump_dtor>, size = 0}, session = {head = 0x0, tail
= 0x0,
dtor = 0x2ad744f5557c <xdebug_superglobals_dump_dtor>, size = 0},
remote_enable = 0 '\0', remote_port = 9000, remote_host = 0x2ad744f5cddb
"localhost",
remote_mode = 2, remote_handler = 0x2ad744f5cdc3 "dbgp",
remote_autostart = 0 '\0', remote_log = 0x2ad744f5cb72 "",
remote_log_file = 0x0,
ide_key = 0xe4cc00 "", remote_enabled = 0 '\0', breakpoints_allowed =
0 '\0', context = {socket = 0, options = 0x0, handler = 0x0, buffer = 0x0,
program_name = 0xcacb80 "java.inc", breakpoint_list = 0x0,
function_breakpoints = 0x0, class_breakpoints = 0x0, eval_id_lookup = 0x0,
eval_id_sequence = 0, line_breakpoints = 0x0, exception_breakpoints
= 0x0, list = {last_file = 0x0, last_line = 0}, do_break = 0, do_step = 0,
do_next = 0, do_finish = 0, next_level = 0}, breakpoint_count = 0,
no_exec = 0, profiler_enable = 0 '\0', profiler_output_dir =
0x2ad744f5ca85 "/tmp",
profiler_output_name = 0x2ad744f5cd31 "cachegrind.out.%p",
profiler_enable_trigger = 0 '\0', profiler_append = 0 '\0',
profiler_enabled = 0 '\0',
profile_file = 0x0, profile_filename = 0x0, lastcmd = 0x0,
lasttransid = 0x0, stdio = {php_body_write = 0, php_header_write = 0,
active_ob_buffer = {
buffer = 0x0, size = 0, text_length = 0, block_size = 0,
chunk_size = 0, status = 0, output_handler = 0x0,
internal_output_handler = 0,
internal_output_handler_buffer = 0x0,
internal_output_handler_buffer_size = 0, handler_name = 0x0, erase = 0
'\0'}, implicit_flush = 0 '\0',
output_start_filename = 0x0, output_start_lineno = 0, ob_buffers =
{top = 0, max = 0, elements = 0x0}, ob_nesting_level = 0, ob_lock = 0 '\0',
disable_output = 0 '\0'}, stdout_redirected = 0, stderr_redirected
= 0, stdin_redirected = 0, aggr_calls = {nTableSize = 64, nTableMask = 63,
nNumOfElements = 0, nNextFreeElement = 0, pInternalPointer = 0x0,
pListHead = 0x0, pListTail = 0x0, arBuckets = 0xe52340,
pDestructor = 0x2ad744f541bc <xdebug_profile_aggr_call_entry_dtor>,
persistent = 1 '\001', nApplyCount = 0 '\0', bApplyProtection = 0 '\0'},
profiler_aggregate = 0 '\0'}
(gdb) frame 2
#2 0x00002ad745582ac5 in zm_activate_java (type=<value optimized out>,
module_number=1156960608) at /home/sdev/src/php-java-bridge/java.c:159
159 zend_execute(ar TSRMLS_CC);
(gdb) list
154 }
155 if(!ar) abort();
156 EG(return_value_ptr_ptr) = &result;
157 current = EG(active_op_array);
158 EG(active_op_array) = ar;
159 zend_execute(ar TSRMLS_CC);
160 #if 1
161 destroy_op_array(ar TSRMLS_CC);
162 efree(ar);
163 ar = 0;
(gdb)
Regards
Marcus
Received on Fri Mar 07 2008 - 11:52:02 GMT
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST