Re: win32 crash on startup
| From: | Markus Fischer | Date: | Sat, 15 Sep 2001 14:41:01 +0000 |
| Subject: | Re: win32 crash on startup | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-47@lists.php.net to get a copy of this message | ||
and, btw, its the debug build only.
- Markus
On Sat, Sep 15, 2001 at 04:20:58PM +0200, Markus Fischer wrote :
> With current CVS (both PHP and PHP-GTK) I get the following crash
> as soon as php_gtk.dll calls gtk_init_check(). I think writing
> down the error messages from the error box isn't useful anyway.
> Here is the call stack:
>
> MSVCRT! 780280f7()
> GDK-1.3! 014914ea()
> GTK-1.3! 012ba1a9()
> GTK-1.3! 012ba783()
> init_gtk() line 96 + 15 bytes
> php_gtk_xinit_gtk_plus(int 13, void * * * 0x00dd1c90) line 151
> php_gtk_startup_extension(_php_gtk_ext_entry * 0x01223120 _gtk_plus_ext_entry, int 13) line 144
> + 16 bytes
> php_gtk_startup_extensions(_php_gtk_ext_entry * * 0x0121eb04 _php_gtk_extensions, int 1, int
> 13) line 163 + 15 bytes
> php_gtk_startup_all_extensions(int 13) line 42 + 16 bytes
> zm_activate_gtk(int 2, int 13, void * * * 0x00dd1c90) line 90 + 9 bytes
> php_dl(_zval_struct * 0x00edbf50, int 2, _zval_struct * 0x00edc000, void * * * 0x00dd1c90) line
> 185 + 23 bytes
> zif_dl(int 1, _zval_struct * 0x00edc000, _zval_struct * 0x00000000, int 0, void * * *
> 0x00dd1c90) line 78 + 21 bytes
> execute(_zend_op_array * 0x00edbbe8, void * * * 0x00dd1c90) line 1590 + 47 bytes
> zend_execute_scripts(int 8, void * * * 0x00dd1c90, _zval_struct * * 0x00000000, int 3) line 809
> + 34 bytes
> php_execute_script(_zend_file_handle * 0x0012ff48, void * * * 0x00dd1c90) line 1310 + 27 bytes
> main(int 1, char * * 0x00dd1cd0) line 737 + 14 bytes
> mainCRTStartup() line 338 + 17 bytes
> KERNEL32! 77e87d08()
>
> I'm running the debug build, php.exe NOT php_win.exe. You'll
> probabely say its a GTK+ win32 problem but I didn't had this
> problem so far.
>
> I also get a 'Debug Assertion Failed' when running
> 'php.exe -f file_exists_or_not.php':
>
> ---8<----
> Debug Assertion Failed!
>
> Program: c:\php4\php.exe
> File: dbgheap.c
> Line: 1011
> Expression: _CrtIsValidHeapPointer(pUserData)
> ----8<-----
>
> The particular note in this source file is:
>
> /*
> * If this ASSERT fails, a bad pointer has been passed
> * in. It may be
> * totally bogus, or it may have been allocated from
> * another heap.
> * The pointer MUST come from the 'local' heap.
> */
> _ASSERTE(_CrtIsValidHeapPointer(pUserData));
>
> - Markus
>
> --
> PHP-GTK Development Mailing List (http://gtk.php.net/)
> To unsubscribe, e-mail: php-gtk-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Markus Fischer, http://guru.josefine.at/~mfischer/
EMail: mfischer@guru.josefine.at
PGP Public Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0
-All your scripts are belong to Zend-