G_DEBUG=fatal_warnings gdb --args foo.binary arg1 arg2
in gdb, it will crash at some point and if you compiled your program
with -g or -ggdb the `backtrace` command will give you some meaningful
information
For more see:
https://developer.gnome.org/glib/stable/glib-running.html
On Mon, 2014-02-17 at 16:44 +0800, Wiky wrote:
Hi,all. I'm currently writing a program based Gtk+-3.0.
When it runs, I get '(a.out:10874): Gtk-WARNING **: Failed to ...' in the
terminal.
I know the problem is about GtkLabel, but I really don't know which GtkLabel.
Is there a way to locate
On 17.02.2014 10:36, Marco Scannadinari wrote:
On Mon, 2014-02-17 at 16:44 +0800, Wiky wrote:
Hi,all. I'm currently writing a program based Gtk+-3.0.
When it runs, I get '(a.out:10874): Gtk-WARNING **: Failed to ...' in the
terminal.
I know the problem is about GtkLabel, but I really don't
On Mon, Feb 17, 2014 at 04:44:53PM +0800, Wiky wrote:
Hi,all. I'm currently writing a program based Gtk+-3.0.
When it runs, I get '(a.out:10874): Gtk-WARNING **: Failed to ...' in the
terminal.
I know the problem is about GtkLabel, but I really don't know which GtkLabel.
Is there a way to
On 02/17/2014 03:44 AM, Wiky wrote:
Hi,all. I'm currently writing a program based Gtk+-3.0.
When it runs, I get '(a.out:10874): Gtk-WARNING **: Failed to ...' in the
terminal.
I know the problem is about GtkLabel, but I really don't know which GtkLabel.
Is there a way to locate the line