Re: [Epiphany] confused - debug works, non-debug doesn't



Hi,

On Sat, 2003-10-11 at 09:35, mike wrote:
> Hi I reported bug where epi crashes on every second link (non-debug
> build)
> 
> So I thought I  would be a good citizen (as  I've now tripled my HD
> space) and do a full debug build of gtk/gnome, so I can do a proper
> stack-trace.
> 
> only problem, after rebuilding gnome with debug on , the problem has
> stopped.
> 
> The question is, anyone any idea why I should get a crash without
> debugging on, but not with

For me, with a debug build, I see two warnings on the console for every
page load after the first one, from gobject:
GLib-GObject-CRITICAL **: file gobject.c: line 1289 (g_object_ref):
assertion `G_IS_OBJECT (object)' failed
They stem from

	g_return_val_if_fail (G_IS_OBJECT (object), NULL);

in g_object_ref(). Your were probably previously using a build which was
compiled without any debug settings, in which g_return_[val_]_if_fail:s
generate no code -> crash. In debug builds however, they make the
function return early -> no crash, but possibly borked behaviour of the
program or a crash later on, somewhere else in the program.

Now to the cause for those warnings -- it's this warning from before:
WARNING **: Web browser gnome icon not found
which I think come from a gtk+ bug, #123365.

Regards,
	Christian




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