[g-a-devel]Re: at-spi segfaulting



Hi Marc,

On Thu, 2002-02-21 at 09:15, Marc Mulcahy wrote:
> At line 139 of registryd/desktop.c, there is a check:
> 
> g_return_if_fail (SPI_IS_DESKTOP(app->desktop));
> 
> This normally just prints a warning and returns as expected, but 
> occasionally segfaults.  The debugger doesn't give many useful hints, it 
> traces into BONOBO_TYPE_FUNC_FULL, but doesn't reveal much after that.

	It should never print a warning, that looks like we're getting a double
emission of the 'broken' signal on that connection which sounds broken.

> Not sure why app->desktop isn't a desktop, but in the first place...

	It's been freed, I imagine, add a memset (app, 0xaa, sizeof
(Application)); in spi_desktop_remove_application before the free - we
should have one for future debugging ease.

	So - somehow the listen/unlisten is not working correctly which is
annoying, possibly an ORB issue; hmm.

	Regards,

		Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]