Closed Bug 205226 Opened 22 years ago Closed 18 years ago

g_object_unref() is called on an object that had only a floating reference

Categories

(Core Graveyard :: GFX: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME
mozilla1.4final

People

(Reporter: andre.bugs2, Assigned: blizzard)

References

Details

[Phoenix CVS, 2003-05-11] This bug happened with a GTK2 build of Mozilla Firebird, but I do not believe it is limited to that browser. On shutdown of Mozilla Firebird I saw this message: (phoenix-bin:526): Gtk-WARNING **: A floating object was finalized. This means that someone called g_object_unref() on an object that had only a floating reference; the initial floating reference is not owned by anyone and must be removed with gtk_object_sink() after a normal reference is obtained with g_object_ref(). The places where g_object_unref is called are: accessible/src/atk/nsAccessibleWrap.cpp: g_object_unref(mMaiAtkObject); accessible/src/atk/nsMaiHyperlink.cpp: g_object_unref(mMaiAtkHyperlink); widget/src/gtk2/mai/nsMaiAppRoot.cpp: g_object_unref(toplevel->GetAtkObject() ); widget/src/gtk2/mai/nsMaiCache.cpp: g_object_unref(maiObj->GetAtkObje ct()); widget/src/gtk2/mai/nsMaiCache.cpp: g_object_unref(tmpMaiObj->GetAtkObjec t()); widget/src/gtk2/mai/nsMaiInterfaceHypertext.cpp: g_object_unref(G_OBJECT( mMaiHyperlink->GetAtkHyperlink())); widget/src/gtk2/mai/nsMaiInterfaceHypertext.cpp: g_object_unref(G_OBJECT( mMaiHyperlink->GetAtkHyperlink())); widget/src/gtk2/mai/nsMaiTopLevel.cpp: g_object_unref(oldMaiObj-> GetAtkObject()); widget/src/gtk2/mai/nsMaiTopLevel.cpp: g_object_unref(newMaiObj-> GetAtkObject()); widget/src/gtk2/mai/nsMaiTopLevel.cpp: g_object_unref(childMaiObject- >GetAtkObject()); widget/src/gtk2/mai/nsMaiTopLevel.cpp: g_object_unref(pMaiObject->GetAtkO bject()); widget/src/gtk2/mai/nsMaiUtil.cpp: g_object_unref(sRootAccessible->GetAtk Object()); widget/src/gtk2/mai/nsMaiUtil.cpp: g_object_unref(mai_top_level->GetAtkObject ()); widget/src/gtk2/nsWindow.cpp: g_object_unref(mDrawingarea); widget/src/gtk2/nsWindow.cpp: g_object_unref(G_OBJECT(icon)); widget/src/gtk2/nsWindow.cpp: g_object_unref(G_OBJECT(mIMContext));
Yeah, I've seen this too. I suspect it's a result of the theme checkin.
Blocks: gtk2
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.4final
I don't remember seeing this particular Gtk warning. Please REOPEN if it still occurs in a recent trunk build: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ -> WORKSFORME
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.