Problem with Pthreads and GTK+



Hi,

I am having problems running GTK+-1.2.2 programs when compiled with the
gthread libraries and cflags.
I often get

Gdk-ERROR **: an x io error occurred
aborting...
IOT trap/Abort

when the programs is run, but sometimes it takes a few button presses to

get it to fail with the same message.
I am using libc-5.4.44 and linuxthreads-0.71 on a Slackware 3.5 Linux
distribution.

The same programs run fine when the gthread options are not included. I
have not included code that will cause this problem but the
gtk+-1.2.2/examples/helloworld/helloworld.c program will fail when
compiled with

$(CC) `gtk-config --cflags gthread`  helloworld.c -o helloworld
`gtk-config --libs gthread`

Somebody please help!

Scott Thomson





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