Re: [gtk-list] Re: ** ERROR **: sigsegc caught
- From: Nathan Whittacre <nwhit whittrio com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: ** ERROR **: sigsegc caught
- Date: Fri, 24 Apr 1998 02:56:23 -0700 (PDT)
On 23 Apr 1998, Owen Taylor wrote:
>
> Nathan Whittacre <nwhit@whittrio.com> writes:
>
> > I am new to Gtk, but not to Linux. I am just trying to get familiar with
> > the Gtk libraries by going through the tutorial, but every time I attempt
> > to run a Gtk program I get the error messages : **ERROR**: sigsegv caught
> >
> > I am running RedHat 5.0 with all the errata updates, Gtk+ version 1.0.0,
> > compiled version, not rpm. Kernel version 2.0.32, running X 3.3.2 and
> > Enlightenment 0.13.3. Any suggestions?
>
> Well, the first thing to check to see if the testgtk program
> that was built in the gtk/ subdirectory works. If it does, then
> it probably has something to do with the way you are entering
> or compiling the tutorial programs.
>
> It is also possible that you are running into a bug in GTK+,
> though it is known to work on similar configurations.
>
> If you are writing GTK+ programs, you should compile GTK+ with the
> --enable-debug option. That will often give more useful information
> than a simple segfault.
>
> You can get more information about where the segfault is occuring
> by running it under the debugger. At the risk of stating the
> obvious, this is done by:
>
> - compiling your program with the -g flag
> - running the program under gdb:
I did a little bit more research into it, and yes, testgtk does work. But
for some reason the tutorial programs do not still. They seem to segfault
at gtk_init(&argc, &argv) I am compiling like the tutorial explained with
the gtk-config --cflags / --libs ... ??? I am stumped.
Nathan Whittacre
nwhit@whittrio.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]