On 07/04/11 14:21, Rainer Rinke wrote:
> my FLTK (Linux)application crashes with the message:
> ./../src/xcb_io.c:249: process_responses: Assertion ‘(((long) 
> (dpy->last_request_read) – (long)(dpy->request)) <= 0)’ failed.
> 
> That happens when about 5000 lines are written into a (derived)Fl_Browser 
> widget that were received via a socket.

        What happens if you comment out the code that adds the text
        to the Fl_Browser(), eg. add(), does the program still crash?

        This would at least take FLTK out of the equation so you can
        see if the problem lies elsewhere, as based on the assertion
        being in non-FLTK code, it sounds like it might.

        Try also replacing the browser->add() with printf()
        to check the output on stdout to verify data integrity.

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to