View Issue Details

IDProjectCategoryView StatusLast Update
0001251XdebugUncategorizedpublic2016-02-09 10:56
ReporterDevDonkey Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product Version2.4.0rc3 
Summary0001251: Segmentation fault occurring on system shutdown. Causing big delay in apache shutting down.
Description

on going through logs after a continuing problem in shutting down I noticed the attached log entry that I thought you should be aware of.

Steps To Reproduce

apache2 running at shutdown

Additional Information

2.4rc3, any version of PHP

TagsNo tags attached.
Attached Files
apache.crash (4,686 bytes)   
SegvAnalysis:
 Segfault happened at: 0x7f5806dedad2 <xdebug_var_export_xml_node+258>:	decl   -0x75(%rcx)
 PC (0x7f5806dedad2) ok
 source "-0x75(%rcx)" (0xffffffffffffff95) not located in a known VMA region (needed readable region)!
SegvReason: reading unknown VMA
SourcePackage: apache2
Stacktrace:
 #0  0x00007f5806dedad2 in xdebug_var_export_xml_node (struc=0x7ffd0fc54f70, name=0x557270cdadc0 "$GLOBALS['_SESSION']", node=0x557270cd7030, options=0x557270c8b810, level=1) at /home/matt/tmp/xdebug-2.4.0RC3/xdebug_var.c:2160
         merged_hash = 0x7ffd0fc55050
         ce = <optimised out>
         is_temp = 32600
         zpi_val = <optimised out>
         myht = <optimised out>
         class_name = <optimised out>
         class_name_len = <optimised out>
         num = <optimised out>
         key = <optimised out>
         z_val = <optimised out>
         xoi_val = <optimised out>
 #1  0x00007f5806dee2b9 in xdebug_var_export_xml_node (struc=<optimised out>, name=0x7f580705a2c0 "A-AES128-GCM-SHA256", node=<optimised out>, options=<optimised out>, level=1892417728) at /home/matt/tmp/xdebug-2.4.0RC3/xdebug_var.c:2195
         ta = 0x7f5806df31e6 "type"
         tv = 0x7f5806df36e8 "object"
         merged_hash = 0x1
         ce = <optimised out>
         is_temp = 32600
         zpi_val = <optimised out>
         myht = <optimised out>
         class_name = 0x557270cc0060 "{8\337\006X\177"
         class_name_len = <optimised out>
         num = <optimised out>
         key = <optimised out>
         z_val = <optimised out>
         xoi_val = <optimised out>
 #2  0x0000557270cda500 in ?? ()
 No symbol table info available.
 #3  0x00007f580705a260 in ?? ()
 No symbol table info available.
 #4  0x0000557270cda500 in ?? ()
 No symbol table info available.
 #5  0x00007ffd0fc551b0 in ?? ()
 No symbol table info available.
 #6  0x0000557270c8b810 in ?? ()
 No symbol table info available.
 #7  0x0000557270cda500 in ?? ()
 No symbol table info available.
 #8  0x0000000000000000 in ?? ()
 No symbol table info available.
StacktraceAddressSignature: /usr/sbin/apache2:11:/home/matt/php_modules/20151012/xdebug.so+2aad2:/home/matt/php_modules/20151012/xdebug.so+2b2b9:[heap]+67500:[heap]+67500:[stack]+1c1b0:[heap]+18810:[heap]+67500
StacktraceTop:
 xdebug_var_export_xml_node (struc=0x7ffd0fc54f70, name=0x557270cdadc0 "$GLOBALS['_SESSION']", node=0x557270cd7030, options=0x557270c8b810, level=1) at /home/matt/tmp/xdebug-2.4.0RC3/xdebug_var.c:2160
 xdebug_var_export_xml_node (struc=<optimised out>, name=0x7f580705a2c0 "A-AES128-GCM-SHA256", node=<optimised out>, options=<optimised out>, level=1892417728) at /home/matt/tmp/xdebug-2.4.0RC3/xdebug_var.c:2195
 ?? ()
 ?? ()
 ?? ()
