Bug #64031 [Opn->Fbk]: Apache2 crashes randomly
Edit report at https://bugs.php.net/bug.php?id=64031&edit=1
ID: 64031
Updated by: laruence@php.net
Reported by: thomas dot munz at gmx dot at
Summary: Apache2 crashes randomly
-Status: Open
+Status: Feedback
Type: Bug
Package: Apache2 related
Operating System: Windows and Linux(Ubuntu)
PHP Version: 5.4.11
Block user comment: N
Private report: N
New Comment:
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
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
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.
Previous Comments:
------------------------------------------------------------------------
[2013-01-20 11:14:43] thomas dot munz at gmx dot at
Description:
------------
Hallo!
I'm running Apache2.2 on a Windows and a Linux Ubuntu machine. On Linux PHP
5.4.7 is running and on Windows PHP 5.4.11.
On both System I get the following error message when executing the same Code
base. This is from the Apach2 Error log file:
[Sun Jan 20 11:45:49 2013] [error] [client 127.0.0.1] PHP Fatal error: Uncaught
exception 'Exception' with message 'Serialization of 'SimpleXMLElement' is
not
allowed' in [no active file]:0\nStack trace:\n#0 {main}\n thrown in [no active
file] on line 0
[Sun Jan 20 11:45:50 2013] [notice] child pid 5444 exit signal Segmentation
fault (11)
This causes Apache to crash on windows and linux. In Apache access log, the
request don't even show up.
Test script:
---------------
http://www.phptheatre.com/PHPTheatre.rar
1. Extract the files to your htdocs directpry
2. copy/rename bridge/default/global.config.php to local.config.php
3. modify the local.config.php and enter your mysql server data (user should have access to create
DB)
4. run the php file tests/data/setup.php in the shell. This script will setup test datas
5. Open the follwoing file in the Browser: tests/HTML/index.php
6. Login with the username "visitor" and the password "password" on the top
login form
7. Klick the "Program" Link in the top menu
8. Select on the Site a time to the right.
9. A "Room Plan" will apear. Click on an Seat in the image.
10. *Apache2 Crash*
The file/class that is handling this request, where the error happens is
src/Core/Template/Site/ShowReservation.php, method "displayCinema"
Expected result:
----------------
No Apache2 crash.
-> Showing up a Room plan where the user selection get shown.
Actual result:
--------------
Apache2 crash on Windows and Linux
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64031&edit=1
Thread (2 messages)