problems with Glib::Thread



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

i have problems insert text in a textview from a thread...
it sometimes freeze the gui and one time crashed with that error:


The program 'client' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadLength (poly request too large or internal Xlib length
erro'.
~  (Details: serial 1589 error_code 16 request_code 157 minor_code 20)
~  (Note to programmers: normally, X errors are reported asynchronously;
~   that is, you will receive the error a while after causing it.
~   To debug your program, run it with the --sync command line
~   option to change this behavior. You can then get a meaningful
~   backtrace from your debugger if you break on the gdk_x_error()
function.)


the textview is used only by that thread... and the application have
only 1 thread ( of course the default one running the gui...)

the function runned by the thread only insert some text... 1-2 or 3
times the text is inserted correcly, then it freeze...
thx for any help
- --
+--------------------+-------------------------------------+
|    Metal OWNZ U    |        GnuPG ID: E2844BB9           |
|   icq#: 61252311   | My Public key at: wwwkeys.pgp.net   |
+--------------------+-------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBhSnhzMLB4uKES7kRAl+zAJsFNBFoGY0C4K+gioBOJx0Fqimi4gCdEF6E
FG08NeBKs/4HaiS70/Z1pQs=
=egYp
-----END PGP SIGNATURE-----



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