Summary: | Konqueror DOM Viewer crash on http://lists.gnu.org/archive/html/bug-coreutils/2009-08/msg00048.html (QTreeModel/Widget, DOMTreeView::showRecursive, DOMTreeView::slotShowTree, DOMTreeView::connectToDocument) | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Andreas Schwab <schwab> |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | faure, i.semenov.kde, lemma |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.6 | |
Sentry Crash Report: |
Description
Andreas Schwab
2009-09-07 16:51:05 UTC
Reproducable on trunk r1020489 - no idea where this bug actually belongs, the dom plugin doesn't seem to have its own component: Application: Konqueror (konqueror), signal: Segmentation fault [Current thread is 1 (Thread 0x7f434af037a0 (LWP 25532))] Thread 2 (Thread 0x7f43329c9950 (LWP 25539)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217 #1 0x00007f43482a0d13 in QWaitConditionPrivate::wait (this=0x115ad80, time=30000) at /home/lemma/kde/trunk/source/qt/src/corelib/thread/qwaitcondition_unix.cpp:85 #2 0x00007f43482a0886 in QWaitCondition::wait (this=0xb6b6e8, mutex=0xb6b6e0, time=30000) at /home/lemma/kde/trunk/source/qt/src/corelib/thread/qwaitcondition_unix.cpp:159 #3 0x00007f4348291219 in QThreadPoolThread::run (this=0xb6b730) at /home/lemma/kde/trunk/source/qt/src/corelib/concurrent/qthreadpool.cpp:140 #4 0x00007f43482a0374 in QThreadPrivate::start (arg=0xb6b730) at /home/lemma/kde/trunk/source/qt/src/corelib/thread/qthread_unix.cpp:188 #5 0x00007f4348013faa in start_thread (arg=<value optimized out>) at pthread_create.c:297 #6 0x00007f43459a231d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f434af037a0 (LWP 25532)): [KCrash Handler] #4 0x00007f4347a46fc1 in QTreeModel::index (this=0xa934f0, item=0xbc5d50, column=0) at /home/lemma/kde/trunk/source/qt/src/gui/itemviews/qtreewidget.cpp:240 #5 0x00007f4347a5377d in QTreeWidgetPrivate::index (this=0xaa98e0, item=0xbc5d50, column=0) at ../../include/QtGui/private/../../../../../../../source/qt/src/gui/itemviews/qtreewidget_p.h:225 #6 0x00007f4347a47def in QTreeWidget::setItemExpanded (this=0x11205e0, item=0xbc5d50, expand=true) at /home/lemma/kde/trunk/source/qt/src/gui/itemviews/qtreewidget.cpp:3120 #7 0x00007f433562f09a in DOMTreeView::showRecursive (this=0xde5860, pNode=..., node=..., depth=0) at /home/lemma/kde/trunk/source/extragear/base/konq-plugins/domtreeviewer/domtreeview.cpp:261 #8 0x00007f433562f870 in DOMTreeView::slotShowTree (this=0xde5860, pNode=...) at /home/lemma/kde/trunk/source/extragear/base/konq-plugins/domtreeviewer/domtreeview.cpp:235 #9 0x00007f433563056e in DOMTreeView::connectToDocument (this=0xde5860) at /home/lemma/kde/trunk/source/extragear/base/konq-plugins/domtreeviewer/domtreeview.cpp:906 #10 0x00007f43356306a7 in DOMTreeView::connectToPart (this=0xde5860) at /home/lemma/kde/trunk/source/extragear/base/konq-plugins/domtreeviewer/domtreeview.cpp:869 #11 0x00007f4335630715 in DOMTreeView::slotSetHtmlPartDelayed (this=0xde5860) at /home/lemma/kde/trunk/source/extragear/base/konq-plugins/domtreeviewer/domtreeview.cpp:927 #12 0x00007f4335630b2c in DOMTreeView::qt_metacall (this=0xde5860, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0x7fff5307b5f0) at /home/lemma/kde/trunk/build/debug/build/extragear/base/konq-plugins/domtreeviewer/domtreeview.moc:156 #13 0x00007f43483d59c4 in QMetaObject::activate (sender=0xe51c60, from_signal_index=4, to_signal_index=4, argv=0x0) at /home/lemma/kde/trunk/source/qt/src/corelib/kernel/qobject.cpp:3112 #14 0x00007f43483d7129 in QMetaObject::activate (sender=0xe51c60, m=0x7f43486f2fe0, local_signal_index=0, argv=0x0) at /home/lemma/kde/trunk/source/qt/src/corelib/kernel/qobject.cpp:3186 #15 0x00007f43483dec86 in QSingleShotTimer::timeout (this=0xe51c60) at .moc/debug-shared/qtimer.moc:76 #16 0x00007f43483ded7d in QSingleShotTimer::timerEvent (this=0xe51c60) at /home/lemma/kde/trunk/source/qt/src/corelib/kernel/qtimer.cpp:298 #17 0x00007f43483d2c94 in QObject::event (this=0xe51c60, e=0x7fff5307bfe0) at /home/lemma/kde/trunk/source/qt/src/corelib/kernel/qobject.cpp:1074 #18 0x00007f4347353087 in QApplicationPrivate::notify_helper (this=0x622460, receiver=0xe51c60, e=0x7fff5307bfe0) at /home/lemma/kde/trunk/source/qt/src/gui/kernel/qapplication.cpp:4056 #19 0x00007f434735343e in QApplication::notify (this=0x7fff5307c650, receiver=0xe51c60, e=0x7fff5307bfe0) at /home/lemma/kde/trunk/source/qt/src/gui/kernel/qapplication.cpp:3603 #20 0x00007f43492f96b3 in KApplication::notify (this=0x7fff5307c650, receiver=0xe51c60, event=0x7fff5307bfe0) at /home/lemma/kde/trunk/source/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302 #21 0x00007f43483ba1c7 in QCoreApplication::notifyInternal (this=0x7fff5307c650, receiver=0xe51c60, event=0x7fff5307bfe0) at /home/lemma/kde/trunk/source/qt/src/corelib/kernel/qcoreapplication.cpp:610 #22 0x00007f43483beebd in QCoreApplication::sendEvent (receiver=0xe51c60, event=0x7fff5307bfe0) at ../../include/QtCore/../../../../../../source/qt/src/corelib/kernel/qcoreapplication.h:213 #23 0x00007f43483f5a73 in QTimerInfoList::activateTimers (this=0x6261a0) at /home/lemma/kde/trunk/source/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:572 #24 0x00007f43483f3152 in timerSourceDispatch (source=0x626140) at /home/lemma/kde/trunk/source/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:165 #25 0x00007f4343cbae4a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #26 0x00007f4343cbe510 in ?? () from /usr/lib/libglib-2.0.so.0 #27 0x00007f4343cbe6ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #28 0x00007f43483f2062 in QEventDispatcherGlib::processEvents (this=0x605360, flags=...) at /home/lemma/kde/trunk/source/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:327 #29 0x00007f434741ef67 in QGuiEventDispatcherGlib::processEvents (this=0x605360, flags=...) at /home/lemma/kde/trunk/source/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:202 #30 0x00007f43483b6907 in QEventLoop::processEvents (this=0x7fff5307c380, flags=...) at /home/lemma/kde/trunk/source/qt/src/corelib/kernel/qeventloop.cpp:149 #31 0x00007f43483b6b2b in QEventLoop::exec (this=0x7fff5307c380, flags=...) at /home/lemma/kde/trunk/source/qt/src/corelib/kernel/qeventloop.cpp:201 #32 0x00007f43483bac11 in QCoreApplication::exec () at /home/lemma/kde/trunk/source/qt/src/corelib/kernel/qcoreapplication.cpp:888 #33 0x00007f4347352de4 in QApplication::exec () at /home/lemma/kde/trunk/source/qt/src/gui/kernel/qapplication.cpp:3525 #34 0x00007f434ac1351c in kdemain (argc=1, argv=0x7fff5307d0e8) at /home/lemma/kde/trunk/source/KDE/kdebase/apps/konqueror/src/konqmain.cpp:257 #35 0x00000000004008c7 in main (argc=1, argv=0x7fff5307d0e8) at /home/lemma/kde/trunk/build/debug/build/KDE/kdebase/apps/konqueror/src/konqueror_dummy.cpp:3 *** Bug 212969 has been marked as a duplicate of this bug. *** SVN commit 1199477 by dfaure: Port away from kde3support (k3command/k3commandhistory -> qundocommand/kundostack) Fix crash due to "delete cur_item ; cur_item = foo" without telling the caller of the method who passed cur_item by pointer and kept using it afterwards. Interestingly this has been in the code forever... BUG: 206639 FIXED-IN: 4.6 M +1 -2 CMakeLists.txt M +3 -3 domtreecommands.cpp M +6 -11 domtreecommands.h M +4 -3 domtreeview.cpp M +1 -1 domtreeview.h M +13 -5 domtreewindow.cpp M +3 -3 domtreewindow.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1199477 |