View Issue Details

IDProjectCategoryView StatusLast Update
0001010Xdebugpublic2014-04-28 09:56
Reportereglic Assigned Toderick  
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionno change required 
PlatformPHP 5.5.6OSLinuxMint 15 
Summary0001010: XDebug crashed on PHP 5.5.5 & PHP 5.5.6
Description

OS: Linux E420 3.8.0-33-generic 0000048-Ubuntu SMP Wed Oct 23 09:16:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

PHP:PHP 5.5.6 (cli) (built: Nov 25 2013 14:44:44)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
with XCache v4.0.0-dev, Copyright (c) 2005-2013, by mOo
with Xdebug v2.3.0dev, Copyright (c) 2002-2013, by Derick Rethans
with XCache Cacher v4.0.0-dev, Copyright (c) 2005-2013, by mOo

XDebug Version : git
php.log : [02-Dec-2013 17:25:39] WARNING: [pool www] child 1427 exited on signal 15 (SIGTERM) after 26.362017 seconds from start

CoreDump :
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fffb75d6000
Core was generated by `php-fpm: pool www '.
Program terminated with signal 11, Segmentation fault.
#0 0x000000000072c629 in xbuf_format_converter (xbuf=xbuf@entry=0x7fffb6c4d8d0, fmt=0xc82c4e "s",
fmt@entry=0xc82c4d "%s", ap=0x7fffb6c4da78) at /home/eglic/??/php-5.5.6/main/spprintf.c:252
252 /home/eglic/??/php-5.5.6/main/spprintf.c: ?????????.
(gdb) where
#0 0x000000000072c629 in xbuf_format_converter (xbuf=xbuf@entry=0x7fffb6c4d8d0, fmt=0xc82c4e "s",
fmt@entry=0xc82c4d "%s", ap=0x7fffb6c4da78) at /home/eglic/??/php-5.5.6/main/spprintf.c:252
#1 0x000000000072da34 in vspprintf (pbuf=pbuf@entry=0x7fffb6c4d958, max_len=1024, format=format@entry=0xc82c4d "%s",
ap=<optimized out>) at /home/eglic/??/php-5.5.6/main/spprintf.c:799
0000002 0x00007f9a0143fd0b in xdebug_error_cb (type=2,
error_filename=0x7f99f5baac70 "/data/eglic/work/eglic/core/branches/1.0.0/smarty/sysplugins/smarty_resource.php",
error_lineno=720, format=0xc82c4d "%s", args=<optimized out>) at /home/eglic/??/php/xdebug/xdebug_stack.c:562
0000003 0x00007f9a0143fef4 in xdebug_error_cb (type=2,
error_filename=0x7f99f5baac70 "/data/eglic/work/eglic/core/branches/1.0.0/smarty/sysplugins/smarty_resource.php",
error_lineno=720, format=0xc82c4d "%s", args=<optimized out>) at /home/eglic/??/php/xdebug/xdebug_stack.c:772
0000004 0x00007f9a0143fef4 in xdebug_error_cb (type=2,
error_filename=0x7f99f5baac70 "/data/eglic/work/eglic/core/branches/1.0.0/smarty/sysplugins/smarty_resource.php",
error_lineno=720, format=0xc82c4d "%s", args=<optimized out>) at /home/eglic/??/php/xdebug/xdebug_stack.c:772
0000005 0x00007f9a0143fef4 in xdebug_error_cb (type=2,
error_filename=0x7f99f5baac70 "/data/eglic/work/eglic/core/branches/1.0.0/smarty/sysplugins/smarty_resource.php",
error_lineno=720, format=0xc82c4d "%s", args=<optimized out>) at /home/eglic/??/php/xdebug/xdebug_stack.c:772
0000006 0x00007f9a0143fef4 in xdebug_error_cb (type=2,
error_filename=0x7f99f5baac70 "/data/eglic/work/eglic/core/branches/1.0.0/smarty/sysplugins/smarty_resource.php",
error_lineno=720, format=0xc82c4d "%s", args=<optimized out>) at /home/eglic/??/php/xdebug/xdebug_stack.c:772
0000007 0x00007f9a0143fef4 in xdebug_error_cb (type=2,
error_filename=0x7f99f5baac70 "/data/eglic/work/eglic/core/branches/1.0.0/smarty/sysplugins/smarty_resource.php",
error_lineno=720, format=0xc82c4d "%s", args=<optimized out>) at /home/eglic/??/php/xdebug/xdebug_stack.c:772
0000008 0x00007f9a0143fef4 in xdebug_error_cb (type=2,
error_filename=0x7f99f5baac70 "/data/eglic/work/eglic/core/branches/1.0.0/smarty/sysplugins/smarty_resource.php",
error_lineno=720, format=0xc82c4d "%s", args=<optimized out>) at /home/eglic/??/php/xdebug/xdebug_stack.c:772
0000009 0x00007f9a0143fef4 in xdebug_error_cb (type=2,
error_filename=0x7f99f5baac70 "/data/eglic/work/eglic/core/branches/1.0.0/smarty/sysplugins/smarty_resource.php",
error_lineno=720, format=0xc82c4d "%s", args=<optimized out>) at /home/eglic/??/php/xdebug/xdebug_stack.c:772
0000010 0x00007f9a0143fef4 in xdebug_error_cb (type=2,
error_filename=0x7f99f5baac70 "/data/eglic/work/eglic/core/branches/1.0.0/smarty/sysplugins/smarty_resource.php",
error_lineno=720, format=0xc82c4d "%s", args=<optimized out>) at /home/eglic/??/php/xdebug/xdebug_stack.c:772

TagsNo tags attached.
Operating System
PHP Version5.5.5-5.5.9

Activities

derick

2014-03-05 09:39

administrator   ~0002757

Could you perhaps create an as short as possible set of files to reproduce this? If that includes smarty, that's ok. Can you also share which steps you do to get the crash? And please also let me know which Xdebug settings there are on phpinfo() (don't give me all the output, just the xdebug section).

eglic

2014-03-05 13:20

reporter   ~0002759

Okay,my xdebug settings in php.ini :

[xdebug]
zend_extension=/opt/php/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so
xdebug.default_enable=On
xdebug.max_nesting_level=64


ouput of "php -i | xdebug":

[21:18:45] ~ $ php -i | grep xdebug
xdebug
xdebug support => enabled
xdebug.auto_trace => Off => Off
xdebug.cli_color => 0 => 0
xdebug.collect_assignments => Off => Off
xdebug.collect_includes => On => On
xdebug.collect_params => 0 => 0
xdebug.collect_return => Off => Off
xdebug.collect_vars => Off => Off
xdebug.coverage_enable => On => On
xdebug.default_enable => On => On
xdebug.dump.COOKIE => no value => no value
xdebug.dump.ENV => no value => no value
xdebug.dump.FILES => no value => no value
xdebug.dump.GET => no value => no value
xdebug.dump.POST => no value => no value
xdebug.dump.REQUEST => no value => no value
xdebug.dump.SERVER => no value => no value
xdebug.dump.SESSION => no value => no value
xdebug.dump_globals => On => On
xdebug.dump_once => On => On
xdebug.dump_undefined => Off => Off
xdebug.extended_info => On => On
xdebug.file_link_format => no value => no value
xdebug.halt_level => 0 => 0
xdebug.idekey => no value => no value
xdebug.max_nesting_level => 64 => 64
xdebug.overload_var_dump => On => On
xdebug.profiler_aggregate => Off => Off
xdebug.profiler_append => Off => Off
xdebug.profiler_enable => Off => Off
xdebug.profiler_enable_trigger => Off => Off
xdebug.profiler_output_dir => /tmp => /tmp
xdebug.profiler_output_name => cachegrind.out.%p => cachegrind.out.%p
xdebug.remote_autostart => Off => Off
xdebug.remote_connect_back => Off => Off
xdebug.remote_cookie_expire_time => 3600 => 3600
xdebug.remote_enable => Off => Off
xdebug.remote_handler => dbgp => dbgp
xdebug.remote_host => localhost => localhost
xdebug.remote_log => no value => no value
xdebug.remote_mode => req => req
xdebug.remote_port => 9000 => 9000
xdebug.scream => Off => Off
xdebug.show_exception_trace => Off => Off
xdebug.show_local_vars => Off => Off
xdebug.show_mem_delta => Off => Off
xdebug.trace_enable_trigger => Off => Off
xdebug.trace_format => 0 => 0
xdebug.trace_options => 0 => 0
xdebug.trace_output_dir => /tmp => /tmp
xdebug.trace_output_name => trace.%c => trace.%c
xdebug.var_display_max_children => 128 => 128
xdebug.var_display_max_data => 512 => 512
xdebug.var_display_max_depth => 3 => 3

derick

2014-03-05 13:36

administrator   ~0002760

Sorry, I just noticed that your stack trace is actually a stack overflow. But the code that it is referring too has been removed from the master branch at github. Could you test with a fresh github clone please?

eglic

2014-03-06 02:30

reporter   ~0002764

Okey, I will test it later.

derick

2014-04-25 23:03

administrator   ~0002797

Have you tested this perhaps?

eglic

2014-04-27 06:09

reporter   ~0002800

yes,it's seam to have fixed.

derick

2014-04-28 09:56

administrator   ~0002802

Okay thanks! Closing this out.

Issue History

Date Modified Username Field Change
2013-12-02 10:28 eglic New Issue
2014-03-05 09:39 derick Note Added: 0002757
2014-03-05 09:39 derick Assigned To => derick
2014-03-05 09:39 derick Status new => feedback
2014-03-05 13:20 eglic Note Added: 0002759
2014-03-05 13:20 eglic Status feedback => assigned
2014-03-05 13:36 derick Note Added: 0002760
2014-03-05 13:36 derick Status assigned => feedback
2014-03-06 02:30 eglic Note Added: 0002764
2014-03-06 02:30 eglic Status feedback => assigned
2014-04-25 23:03 derick Note Added: 0002797
2014-04-25 23:03 derick Status assigned => feedback
2014-04-27 06:09 eglic Note Added: 0002800
2014-04-27 06:09 eglic Status feedback => assigned
2014-04-28 09:56 derick Note Added: 0002802
2014-04-28 09:56 derick Status assigned => resolved
2014-04-28 09:56 derick Resolution open => no change required
2016-07-31 12:35 derick Category Debug client (console) => debugclient (debugging tool)
2016-07-31 12:35 derick Category debugclient (debugging tool) => (No Category)