php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29222 php4.3.8 segfaults with apache2 (2.0.50)
Submitted: 2004-07-17 12:04 UTC Modified: 2004-07-26 01:00 UTC
Votes:9
Avg. Score:4.6 ± 0.8
Reproduced:7 of 7 (100.0%)
Same Version:5 (71.4%)
Same OS:5 (71.4%)
From: formorer at debian dot org Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 4.3.8 OS: Debian Woody/Sid
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-07-17 12:04 UTC] formorer at debian dot org
Description:
------------
I create Backports of the Debian Sid packages for Woody.   
There I detected the following error with the apache2  
module.  
  
Every call of a php call let apache2 (mpm-prefork) lets   
apache2 segfaulten, even sometimes if php4 is not called   
it segfaults.   
 
Another user of Debian Sid (no backports), has the same 
problem. Before monday I'm not able to provide you with a  
gdb backtrace, because I don't have my build environment  
available.  
 
But at 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=259808 
and  
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=259659 
 
are a few more informations and a backtrace.  
If somebody from Maintainers already reported that 
problem, I'm sorry for this bugreport, but this is really 
urgent. 
 

Actual result:
--------------
 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-18 18:46 UTC] iliaa@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 [2004-07-26 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2004-08-18 12:16 UTC] javier_peces at hotmail dot com
I get the same in debian sid and apache2. Sorry I cannot 
get debugging symbols. Pasted at bottom all version 
numbers of apache2 and php4 I have installed. If I can 
help in any manner please let me know.


(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1079519520 (LWP 3589)]
0x4071e957 in execute () from /usr/lib/apache2/modules/
libphp4.so
(gdb) bt
#0  0x4071e957 in execute () from /usr/lib/apache2/
modules/libphp4.so
#1  0x08078785 in ap_run_handler ()
#2  0x080b9838 in ?? ()
#3  0x00000000 in ?? ()
#4  0x081e0668 in ?? ()
#5  0x081e0668 in ?? ()
#6  0x0813b208 in ?? ()
#7  0xbffff978 in ?? ()
#8  0x08078d90 in ap_invoke_handler ()
Previous frame inner to this frame (corrupt stack?)
(gdb)


||/ Name                       Version                    
Description
+++-==========================-
==========================-
========================================================
============
ii  apache2                    2.0.50-9                   
Next generation, scalable, extendable web server
ii  apache2-common             2.0.50-9                   
Next generation, scalable, extendable web server
ii  apache2-doc                2.0.50-9                   
Documentation for apache2
un  apache2-modules            <none>                     
(no description available)
un  apache2-mpm-perchild       <none>                     
(no description available)
ii  apache2-mpm-prefork        2.0.50-9                   
Traditional model for Apache2
un  apache2-mpm-threadpool     <none>                     
(no description available)
un  apache2-mpm-worker         <none>                     
(no description available)

||/ Name                       Version                    
Description
+++-==========================-
==========================-
========================================================
============
ii  php4                       4.3.8-5                    
A server-side, HTML-embedded scripting language
ii  php4-apd                   0.4p2-3                    
PHP code execution profiler and debugger
ii  php4-cgi                   4.3.8-5                    
A server-side, HTML-embedded scripting language
un  php4-cgi-curl              <none>                     
(no description available)
un  php4-cgi-domxml            <none>                     
(no description available)
un  php4-cgi-gd                <none>                     
(no description available)
un  php4-cgi-imap              <none>                     
(no description available)
un  php4-cgi-ldap              <none>                     
(no description available)
un  php4-cgi-mhash             <none>                     
(no description available)
un  php4-cgi-mysql             <none>                     
(no description available)
un  php4-cgi-pgsql             <none>                     
(no description available)
un  php4-cgi-snmp              <none>                     
(no description available)
un  php4-cgi-xml               <none>                     
(no description available)
ii  php4-curl                  4.3.8-5                    
CURL module for php4
ii  php4-dbase                 4.3.4+rcfinal-3            
dBase module for php4
ii  php4-dev                   4.3.8-5                    
Files for PHP4 module development
un  php4-domxml                <none>                     
(no description available)
un  php4-gd                    <none>                     
(no description available)
ii  php4-gd2                   4.3.2+rc3-2                
GD module (with GD2) for php4
ii  php4-imap                  4.3.8-5                    
IMAP module for php4
ii  php4-ldap                  4.3.8-5                    
LDAP module for php4
un  php4-mcal                  <none>                     
(no description available)
un  php4-mhash                 <none>                     
(no description available)
ii  php4-mysql                 4.3.8-5                    
MySQL module for php4
un  php4-odbc                  <none>                     
(no description available)
ii  php4-pear                  4.3.8-5                    
PEAR - PHP Extension and Application Repository
ii  php4-pear-log              1.6.0-1                    
Log module for PEAR
ii  php4-pgsql                 4.3.8-1                    
PostgreSQL module for php4
un  php4-recode                <none>                     
(no description available)
un  php4-sablot                <none>                     
(no description available)
un  php4-snmp                  <none>                     
(no description available)
un  php4-sybase                <none>                     
(no description available)
un  php4-xml                   <none>                     
(no description available)
un  php4-xslt                  <none>                     
(no description available)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 00:01:41 2024 UTC