Bug #72043 [Com]: preg_match restart Apache (Not with PHP 7.0.x or 5.5.x)

From: Date: Sun, 22 May 2016 11:19:29 +0000
Subject: Bug #72043 [Com]: preg_match restart Apache (Not with PHP 7.0.x or 5.5.x)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-201221@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72043&edit=1 ID: 72043 Comment by: dominique at ottello dot net Reported by: dominique at ottello dot net Summary: preg_match restart Apache (Not with PHP 7.0.x or 5.5.x) Status: No Feedback Type: Bug Package: PCRE related Operating System: Windows 7 64bit PHP Version: 5.6.20 Block user comment: N Private report: N New Comment: Nota: The same script does not crash if executed with PHP CLI (Apache not started) with: "php.exe bug_preg_match.php" Four hours trying to generate crash dump. Il seems to work but the analysis always crash also. Report could not be displayed. FileName: C:\Users\Dominique\Documents\DebugDiag\Reports\httpd_PID_6752 Date_05_22_2016__Time_11_53_14_AM_943_Second _Chance_Exception_C00000FD_CrashHangAnalysis (1).mht ShellExecute returned: 31 Dump from Windows event Viewer (Sorry, but it is ,only in French) Nom du journal :Application Source : Application Error Date : 22/05/2016 12:53:18 ID de l’événement :1000 Catégorie de la tâche :(100) Niveau : Erreur Mots clés : Classique Utilisateur : N/A Ordinateur : DOMI Description : Nom de l’application défaillante httpd.exe, version : 2.4.18.0, horodatage : 0x5667fd57 Nom du module défaillant : php5ts.dll, version : 5.6.21.0, horodatage : 0x572186a2 Code d’exception : 0xc00000fd Décalage d’erreur : 0x000000000013b134 ID du processus défaillant : 0x13b0 Heure de début de l’application défaillante : 0x01d1b41825bbdc43 Chemin d’accès de l’application défaillante : J:\wamp64\bin\apache\apache2.4.18\bin\httpd.exe Chemin d’accès du module défaillant: J:\wamp64\bin\apache\apache2.4.18\bin\php5ts.dll ID de rapport : 63baddc1-200b-11e6-b944-00240164840a XML de l’événement : <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="2016-05-22T10:53:18.000000000Z" /> <EventRecordID>432947</EventRecordID> <Channel>Application</Channel> <Computer>DOMI</Computer> <Security /> </System> <EventData> <Data>httpd.exe</Data> <Data>2.4.18.0</Data> <Data>5667fd57</Data> <Data>php5ts.dll</Data> <Data>5.6.21.0</Data> <Data>572186a2</Data> <Data>c00000fd</Data> <Data>000000000013b134</Data> <Data>13b0</Data> <Data>01d1b41825bbdc43</Data> <Data>J:\wamp64\bin\apache\apache2.4.18\bin\httpd.exe</Data> <Data>J:\wamp64\bin\apache\apache2.4.18\bin\php5ts.dll</Data> <Data>63baddc1-200b-11e6-b944-00240164840a</Data> </EventData> </Event> Previous Comments: ------------------------------------------------------------------------ [2016-05-15 04:22:23] php-bugs at lists dot php dot net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. ------------------------------------------------------------------------ [2016-05-03 11:08:54] ab@php.net Yes, the debug option only makes sense for the Apache binary separately. It is not suitable for a service. However it won't make any difference - if there's a crash, you'll be able to catch it with debug diag. Thanks. ------------------------------------------------------------------------ [2016-05-02 13:01:24] dominique at ottello dot net You have send me email with how to generate a backtrace. I just spent more than five hours trying to generate this report "backtrace" and it comes to no conclusive result. Apache is running as a service and, despite numerous attempts, I find it totally impossible to start it in debug mode (-X). ------------------------------------------------------------------------ [2016-05-01 17:54:22] ab@php.net 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. ------------------------------------------------------------------------ [2016-04-29 09:13:09] dominique at ottello dot net PHP version 5.6.21 doesn't correct this problem. Apache crashes with all versions of PHP 5.6. and works fine with other versions like 5.5.45 or 7.0.0 to 7.0.6 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=72043 -- Edit this bug report at https://bugs.php.net/bug.php?id=72043&edit=1

« previous php.bugs (#201221) next »