ID: 44645 Comment by: miland at vol dot cz Reported By: gary dot wilson at coull dot biz Status: No Feedback Bug Type: Reproducible crash Operating System: Windows Server 2003 PHP Version: 5.2.5 New Comment:
Hello, I have exactly same problem. The Apache crashes on x64 Vista Ultimate when the application tries to connect to the mysql database. Faulting application httpd.exe, version 2.2.8.0, time stamp 0x47a48331, faulting module php5ts.dll, version 5.2.5.5, time stamp 0x473896cb, exception code 0xc0000005, fault offset 0x000000000000f7c2, process id 0xe1c, application start time 0x01c8ae2c9449782b. Apache 2.2.8 x64 - the same problem with x32 version on x64 host system. PHP 5.2.5 x64 Mysql 5.1.24 x64 Other scripts are running well, but when I need to connect to the database, the apache crashes. Previous Comments: ------------------------------------------------------------------------ [2008-04-22 07:39:01] whydream at 163 dot com just connect to mysql, this error will occurs. code like this: <?php $link = mysql_connect('localhost', 'root', 'q790318q') or die('cannot connectÂF' . mysql_error()); echo 'connected'; ?> ------------------------------------------------------------------------ [2008-04-16 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2008-04-08 11:00:01] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2008-04-05 09:11:03] gary dot wilson at coull dot biz Description: ------------ Failure case: Making 8 (or more) concurrent requests to Apache/php requesting XML causes php5ts.dll to throw an application error. Event Type: Information Event Source: Application Error Event Category: (100) Event ID: 1004 Date: 02/04/2008 Time: 17:47:03 User: N/A Computer: COULL-WEB01 Description: Reporting queued error: faulting application Apache.exe, version 2.0.55.0, faulting module php5ts.dll, version 5.1.6.6, fault address 0x0000926a. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Data: 0000: 41 70 70 6c 69 63 61 74 Applicat 0008: 69 6f 6e 20 46 61 69 6c ion Fail 0010: 75 72 65 20 20 41 70 61 ure Apa 0018: 63 68 65 2e 65 78 65 20 che.exe 0020: 32 2e 30 2e 35 35 2e 30 2.0.55.0 0028: 20 69 6e 20 70 68 70 35 in php5 0030: 74 73 2e 64 6c 6c 20 35 ts.dll 5 0038: 2e 31 2e 36 2e 36 20 61 .1.6.6 a 0040: 74 20 6f 66 66 73 65 74 t offset 0048: 20 30 30 30 30 39 32 36 0000926 0050: 61 a ##### Event Type: Information Event Source: Application Error Event Category: (100) Event ID: 1004 Date: 05/04/2008 Time: 09:21:48 User: N/A Computer: MEDIAPROC02 Description: Reporting queued error: faulting application httpd.exe, version 2.2.8.0, faulting module php5ts.dll, version 5.2.5.5, fault address 0x0000acb9. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Data: 0000: 41 70 70 6c 69 63 61 74 Applicat 0008: 69 6f 6e 20 46 61 69 6c ion Fail 0010: 75 72 65 20 20 68 74 74 ure htt 0018: 70 64 2e 65 78 65 20 32 pd.exe 2 0020: 2e 32 2e 38 2e 30 20 69 .2.8.0 i 0028: 6e 20 70 68 70 35 74 73 n php5ts 0030: 2e 64 6c 6c 20 35 2e 32 .dll 5.2 0038: 2e 35 2e 35 20 61 74 20 .5.5 at 0040: 6f 66 66 73 65 74 20 30 offset 0 0048: 30 30 30 61 63 62 39 000acb9 Hardware Manufacture: Dell, HP Machine base: 64 bit Operating System: Windows Server 2003 SP2 (32 bit) Apache versions: 2.0.55, 2.0.59, 2.2.4, 2.2.8 php Versions: 5.1.6, 5.2.5, 5.3.dev Description: This problem was reproducible every time with a combination all the above components. This was reproduced on 3 separate servers, 2 Dell and 1 HP. The failure case CANNOT be reproduced on a machine with the same OS, Apache/php versions/config and code base that is running on a 32 bit base machine this was verified on 5 servers. In our failure case we are generating XML output on every request. It would seem like this is a issue when running 32 bit Win OS on 64 bit base machine. Unfortunately, I am unable to test this on 64 bit Windows 2003, however, I did retrograde a 64 bit OS a few months ago due to a very similar problem (not certain if it was exactly the same). Reproduce code: --------------- Not a developer. I will try and get our development team to create some code to reproduce, but they are very busy, so it may take some time. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44645&edit=1