Re: Pango Errors



2009-03-04 klockan 00:28 skrev Matthew Allen:
> The errors are along the lines of:
> Pango-CRITICAL **: pango_fontset_foreach: assertion 'PANGO_IS_FONTSET (fontset)' failed.
> GLib-GObject-CRITICAL **: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed.
> 
> Is there a GDB trick to breaking on these sorts of errors so I can see the stack at that time?

Hi Matthew,

You usually have several options:

- Run the application with the --g-fatal-warnings option
- Set environment variables: G_DEBUG=fatal_warnings or G_DEBUG=fatal_criticals
- Make gdb break on the g_log function using "break g_log"

See http://library.gnome.org/devel/glib/unstable/glib-running.html for more
information.

    — Wouter

Attachment: signature.asc
Description: Digital signature



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