Re: What causes Xlib errors?



"Edgar F. Hilton" <efhilton fsmlabs com> writes:
I get Xlib errors within my GTK application which cause my application to
crash/freeze.  What usually is the cause of these errors? How can I avoid them?

I have seen them SPORADICALLY on or about when signals are generated which trigger
callbacks...

Any ideas?


Lots of possible causes. Run your app in a debugger with the --sync
and --g-fatal-warnings options passed to the app, and get a backtrace,
that will probably tell you the cause. If you don't pass --sync the
backtrace will be bogus though.

Improper thread locking can cause this too.

Havoc




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