debugging Gtk-WARNING **: Invalid input string



Hello,

I'm trying to track down the source of the warning in the subject line. So I ran my program in the debugger and used the --g-fatal-warnings command line argument to my program. Running gives:

Gtk-WARNING **: Invalid input string
aborting...

Program received signal SIGABRT, Aborted.
0x0000000160a383c8 in kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0x0000000160a383c8 in kill () from /usr/lib/libc.so.12
#1  0x0000000160ad83b4 in abort () from /usr/lib/libc.so.12
#2  0x00000001607c084c in g_logv () from /usr/pkg/lib/libglib-2.0.so.0
#3  0x00000001607c08a0 in g_log () from /usr/pkg/lib/libglib-2.0.so.0
#4 0x00000001602fc6f0 in gtk_label_get () from /usr/pkg/lib/libgtk-x11-2.0.so.0 #5 0x00000001602f9ddc in gtk_label_get_mnemonic_keyval () from /usr/pkg/lib/libgtk-x11-2.0.so.0

and nothing else on the stack. What I don't understand is, shouldn't I see some of my code further down on the stack?

Any suggestions on how to debug this short of inserting a pile of printf's and trying to isolate it that way?

Thanks

-Dan



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