Description | I got segmentation fault on the last xDebug version 3.3.1. This bug does not reproduce on 3.2, probably introduced in this PR https://github.com/xdebug/xdebug/pull/915
Program received signal SIGSEGV, Segmentation fault.
mark_fse_as_having_line_breakpoints (fse=0x55efe5a3a910) at /opt/build/xdebug/src/debugger/debugger.c:573
573 } else if (!zend_string_equals(extra_brk_info->filename, executed_filename)) {
(gdb) bt
#0 mark_fse_as_having_line_breakpoints (fse=0x55efe5a3a910) at /opt/build/xdebug/src/debugger/debugger.c:573
#1 handle_breakpoints (return_value=0x7faaf3417090, breakpoint_type=8, fse=0x55efe5a3a910) at /opt/build/xdebug/src/debugger/debugger.c:591
0000002 xdebug_debugger_handle_breakpoints (fse=fse@entry=0x55efe5a3a910, breakpoint_type=breakpoint_type@entry=8, return_value=return_value@entry=0x7faaf3417090) at /opt/build/xdebug/src/debugger/debugger.c:623
0000003 0x00007faaf5652140 in xdebug_execute_internal_end (current_execute_data=<optimized out>, return_value=0x7faaf3417090) at /opt/build/xdebug/src/base/base.c:998
0000004 xdebug_execute_internal (current_execute_data=<optimized out>, return_value=0x7faaf3417090) at /opt/build/xdebug/src/base/base.c:1022
0000005 0x000055efe09be095 in ?? ()
0000006 0x000055efe09beacb in ?? ()
0000007 0x000055efe09be000 in ?? ()
0000008 0x000055efe09beacb in ?? ()
0000009 0x000055efe09be000 in ?? ()
0000010 0x000055efe09beacb in ?? ()
0000011 0x000055efe09be000 in ?? ()
0000012 0x000055efe09beacb in ?? ()
0000013 0x000055efe09be000 in ?? ()
0000014 0x000055efe09beacb in ?? ()
0000015 0x000055efe09be000 in ?? ()
0000016 0x000055efe09beacb in ?? ()
0000017 0x000055efe09be000 in ?? ()
0000018 0x000055efe09beacb in ?? ()
0000019 0x000055efe09be000 in ?? ()
0000020 0x000055efe09beacb in ?? ()
0000021 0x000055efe09be000 in ?? ()
0000022 0x000055efe09beacb in ?? ()
0000023 0x000055efe09be000 in ?? ()
0000024 0x000055efe09beacb in ?? ()
0000025 0x000055efe09be000 in ?? ()
0000026 0x000055efe09beacb in ?? ()
0000027 0x000055efe09be000 in ?? ()
0000028 0x000055efe09beacb in ?? ()
0000029 0x000055efe09be000 in ?? ()
0000030 0x000055efe09beacb in ?? ()
0000031 0x000055efe09be000 in ?? ()
0000032 0x000055efe09beacb in ?? ()
0000033 0x000055efe09be000 in ?? ()
0000034 0x000055efe09beacb in ?? ()
#35 0x000055efe09be000 in ?? ()
0000036 0x000055efe09beacb in ?? ()
0000037 0x000055efe09be000 in ?? ()
0000038 0x000055efe09beacb in ?? ()
0000039 0x000055efe09be000 in ?? ()
0000040 0x000055efe09beacb in ?? ()
0000041 0x000055efe09be000 in ?? ()
0000042 0x000055efe09beacb in ?? ()
0000043 0x000055efe09be000 in ?? ()
0000044 0x000055efe09beacb in ?? ()
0000045 0x000055efe09be000 in ?? ()
0000046 0x000055efe09beacb in ?? ()
0000047 0x000055efe0bf83a9 in zend_execute ()
0000048 0x000055efe0b883f0 in zend_execute_scripts ()
#49 0x000055efe0b230ba in php_execute_script ()
0000050 0x000055efe09c9c7f in ?? ()
#51 0x00007faaf5c29d90 in libc_start_call_main (main=main@entry=0x55efe09c8cd0, argc=argc@entry=4, argv=argv@entry=0x7ffe86f29588) at ../sysdeps/nptl/libc_start_call_main.h:58
0000052 0x00007faaf5c29e40 in libc_start_main_impl (main=0x55efe09c8cd0, argc=4, argv=0x7ffe86f29588, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe86f29578) at ../csu/libc-start.c:392
0000053 0x000055efe09cba45 in _start ()
(gdb) set print pretty on
(gdb) p executed_filename
$1 = (zend_string ) 0x3338313a7068702e
(gdb) print $1
Cannot access memory at address 0x3338313a7068702e
(gdb) p extra_brk_info
$2 = (xdebug_brk_info ) 0x55efe1e425d0
(gdb) print $2
$3 = {
id = 3750001,
brk_type = 1,
resolved = 0,
classname = 0x0,
functionname = 0x0,
exceptionname = 0x0,
function_break_type = 0,
filename = 0x7faaf3456180,
original_lineno = 34,
resolved_lineno = 34,
condition = 0x0,
disabled = 0,
temporary = 0,
hit_count = 0,
hit_value = 0,
hit_condition = 0
} |
---|