[9497] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: gtk_init wierdness

daemon@ATHENA.MIT.EDU (Johannes Keukelaar)
Thu Oct 22 09:30:20 1998

To: gtk-list@redhat.com
From: johannes@nada.kth.se (Johannes Keukelaar)
In-reply-to: Your message of "Thu, 22 Oct 1998 09:23:33 EDT."
             <199810221323.JAA05581@mousetrap.ml.org> 
Date: Thu, 22 Oct 1998 15:28:38 +0200
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

//I am writing a gtk program.  (I am using gtk 1.0.6)  Whenever I remove the
//"#ifdef ... #endif" from the below, the program crashes with the output,
//"Starting gtk...
//
//Error: *** Sigsegv caught."
//
//With the #ifdef in to remove the code, it works fine.  Both ways, the program
//compiles with no problems.  What could be going on?
//I've commented out all code that actually calls the function, and it looks
//correct.  I just don't get it.

The little bit of code that you supply below certainly shouldn't crash. Could 
there be other pieces of code that do get run? Either way, running a crashing 
application in a debugger is often very helpful.

Regards,

Johannes.
--
Fourth law of thermodynamics:
If the probability of success is not almost one, it is damned near zero.

Bibliovorous chocophiliac.


-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post