php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34266 Apache 2.0.50 crashes from time to time
Submitted: 2005-08-26 09:17 UTC Modified: 2005-08-28 12:01 UTC
From: techtonik@php.net Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.4.0 OS: W2K SP4
Private report: No CVE-ID: None
 [2005-08-26 09:17 UTC] techtonik@php.net
Description:
------------
I'm testing binarycloud framework at the moment. From time to time on some pages Apache crashes. I can't provide a simple script, because framework is rather big and I unable to trace where the error comes from.

There are instructions how to get debug info for GDB under *nix on this site, but no instructions how to get it on windows platform. Perhaps I could dig more if such information will be available. For now I've got this from WinDBG and Dr.Watson (second is available at http://rapidshare.de/files/4379016/drwtsn32.log.html)

Reproduce code:
---------------
Loading Dump File [G:\Documents and Settings\All Users\Documents\DrWatson\user.dmp]
User Dump File: Only application data is available

Windows 2000 Version 2195 UP Free x86 compatible
Product: WinNt
System Uptime: not available
Process Uptime: not available
Symbol search path is: *** Invalid *** : Verify _NT_SYMBOL_PATH setting
Executable search path is: 
.........................................................................
(5c0.270): Access violation - code c0000005 (!!! second chance !!!)
eax=0000006c ebx=0000003d ecx=023f76a8 edx=00000000 esi=00002c28 edi=0198b768
eip=008f5774 esp=018afbd4 ebp=000024f8 iopl=0         nv up ei ng nz na po cy
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000287
*** WARNING: Unable to verify checksum for php4ts.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for php4ts.dll - 
php4ts!shutdown_memory_manager+64:
008f5774 8910             mov     [eax],edx         ds:0023:0000006c=????????



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-26 13:32 UTC] derick@php.net
We really need a short script to reproduce it, or a useful backtrace.
 [2005-08-26 17:05 UTC] techtonik@php.net
Following instructions from http://bugs.php.net/bugs-generating-backtrace.php I've got the following output. Seems that I need debug version of php4ts.dll - I don't know where to get any and failed to compile one myself from recent sources snapshot.

C:\httpd\bin>gdb.exe Apache.exe
GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...(no debugging symbols found)...
(gdb) run -X
Starting program: C:\WINDEX\httpd\bin/Apache.exe -X
---Type <return> to continue, or q <return> to quit---
---Type <return> to continue, or q <return> to quit---

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 664.0x668]
0x77d5d670 in ?? ()
(gdb) bt
#0  0x77d5d670 in ?? ()
#1  0x77d5d6ab in ?? ()
#2  0x7c2e4225 in ?? ()
(gdb)
 [2005-08-26 17:09 UTC] sniper@php.net
a) Try and see if you can reproduce these crashes with
PHP 5.1 snapshot first
b) If you get the crashes, grab the debug pack from same place

  http://snaps.php.net/


 [2005-08-26 17:46 UTC] techtonik@php.net
The problem is that this framework (binarycloud) is not for PHP 5 yet.
 [2005-08-28 00:57 UTC] sniper@php.net
Then you need to come up with a reproducing script.

 [2005-08-28 12:01 UTC] techtonik@php.net
Forget about it. Sorry, there's no another day to spend for studying some obscure patterns of another application framework. It seems to be a memory problem anyway and I don't think that I be able to come up with a simple script for that. I'll better switch to another platform.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 15:01:28 2024 UTC