Re: g_log_set_fatal_mask () does not appear to be present
- From: Richard Shann <richard rshann plus com>
- To: gtk-app-devel-list gnome org
- Subject: Re: g_log_set_fatal_mask () does not appear to be present
- Date: Wed, 26 Sep 2018 08:56:20 +0100
Date: Sun, 09 Sep 2018 20:21:54 +0100
From: Richard Shann <richard rshann plus com>
To: gtk-app-devel-list gnome org
Subject: g_log_set_fatal_mask () does not appear to be present
Message-ID: <1536520914 1394 1 camel rshann plus com>
Content-Type: text/plain; charset="UTF-8"
I used to callĀ
g_log_set_fatal_mask ()
via gdb to catch the place where critical errors happen. But now I
get
(gdb) call g_log_set_fatal_mask ("Gtk", 0xFFFF)
No symbol "g_log_set_fatal_mask" in current context.
I've been trying to dig deeper into this (guessing that
g_log_set_fatal_mask may have become a macro or something) and find
that I can call it after gtk_init_check() from within the program
without a compile time error, but the program still does not stop on
errors.
Indeed
g_print ("Error level was %x\n", g_log_set_fatal_mask (NULL, -1));
g_print ("Error level now %x\n", g_log_set_fatal_mask (NULL, -1));
prints out 0x5 as the initial setting of the mask and 0xfffffffd
as the setting after setting to -1
but I then can trigger a slew of
(denemo:1717): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion
'size >= 0' failed in GtkScrollbar
errors without the program stopping.
Is there something involving threads here?
Richard Shann
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]