View Issue Details

IDProjectCategoryView StatusLast Update
0001255XdebugUsage problems (Wrong Results)public2016-12-04 15:15
ReporteromarsAssigned Toderick 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionno change required 
PlatformLinuxOSUbuntuOS Version15.04
Product Version2.4.0rc3 
Target VersionFixed in Version 
Summary0001255: SIGSEGV on breakpoint using FPM sapi
DescriptionPHP 7.0.2-2+deb.sury.org~vivid+1 (cli) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
    with Xdebug v2.4.0RC3, Copyright (c) 2002-2015, by Derick Rethans
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies

Produced on PHPStorm

libxml version: 2.9.2

Please let me know if you need the $_SESSION contents.
Steps To ReproduceOnce it reaches the breakpoint, it crashes
Additional InformationCore was generated by `php-fpm: pool www '.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fe78550aad2 in xdebug_var_export_xml_node (struc=0x7ffe53181230, name=0x2bdee20 "$GLOBALS['_SESSION']", node=0x2bdedc0, options=0x2a0a220, level=1) at /tmp/pear/install/xdebug/xdebug_var.c:2078
2078 /tmp/pear/install/xdebug/xdebug_var.c: No such file or directory.
(gdb) bt
#0 0x00007fe78550aad2 in xdebug_var_export_xml_node (struc=0x7ffe53181230, name=0x2bdee20 "$GLOBALS['_SESSION']", node=0x2bdedc0, options=0x2a0a220, level=1) at /tmp/pear/install/xdebug/xdebug_var.c:2078
#1 0x00007fe78550b2c9 in xdebug_array_element_export_xml_node (options=<optimized out>, parent_name=<optimized out>, parent=<optimized out>, level=<optimized out>, hash_key=<optimized out>,
    index=<optimized out>, zv_nptr=0x7fe785e632e0) at /tmp/pear/install/xdebug/xdebug_var.c:1877
0000002 xdebug_var_export_xml_node (struc=0x0, name=0x2bdee20 "$GLOBALS['_SESSION']", node=0x7ffe53181310, options=0x2a0a220, level=1) at /tmp/pear/install/xdebug/xdebug_var.c:2139
0000003 0x00007fe78550bac5 in xdebug_get_zval_value_xml_node_ex (name=0x2bd9ae0 "$GLOBALS", val=0x7fe785e63260, var_type=45980352, options=0x2a0a220) at /tmp/pear/install/xdebug/xdebug_var.c:2288
0000004 0x00007fe7854f8c72 in get_symbol (name=name@entry=0x7fe78551041f "GLOBALS", options=options@entry=0x2a0a220) at /tmp/pear/install/xdebug/xdebug_handler_dbgp.c:280
0000005 0x00007fe7854fad6f in add_variable_node (node=node@entry=0x2bc41f0, name=name@entry=0x7fe78551041f "GLOBALS", options=options@entry=0x2a0a220, no_eval=0, non_null=1, var_only=1)
    at /tmp/pear/install/xdebug/xdebug_handler_dbgp.c:1320
0000006 0x00007fe7854fda52 in attach_context_vars (func=0x7fe7854f9020 <attach_used_var_with_contents>, depth=0, context_id=<optimized out>, options=0x2a0a220, node=0x2bc41f0)
    at /tmp/pear/install/xdebug/xdebug_handler_dbgp.c:1709
0000007 xdebug_dbgp_handle_context_get (retval=0x7ffe53181470, context=<optimized out>, args=<optimized out>) at /tmp/pear/install/xdebug/xdebug_handler_dbgp.c:1888
0000008 0x00007fe7854f9fff in xdebug_dbgp_parse_option (flags=<optimized out>, retval=0x2bc41f0, line=<optimized out>, context=<optimized out>) at /tmp/pear/install/xdebug/xdebug_handler_dbgp.c:2144
0000009 xdebug_dbgp_cmdloop (context=0x7ffe53181308, bail=46001696) at /tmp/pear/install/xdebug/xdebug_handler_dbgp.c:2193
0000010 0x00007fe7854fe8ad in xdebug_dbgp_breakpoint (context=0x7ffe53181308, stack=0x2bdee20, file=0x2bc91a0 "1", lineno=10, type=1, exception=0x0, code=0x0, message=0x0)
    at /tmp/pear/install/xdebug/xdebug_handler_dbgp.c:2464
0000011 0x00007fe7854ef0ef in xdebug_statement_call (op_array=0x7ffe53181308) at /tmp/pear/install/xdebug/xdebug.c:2616
0000012 0x00000000007204b2 in zend_llist_apply_with_argument ()
0000013 0x00000000007b19d6 in ?? ()
0000014 0x000000000076b7cb in execute_ex ()
0000015 0x000000000071c318 in dtrace_execute_ex ()
0000016 0x00007fe7854ef59f in xdebug_execute_ex (execute_data=0x7fe785e16e00) at /tmp/pear/install/xdebug/xdebug.c:1871
0000017 0x00000000007b007d in ?? ()
0000018 0x000000000076b7cb in execute_ex ()
0000019 0x000000000071c318 in dtrace_execute_ex ()
0000020 0x00007fe7854ef59f in xdebug_execute_ex (execute_data=0x7fe785e16d50) at /tmp/pear/install/xdebug/xdebug.c:1871
0000021 0x00000000007b007d in ?? ()
0000022 0x000000000076b7cb in execute_ex ()
0000023 0x000000000071c318 in dtrace_execute_ex ()
0000024 0x00007fe7854ef59f in xdebug_execute_ex (execute_data=0x7fe785e16c10) at /tmp/pear/install/xdebug/xdebug.c:1871
0000025 0x00000000007b007d in ?? ()
0000026 0x000000000076b7cb in execute_ex ()
0000027 0x000000000071c318 in dtrace_execute_ex ()
0000028 0x00007fe7854ef59f in xdebug_execute_ex (execute_data=0x7fe785e16b70) at /tmp/pear/install/xdebug/xdebug.c:1871
0000029 0x000000000071dfc3 in zend_call_function ()
0000030 0x000000000062a195 in zif_call_user_func ()
0000031 0x000000000071c48a in dtrace_execute_internal ()
0000032 0x00007fe7854eff21 in xdebug_execute_internal (current_execute_data=0x7fe785e16ad0, return_value=0x7fe785e16ac0) at /tmp/pear/install/xdebug/xdebug.c:2016
0000033 0x00000000007aff40 in ?? ()
0000034 0x000000000076b7cb in execute_ex ()
#35 0x000000000071c318 in dtrace_execute_ex ()
0000036 0x00007fe7854ef59f in xdebug_execute_ex (execute_data=0x7fe785e16a00) at /tmp/pear/install/xdebug/xdebug.c:1871
0000037 0x00000000007b007d in ?? ()
0000038 0x000000000076b7cb in execute_ex ()
0000039 0x000000000071c318 in dtrace_execute_ex ()
0000040 0x00007fe7854ef59f in xdebug_execute_ex (execute_data=0x7fe785e16940) at /tmp/pear/install/xdebug/xdebug.c:1871
0000041 0x00000000007b007d in ?? ()
0000042 0x000000000076b7cb in execute_ex ()
0000043 0x000000000071c318 in dtrace_execute_ex ()
0000044 0x00007fe7854ef59f in xdebug_execute_ex (execute_data=0x7fe785e168b0) at /tmp/pear/install/xdebug/xdebug.c:1871
0000045 0x00000000007b007d in ?? ()
0000046 0x000000000076b7cb in execute_ex ()
0000047 0x000000000071c318 in dtrace_execute_ex ()
0000048 0x00007fe7854ef59f in xdebug_execute_ex (execute_data=0x7fe785e16770) at /tmp/pear/install/xdebug/xdebug.c:1871
#49 0x00000000007b007d in ?? ()
0000050 0x000000000076b7cb in execute_ex ()
#51 0x000000000071c318 in dtrace_execute_ex ()
0000052 0x00007fe7854ef59f in xdebug_execute_ex (execute_data=0x7fe785e166e0) at /tmp/pear/install/xdebug/xdebug.c:1871
---Type <return> to continue, or q <return> to quit---
0000053 0x00000000007b007d in ?? ()
0000054 0x000000000076b7cb in execute_ex ()
0000055 0x000000000071c318 in dtrace_execute_ex ()
0000056 0x00007fe7854ef59f in xdebug_execute_ex (execute_data=0x7fe785e16640) at /tmp/pear/install/xdebug/xdebug.c:1871
0000057 0x00000000007b007d in ?? ()
0000058 0x000000000076b7cb in execute_ex ()
0000059 0x000000000071c318 in dtrace_execute_ex ()
0000060 0x00007fe7854ef59f in xdebug_execute_ex (execute_data=0x7fe785e16590) at /tmp/pear/install/xdebug/xdebug.c:1871
0000061 0x00000000007b007d in ?? ()
0000062 0x000000000076b7cb in execute_ex ()
0000063 0x000000000071c318 in dtrace_execute_ex ()
0000064 0x00007fe7854ef59f in xdebug_execute_ex (execute_data=0x7fe785e164a0) at /tmp/pear/install/xdebug/xdebug.c:1871
0000065 0x000000000071dfc3 in zend_call_function ()
0000066 0x000000000062a361 in zif_call_user_func_array ()
0000067 0x000000000071c48a in dtrace_execute_internal ()
0000068 0x00007fe7854eff21 in xdebug_execute_internal (current_execute_data=0x7fe785e16420, return_value=0x7fe785e16400) at /tmp/pear/install/xdebug/xdebug.c:2016
0000069 0x00000000007aff40 in ?? ()
0000070 0x000000000076b7cb in execute_ex ()
0000071 0x000000000071c318 in dtrace_execute_ex ()
0000072 0x00007fe7854ef59f in xdebug_execute_ex (execute_data=0x7fe785e16320) at /tmp/pear/install/xdebug/xdebug.c:1871
0000073 0x00000000007b007d in ?? ()
0000074 0x000000000076b7cb in execute_ex ()
0000075 0x000000000071c318 in dtrace_execute_ex ()
0000076 0x00007fe7854ef59f in xdebug_execute_ex (execute_data=0x7fe785e16270) at /tmp/pear/install/xdebug/xdebug.c:1871
0000077 0x00000000007b007d in ?? ()
0000078 0x000000000076b7cb in execute_ex ()
0000079 0x000000000071c318 in dtrace_execute_ex ()
0000080 0x00007fe7854ef59f in xdebug_execute_ex (execute_data=0x7fe785e161a0) at /tmp/pear/install/xdebug/xdebug.c:1871
0000081 0x00000000007b007d in ?? ()
0000082 0x000000000076b7cb in execute_ex ()
0000083 0x000000000071c318 in dtrace_execute_ex ()
0000084 0x00007fe7854ef59f in xdebug_execute_ex (execute_data=0x7fe785e160f0) at /tmp/pear/install/xdebug/xdebug.c:1871
0000085 0x00000000007b007d in ?? ()
0000086 0x000000000076b7cb in execute_ex ()
0000087 0x000000000071c318 in dtrace_execute_ex ()
0000088 0x00007fe7854ef59f in xdebug_execute_ex (execute_data=0x7fe785e16030) at /tmp/pear/install/xdebug/xdebug.c:1871
0000089 0x00000000007bf647 in zend_execute ()
0000090 0x000000000072c793 in zend_execute_scripts ()
0000091 0x00000000006cd560 in php_execute_script ()
0000092 0x000000000047008a in main ()
TagsNo tags attached.
Operating System Linux 3.19.0-43-generic #49-Ubuntu
PHP Version7.0.0-7.0.4

Activities

derick

2016-01-19 22:34

administrator   ~0003427

Could you please try to reproduce this with Xdebug 2.4.0RC4-dev from GitHub master? And with and without opcache loaded please too?

derick

2016-02-08 21:09

administrator   ~0003456

Can you please answer the questions from the previous note?

omars

2016-02-08 22:12

reporter   ~0003465

Derick, sorry just saw your previous message.

installed master version @ a0ef476b946e768be1f4c78e4e328734cabb63a1
Could not reproduce the crash, wether using opcache or not.

Thanks

derick

2016-12-04 15:15

administrator   ~0003899

Forgot to close this after omars had replied, so doing that now.

Issue History

Date Modified Username Field Change
2016-01-17 18:43 omars New Issue
2016-01-19 22:34 derick Note Added: 0003427
2016-01-19 22:34 derick Assigned To => derick
2016-01-19 22:34 derick Status new => feedback
2016-02-08 21:09 derick Note Added: 0003456
2016-02-08 22:12 omars Note Added: 0003465
2016-02-08 22:12 omars Status feedback => assigned
2016-07-31 12:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 12:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)
2016-12-04 15:15 derick Note Added: 0003899
2016-12-04 15:15 derick Status assigned => resolved
2016-12-04 15:15 derick Resolution open => no change required