php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10137 Apache repots a crash afer executing the php script
Submitted: 2001-04-03 10:48 UTC Modified: 2001-05-04 14:37 UTC
From: oliver at eserv dot de Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.0.1pl2 OS: RedHat 7.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
2 + 12 = ?
Subscribe to this entry?

 
 [2001-04-03 10:48 UTC] oliver at eserv dot de
Description:
I create an object from a class which contains an internal variable which stores another object. This another object-constructor requires a parameter of the "parent" object. The constructor itself stores this value in an internal variable. No more Action is done! But after the execution of the script apache reports an error message!

My Modules are:imap
ldap, pgsql, mysql, zlib, yp, xml, standard, session, posix, pcre, gettext, gd, dba, db, apache

My configure-line is:
'./configure' '--target=i386-redhat-linux' '--prefix=/usr' '--with-config-file-path=/etc'
              '--disable-debug' '--enable-pic' '--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs'
              '--disable-static' '--with-exec-dir=/usr/bin' '--with-regex=system' '--with-gettext' '--with-gd'
              '--with-jpeg-dir=/usr' '--with-png' '--with-zlib' '--with-db2' '--with-db3' '--with-gdbm'
              '--enable-debugger' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sysvsem'
              '--enable-sysvshm' '--enable-track-vars' '--enable-yp' '--enable-ftp' '--without-mysql' '--with-xml'

My Backtrace is:
#0  0x404ddc75 in _efree () from /home/oliverh/httpd/modules/libphp4.so
(gdb) bt
#0  0x404ddc75 in _efree () from /home/oliverh/httpd/modules/libphp4.so
#1  0x404de1cb in shutdown_memory_manager ()
   from /home/oliverh/httpd/modules/libphp4.so
#2  0x4050e86c in php_request_shutdown ()
   from /home/oliverh/httpd/modules/libphp4.so
#3  0x4050c497 in php_apache_request_shutdown ()
   from /home/oliverh/httpd/modules/libphp4.so
#4  0x80510cb in ap_run_cleanup ()
#5  0x804ff82 in ap_clear_pool ()
#6  0x804ffe8 in ap_destroy_pool ()
#7  0x804ff6c in ap_clear_pool ()
#8  0x805c5fb in ap_child_terminate ()
#9  0x805cc4b in ap_child_terminate ()
#10 0x805cf2a in ap_child_terminate ()
#11 0x805d39b in ap_child_terminate ()
#12 0x805d928 in main ()
#13 0x4014db65 in __libc_start_main (main=0x805d5f0 <main>, argc=3, 
    ubp_av=0xbffff99c, init=0x804f084 <_init>, fini=0x807e45c <_fini>, 
    rtld_fini=0x4000df24 <_dl_fini>, stack_end=0xbffff994)
    at ../sysdeps/generic/libc-start.c:111


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-03 11:02 UTC] sniper@php.net
1. Upgrade to 4.0.4pl1
2. If problem persists, add the shortest possible script
into this bug report which can be used to reproduce this.

--Jani

 [2001-05-04 14:37 UTC] jmoore@php.net
No feedback. Closing
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Sep 20 18:01:26 2020 UTC