Re: Fwd: Segmentation fault on log
- From: Robert Pearce <rob bdt-home demon co uk>
- To: gtk-list gnome org
- Subject: Re: Fwd: Segmentation fault on log
- Date: Sun, 11 Feb 2007 23:34:10 +0000
On Sun, 11 Feb 2007, José Antonio Sánchez <getaceres gmail com> 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. |
] [Thread Prev