Re: Understanding failed assertions

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

 



17.12.09, 23:11, "Vikram Noel Ambrose" <noel.ambrose@xxxxxxxxx>:
> Obviously the sample program is not functionally complete, but I cannot 
> understand what causes these messages and how to rectify the problem.
> Does anyone know whats going on?

Try passing --g-fatal-warnings to your executables -- it causes abort()
on such warnings, so you can see backtrace.

$ gdb --args ./a.out --g-fatal-warnings

(in my experience, those warnings, although non-fatal by default, only
appeared when i did something wrong)

--------------

GtkTreeIter iter;
..
if(&iter==NULL)return; // :) always false; iter is on stack!

Checking return value of gtk_tree_selection_get_selected() solves
problem on my box.

-- 
Artur
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux