Summary: | QClipboard in Qt-3.2 is broken and aborts apps | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Rob Kaper <webmaster> |
Component: | qt | Assignee: | Lubos Lunak <l.lunak> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | amitshah, andihartmann, antoine.valentin, arnaud_oss, avbidder+kde, bramkamp, bugs.kde.org, chg110svhs, cmueller, code, dag, DanMoinescu, eggert, frederik, gritzko, gvs, jacum, janulrich.hasecke, jhollad, john.milton, kde.bugs, kdebugs, klee, kloecker, lpiccilli, michael, missive, murray, opensource, patrick, ragaprong, robert, roger.larsson, stacker_liew, tuomas, waif |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Qt patch (src/kernel) |
Description
Rob Kaper
2003-07-19 00:40:50 UTC
Part of qt-bugs@ issue 15222. *** Bug 64791 has been marked as a duplicate of this bug. *** *** Bug 67215 has been marked as a duplicate of this bug. *** *** Bug 67965 has been marked as a duplicate of this bug. *** I just had this bug trigger as described in bug 67965, only this time, klipper was not running. Therefore klipper is not required, but it does make the bug much easier to reproduce. *** Bug 68749 has been marked as a duplicate of this bug. *** I can trigger this bug 100% reproducible by dragging a local file from the History/Miscellaneous in the Navigation Panel to another Konqueror instance. its really a bad bug. no crash dialog. gets me to kde3.1.3 again. because slack uses qt 3.1.2 then. qt 3.2* causes konqueror to stop without saying something :) cvs kde 3.2 (beta2) has this too. cant wait to see it fixed. qt people say its a kde bug. kde says its qt bug ;) 'qt people say its a kde bug' Huh? It _cannot_ be KDE bug. Could you please provide me with the mails or whatever with details about this (to my mail)? *** Bug 72151 has been marked as a duplicate of this bug. *** *** Bug 72613 has been marked as a duplicate of this bug. *** *** Bug 66209 has been marked as a duplicate of this bug. *** I also just experienced this crash (using qt-copy from before Qt 3.3 Beta 1 was committed). I had just sent a message with KMail when a Konqueror window which was showing one of my bugs.kde.org queries crashed. I didn't do anything with this window, but it's possible that this window got the focus after the message composer window was closed. The backtrace: [New Thread 16384 (LWP 2626)] 0x4148d387 in waitpid () from /lib/libpthread.so.0 #0 0x4148d387 in waitpid () from /lib/libpthread.so.0 #1 0x407cc92f in KCrash::defaultCrashHandler(int) (sig=6) at /home/ingo/cvs/kde/3.2/kdelibs/kdecore/kcrash.cpp:246 #2 0x4148c1ec in __pthread_sighandler () from /lib/libpthread.so.0 #3 <signal handler called> #4 0x415ff471 in kill () from /lib/libc.so.6 #5 0x41489521 in pthread_kill () from /lib/libpthread.so.0 #6 0x4148983b in raise () from /lib/libpthread.so.0 #7 0x415ff204 in raise () from /lib/libc.so.6 #8 0x41600830 in abort () from /lib/libc.so.6 #9 0x40efd3bf in qFatal(char const*, ...) ( msg=0x40fbb040 "QClipboard: internal error, qt_xclb_wait_for_event recursed") at /home/ingo/cvs/kde/qt-copy/src/tools/qglobal.cpp:564 #10 0x40b6b22d in qt_xclb_wait_for_event(_XDisplay*, unsigned long, int, _XEvent*, int) (dpy=0x80650b8, win=111150040, type=31, event=0xbfffdb20, timeout=5000) at /home/ingo/cvs/kde/qt-copy/src/kernel/qclipboard_x11.cpp:454 #11 0x40b6dd7c in QClipboardWatcher::getDataInFormat(unsigned long) const ( this=0x811c190, fmtatom=427) at /home/ingo/cvs/kde/qt-copy/src/kernel/qclipboard_x11.cpp:1381 #12 0x40b6d485 in QClipboardWatcher::format(int) const (this=0x811c190, n=0) at /home/ingo/cvs/kde/qt-copy/src/kernel/qclipboard_x11.cpp:1249 #13 0x40c25cf5 in QMimeSource::provides(char const*) const (this=0x811c190, mimeType=0x418d787f "text/plain") at /home/ingo/cvs/kde/qt-copy/src/kernel/qmime.cpp:134 #14 0x418b9a48 in KonqMainWindow::slotClipboardDataChanged() (this=0x8117dc0) at /home/ingo/cvs/kde/3.2/kdebase/konqueror/konq_mainwindow.cc:2985 #15 0x418b93ab in KonqMainWindow::eventFilter(QObject*, QEvent*) ( this=0x8117dc0, obj=0x81f4e70, ev=0xbfffe0d0) at /home/ingo/cvs/kde/3.2/kdebase/konqueror/konq_mainwindow.cc:2926 #16 0x40c324dc in QObject::activate_filters(QEvent*) (this=0x81f4e70, e=0xbfffe0d0) at /home/ingo/cvs/kde/qt-copy/src/kernel/qobject.cpp:902 #17 0x40c3234e in QObject::event(QEvent*) (this=0x81f4e70, e=0xbfffe0d0) at /home/ingo/cvs/kde/qt-copy/src/kernel/qobject.cpp:735 #18 0x40c6bf31 in QWidget::event(QEvent*) (this=0x81f4e70, e=0xbfffe0d0) at /home/ingo/cvs/kde/qt-copy/src/kernel/qwidget.cpp:4408 #19 0x40d015c2 in QLineEdit::event(QEvent*) (this=0x81f4e70, e=0xbfffe0d0) at /home/ingo/cvs/kde/qt-copy/src/widgets/qlineedit.cpp:1406 #20 0x40bd1b05 in QApplication::internalNotify(QObject*, QEvent*) ( this=0xbffff0c0, receiver=0x81f4e70, e=0xbfffe0d0) at /home/ingo/cvs/kde/qt-copy/src/kernel/qapplication.cpp:2582 #21 0x40bd1735 in QApplication::notify(QObject*, QEvent*) (this=0xbffff0c0, receiver=0x81f4e70, e=0xbfffe0d0) at /home/ingo/cvs/kde/qt-copy/src/kernel/qapplication.cpp:2470 #22 0x4074342d in KApplication::notify(QObject*, QEvent*) (this=0xbffff0c0, receiver=0x81f4e70, event=0xbfffe0d0) at /home/ingo/cvs/kde/3.2/kdelibs/kdecore/kapplication.cpp:505 #23 0x4004a2c3 in QApplication::sendEvent(QObject*, QEvent*) ( receiver=0x81f4e70, event=0xbfffe0d0) at /opt/qt-copy/include/qapplication.h:492 #24 0x40c696b6 in QWidget::setFocus() (this=0x81f4e70) at /home/ingo/cvs/kde/qt-copy/src/kernel/qwidget.cpp:3099 #25 0x40bd336c in QApplication::setActiveWindow(QWidget*) (this=0xbffff0c0, act=0x8117dc0) at /home/ingo/cvs/kde/qt-copy/src/kernel/qapplication.cpp:3463 #26 0x40b601e8 in QApplication::x11ProcessEvent(_XEvent*) (this=0xbffff0c0, event=0xbfffe440) at /home/ingo/cvs/kde/qt-copy/src/kernel/qapplication_x11.cpp:3595 #27 0x40b79b70 in QEventLoop::processEvents(unsigned) (this=0x80bf940, flags=15) at /home/ingo/cvs/kde/qt-copy/src/kernel/qeventloop_x11.cpp:192 #28 0x40b6b2ff in qt_xclb_wait_for_event(_XDisplay*, unsigned long, int, _XEvent*, int) (dpy=0x80650b8, win=111150040, type=31, event=0xbfffe540, timeout=5000) at /home/ingo/cvs/kde/qt-copy/src/kernel/qclipboard_x11.cpp:479 #29 0x40b6dd7c in QClipboardWatcher::getDataInFormat(unsigned long) const ( this=0x811c190, fmtatom=427) at /home/ingo/cvs/kde/qt-copy/src/kernel/qclipboard_x11.cpp:1381 #30 0x40b6d485 in QClipboardWatcher::format(int) const (this=0x811c190, n=0) at /home/ingo/cvs/kde/qt-copy/src/kernel/qclipboard_x11.cpp:1249 #31 0x40c25cf5 in QMimeSource::provides(char const*) const (this=0x811c190, mimeType=0x418d787f "text/plain") at /home/ingo/cvs/kde/qt-copy/src/kernel/qmime.cpp:134 #32 0x418b9a48 in KonqMainWindow::slotClipboardDataChanged() (this=0x8117dc0) at /home/ingo/cvs/kde/3.2/kdebase/konqueror/konq_mainwindow.cc:2985 #33 0x418b93ab in KonqMainWindow::eventFilter(QObject*, QEvent*) ( this=0x8117dc0, obj=0x81f4e70, ev=0xbfffeaf0) at /home/ingo/cvs/kde/3.2/kdebase/konqueror/konq_mainwindow.cc:2926 #34 0x40c324dc in QObject::activate_filters(QEvent*) (this=0x81f4e70, e=0xbfffeaf0) at /home/ingo/cvs/kde/qt-copy/src/kernel/qobject.cpp:902 #35 0x40c3234e in QObject::event(QEvent*) (this=0x81f4e70, e=0xbfffeaf0) at /home/ingo/cvs/kde/qt-copy/src/kernel/qobject.cpp:735 #36 0x40c6bf31 in QWidget::event(QEvent*) (this=0x81f4e70, e=0xbfffeaf0) at /home/ingo/cvs/kde/qt-copy/src/kernel/qwidget.cpp:4408 #37 0x40d015c2 in QLineEdit::event(QEvent*) (this=0x81f4e70, e=0xbfffeaf0) at /home/ingo/cvs/kde/qt-copy/src/widgets/qlineedit.cpp:1406 #38 0x40bd1b05 in QApplication::internalNotify(QObject*, QEvent*) ( this=0xbffff0c0, receiver=0x81f4e70, e=0xbfffeaf0) at /home/ingo/cvs/kde/qt-copy/src/kernel/qapplication.cpp:2582 #39 0x40bd1735 in QApplication::notify(QObject*, QEvent*) (this=0xbffff0c0, receiver=0x81f4e70, e=0xbfffeaf0) at /home/ingo/cvs/kde/qt-copy/src/kernel/qapplication.cpp:2470 #40 0x4074342d in KApplication::notify(QObject*, QEvent*) (this=0xbffff0c0, receiver=0x81f4e70, event=0xbfffeaf0) at /home/ingo/cvs/kde/3.2/kdelibs/kdecore/kapplication.cpp:505 #41 0x4004a2c3 in QApplication::sendEvent(QObject*, QEvent*) ( receiver=0x81f4e70, event=0xbfffeaf0) at /opt/qt-copy/include/qapplication.h:492 #42 0x40c696b6 in QWidget::setFocus() (this=0x81f4e70) at /home/ingo/cvs/kde/qt-copy/src/kernel/qwidget.cpp:3099 #43 0x40bd336c in QApplication::setActiveWindow(QWidget*) (this=0xbffff0c0, act=0x8117dc0) at /home/ingo/cvs/kde/qt-copy/src/kernel/qapplication.cpp:3463 #44 0x40b601e8 in QApplication::x11ProcessEvent(_XEvent*) (this=0xbffff0c0, event=0xbfffee60) at /home/ingo/cvs/kde/qt-copy/src/kernel/qapplication_x11.cpp:3595 #45 0x40b79b70 in QEventLoop::processEvents(unsigned) (this=0x80bf940, flags=4) at /home/ingo/cvs/kde/qt-copy/src/kernel/qeventloop_x11.cpp:192 #46 0x40be75fa in QEventLoop::enterLoop() (this=0x80bf940) at /home/ingo/cvs/kde/qt-copy/src/kernel/qeventloop.cpp:198 #47 0x40be7516 in QEventLoop::exec() (this=0x80bf940) at /home/ingo/cvs/kde/qt-copy/src/kernel/qeventloop.cpp:145 #48 0x40bd1c85 in QApplication::exec() (this=0xbffff0c0) at /home/ingo/cvs/kde/qt-copy/src/kernel/qapplication.cpp:2705 #49 0x41869673 in kdemain (argc=3, argv=0x80635b0) at /home/ingo/cvs/kde/3.2/kdebase/konqueror/konq_main.cc:184 #50 0x0804e1fe in launch (argc=3, _name=0x806307c "konqueror", args=0x80630c6 "", cwd=0x0, envc=0, envs=0x80630ca "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x8052d27 "0") at /home/ingo/cvs/kde/3.2/kdelibs/kinit/kinit.cpp:604 #51 0x0804f4f3 in handle_launcher_request (sock=8) at /home/ingo/cvs/kde/3.2/kdelibs/kinit/kinit.cpp:1167 #52 0x0804fbdc in handle_requests (waitForPid=0) at /home/ingo/cvs/kde/3.2/kdelibs/kinit/kinit.cpp:1360 #53 0x08051061 in main (argc=3, argv=0xbffff6c4, envp=0xbffff6d4) at /home/ingo/cvs/kde/3.2/kdelibs/kinit/kinit.cpp:1797 #54 0x415eb857 in __libc_start_main () from /lib/libc.so.6 *** Bug 68412 has been marked as a duplicate of this bug. *** *** Bug 69467 has been marked as a duplicate of this bug. *** *** Bug 72453 has been marked as a duplicate of this bug. *** *** Bug 73080 has been marked as a duplicate of this bug. *** Created attachment 4297 [details] Qt patch (src/kernel) Those of you who can repeatedly reproduce the problem, please try if this Qt patch helps. It should apply to both Qt-3.2.x and Qt-3.3.x. And those of you who have reported this problem to qt-bugs@trolltech.com, please add the issue number here. i patched qt 3.2.2 from slackware current with its skripts plus this patch and it did not crash since then. i add commentary if it happens :) Markus I tried this patch too. And it did the trick. =) Previously my Konqueror was silently killed, if I switched from another desktop to Konquerors one. If Konquerors location field was selected, Konqueror just disappeared. But not anymore. Nice work. Thanks. btw. Version of qt I applied the patch to was Gentoo's qt-3.2.3-r1. *** Bug 72595 has been marked as a duplicate of this bug. *** *** Bug 73804 has been marked as a duplicate of this bug. *** *** Bug 74131 has been marked as a duplicate of this bug. *** *** Bug 65705 has been marked as a duplicate of this bug. *** *** Bug 68959 has been marked as a duplicate of this bug. *** *** Bug 69827 has been marked as a duplicate of this bug. *** *** Bug 70430 has been marked as a duplicate of this bug. *** *** Bug 71309 has been marked as a duplicate of this bug. *** *** Bug 73233 has been marked as a duplicate of this bug. *** *** Bug 75694 has been marked as a duplicate of this bug. *** *** Bug 73862 has been marked as a duplicate of this bug. *** It's working fine here after applying the patch to Gentoo's qt-3.3.0-r1. Thx for fixing it :) *** Bug 76202 has been marked as a duplicate of this bug. *** *** Bug 75993 has been marked as a duplicate of this bug. *** *** Bug 76303 has been marked as a duplicate of this bug. *** *** Bug 75353 has been marked as a duplicate of this bug. *** *** Bug 76821 has been marked as a duplicate of this bug. *** I have identitical behavior to Bug 68412, but with KDE-3.2.0 (no debugging symbols found)...0x411a7347 in waitpid () from /lib/libpthread.so.0 #0 0x411a7347 in waitpid () from /lib/libpthread.so.0 #1 0x40711fb0 in KCrash::defaultCrashHandler(int) () from /usr/lib/./libkdecore.so.4 #2 0x411a5f8c in __pthread_clock_settime () from /lib/libpthread.so.0 #3 <signal handler called> #4 0x4153c6df in KonqView::eventFilter(QObject*, QEvent*) () from /usr/lib/./libkdeinit_konqueror.so #5 0xbfffe870 in ?? () Same here, with KDE 3.2.1 (compiled from sources), on FreeBSD 4.9-STABLE. Message I get is: QClipboard: internal error, qt_xclb_wait_for_event recursed *** Bug 79635 has been marked as a duplicate of this bug. *** This one should be fixed in Qt-3.3.2. *** Bug 80906 has been marked as a duplicate of this bug. *** *** Bug 81358 has been marked as a duplicate of this bug. *** *** Bug 56759 has been marked as a duplicate of this bug. *** I'm using KDE 3.2.2, and I get the same error *sometimes* (i.e. not always, and rather randmly) when I drag an image from konqueror to KDE desktop: QClipboard: internal error, qt_xclb_wait_for_event recursed Kdesktop crashes and closes: icons dissapear from the desktop et all. Execting kdesktop fo course gives me back the desktop icons and the remaining kdesktop things. It has happened one more time, with a different behaviour: The "QClipboard: internal error, qt_xclb_wait_for_event recursed" error appeared once more to me doing normal file managing tasks with konqueror (KDE 3.2.2). This time I had lockups and crashes of many apps. My whole desktop (even Mozilla Firefox 0.8! ?) became really inestable and I had to close sesion. Restarting session solved the temporal problem. However, I haven't managed to reproduce the bug, and no valid backtrace was ever given. Anyone has an idea about what happened? *** Bug 82959 has been marked as a duplicate of this bug. *** *** Bug 79272 has been marked as a duplicate of this bug. *** *** Bug 79069 has been marked as a duplicate of this bug. *** does upgrading Qt to 3.3 or qtcopy:HEAD is a good idea ? *** Bug 85045 has been marked as a duplicate of this bug. *** *** Bug 85607 has been marked as a duplicate of this bug. *** *** Bug 87277 has been marked as a duplicate of this bug. *** *** Bug 88418 has been marked as a duplicate of this bug. *** *** Bug 93046 has been marked as a duplicate of this bug. *** |