From:             thomas dot munz at gmx dot at
Operating system: Windows and Linux(Ubuntu)
PHP version:      5.4.11
Package:          Apache2 related
Bug Type:         Bug
Bug description:Apache2 crashes randomly

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 bug report at https://bugs.php.net/bug.php?id=64031&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=64031&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=64031&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=64031&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=64031&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=64031&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=64031&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=64031&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=64031&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=64031&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=64031&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=64031&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=64031&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=64031&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64031&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=64031&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=64031&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=64031&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64031&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=64031&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=64031&r=mysqlcfg

Reply via email to