PHP 5.4 crashes in Magento 1.7.0.2

[email protected] (Christian Stoller)
Newsgroups php.internals.win
Message-ID <4ED7146272E04A47B986ED49E771E347BB1318F9F2@Ikarus.ameusgmbh.intern>
Hi,

I am not sure if I am on the correct list, but since I have upgraded PHP to 5.4 on my local test environment (Win7, PHP 5.4.8 TS) Magento seems to crash PHP. When I use PHP 5.3 everything works fine.
I have tried it with PHP as Apache 2.4.3 module and with the built-in server. Both results in a crash. Please look at http://www.abload.de/img/php_crashdcknh.png
PHP does not log anything, but in Windows' Event Viewer I get this information:

> Name der fehlerhaften Anwendung: php.exe, Version: 5.4.8.0, Zeitstempel: 0x507dc8a9
> Name des fehlerhaften Moduls: php5ts.dll, Version: 5.4.8.0, Zeitstempel: 0x507dd793
> Ausnahmecode: 0xc0000005
> Fehleroffset: 0x0004ab59
> ID des fehlerhaften Prozesses: 0x1388
> Startzeit der fehlerhaften Anwendung: 0x01cdb7647865a3e4
> Pfad der fehlerhaften Anwendung: C:\Program Files (x86)\PHP\php.exe
> Pfad des fehlerhaften Moduls: C:\Program Files (x86)\PHP\php5ts.dll
> Berichtskennung: dfe74428-2357-11e2-8bee-e06995696037

XML Details:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" /> 
    <EventID Qualifiers="0">1000</EventID> 
    <Level>2</Level> 
    <Task>100</Task> 
    <Keywords>0x80000000000000</Keywords> 
    <TimeCreated SystemTime="2012-10-31T12:38:31.000000000Z" /> 
    <EventRecordID>271632</EventRecordID> 
    <Channel>Application</Channel> 
    <Computer>Lukic-PC.ameusgmbh.intern</Computer> 
    <Security /> 
  </System>
  <EventData>
    <Data>php.exe</Data> 
    <Data>5.4.8.0</Data> 
    <Data>507dc8a9</Data> 
    <Data>php5ts.dll</Data> 
    <Data>5.4.8.0</Data> 
    <Data>507dd793</Data> 
    <Data>c0000005</Data> 
    <Data>0004ab59</Data> 
    <Data>1388</Data> 
    <Data>01cdb7647865a3e4</Data> 
    <Data>C:\Program Files (x86)\PHP\php.exe</Data> 
    <Data>C:\Program Files (x86)\PHP\php5ts.dll</Data> 
    <Data>dfe74428-2357-11e2-8bee-e06995696037</Data> 
  </EventData>
</Event>

How to reproduce:
I tried to find the reason of the crash by debugging through the code with xdebug, but the crash seems to occur between the last line of PHP code and sending the output to the browser. So the only way to reproduce it, from my point of view, is to install Magento and try it by yourself :-(

Here are the steps:
- I have downloaded a fresh Magento (Community Edition, v 1.7.0.2), to be sure that you can reproduce it, from http://www.magentocommerce.com/download
- Then extracted it
- Make the whole magento directory editable for all users (full access)
- start built-in server by:
    $ C:\www\magento>php -S localhost:8000
- Visit http://localhost:8000/index.php
- Magento will redirect you to installation wizard - fill out the form
- After the input of database information and session storage (File System) PHP crashes every time

It would be nice if anyone can look at this issue. Thanks a lot.


Best regards
Christian Stoller
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.