Re: shutdown_memory_manager and resource handling
| From: | Thies C. Arntzen | Date: | Thu, 14 Aug 2003 13:20:53 +0000 |
| Subject: | Re: shutdown_memory_manager and resource handling | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3932@lists.php.net to get a copy of this message | ||
On Thu, Aug 14, 2003 at 09:03:05AM -0400, Justin Hannus wrote:
> > do you use any shared php extensions by any chance?
>
> Yes, I'm developing an extension to wrap Apple's OpenDirectory API (reffer
> to my first post). Thats the only shared extension that I'm using.
>
>
if you have a mem-leak in your extension it will be printed
at script-shutdown, but as your extension has already been
unloaded by the engine this will segfault.
so - just try to build your extension static into php, debug
it and build it shared once you have no leaks left....
re,
tc
--
Thies C. Arntzen - Looking for all sorts of freelance work - just ask..
http://www.amazon.de/exec/obidos/wishlist/AB9DY62QWDSZ