Bug 308454

Summary: Some Calligra applications crash when closing the document
Product: [Applications] calligraflow Reporter: Joachim Mairböck <j.mairboeck>
Component: generalAssignee: Yue Liu <mxj4>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version First Reported In: 2.5.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Joachim Mairböck 2012-10-15 19:13:17 UTC
Application: calligraflow (2.5.2)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.4.11-2.16-desktop i686
Distribution: "openSUSE 12.2 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
Opening an empty document, playing around a bit and closing it again via File - Close.

Karbon also crashed the same way.

-- Backtrace:
Application: Flow (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb5710b00 (LWP 22709))]

Thread 2 (Thread 0xaeb17b40 (LWP 22710)):
#0  0xb77d6424 in __kernel_vsyscall ()
#1  0xb5fc090b in poll () from /lib/libc.so.6
#2  0xb59bd23b in g_poll (fds=0xae202278, nfds=1, timeout=-1) at gpoll.c:132
#3  0xb59aeaf0 in g_main_context_poll (n_fds=1, fds=0xae202278, timeout=<optimized out>, context=0xae2004e0, priority=<optimized out>) at gmain.c:3440
#4  g_main_context_iterate (context=context@entry=0xae2004e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3141
#5  0xb59aec51 in g_main_context_iteration (context=0xae2004e0, may_block=1) at gmain.c:3207
#6  0xb6e2332f in QEventDispatcherGlib::processEvents (this=0xae200468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb6df004c in QEventLoop::processEvents (this=this@entry=0xaeb17228, flags=...) at kernel/qeventloop.cpp:149
#8  0xb6df0341 in QEventLoop::exec (this=0xaeb17228, flags=...) at kernel/qeventloop.cpp:204
#9  0xb6cdba5c in QThread::exec (this=0x9ac0a00) at thread/qthread.cpp:501
#10 0xb6dce59d in QInotifyFileSystemWatcherEngine::run (this=0x9ac0a00) at io/qfilesystemwatcher_inotify.cpp:248
#11 0xb6cdee68 in QThreadPrivate::start (arg=0x9ac0a00) at thread/qthread_unix.cpp:338
#12 0xb6c5be32 in start_thread () from /lib/libpthread.so.0
#13 0xb5fcb8ee in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5710b00 (LWP 22709)):
[KCrash Handler]
#7  0xb6083728 in main_arena () from /lib/libc.so.6
#8  0xb14649d6 in qDeleteAll<QList<QWidget*>::const_iterator> (end=..., begin=...) at /usr/include/QtCore/qalgorithms.h:322
#9  qDeleteAll<QList<QWidget*> > (c=...) at /usr/include/QtCore/qalgorithms.h:330
#10 ~KoToolBasePrivate (this=0xadd3298, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.5.2/libs/flake/KoToolBase_p.h:61
#11 KoToolBase::~KoToolBase (this=0xadd3e70, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.5.2/libs/flake/KoToolBase.cpp:52
#12 0xb14e20a6 in KoInteractionTool::~KoInteractionTool (this=0xadd3e70, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.5.2/libs/flake/tools/KoInteractionTool.cpp:33
#13 0xafa143d1 in DefaultTool::~DefaultTool (this=0xadd3e70, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.5.2/plugins/defaultTools/defaulttool/DefaultTool.cpp:180
#14 0xafa14402 in DefaultTool::~DefaultTool (this=0xadd3e70, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.5.2/plugins/defaultTools/defaulttool/DefaultTool.cpp:183
#15 0xb147af74 in KoToolManager::Private::detachCanvas (this=0xa539930, controller=controller@entry=0xa539b14) at /usr/src/debug/calligra-2.5.2/libs/flake/KoToolManager.cpp:446
#16 0xb147b551 in KoToolManager::removeCanvasController (this=0xa5398d0, controller=0xa539b14) at /usr/src/debug/calligra-2.5.2/libs/flake/KoToolManager.cpp:817
#17 0xafd098a7 in KoPAView::~KoPAView (this=0x9a50de8, __vtt_parm=0xafd4eb84 <VTT for FlowView+4>, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.5.2/libs/kopageapp/KoPAView.cpp:179
#18 0xafd4a88a in FlowView::~FlowView (this=this@entry=0x9a50de8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/calligra-2.5.2/flow/part/FlowView.cpp:46
#19 0xafd4a912 in FlowView::~FlowView (this=0x9a50de8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/calligra-2.5.2/flow/part/FlowView.cpp:48
#20 0xb1a33d30 in KoMainWindow::setRootDocument (this=0x9a4fa50, doc=0x0) at /usr/src/debug/calligra-2.5.2/libs/main/KoMainWindow.cpp:484
#21 0xb1a335a8 in closeEvent (e=0xbfc3a794, this=0x9a4fa50) at /usr/src/debug/calligra-2.5.2/libs/main/KoMainWindow.cpp:1066
#22 KoMainWindow::closeEvent (this=0x9a4fa50, e=0xbfc3a794) at /usr/src/debug/calligra-2.5.2/libs/main/KoMainWindow.cpp:1047
#23 0xb631a08a in QWidget::event (this=0x9a4fa50, event=0xbfc3a794) at kernel/qwidget.cpp:8529
#24 0xb674781c in QMainWindow::event (this=0x9a4fa50, event=0xbfc3a794) at widgets/qmainwindow.cpp:1478
#25 0xb7632084 in KMainWindow::event (this=0x9a4fa50, ev=0xbfc3a794) at /usr/src/debug/kdelibs-4.9.2/kdeui/widgets/kmainwindow.cpp:1084
#26 0xb7679362 in KXmlGuiWindow::event (this=0x9a4fa50, ev=0xbfc3a794) at /usr/src/debug/kdelibs-4.9.2/kdeui/xmlgui/kxmlguiwindow.cpp:126
#27 0xb62c0adc in QApplicationPrivate::notify_helper (this=0x98642b0, receiver=0x9a4fa50, e=0xbfc3a794) at kernel/qapplication.cpp:4557
#28 0xb62c5584 in QApplication::notify (this=0x98642b0, receiver=0x9a4fa50, e=0xbfc3a794) at kernel/qapplication.cpp:4418
#29 0xb755c6a1 in KApplication::notify (this=0xbfc3b270, receiver=0x9a4fa50, event=0xbfc3a794) at /usr/src/debug/kdelibs-4.9.2/kdeui/kernel/kapplication.cpp:311
#30 0xb6df157e in QCoreApplication::notifyInternal (this=0xbfc3b270, receiver=0x9a4fa50, event=0xbfc3a794) at kernel/qcoreapplication.cpp:915
#31 0xb6313700 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#32 QWidgetPrivate::close_helper (this=0x9a58d10, mode=QWidgetPrivate::CloseWithEvent) at kernel/qwidget.cpp:7937
#33 0xb63137f6 in QWidget::close (this=0x9a4fa50) at kernel/qwidget.cpp:8006
#34 0xb1a25f0b in KoMainWindow::slotFileQuit (this=0x9a4fa50) at /usr/src/debug/calligra-2.5.2/libs/main/KoMainWindow.cpp:1292
#35 0xb1a3034c in qt_static_metacall (_a=0xbfc3a998, _id=17, _o=0x9a4fa50, _c=<optimized out>) at /usr/src/debug/calligra-2.5.2/build/libs/main/KoMainWindow.moc:129
#36 KoMainWindow::qt_static_metacall (_o=_o@entry=0x9a4fa50, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=17, _a=0xbfc3a998) at /usr/src/debug/calligra-2.5.2/build/libs/main/KoMainWindow.moc:102
#37 0xb6e09872 in QMetaObject::activate (sender=0x9a6e6f8, m=0xb6c34398 <QAction::staticMetaObject>, local_signal_index=1, argv=0xbfc3a998) at kernel/qobject.cpp:3556
#38 0xb62b9a7d in QAction::triggered (this=this@entry=0x9a6e6f8, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#39 0xb62b9d1c in QAction::activate (this=this@entry=0x9a6e6f8, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#40 0xb62ba0cc in trigger (this=0x9a6e6f8) at kernel/qaction.h:218
#41 qt_static_metacall (_a=0x98caf58, _id=8, _o=0x9a6e6f8, _c=<optimized out>) at .moc/release-shared/moc_qaction.cpp:151
#42 QAction::qt_static_metacall (_o=0x9a6e6f8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x98caf58) at .moc/release-shared/moc_qaction.cpp:137
#43 0xb6e032fa in QMetaCallEvent::placeMetaCall (this=0x9a9b080, object=0x9a6e6f8) at kernel/qobject.cpp:525
#44 0xb6e0785b in QObject::event (this=0x9a6e6f8, e=0x9a9b080) at kernel/qobject.cpp:1204
#45 0xb62b9df5 in event (e=<optimized out>, this=<optimized out>) at kernel/qaction.cpp:1187
#46 QAction::event (this=0x9a6e6f8, e=0xadf2368) at kernel/qaction.cpp:1172
#47 0xb7464099 in KAction::event (this=0x9a6e6f8, event=0x9a9b080) at /usr/src/debug/kdelibs-4.9.2/kdeui/actions/kaction.cpp:131
#48 0xb62c0adc in QApplicationPrivate::notify_helper (this=0x98642b0, receiver=0x9a6e6f8, e=0x9a9b080) at kernel/qapplication.cpp:4557
#49 0xb62c54df in QApplication::notify (this=0x9a9b080, receiver=0x9a6e6f8, e=0x9a9b080) at kernel/qapplication.cpp:3939
#50 0xb755c6a1 in KApplication::notify (this=0xbfc3b270, receiver=0x9a6e6f8, event=0x9a9b080) at /usr/src/debug/kdelibs-4.9.2/kdeui/kernel/kapplication.cpp:311
#51 0xb6df157e in QCoreApplication::notifyInternal (this=0xbfc3b270, receiver=0x9a6e6f8, event=0x9a9b080) at kernel/qcoreapplication.cpp:915
#52 0xb6df52cd in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#53 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9797a40) at kernel/qcoreapplication.cpp:1539
#54 0xb6df554c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#55 0xb6e23194 in sendPostedEvents () at kernel/qcoreapplication.h:236
#56 postEventSourceDispatch (s=s@entry=0x9865458) at kernel/qeventdispatcher_glib.cpp:279
#57 0xb59ae7d3 in g_main_dispatch (context=0x9863eb0) at gmain.c:2539
#58 g_main_context_dispatch (context=context@entry=0x9863eb0) at gmain.c:3075
#59 0xb59aeb70 in g_main_context_iterate (context=context@entry=0x9863eb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3146
#60 0xb59aec51 in g_main_context_iteration (context=0x9863eb0, may_block=1) at gmain.c:3207
#61 0xb6e23311 in QEventDispatcherGlib::processEvents (this=0x9809eb8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#62 0xb637233a in QGuiEventDispatcherGlib::processEvents (this=0x9809eb8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#63 0xb6df004c in QEventLoop::processEvents (this=this@entry=0xbfc3b1e8, flags=...) at kernel/qeventloop.cpp:149
#64 0xb6df0341 in QEventLoop::exec (this=0xbfc3b1e8, flags=...) at kernel/qeventloop.cpp:204
#65 0xb6df55fa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#66 0xb62be954 in QApplication::exec () at kernel/qapplication.cpp:3818
#67 0xb77b2353 in kdemain (argc=1, argv=0x97e8a70) at /usr/src/debug/calligra-2.5.2/flow/part/main.cpp:40
#68 0x0804fc0e in launch (argc=argc@entry=1, _name=_name@entry=0x9801dfc "/usr/bin/calligraflow", args=<optimized out>, args@entry=0x9801e12 "\001", cwd=cwd@entry=0x0, envc=envc@entry=1, envs=<optimized out>, envs@entry=0x9801e16 "DISPLAY=:0", reset_env=false, tty=tty@entry=0x0, avoid_loops=false, startup_id_str=startup_id_str@entry=0x9801e25 "joachimhp.workgroup;1350327294;184279;5978_TIME11464241") at /usr/src/debug/kdelibs-4.9.2/kinit/kinit.cpp:734
#69 0x080509c4 in handle_launcher_request (sock=8, who=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /usr/src/debug/kdelibs-4.9.2/kinit/kinit.cpp:1226
#70 0x08050fe9 in handle_requests (waitForPid=waitForPid@entry=0) at /usr/src/debug/kdelibs-4.9.2/kinit/kinit.cpp:1419
#71 0x0804c840 in main (argc=4, argv=0xbfc3bc14, envp=0xbfc3bc28) at /usr/src/debug/kdelibs-4.9.2/kinit/kinit.cpp:1907

Reported using DrKonqi
Comment 1 Joachim Mairböck 2012-10-15 19:21:20 UTC

*** This bug has been marked as a duplicate of bug 291014 ***