problems running gtk on a SGI



I ran into some problems with gtk 0.99.8 and gimp 0.99.22.
The gtk errors and crashes happen on an SGI 6.2 IRIX box.
The text of these problems is included below.

Mo DeJong
dejong@cs.umn.edu
gimme multimedia group



there are a lot of warnings about redefined constants (in every compiled
file).


make all-recursive
make[1]: Entering directory `/tmp/mo/gtk'
Making all in glib
make[2]: Entering directory `/tmp/mo/gtk/glib'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -g -O2 -Wall -c garray.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -Wall -c -DPIC garray.c
In file included from /opt/gnu/lib/gcc-lib/mips-sgi-irix5.3/2.7.2/include/limits.h:112,
                 from /opt/gnu/lib/gcc-lib/mips-sgi-irix5.3/2.7.2/include/syslimits.h:7,
                 from /opt/gnu/lib/gcc-lib/mips-sgi-irix5.3/2.7.2/include/limits.h:11,
                 from glib.h:65,
                 from garray.c:19:
/usr/include/limits.h:227: warning: `DBL_MAX' redefined
/opt/gnu/lib/gcc-lib/mips-sgi-irix5.3/2.7.2/include/float.h:63: warning: this is the location of the previous definition
/usr/include/limits.h:228: warning: `DBL_MIN' redefined
/opt/gnu/lib/gcc-lib/mips-sgi-irix5.3/2.7.2/include/float.h:54: warning: this is the location of the previous definition
/usr/include/limits.h:231: warning: `FLT_MAX' redefined
/opt/gnu/lib/gcc-lib/mips-sgi-irix5.3/2.7.2/include/float.h:35: warning: this is the location of the previous definition
/usr/include/limits.h:232: warning: `FLT_MIN' redefined
/opt/gnu/lib/gcc-lib/mips-sgi-irix5.3/2.7.2/include/float.h:26: warning: this is the location of the previous definition
ln -s garray.o garray.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -g -O2 -Wall -c gcache.c


the libs still compiled but these warnings made it ugly.






I get the error "** ERROR **: sigsegv caught" when I click on the
"color selection" button in testgtk.

The same things happens in "cursors"

when I open the dnd window I get these errors.

** WARNING **: file gtkpixmap.c: line 83 (gtk_pixmap_new): "val != NULL"

** WARNING **: file gtkfixed.c: line 126 (gtk_fixed_put): "widget != NULL"

** WARNING **: file gtkwidget.c: line 1228 (gtk_widget_show): "widget != NULL"

** WARNING **: file gtkpixmap.c: line 83 (gtk_pixmap_new): "val != NULL"

** WARNING **: file gtkfixed.c: line 126 (gtk_fixed_put): "widget != NULL"

** WARNING **: file gtkwidget.c: line 1228 (gtk_widget_show): "widget != NULL"

** WARNING **: file gtkpixmap.c: line 83 (gtk_pixmap_new): "val != NULL"

** WARNING **: file gtkfixed.c: line 126 (gtk_fixed_put): "widget != NULL"

** WARNING **: file gtkwidget.c: line 1228 (gtk_widget_show): "widget != NULL"


then a small (about 100 x 100 pixels) empty square shows up on
the screen. I can drag this box around but it does not seem to do anything.

I can grab another box off the "Drag me!" (it is the same empty square) button
an drop it in the "To" button and the dialog comes up. But if I drag two
of these boxes and bring up two dialogs I get this message when closing
the dialog box.

** WARNING **: file gtkwidget.c: line 1189 (gtk_widget_destroy): "widget != NULL"





the entry button gives the same sigsegv caught message.

the file selection button gives the same sigsegv caught message.


In the "Handle box test" the drag in and out of the window works
but the Icons for the folder do not show up.


the notebook button gives the same sigsegv caught message.




the pixmap test does not show the pixmap (only the text is there).
It gives these errors.

** WARNING **: file gtkpixmap.c: line 83 (gtk_pixmap_new): "val != NULL"

** WARNING **: file gtkcontainer.c: line 313 (gtk_container_add): "widget != NULL"

** WARNING **: file gtkwidget.c: line 1228 (gtk_widget_show): "widget != NULL"



the "shapes" button shows three of the same empty squares from the dnd test.



the spinbutton button gives the same sigsegv caught message.


When a selection is made in "test selection" mode and then the 
"GetTargets" button is pressed this error message shows up.

Selection "TARGETS" was not returned as atoms!




in the text test only the string "And even colored text" at the end
of the test shows up. The entire gpl and the bg image is missing.




the sigsev shows up in the "toolbar" test.

** WARNING **: file gtkpixmap.c: line 83 (gtk_pixmap_new): "val != NULL"

** WARNING **: file gtkpixmap.c: line 83 (gtk_pixmap_new): "val != NULL"

** WARNING **: file gtkpixmap.c: line 83 (gtk_pixmap_new): "val != NULL"

** WARNING **: file gtkpixmap.c: line 83 (gtk_pixmap_new): "val != NULL"

** WARNING **: file gtkpixmap.c: line 83 (gtk_pixmap_new): "val != NULL"

** WARNING **: file gtkpixmap.c: line 83 (gtk_pixmap_new): "val != NULL"

** WARNING **: file gtkpixmap.c: line 83 (gtk_pixmap_new): "val != NULL"

** WARNING **: file gtkpixmap.c: line 83 (gtk_pixmap_new): "val != NULL"

** WARNING **: file gtkpixmap.c: line 83 (gtk_pixmap_new): "val != NULL"

** ERROR **: sigsegv caught




the tree test exits with a sigsegv caught message.


I ran these same tests on linux and sun builds and they worked just fine.

I also noticed that the testgtk "reparent" example did not work
properly on my linux box. On the sun box the window jumps from
one window to the next but on the linux box the "hello world"
message stays in the "Frame 1" window and a copy shows up in the
"Frame 2" window. The linux is a 2.0.30 intel box.



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