#48832 [Csd->Bgs]: Calling php.exe on console crashes
ID: 48832
Updated by: pajoye@php.net
Reported By: trueleader at gmx dot de
-Status: Closed
+Status: Bogus
Bug Type: Reproducible crash
Operating System: win32 only - Windows Vista x86
PHP Version: 5.3.0
New Comment:
Not a bug > bogus
Previous Comments:
------------------------------------------------------------------------
[2009-07-07 16:12:26] trueleader at gmx dot de
Found problem:
calling <PATH>\php.exe does neither use <PATH>\php.ini nor
c:\windows\php.ini but some other wherever on my system.
With the test "<PATH>\php.exe -c <PRODUCTION FILE>" I used an PHP5.2.6
php.ini, which included PHP5.2 extensions. I think one of these caused
the unusual error message
Maybe there should be a fast way to determine what php.ini the
executable will use to fasten error diagnostics because all the error
messages i got does not point to the real problem.
Sorry for wasting time and thank you for your help.
Greetings
Nikolai Essel
------------------------------------------------------------------------
[2009-07-07 15:03:11] pajoye@php.net
Please post a link to this php.ini
------------------------------------------------------------------------
[2009-07-07 15:00:43] trueleader at gmx dot de
Nothing happens
- no crash
- no output
- no event log entry
Task manager a php process is runnung with 0% CPU, 2.620k RAM, 0 IO,
Description: CLI
thats all.
------
tried without "-d": it shows the list of loaded PHP Modules correctly
tried with "-c" and give it the path of an actual productive php.ini:
same error happens
------------------------------------------------------------------------
[2009-07-07 14:40:09] pajoye@php.net
"Der Prozedureinsprungspunkt "_regexec@20" wurde in der DLL
"php5ts.dll" nicht gefunden"
Hm, does not makes sense.
Please try to run php -n -d -m.
------------------------------------------------------------------------
[2009-07-07 14:31:20] trueleader at gmx dot de
After I read "PHP5TS!GUESS_TIMEZONE" I already remembered this issue
and entered "date.timezone = Europe/Berlin" in php.ini which does not
affected the report (or I don´t see the change). Therefor I send the one
without the timezone setting
Here again one backtrace with setting in php.ini (done in the new php
path and copied php.ini to c:\windows ... I´m not sure if the CLI
searches on the right place)
--------
Thread 0 - System ID 4924
Entry point php!mainCRTStartup
Create time 07.07.2009 16:23:36
Time spent in user mode 0 Days 0:0:0.62
Time spent in kernel mode 0 Days 0:0:0.0
Function Arg 1 Arg 2 Arg 3 Source
php5ts!guess_timezone+1d 10399408 001b1518 00000001
php5ts!get_timezone_info+1b 001b1518 018ef258 00000003
php5ts!php_format_date+1b 10343128 0000000b 4a535a6a
php5ts!php_log_err+ad 019d26e0 001b1518 00c0faa0
php5ts!php_error_cb+375 00000020 103348f4 00000000
php5ts!zend_error+48a 00000020 103348a4 019df600
php5ts!php_verror+554 00000000 103347c8 00000020
php5ts!php_error_docref0+23 00000000 001b1518 00000020
php5ts!php_load_extension+13f 019d2070 00000001 00000000
php5ts!php_load_php_extension_cb+15 018f0e98 001b1518
105044a8
php5ts!zend_llist_apply+1c 10525d04 100b9c20 001b1518
php5ts!php_ini_register_extensions+25 001b1518 00c0fdcc
00000000
php5ts!php_module_startup+8d7 00405020 00000000 00000000
php!php_cli_startup+f 00405020 00000000 00000000
php!main+39b 00000002 001b14c8 001b1758
php!mainCRTStartup+e3 7ffd5000 00c0ffec 7706a9bd
kernel32!BaseThreadInitThunk+12 7ffd5000 00c029ba 00000000
ntdll!LdrInitializeThunk+4d 00402d78 7ffd5000 00000000
PHP5TS!GUESS_TIMEZONE+1DIn
php__PID__164__Date__07_07_2009__Time_04_23_38PM__747__Second_Chance_Exception_C0000005.dmp
the assembly instruction at php5ts!guess_timezone+1d in C:\backtrace
php\php5ts.dll from The PHP Group has caused an access violation
exception (0xC0000005) when trying to read from memory location
0x080274d8 on thread 0
Module Information
Image Name: C:\backtrace php\php5ts.dll Symbol Type: PDB
Base address: 0x10000000 Time Stamp: Mon Jun 29 22:24:07 2009
Checksum: 0x00000000 Comments:
COM DLL: False Company Name: The PHP Group
ISAPIExtension: False File Description: PHP Script Interpreter
ISAPIFilter: False File Version: 5.3.0
Managed DLL: False Internal Name: PHP Script Interpreter
VB DLL: False Legal Copyright: Copyright © 1997-2009 The PHP Group
Loaded Image Name: php5ts.dll Legal Trademarks: PHP
Mapped Image Name: C:\backtrace php\php5ts.dll Original filename:
php5ts.dll
Module name: php5ts Private Build:
Single Threaded: False Product Name: PHP
Module Size: 5,44 MBytes Product Version: 5.3.0
Symbol File Name: C:\debug_pack\php5ts.pdb Special Build: &
------------------------------------------------------------------------
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
http://bugs.php.net/48832
--
Edit this bug report at http://bugs.php.net/?id=48832&edit=1
Thread (10 messages)