Xlib: unexpected async reply



Hi, it's me again... now a bit embarrassed....

I found the problem after more and more debugging.
The read_data_from_file() function was a function with variable number of
parameters implemented with va_list...
Due to a stupid mistake this function did not return when a certain number
of parameters was passed and then the function run into an infinite loop.

So I suppose that the message queue of Xlib was overflowed in some way.

Well, I hope this is helpful for someone with a similar problem :)

Best regards!



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