Re: gtk2 Segmentation faults
- From: Kristian Peters <kristian peters korseby net>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-list gnome org
- Subject: Re: gtk2 Segmentation faults
- Date: Sun, 17 Mar 2002 23:00:00 +0100
Owen Taylor <otaylor redhat com> wrote:
> Is your system Red Hat 7.2 in other ways?
No. I applied updates from errata only.
> Porbably something to do with config files or the set of files in your packages. Maybe you could try the i386.rpm 
> from ftp.gtk.org; they are built against 7.2 with almost exactly the SRPMs as the ones in rawhide. (They
> have debugging information, however.)
> 
>  * As Sven says, is anything printed on the console?
>  * If you do a backtrace, where is it crashing?
$ ./test 
Segmentation fault
^^^ immediately after the first gtk-command. 
#include <gtk/gtk.h>
 int main( int   argc,
           char *argv[] )
 {
     printf("1\n");
     GtkWidget *window;
     printf("2\n");
[...]
reveals:
$ ./test 
1 
Segmentation fault
No matter what gtk-statement I use.
> If you are using Xft, the problem may be a bug in XFree86-4.1; upgrading to 4.2 is really necessary to use
> Xft fonts.
No I'm not using Xft fonts.
I'll download the packages from gtk.org. But I have a slow modem connection. ;-(
*Kristian
  :... [snd.science] ...:
 ::
 :: http://www.korseby.net
 :: http://gsmp.sf.net
  :..........................:
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]