[Qt-interest] Problem: X Error: BadWindow (invalid Window parameter) 3 ...
Denis Dzyubenko
denis.dzyubenko at trolltech.com
Mon Feb 2 13:43:03 CET 2009
Hi Zeljko,
Zeljko wrote:
> The problem is cause I don't know what and where is happened, so how to
> write an example then ? ;)
> One thing I know is: There's no any event inside event filter when error
> starts. Maybe I should attach X11 event filter and look into ? don't
> know ...
One way to find out the source of the error might be to run your
application with -sync command line option from inside with gdb and set
a breakpoint inside the qt_x_errhandler function (it's inside
src/gui/qapplication_x11.cpp) - so when the X error appears you'll be
able to see the backtrace to find out which function caused an error and
why.
--
Denis Dzyubenko
Software Engineer
Nokia, Qt Software
More information about the Qt-interest-old
mailing list