Tags:  wily
ThreadStacktrace:
 .
 Thread 1 (Thread 0x7f581601e780 (LWP 18365)):
 #0  0x00007f5806dedad2 in xdebug_var_export_xml_node (struc=0x7ffd0fc54f70, name=0x557270cdadc0 "$GLOBALS['_SESSION']", node=0x557270cd7030, options=0x557270c8b810, level=1) at /home/matt/tmp/xdebug-2.4.0RC3/xdebug_var.c:2160
         merged_hash = 0x7ffd0fc55050
         ce = <optimised out>
         is_temp = 32600
         zpi_val = <optimised out>
         myht = <optimised out>
         class_name = <optimised out>
         class_name_len = <optimised out>
         num = <optimised out>
         key = <optimised out>
         z_val = <optimised out>
         xoi_val = <optimised out>
 #1  0x00007f5806dee2b9 in xdebug_var_export_xml_node (struc=<optimised out>, name=0x7f580705a2c0 "A-AES128-GCM-SHA256", node=<optimised out>, options=<optimised out>, level=1892417728) at /home/matt/tmp/xdebug-2.4.0RC3/xdebug_var.c:2195
         ta = 0x7f5806df31e6 "type"
         tv = 0x7f5806df36e8 "object"
         merged_hash = 0x1
         ce = <optimised out>
         is_temp = 32600
         zpi_val = <optimised out>
         myht = <optimised out>
         class_name = 0x557270cc0060 "{8\337\006X\177"
         class_name_len = <optimised out>
         num = <optimised out>
         key = <optimised out>
         z_val = <optimised out>
         xoi_val = <optimised out>
 #2  0x0000557270cda500 in ?? ()
 No symbol table info available.
 #3  0x00007f580705a260 in ?? ()
 No symbol table info available.
 #4  0x0000557270cda500 in ?? ()
 No symbol table info available.
 #5  0x00007ffd0fc551b0 in ?? ()
 No symbol table info available.
 #6  0x0000557270c8b810 in ?? ()
 No symbol table info available.
 #7  0x0000557270cda500 in ?? ()
 No symbol table info available.
 #8  0x0000000000000000 in ?? ()
 No symbol table info available.
Title: apache2 crashed with SIGSEGV in xdebug_var_export_xml_node()
UpgradeStatus: No upgrade log present (probably fresh install)
_MarkForUpload: True

apache.crash (4,686 bytes)   
Operating SystemUbuntu 15.10 x64
PHP Version7.0.0-7.0.4

Activities

derick

2016-01-13 11:05

administrator   ~0003419

Has this happened once, or multiple times? It looks like a debugging session was still active when you shut-down apache, but without Apache's symbol tables it's hard to say. Could you install the apache-dbg package, and "hope" this happens again?

derick

2016-02-08 21:07

administrator   ~0003454

Can you please answer the questions from the previous note?

DevDonkey

2016-02-09 10:53

reporter   ~0003467

sorry derick, I totally forgot about this one.

The issue actually turned out to be redis crashing on shutdown. Oddly this was logged inaccurately by apache that led me up the wrong path.

derick

2016-02-09 10:56

administrator   ~0003468

That's okay - closing this one out then.

Issue History

Date Modified Username Field Change
2016-01-13 10:46 DevDonkey New Issue
2016-01-13 10:46 DevDonkey File Added: apache.crash
2016-01-13 11:05 derick Note Added: 0003419
2016-01-13 11:05 derick Assigned To => derick
2016-01-13 11:05 derick Status new => feedback
2016-02-08 21:07 derick Note Added: 0003454
2016-02-09 10:53 DevDonkey Note Added: 0003467
2016-02-09 10:53 DevDonkey Status feedback => assigned
2016-02-09 10:56 derick Note Added: 0003468
2016-02-09 10:56 derick Status assigned => resolved
2016-02-09 10:56 derick Resolution open => no change required
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)
2020-03-12 16:35 derick Category Usage problems (Wrong Results) => Variable Display
2020-03-12 16:38 derick Category Variable Display => Uncategorized