Re: Xlib : sequence lost (0x1718e > 0x71a0) in reply to 0x0!

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

 



Hi
   thanks for replying quickly


     What do you mean by separate display  connections" ?
     The case is this :

    I mean a display connection returned by XOpenDisplay.
Thanks

>>   u have given a good suggestion but I dont understand if the
>>     pausing thread block any other thread trying to use the
>>    Xlib with the same display connection then why it is working
>>     fine sometimes .
>> Thanks
>
> that's life debugging and problems with threads. mostly you might be lucky
> and
> the threads don't clash and it HAPPENS to work - by sheer luck. when they
> do
> clash you end up with these "weird problems that happen sometimes" - ie
> concurrency/locking issues.
>
>>  Separate threads either need to use separate display
>> > connections or you need to enable thread mutexes for a shared
>> > connection (XInitThreads will enable Xlib's internal mutexes).
>> > Note still, that pausing a thread while it's in Xlib can block
>> > any other threads also trying to use Xlib with the same display
>> > connection.  You'd want to use separate display connections
>> > for that.
>> >
>> > 			Mark.
>> >
>> > On Tue, 31 Jan 2006 niranjan@xxxxxxxxxxxxxxxxx wrote:
>> >
>> >>  Hi to all
>> >>
>> >>
>> >> Iam building an kde Application When  I pause the current pthread and
>> >>       invoke an dialog in another thread the following error is
>> coming .
>> >>
>> >> Xlib : unexpected async reply
>> >> Xlib :    sequence lost (0x1718e > 0x71a0) in reply to 0x0!
>> >> X Error : BadImplementation (server does not implement opertaion) 17
>> >>     Major opcode : 20
>> >>     MInor opcode : 0
>> >>     Resource id  : 0x759d1
>> >> The error is coming randomly , not always .
>> >>   Can any will help how to come out of this error .
>> >>
>> >>
>> >>  Thanks
>> >> _______________________________________________
>> >> 
>> >> Devel@xxxxxxxxxxx
>> >> http://XFree86.Org/mailman/listinfo/devel
>> >>
>> > _______________________________________________
>> > 
>> > Devel@xxxxxxxxxxx
>> > http://XFree86.Org/mailman/listinfo/devel
>> >
>>
>> _______________________________________________
>> 
>> Devel@xxxxxxxxxxx
>> http://XFree86.Org/mailman/listinfo/devel
>>
>
>
> --
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler)    raster@xxxxxxxxxxxxx
> 裸好多
> Tokyo, Japan (東京 日本)
> _______________________________________________
> 
> Devel@xxxxxxxxxxx
> http://XFree86.Org/mailman/listinfo/devel
>

_______________________________________________

Devel@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [X Forum]     [XFree86]     [XFree86 Newbie]     [X.Org]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux