GTK+ Error "Xlib: unexpected async reply (sequence 0xb9)!"

GTK+ Error "Xlib: unexpected async reply (sequence 0xb9)!"

Post by b.. » Tue, 09 Oct 2001 16:51:43



Hi everybody,
I have been developping an image displaying application  using GTK+ on
Linux OS Kernel 2.4.5.
But I had an error pretty many times as below:

Xlib: unexpected async reply (sequence 0xb9)!

Sometimes the program works fine, sometimes had errors.

I do not think the error comes from image-related widgets by itselves.
Rather, the image-related widgets conflict with gtk_main().
When I insert sleep(10) function between function including
image-related widgets
and gtk_main(), then the program works without any problem during 10
seconds.

I did not have this kind of problem with Xtool kits.
Actually, I developped the program with simple Xtool kit widgets and now
I am building the GUI with GTK+.

What should I do to get the error?

Regards,
bkna

 
 
 

GTK+ Error "Xlib: unexpected async reply (sequence 0xb9)!"

Post by Robert Olofss » Tue, 09 Oct 2001 17:53:48


: Xlib: unexpected async reply (sequence 0xb9)!
: ....
: Sometimes the program works fine, sometimes had errors.

Are your program using multiple threads?
If so, you have to synchronize the threads with gtk_main...

There is a section in the GTK+ FAQ that you can read about it.

/robo
******************************************************************************

Flygk?rsv 5,1   *                      *          use the force."
183 62 T?by             * tel: 08-732 71 39    *                   /Obi-Wan-Kenobi
Sweden           * http://www.nada.kth.se/~d94-rol    
******************************************************************************

 
 
 

1. "Xlib: unexpected async reply" error.

Since we install patch (HP9000) to upgrade to Motif 1.2.2, this error occur
very often with my Motif applacation.

Do I need another patch??

Thanks

----------------------------------------------------------------------

--
--------------------------------------------------------------------------------
Stephane Proulx                                           Voice: (514)283-1153
Programmeur-Analyste                                        FAX: (514)283-1131
Mail: Cannot receive E-Mail (Router Config!!!)
--------------------------------------------------------------------------------

2. A problem with INN news server

3. Xlib: unexpected async reply ?

4. is changing a partition's name as simple as editing vfstab?

5. Xlib: unexpected async reply recieved

6. Linux died...problems, problems, problems....

7. Ksnuffle startup error- Xlib: extension "RENDER" missing on display ":0.0".

8. Linux HOWTO Index (part 1/1)

9. GETSERVBYNAME()????????????????????"""""""""""""

10. HELP: Strange "Xlib: sequence lost" problem with remote client.

11. High-Res-Timers: Unexpected "lock" during "Calibrating delay loop "

12. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""