GNOME Bugzilla – Bug 115645
Crash when unloading Project Manager widget
Last modified: 2006-09-17 16:37:35 UTC
A crash happens in the value_removed_cb of the anjuta-tool.c file in the Anjuta2 project. This is however a gnome-build problem because it fails during an unref of the id="anjuta-project:ProjectTool" name="Project Manager" object (I assume Bonobo). From what I could gather the unref is happening in anjuta_tool_unload in the tools.c file from Anjuta2. The crash seems to be happening because the user_data field of value_removed_cb fails to cast to AnjutaTool (it is not NULL however). In my mind this could mean that the project manager filed to set itself as user data in the value_removed callback, the object has already been destroyed, or the object does not inherit or implement AnjutaTool as it should. These are only guesses as I do not have a deep knowledge of the codebase. Hope this report helps fix the bug.
I traced this bug even further to the value_removed_cb function in anjuta-tool.c. It seems the watch tool->priv->watches does not point to a valid address. Has it been nulled out properly? Is the watch destroyed somewhere else? -- J5
Marking this bug as obsolte! Anjuta2 does no longer exist and I could not find any problem with anjuta 2.0 (though unloading of the project manager is disabled there).