[xdebug-general] Re: xdebug 2.0.2 and 2.1dev segfaults with php-java-bridge

From: Derick Rethans <derick[@]xdebug.org>
Date: Mon, 4 Feb 2008 22:01:39 +0100 (CET)

On Fri, 1 Feb 2008, Marcus Mueller wrote:

> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x2b7f24ffd6b0 (LWP 21764)]
> 0x00002b7f25354205 in add_stack_frame (zdata=0x0, op_array=0xe667a8, type=2)
> at /home/sdev/src/archives/xdebug-cvs/xdebug/xdebug.c:1191
> 1191 if (XDEBUG_LLIST_TAIL(XG(stack))) {
> (gdb) bt
> #0 0x00002b7f25354205 in add_stack_frame (zdata=0x0, op_array=0xe667a8,
> type=2) at /home/sdev/src/archives/xdebug-cvs/xdebug/xdebug.c:1191

Could you do at this moment:

print xdebug_globals

> #1 0x00002b7f25355281 in xdebug_execute (op_array=0xe667a8) at
> /home/sdev/src/archives/xdebug-cvs/xdebug/xdebug.c:1489
> #2 0x00002b7f2599aa75 in zm_activate_java () from
> /home/sdev/www/php/lib/php/extensions/no-debug-non-zts-20060613/java.so

Does this extension run PHP code itself in MINIT? I don't know where the
source is, but it seems weird. Can you also perhaps run:

frame 2
list

and hope the java.so is not stripped :/

regards,
Derick

-- 
Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Mon Feb 04 2008 - 22:01:37 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST