Re: Crash Hunting
| From: | Wez Furlong | Date: | Thu, 07 Jul 2005 12:56:31 +0000 |
| Subject: | Re: Crash Hunting | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-2561@lists.php.net to get a copy of this message | ||
Build a debug build of PHP yourself, and build your extension along with that.
Instructions at:
http://viewcvs.php.net/viewcvs.cgi/php-src/README.WIN32-BUILD-SYSTEM?rev=HEAD&content-type=text/vnd.viewcvs-markup
Suggested practice is to check out pecl alongside the PHP sources, and
then put your extension in a directory under pecl; buildconf will pick
up your config.w32 from there.
--Wez.
On 7/7/05, Markus Duft <markus.duft@chello.at> wrote:
> Hey there!
>
> Got a question again...
>
> In my Extension i call a loop function (Windows Message Loop). Everythings goes fine, and the
> function
> works as expected, and returns correct values. After the function returns, i just echo that
> everything went ok, and then the script ends. (with ?>) at this point (while quitting) the whole
> thing crashes. I just don't know why!
>
> Execution never reaches my ZEND_MSHUTDOWN_FUNCTION, so i really don't know where it
> crashes.
> Since i'm working on Windows (uh oh ;o)) i can't debug the thing, because i
> don't know how i can attach the MSVS 2005 debugger to php and still have all debug symbols
> loaded correctly... it simply doesn't work.
>
> Any comments appreciated ;o)
>
> Thanks in Advance,
> Markus
>