Application: kplato (0.9.1) KDE Platform Version: 4.4.2 (KDE 4.4.2) Qt Version: 4.6.2 Operating System: Linux 2.6.32-24-generic-pae i686 Distribution: Ubuntu 10.04.1 LTS -- Information about the crash: I was just testing the application and decided to choose the new view option and then the application crashed. -- Backtrace: Application: KPlato (kdeinit4), signal: Segmentation fault [Current thread is 1 (Thread 0xb7760aa0 (LWP 4565))] Thread 2 (Thread 0xb48fab70 (LWP 4569)): #0 0x01ea1e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1 #1 0x00d646fb in qt_gettime () at kernel/qcore_unix.cpp:111 #2 0x00d69825 in QTimerInfoList::updateCurrentTime (this=0xa11e6f4) at kernel/qeventdispatcher_unix.cpp:340 #3 0x00d6986a in QTimerInfoList::timerWait (this=0xa11e6f4, tm=...) at kernel/qeventdispatcher_unix.cpp:443 #4 0x00d67818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb48fa0cc) at kernel/qeventdispatcher_glib.cpp:136 #5 0x00d678a5 in timerSourcePrepare (source=0x0, timeout=0x1ea5ff4) at kernel/qeventdispatcher_glib.cpp:169 #6 0x08a1caca in g_main_context_prepare () from /lib/libglib-2.0.so.0 #7 0x08a1cee9 in ?? () from /lib/libglib-2.0.so.0 #8 0x08a1d4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #9 0x00d6760f in QEventDispatcherGlib::processEvents (this=0x9ee4068, flags=...) at kernel/qeventdispatcher_glib.cpp:414 #10 0x00d3a059 in QEventLoop::processEvents (this=0xb48fa290, flags=) at kernel/qeventloop.cpp:149 #11 0x00d3a4aa in QEventLoop::exec (this=0xb48fa290, flags=...) at kernel/qeventloop.cpp:201 #12 0x00c365a8 in QThread::exec (this=0xa116328) at thread/qthread.cpp:487 #13 0x00d19c1b in QInotifyFileSystemWatcherEngine::run (this=0xa116328) at io/qfilesystemwatcher_inotify.cpp:248 #14 0x00c3932e in QThreadPrivate::start (arg=0xa116328) at thread/qthread_unix.cpp:248 #15 0x0011596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #16 0x02061a4e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (Thread 0xb7760aa0 (LWP 4565)): [KCrash Handler] #6 0x031ddce4 in KPlato::Part::createViewInstance(QWidget*) () from /usr/lib/libkplatoprivate.so.7 #7 0x02873d91 in KoDocument::createView(QWidget*) () from /usr/lib/libkomain.so.7 #8 0x028a2c9f in KoMainWindow::setRootDocument(KoDocument*) () from /usr/lib/libkomain.so.7 #9 0x028c5e61 in KoView::newView() () from /usr/lib/libkomain.so.7 #10 0x028c5dbe in KoView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkomain.so.7 #11 0x0320439a in KPlato::View::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkplatoprivate.so.7 #12 0x00d40c9a in QMetaObject::metacall (object=0xa1edb90, cl=QMetaObject::ReadProperty, idx=165841704, argv=0xbf9688d8) at kernel/qmetaobject.cpp:237 #13 0x00d4f3d5 in QMetaObject::activate (sender=0xa0832d0, m=0x18ddd58, local_signal_index=1, argv=0xbf968a78) at kernel/qobject.cpp:3293 #14 0x00faebd9 in QAction::triggered (this=0xa0832d0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263 #15 0x00fb0dcc in QAction::activate (this=0xa0832d0, event=QAction::Trigger) at kernel/qaction.cpp:1255 #16 0x0145460c in QMenuPrivate::activateCausedStack (this=0xa719080, causedStack=..., action=0xa0832d0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011 #17 0x0145aabb in QMenuPrivate::activateAction (this=0xa719080, action=0xa0832d0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103 #18 0x0145bac7 in QMenu::mouseReleaseEvent (this=0xa719060, e=0xbf969310) at widgets/qmenu.cpp:2312 #19 0x00af1f65 in KMenu::mouseReleaseEvent (this=0xa719060, e=0xbf969310) at ../../kdeui/widgets/kmenu.cpp:471 #20 0x010137f8 in QWidget::event (this=0xa719060, event=0xbf969310) at kernel/qwidget.cpp:7998 #21 0x0145d0cc in QMenu::event (this=0xa719060, e=0xbf969310) at widgets/qmenu.cpp:2414 #22 0x00fb54dc in QApplicationPrivate::notify_helper (this=0x9d24450, receiver=0xa719060, e=0xbf969310) at kernel/qapplication.cpp:4300 #23 0x00fbc9f7 in QApplication::notify (this=0xbf969b90, receiver=0xa719060, e=0xbf969310) at kernel/qapplication.cpp:3865 #24 0x009fbf2a in KApplication::notify (this=0xbf969b90, receiver=0xa719060, event=0xbf969310) at ../../kdeui/kernel/kapplication.cpp:302 #25 0x00d3ba3b in QCoreApplication::notifyInternal (this=0xbf969b90, receiver=0xa719060, event=0xbf969310) at kernel/qcoreapplication.cpp:704 #26 0x00fbb952 in QCoreApplication::sendEvent (receiver=0xa719060, event=0xbf969310, alienWidget=0x0, nativeWidget=0xa719060, buttonDown=0x18f9058, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #27 QApplicationPrivate::sendMouseEvent (receiver=0xa719060, event=0xbf969310, alienWidget=0x0, nativeWidget=0xa719060, buttonDown=0x18f9058, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2965 #28 0x010475cf in QETWidget::translateMouseEvent (this=0xa719060, event=0xbf96982c) at kernel/qapplication_x11.cpp:4302 #29 0x01046511 in QApplication::x11ProcessEvent (this=0xbf969b90, event=0xbf96982c) at kernel/qapplication_x11.cpp:3379 #30 0x0107560a in x11EventSourceDispatch (s=0x9d274a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #31 0x08a195e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #32 0x08a1d2d8 in ?? () from /lib/libglib-2.0.so.0 #33 0x08a1d4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #34 0x00d675d5 in QEventDispatcherGlib::processEvents (this=0x9caab48, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #35 0x01075135 in QGuiEventDispatcherGlib::processEvents (this=0x9caab48, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #36 0x00d3a059 in QEventLoop::processEvents (this=0xbf969b24, flags=) at kernel/qeventloop.cpp:149 #37 0x00d3a4aa in QEventLoop::exec (this=0xbf969b24, flags=...) at kernel/qeventloop.cpp:201 #38 0x00d3e69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #39 0x00fb5577 in QApplication::exec () at kernel/qapplication.cpp:3579 #40 0x0654351d in kdemain () from /usr/lib/libkdeinit4_kplato.so #41 0x0804e133 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=1, envs=0x9ce4778 "DISPLAY=:0.0", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x9ce4789 "pookito-laptop;1280051732;329819;1558_TIME5968277") at ../../kinit/kinit.cpp:717 #42 0x0804ec6d in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1209 #43 0x0804f190 in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1402 #44 0x0804fe4f in main (argc=2, argv=0xbf96a554, envp=0xbf96a560) at ../../kinit/kinit.cpp:1845 Reported using DrKonqi
SVN commit 1154373 by danders: Backport SVN commit 1145209 by danders: Don't crash if opening a new view on an empty document. BUG:245724 M +1 -1 kptpart.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1154373
You need to log in before you can comment on or make changes to this bug.