Skip to content

Instantly share code, notes, and snippets.

@olesku
Created August 29, 2013 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olesku/6376282 to your computer and use it in GitHub Desktop.
Save olesku/6376282 to your computer and use it in GitHub Desktop.
full backtrace zend_mm_heap corrupted
(gdb) bt full
#0 zend_mm_add_to_free_list (heap=<value optimized out>, mm_block=0x7f8e9aef8cc0) at /usr/src/debug/php-5.4.19/Zend/zend_alloc.c:748
m = <value optimized out>
p = <value optimized out>
size = 760
index = <value optimized out>
#1 0x00007f8e8ed74412 in _zend_mm_free_int (heap=0x7f8e9a32d6a0, p=0x7f8e9aef8cd0) at /usr/src/debug/php-5.4.19/Zend/zend_alloc.c:2114
mm_block = 0x7f8e9aef8cc0
next_block = 0x7f8e9aef8d68
size = 760
#2 0x00007f8e8eda6ad1 in zend_hash_destroy (ht=0x7f8e8f19ffd0) at /usr/src/debug/php-5.4.19/Zend/zend_hash.c:565
p = 0x7f8e9aef55d0
q = 0x7f8e9aef8cd0
#3 0x00007f8e8ed8d173 in shutdown_executor () at /usr/src/debug/php-5.4.19/Zend/zend_execute_API.c:322
__orig_bailout = 0x0
__bailout = {{__jmpbuf = {140250262928896, 8182995638597937449, 140250458935720, 0, -4294967295, 140250413065656, 8173376536015235369, 8182995645807814953},
__mask_was_saved = 0, __saved_mask = {__val = {8182995509236558121, 8173376532983578624, 8182995468597422377, 140250101468928, 2400843392,
140250409751376, 2547653928, 140250409751352, 140250459911104, 140250461667192, 140250461667360, 140250461667360, 140250461667192, 0, 0,
140250262930208}}}}
#4 0x00007f8e8ed99e52 in zend_deactivate () at /usr/src/debug/php-5.4.19/Zend/zend.c:938
No locals.
#5 0x00007f8e8ed3c67c in php_request_shutdown (dummy=<value optimized out>) at /usr/src/debug/php-5.4.19/main/main.c:1803
report_memleaks = 1 '\001'
#6 0x00007f8e8ee44037 in php_apache_request_dtor (r=0x7f8e9ac8d1a8) at /usr/src/debug/php-5.4.19/sapi/apache2handler/sapi_apache2.c:507
No locals.
#7 php_handler (r=0x7f8e9ac8d1a8) at /usr/src/debug/php-5.4.19/sapi/apache2handler/sapi_apache2.c:679
ctx = 0x7f8e9ac96fe0
conf = 0x7f8e9a079228
brigade = 0x7f8e9ac97bf0
bucket = <value optimized out>
rv = <value optimized out>
parent_req = 0x0
#8 0x00007f8e97ea0bb0 in ap_run_handler (r=0x7f8e9ac8d1a8) at /usr/src/debug/httpd-2.2.15/server/config.c:158
pHook = <value optimized out>
n = <value optimized out>
rv = <value optimized out>
#9 0x00007f8e97ea446e in ap_invoke_handler (r=0x7f8e9ac8d1a8) at /usr/src/debug/httpd-2.2.15/server/config.c:376
handler = <value optimized out>
p = <value optimized out>
result = 0
old_handler = 0x7f8e9a09f750 "application/x-httpd-php"
ignore = <value optimized out>
#10 0x00007f8e97eafb30 in ap_process_request (r=0x7f8e9ac8d1a8) at /usr/src/debug/httpd-2.2.15/modules/http/http_request.c:282
access_status = <value optimized out>
#11 0x00007f8e97eac9a8 in ap_process_http_connection (c=0x7f8e9ac80c18) at /usr/src/debug/httpd-2.2.15/modules/http/http_core.c:190
r = 0x7f8e9ac8d1a8
csd = 0x0
#12 0x00007f8e97ea86b8 in ap_run_process_connection (c=0x7f8e9ac80c18) at /usr/src/debug/httpd-2.2.15/server/connection.c:43
pHook = <value optimized out>
n = <value optimized out>
rv = <value optimized out>
#13 0x00007f8e97eb4977 in child_main (child_num_arg=<value optimized out>) at /usr/src/debug/httpd-2.2.15/server/mpm/prefork/prefork.c:667
current_conn = <value optimized out>
csd = 0x7f8e9ac80a28
ptrans = 0x7f8e9ac809a8
allocator = 0x7f8e9ac7e8a0
status = <value optimized out>
i = <value optimized out>
lr = <value optimized out>
pollset = 0x7f8e9ac7ebc8
sbh = 0x7f8e9ac7ebc0
bucket_alloc = 0x7f8e9ac8b118
last_poll_idx = 0
#14 0x00007f8e97eb4c8a in make_child (s=0x7f8e99ffe860, slot=6) at /usr/src/debug/httpd-2.2.15/server/mpm/prefork/prefork.c:763
pid = 0
#15 0x00007f8e97eb590c in perform_idle_server_maintenance (_pconf=<value optimized out>, plog=<value optimized out>, s=<value optimized out>)
at /usr/src/debug/httpd-2.2.15/server/mpm/prefork/prefork.c:898
i = <value optimized out>
idle_count = <value optimized out>
ws = <value optimized out>
free_length = <value optimized out>
free_slots = {6, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 21, 24, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67}
last_non_dead = <value optimized out>
total_non_dead = <value optimized out>
#16 ap_mpm_run (_pconf=<value optimized out>, plog=<value optimized out>, s=<value optimized out>) at /usr/src/debug/httpd-2.2.15/server/mpm/prefork/prefork.c:1102
status = 1
pid = {pid = -1, in = 0x7f8e9a1e12c8, out = 0x7f8e99ff5220, err = 0x7f8e980cbb68}
child_slot = <value optimized out>
exitwhy = APR_PROC_EXIT
processed_status = <value optimized out>
index = <value optimized out>
remaining_children_to_start = 0
rv = <value optimized out>
#17 0x00007f8e97e8c900 in main (argc=1, argv=0x7fffb01ca148) at /usr/src/debug/httpd-2.2.15/server/main.c:760
c = 0 '\000'
configtestonly = <value optimized out>
confname = 0x7f8e97eb71fe "conf/httpd.conf"
def_server_root = 0x7f8e97eb71f3 "/etc/httpd"
temp_error_log = 0x0
error = <value optimized out>
process = 0x7f8e99ffe860
server_conf = 0x7f8e99ffe860
pglobal = 0x7f8e99ff5128
pconf = 0x7f8e99ff7138
plog = 0x7f8e9a0292c8
ptemp = 0x7f8e99ffb158
pcommands = 0x7f8e99ff9148
opt = 0x7f8e99ff9240
rv = <value optimized out>
mod = <value optimized out>
optarg = 0x7f8e99ff1250 ""
signal_server = <value optimized out>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment