php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49209 apache2 crashes and return blank output
Submitted: 2009-08-10 13:39 UTC Modified: 2009-08-11 10:32 UTC
From: bendl at pjcomp dot cz Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 5.2.10 OS: Debian Lenny 2.6.26-2-amd64
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bendl at pjcomp dot cz
New email:
PHP Version: OS:

 

 [2009-08-10 13:39 UTC] bendl at pjcomp dot cz
Description:
------------
apache2 crashes about 2-10x within 100 reloads. There are too many messages in apache error.log (too often)

[Mon Aug 10 15:34:12 2009] [notice] child pid 27199 exit signal Segmentation fault (11)
[Mon Aug 10 15:34:13 2009] [notice] child pid 28539 exit signal Segmentation fault (11)
[Mon Aug 10 15:34:15 2009] [notice] child pid 27827 exit signal Segmentation fault (11)
[Mon Aug 10 15:34:15 2009] [notice] child pid 29382 exit signal Segmentation fault (11)
[Mon Aug 10 15:34:18 2009] [notice] child pid 28132 exit signal Segmentation fault (11)
[Mon Aug 10 15:34:20 2009] [notice] child pid 29426 exit signal Segmentation fault (11)
[Mon Aug 10 15:34:25 2009] [notice] child pid 29016 exit signal Segmentation fault (11)
[Mon Aug 10 15:34:30 2009] [notice] child pid 29437 exit signal Segmentation fault (11)

Actual result:
--------------
[Mon Aug 10 15:20:05 2009] [notice] child pid 22113 exit signal Segmentation fault (11)
*** glibc detected *** /usr/sbin/apache2: munmap_chunk(): invalid pointer: 0x00007fc6672e6598 ***
======= Backtrace: =========
/lib/libc.so.6[0x7fc6643916c8]
/usr/lib/apache2/modules/libphp5.so(zend_hash_destroy+0x28)[0x7fc661564aa8]
/usr/lib/apache2/modules/libphp5.so(zend_object_std_dtor+0x29)[0x7fc661575ed9]
/usr/lib/apache2/modules/libphp5.so(zend_objects_free_object_storage+0x9)[0x7fc661575ef9]
/usr/lib/apache2/modules/libphp5.so(zend_objects_store_free_object_storage+0x3f)[0x7fc661578fcf]
/usr/lib/apache2/modules/libphp5.so(shutdown_executor+0x20c)[0x7fc66154f36c]
/usr/lib/apache2/modules/libphp5.so(zend_deactivate+0x62)[0x7fc66155a0b2]
/usr/lib/apache2/modules/libphp5.so(php_request_shutdown+0x192)[0x7fc661514fa2]
/usr/lib/apache2/modules/libphp5.so[0x7fc6615cebb3]
/usr/sbin/apache2(ap_run_handler+0x83)[0x7fc665174e13]
/usr/sbin/apache2(ap_invoke_handler+0x9f)[0x7fc66517853f]
/usr/sbin/apache2(ap_internal_redirect+0x60)[0x7fc665185d70]
/usr/lib/apache2/modules/mod_rewrite.so[0x7fc65edccba5]
/usr/sbin/apache2(ap_run_handler+0x83)[0x7fc665174e13]
/usr/sbin/apache2(ap_invoke_handler+0x9f)[0x7fc66517853f]
/usr/sbin/apache2(ap_process_request+0x1c8)[0x7fc665185f48]
/usr/sbin/apache2[0x7fc665182e78]
/usr/sbin/apache2(ap_run_process_connection+0x83)[0x7fc66517c7e3]
/usr/sbin/apache2[0x7fc66518a84e]
/usr/sbin/apache2[0x7fc66518ab3a]
/usr/sbin/apache2(ap_mpm_run+0xab2)[0x7fc66518b652]
/usr/sbin/apache2(main+0xa2d)[0x7fc66516127d]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7fc66433e5c6]
/usr/sbin/apache2[0x7fc665160329]
======= Memory map: ========
7fc65a660000-7fc65a67a000 r-xp 00000000 08:01 1185616                    /lib/libgcc_s.so.1
7fc65a67a000-7fc65a879000 ---p 0001a000 08:01 1185616                    /lib/libgcc_s.so.1
7fc65a879000-7fc65a87a000 rw-p 00019000 08:01 1185616                    /lib/libgcc_s.so.1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-10 18:56 UTC] jani@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2009-08-10 22:53 UTC] srinatar@php.net
is your apache pre-fork or worker mpm ?  
 [2009-08-11 03:01 UTC] bendl at pjcomp dot cz
Hello,
I'm using php5 and apache2 from repository. I hope prefork.
Apache/2.2.11 (Debian) PHP/5.2.9-4 with Suhosin-Patch mod_ssl/2.2.11 OpenSSL/0.9.8k
Best,
Jirka
 [2009-08-11 09:35 UTC] jani@php.net
Please try the snapshot and ignore any other feedback requests until you really do that.
 [2009-08-11 10:07 UTC] bendl at pjcomp dot cz
Hi, I haven't got any compiled version. I have everything from repository debian lenny, etch and testing.
Which repository I should use to implement php 5.2-latest?
 [2009-08-11 10:32 UTC] jani@php.net
If you don't know how to compile PHP, please don't report bugs here. Instead report it to your distro and let them report it here if it's really a bug. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 03:01:28 2024 UTC