After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 115645 - Crash when unloading Project Manager widget
Crash when unloading Project Manager widget
Status: RESOLVED OBSOLETE
Product: gnome-build
Classification: Deprecated
Component: controls
unspecified
Other Linux
: Normal critical
: ---
Assigned To: gnome-build Maintainers List
gnome-build Maintainers List
Depends on:
Blocks:
 
 
Reported: 2003-06-20 23:03 UTC by John (J5) Palmieri
Modified: 2006-09-17 16:37 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description John (J5) Palmieri 2003-06-20 23:03:30 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.
Comment 1 John (J5) Palmieri 2003-07-07 00:42:42 UTC
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
Comment 2 Johannes Schmid 2006-09-17 16:37:35 UTC
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).