php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64519 VC11 x64 NTS crash while trying to start the Built-in Web server
Submitted: 2013-03-26 10:54 UTC Modified: 2013-03-26 15:03 UTC
From: aurelien dot reeves at gmail dot com Assigned: pajoye (profile)
Status: Closed Package: Built-in web server
PHP Version: 5.5.0beta1 OS: Windows 7 64bits
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: aurelien dot reeves at gmail dot com
New email:
PHP Version: OS:

 

 [2013-03-26 10:54 UTC] aurelien dot reeves at gmail dot com
Description:
------------
I've downloaded the VC11 x64 NTS binaries of php 5.5.0beta1.
Renamed php.ini-development to php.ini.

c:\php55>php.exe -v
PHP 5.5.0beta1 (cli) (built: Mar 20 2013 12:44:41)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0-dev, Copyright (c) 1998-2013 Zend Technologies

c:\php55>php.exe -S localhost:8000 result in a crash.

I've tried the same with the x86 binaries and everything is fine with those.

The backtrace (VS Callstack):
 	php5.dll!php_asctime_r(const tm * tm, char * buf) Line 222	C
 	php.exe!do_cli_server(int argc, char * * argv) Line 2415	C
 	php.exe!main(int argc, char * * argv) Line 1380	C
>	php.exe!__tmainCRTStartup() Line 536	C
 	kernel32.dll!00000000771a652d()	Unknown
 	ntdll.dll!000000007779c521()	Unknown


Test script:
---------------
php.exe -S localhost:8000

Expected result:
----------------
The built-in web server up and running

Actual result:
--------------
Crash of php.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-03-26 14:00 UTC] laruence@php.net
Please try using this snapshot:

  http://snaps.php.net/php-trunk-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

seems pierre has fixed it. http://git.php.net/?p=php-
src.git;a=commitdiff;h=3af489683753ab31d7397812989e82f6a424d244
 [2013-03-26 14:00 UTC] laruence@php.net
-Status: Open +Status: Feedback
 [2013-03-26 14:52 UTC] aurelien dot reeves at gmail dot com
-Status: Feedback +Status: Open
 [2013-03-26 14:52 UTC] aurelien dot reeves at gmail dot com
Yes, it seems it has been fixed.
I've tried the last snapshot (http://windows.php.net/downloads/snaps/php-
5.5/r4d73bb0/). Works fine.

Sorry :s
 [2013-03-26 15:03 UTC] pajoye@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pajoye
 [2013-03-26 15:03 UTC] pajoye@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 15:01:28 2024 UTC