Re: Fwd: Segmentation fault on log

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

 



On Sun, 11 Feb 2007, José Antonio Sánchez <getaceres@xxxxxxxxx> wrote :
>Having diferent threads making logging could trigger this? or is it
>only triggered with g_debug("Somethig recursive: %s",rec(z)) where
>rec(z) is something that has a debug inside?

I'm not really a GTK expert, but my money would be on the former.

In the latter case, at least with your example, I don't believe that 
would cause it. The reason being that it doesn't cause rec(z) to get 
called _during_ the outer g_debug but rather _before_ it. The compiler 
will evaluate all arguments of a function call before calling the 
function with the results.
-- 
Rob Pearce                       http://www.bdt-home.demon.co.uk

The contents of this | Windows NT crashed.
message are purely   | I am the Blue Screen of Death.
my opinion. Don't    | No one hears your screams.
believe a word.      |
_______________________________________________
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