Re: [Epiphany] confused - debug works, non-debug doesn't
- From: Marco Pesenti Gritti <marco gnome org>
- To: Christian Persch <chpe stud uni-saarland de>
- Cc: epiphany devel list <epiphany mozdev org>
- Subject: Re: [Epiphany] confused - debug works, non-debug doesn't
- Date: Sat, 11 Oct 2003 12:42:32 -0400
> 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.
Right it could be that. We should not assume there is an icon, assertion should
become if () g_warning there, or something.
Marco
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]