1 Sep 10:06
Re: Segfaults
Hi Piotras,
--On 2004-09-01 00:23 +0200 Piotras wrote:
> The source of last reported segfaults ( and more not reported yet )
> is zend_register_list_destructors_ex called in PHP_MINIT_FUNCTION.
>
> static void _midgard_list_fetch_dtor(zend_rsrc_list_entry * rsrc)
> {
> midgard_res * res = (midgard_res*)rsrc->ptr;
> // here we get random garbage from Zend (perk...e!)
> if (res != NULL) mgd_release(res);
> }
>
> Looks like rscr struct passess some garbage which is not NULL so there
> is no easy way to check it in mgd_release or even earlier.
> If someone may confirm , please report. If this is true , we have
> quite huge work to do.
Some more things I was able to narrow it on:
It definitly is no specific Midgard Call that causes the segfault.
Instead, I'm 99% certain, that the Midgard request we are talking about
is actually processed up to its end.
What all requests I observed this morning had in common is this:
1. The request is processed
2. Everything looks fine until the last line I have, which is a debug
(Continue reading)
Cheers
Mike.
-----Original Message-----
From: Torben Nehmer [mailto:
RSS Feed