FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP 5.3.3 Crashes on Win7
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP 5.3.3 Crashes on Win7 [message #169965 is a reply to message #169957] Sat, 02 October 2010 06:28 Go to previous messageGo to previous message
Bob Smith is currently offline  Bob Smith
Messages: 11
Registered: October 2010
Karma:
Junior Member
On 10/1/2010 5:29 PM, Bob Smith wrote:
> Running version 5.3.3 (cli) on Win7/64 runs well from the cmd.exe line
> after a virgin install.
>
> Including ANY DLL in the [PHP] section of the php.ini file even if it
> doesn't exist (e.g. extension=php_foo.dll) crashes PHP (e.g. php
> --version) in php5ts.dll as in

FWIW, I cranked up a debugger and, using the Debug Pack, found this as
the call stack at the point of the error:

--- d:\php-sdk\snap_5_3\vc9\x86\php-5.3.3\ext\date\php_date.c
------------------

php5ts.dll!guess_timezone() Line 844 + 0xc bytes C

php5ts.dll!get_timezone_info(void * * * tsrm_ls=0x02423d70) Line 939 +
0x1e bytes C

php5ts.dll!php_format_date(char * format=0x10383cc0, int format_len=11,
long ts=1285984881, int localtime=1, void * * * tsrm_ls=0x02423d70)
Line 1190 C

php5ts.dll!php_log_err(char * log_message=0x028f2610, void * * *
tsrm_ls=0x02423d70) Line 584 C

php5ts.dll!php_error_cb(int type=32, const char *
error_filename=0x1036d964, const unsigned int error_lineno=0, const char
* format=0x1036d9dc, char * args=0x00c0fae8) Line 1002 C

php5ts.dll!zend_error(int type=32, const char * format=0x1036d9dc, ...)
Line 1020 + 0x17 bytes C

php5ts.dll!php_verror(const char * docref=0x00000000, const char *
params=0x10540317, int type=32, const char * format=0x10425374, char *
args=0x00c0fb58, void * * * tsrm_ls=0x02423d70) Line 806 C

php5ts.dll!php_error_docref0(const char * docref=0x00000000, void * * *
tsrm_ls=0x02423d70, int type=32, const char * format=0x10425374, ...)
Line 817 + 0x23 bytes C

php5ts.dll!php_load_extension(char * filename=0x028f2070, int type=1,
int start_now=0, void * * * tsrm_ls=0x02423d70) Line 152 + 0x17 bytes C

php5ts.dll!php_load_php_extension_cb(void * arg=0x030d0638, void * * *
tsrm_ls=0x02423d70) Line 350 + 0x15 bytes C

php5ts.dll!zend_llist_apply(_zend_llist * l=0x10565828, void (void *,
void * * *)* func=0x100c6b60, void * * * tsrm_ls=0x02423d70) Line 193 +
0x7 bytes C

php5ts.dll!php_ini_register_extensions(void * * * tsrm_ls=0x02423d70)
Line 726 C

php5ts.dll!php_module_startup(_sapi_module_struct * sf=0x00406010,
_zend_module_entry * additional_modules=0x00000000, unsigned int
num_additional_modules=0) Line 2022 C

php.exe!php_cli_startup(_sapi_module_struct * sapi_module=0x00406010)
Line 401 + 0xf bytes C

php.exe!main(int argc=1, char * * argv=0x02423c90) Line 775 + 0x1a
bytes C

php.exe!__tmainCRTStartup() Line 586 + 0x17 bytes C
kernel32.dll!76873677()

[Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]

ntdll.dll!771f9d42()

ntdll.dll!771f9d15()

The most recent routine is at the top. Apparently, PHP encountered an
error while attempting to load a DLL (php_foo.dll) because a bad ptr was
passed to the topmost function. The exact same error occurs when trying
to load an existing DLL (php_ssh2.dll).

Can someone familiar with the innards of PHP take it from here?

--
_________________________________________
Bob Smith -- bsmith(at)sudleydeplacespam(dot)com

To reply to me directly, delete "despam".
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is PHP solution for web scripts?
Next Topic: Inserting into associative array
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 09:35:54 GMT 2024

Total time taken to generate the page: 0.04436 seconds