[php-maint] Bug#542514: libapache2-mod-php5 with segmentation fault and efree heap

Marc Dequènes (Duck) duck at duckcorp.org
Wed Aug 26 21:44:33 UTC 2009


Quoting Ondřej Surý <ondrej at debian.org>:

> That's an evil plan how to make more people test php 5.3.0 :)

> But anyway it would be great if you can try 5.3.0-3 from experimental.
> It needs as much testing as it could get.

My machine is running testing, and i just installed your newly  
uploaded 5.3.0-3.

I don't get any suhosin message, but PHP is still segfaulting a lot.  
This time, the general apache log (and not the one for the vhost) gives:
[Wed Aug 26 20:35:47 2009] [notice] child pid 18948 exit signal  
Segmentation fault (11)
[Wed Aug 26 20:38:07 2009] [notice] child pid 18947 exit signal  
Segmentation fault (11)
[Wed Aug 26 20:38:07 2009] [notice] child pid 18991 exit signal  
Segmentation fault (11)

I got this with GDB:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f000b87b740 (LWP 9610)]
0x00007f000535b1d8 in _zend_mm_free_canary_int (heap=0x2721480,  
p=0x1e0) at /tmp/buildd/php5-5.3.0/Zend/zend_alloc_canary.c:2029
2029	/tmp/buildd/php5-5.3.0/Zend/zend_alloc_canary.c: No such file or  
	in /tmp/buildd/php5-5.3.0/Zend/zend_alloc_canary.c
(gdb) bt
#0  0x00007f000535b1d8 in _zend_mm_free_canary_int (heap=0x2721480,  
p=0x1e0) at /tmp/buildd/php5-5.3.0/Zend/zend_alloc_canary.c:2029
#1  0x00007efffd9ded61 in _php_pgsql_notice_ptr_dtor (ptr=0x2721480)  
at /tmp/buildd/php5-5.3.0/ext/pgsql/pgsql.c:835
#2  0x00007f0005348468 in zend_hash_clean (ht=0x7efffdbf45c8) at  
#3  0x00007efffd9e6254 in zm_deactivate_pgsql (type=41030784,  
module_number=480) at /tmp/buildd/php5-5.3.0/ext/pgsql/pgsql.c:1034
#4  0x00007f000533d7dc in module_registry_cleanup (module=0x2721480)  
at /tmp/buildd/php5-5.3.0/Zend/zend_API.c:2150
#5  0x00007f0005347ff4 in zend_hash_reverse_apply (ht=0x7f0005a4ea00,  
apply_func=0x7f000533d7c0 <module_registry_cleanup>) at  
#6  0x00007f000533c24d in zend_deactivate_modules () at  
#7  0x00007f00052e7b25 in php_request_shutdown (dummy=0x2721480) at  
#8  0x00007f00053c8123 in php_handler (r=0x1) at  
#9  0x000000000043b8d3 in ap_run_handler ()
#10 0x000000000043ee9f in ap_invoke_handler ()
#11 0x000000000044c11e in ap_process_request ()
#12 0x0000000000449158 in ?? ()
#13 0x0000000000442dd3 in ap_run_process_connection ()
#14 0x0000000000450720 in ?? ()
#15 0x0000000000450a74 in ?? ()
#16 0x00000000004516b6 in ap_mpm_run ()
#17 0x0000000000428425 in main ()


Marc Dequènes (Duck)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: PGP Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20090826/65bc70b0/attachment.pgp>

More information about the pkg-php-maint mailing list