X Error: BadMatch
Andras Mantia
amantia at freemail.hu
Wed Mar 19 15:29:59 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2003. March 19., Wednesday 16:05, Lubos Lunak wrote:
> Run the app in gdb, and pass it also -sync as argument. Put a breakpoint
> in kde_x_errhandler (see in kapplication.cpp), and it will be called for
> every X error.
Ok, I've done it and the last call in a KDE lib was the one at line 237 in
kmessagebox.cpp (int result = guardedDialog->exec();). As I had a QT without
debug info, and the other calls in the stack were QT related, I've rebuild QT
with -debug. Now I cannot reproduce it and I don't have the old BT. :-( It
happened once when running the app outside of gdb, but I couldn't get it when
I run inside the debugger.
Does the above help? (I doubt it does).
Well, one more try before sending the mail and here it is:
Breakpoint 1, kde_x_errhandler (dpy=0x81a3f90, err=0xbfffdc9c) at /home/andris/cvs-developement/head/kde-cvs/kdelibs/kdecore/kapplication.cpp:156
156 XGetErrorText( dpy, err->error_code, errstr, 256 );
(gdb) bt
#0 kde_x_errhandler (dpy=0x81a3f90, err=0xbfffdc9c) at /home/andris/cvs-developement/head/kde-cvs/kdelibs/kdecore/kapplication.cpp:156
#1 0x414f813d in _XError () from /usr/X11R6/lib/libX11.so.6
#2 0x414f676b in _XReply () from /usr/X11R6/lib/libX11.so.6
#3 0x414e1cae in XGetWindowAttributes () from /usr/X11R6/lib/libX11.so.6
#4 0x41d06f7c in _XimDefaultColormap () from /usr/X11R6/lib/X11/locale/common/ximcp.so.2
#5 0x41d083ee in _XimSetICDefaults () from /usr/X11R6/lib/X11/locale/common/ximcp.so.2
#6 0x41d0839c in _XimSetICDefaults () from /usr/X11R6/lib/X11/locale/common/ximcp.so.2
#7 0x41d04d7e in _XimLocalCreateIC () from /usr/X11R6/lib/X11/locale/common/ximcp.so.2
#8 0x4150d19e in XCreateIC () from /usr/X11R6/lib/libX11.so.6
#9 0x40f417d0 in QInputContext::QInputContext (this=0x88dc3f0, widget=0x8aab950) at kernel/qinputcontext_x11.cpp:352
#10 0x40f64dce in QWidget::createInputContext (this=0x8aab950) at kernel/qwidget_x11.cpp:2512
#11 0x40f61990 in QWidget::setActiveWindow (this=0x8aab950) at kernel/qwidget_x11.cpp:1297
#12 0x40f24a9c in QApplication::x11ClientMessage (this=0x81a36d0, w=0x8230ab0, event=0xbfffe49c, passive_only=true) at kernel/qapplication_x11.cpp:3036
#13 0x40f259f5 in QApplication::x11ProcessEvent (this=0x81a36d0, event=0xbfffe49c) at kernel/qapplication_x11.cpp:3407
#14 0x40f3f54a in QEventLoop::processEvents (this=0x81d94c0, flags=4) at kernel/qeventloop_x11.cpp:186
#15 0x40fa5aa0 in QEventLoop::enterLoop (this=0x81d94c0) at kernel/qeventloop.cpp:198
#16 0x40f8d325 in QApplication::enter_loop (this=0x81a36d0) at kernel/qapplication.cpp:2519
#17 0x4117a5e5 in QDialog::exec (this=0x8aab950) at dialogs/qdialog.cpp:371
#18 0x40a5ff9d in createKMessageBox (dialog=0x8aab950, icon=Warning, text=@0xbfffe75c, strlist=@0xbfffe6f4, ask=@0xbfffe6f0, checkboxReturn=0xbfffe6eb, options=1,
details=@0x8197e60) at /home/andris/cvs-developement/head/kde-cvs/kdelibs/kdeui/kmessagebox.cpp:237
#19 0x40a616c1 in KMessageBox::warningYesNoCancel (parent=0x886a168, text=@0xbfffe75c, caption=@0x8197e60, buttonYes=@0xbfffe760, buttonNo=@0xbfffe764,
dontAskAgainName=@0x8197e60, options=1) at /home/andris/cvs-developement/head/kde-cvs/kdelibs/kdeui/kmessagebox.cpp:580
#20 0x0809ac36 in Document::checkOverwrite (this=0x886a168, u=Internal: global symbol `_7QString.null' found in tools/qstring.cpp psymtab but not in symtab.
_7QString.null may be an inlined function, or may be a template function
(if a template, try specifying an instantiation: _7QString.null<type>).
) at /home/andris/cvs-developement/head/quanta/quanta/document.cpp:372
#21 0x080b09ac in QuantaApp::saveToolbar (this=0x8230ab0, localToolbar=true, toolbarToSave=@0x8197e60) at /home/andris/cvs-developement/head/quanta/quanta/quanta.cpp:1946
After this:
(gdb) c
Continuing.
Program received signal SIG43, Real-time event 43.
kde_x_errhandler (dpy=0x81a3f90, err=0xbfffdc9c) at /home/andris/cvs-developement/head/kde-cvs/kdelibs/kdecore/kapplication.cpp:156
156 XGetErrorText( dpy, err->error_code, errstr, 256 );
(gdb) c
Continuing.
Program received signal SIG43, Real-time event 43.
kde_x_errhandler (dpy=0x81a3f90, err=0xbfffdc9c) at /home/andris/cvs-developement/head/kde-cvs/kdelibs/kdecore/kapplication.cpp:156
156 XGetErrorText( dpy, err->error_code, errstr, 256 );
(gdb) c
Continuing.
Program received signal SIG43, Real-time event 43.
kde_x_errhandler (dpy=0x81a3f90, err=0xbfffdc9c) at /home/andris/cvs-developement/head/kde-cvs/kdelibs/kdecore/kapplication.cpp:156
156 XGetErrorText( dpy, err->error_code, errstr, 256 );
(gdb) c
Continuing.
Program received signal SIG43, Real-time event 43.
kde_x_errhandler (dpy=0x81a3f90, err=0xbfffdc9c) at /home/andris/cvs-developement/head/kde-cvs/kdelibs/kdecore/kapplication.cpp:156
156 XGetErrorText( dpy, err->error_code, errstr, 256 );
(gdb) c
Continuing.
Program received signal SIG43, Real-time event 43.
kde_x_errhandler (dpy=0x81a3f90, err=0xbfffdc9c) at /home/andris/cvs-developement/head/kde-cvs/kdelibs/kdecore/kapplication.cpp:156
156 XGetErrorText( dpy, err->error_code, errstr, 256 );
(gdb) c
Continuing.
quanta: WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) \x08
Major opcode: *
Breakpoint 1, kde_x_errhandler (dpy=0x81a3f90, err=0xbfffe05c) at /home/andris/cvs-developement/head/kde-cvs/kdelibs/kdecore/kapplication.cpp:156
156 XGetErrorText( dpy, err->error_code, errstr, 256 );
(gdb) c
Continuing.
quanta: WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) \x08
Major opcode: *
Andras
- --
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+eIz3TQdfac6L/08RAsySAJ0WtJMeZz0dMTXCjlwG29+Ks4U6RwCdFDzv
ipd67wVQ4yq9j2kOMIFTxog=
=pA2U
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list