[php-maint] Bug#743757: Bug#743757: php5: zend_mm_heap corrupted and segfaults while updating wordpress

Ondřej Surý ondrej at sury.org
Tue Jun 10 13:23:02 UTC 2014


Michael,

could you try to reproduce this bug with 5.6.0~beta4?

O.

On Sun, Apr 6, 2014, at 3:54, Michael Chesterton wrote:
> Package: php5
> Version: 5.5.10+dfsg-1
> Severity: normal
> 
> Dear Maintainer,
> 
> Trying to update plugins or wordpress itself crashes php-fpm
> 
> #0  zend_mm_remove_from_free_list (heap=0x994b1a8, mm_block=0x9ee9e24)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_alloc.c:837
> #1  0x0831da35 in _zend_mm_free_int (heap=0x994b1a8, p=p at entry=0x9ee9e2c)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_alloc.c:2110
> #2  0x0831fdd8 in _efree (ptr=0x9ee9e2c)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_alloc.c:2440
> #3  0x083fd0af in i_zval_ptr_dtor (zval_ptr=<optimized out>)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_execute.h:82
> #4  i_free_compiled_variables (execute_data=0xf6d402e0)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_execute.c:1510
> #5  zend_leave_helper_SPEC (execute_data=0xf6d402e0)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_vm_execute.h:399
> #6  0x08373366 in execute_ex (execute_data=execute_data at entry=0xf6d402e0)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_vm_execute.h:363
> #7  0x083362ed in dtrace_execute_ex
> (execute_data=execute_data at entry=0xf6d402e0)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_dtrace.c:73
> #8  0x083fe8ac in zend_execute (op_array=0x9af97f8)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_vm_execute.h:388
> #9  0x08400e77 in zend_do_fcall_common_helper_SPEC
> (execute_data=0xf6d40200)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_vm_execute.h:584
> #10 0x08373366 in execute_ex (execute_data=execute_data at entry=0xf6d40200)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_vm_execute.h:363
> #11 0x083362ed in dtrace_execute_ex
> (execute_data=execute_data at entry=0xf6d40200)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_dtrace.c:73
> #12 0x083fe8ac in zend_execute (op_array=0x9af9738)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_vm_execute.h:388
> #13 0x08400e77 in zend_do_fcall_common_helper_SPEC
> (execute_data=0xf6d40134)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_vm_execute.h:584
> #14 0x08373366 in execute_ex (execute_data=execute_data at entry=0xf6d40134)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_vm_execute.h:363
> #15 0x083362ed in dtrace_execute_ex
> (execute_data=execute_data at entry=0xf6d40134)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_dtrace.c:73
> #16 0x083fe8ac in zend_execute (op_array=0x9d7b788)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_vm_execute.h:388
> #17 0x08400e77 in zend_do_fcall_common_helper_SPEC
> (execute_data=0xf6d3fffc)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_vm_execute.h:584
> #18 0x08373366 in execute_ex (execute_data=execute_data at entry=0xf6d3fffc)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_vm_execute.h:363
> #19 0x083362ed in dtrace_execute_ex
> (execute_data=execute_data at entry=0xf6d3fffc)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_dtrace.c:73
> #20 0x083fe8ac in zend_execute (op_array=0x9d7b2a8)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_vm_execute.h:388
> #21 0x08400e77 in zend_do_fcall_common_helper_SPEC
> (execute_data=0xf6d3ff04)
>     at /build/php5-_8zZb9/php5-5.5.10+dfsg/Zend/zend_vm_execute.h:584
> 
> 
> -- System Information:
> Debian Release: jessie/sid
>   APT prefers testing
>   APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
> Architecture: i386 (x86_64)
> Foreign Architectures: amd64
> 
> Kernel: Linux 3.12-1-amd64 (SMP w/1 CPU core)
> Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages php5 depends on:
> ii  php5-common  5.5.10+dfsg-1
> ii  php5-fpm     5.5.10+dfsg-1
> 
> php5 recommends no packages.
> 
> php5 suggests no packages.
> 
> -- no debconf information
> 
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint


-- 
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



More information about the pkg-php-maint mailing list