Bug 300963

Summary: Karbon segfaults when being closed
Product: [Applications] karbon Reporter: Christian Reiner <foss>
Component: generalAssignee: Jan Hambrecht <jaham>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Christian Reiner 2012-05-31 20:01:24 UTC
Application: karbon (2.4.1)
KDE Platform Version: 4.8.3 (4.8.3) "release 5"
Qt Version: 4.8.1
Operating System: Linux 3.4.0-25-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

Each time I close karbon it segfaults right after closing the window.

The crash can be reproduced every time.

-- Backtrace:
Application: Karbon (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007fc4103f595f in KoToolBase::~KoToolBase() () from /usr/lib64/libflake.so.9
#8  0x00007fc40832b599 in ?? () from /usr/lib64/kde4/defaulttools.so
#9  0x00007fc4104098f3 in KoToolManager::Private::detachCanvas(KoCanvasController*) () from /usr/lib64/libflake.so.9
#10 0x00007fc410409dcd in KoToolManager::removeCanvasController(KoCanvasController*) () from /usr/lib64/libflake.so.9
#11 0x00007fc410f2d77f in KarbonView::~KarbonView() () from /usr/lib64/libkarbonui.so.9
#12 0x00007fc410f2d839 in KarbonView::~KarbonView() () from /usr/lib64/libkarbonui.so.9
#13 0x00007fc410c2b1cb in KoMainWindow::setRootDocument(KoDocument*) () from /usr/lib64/libkomain.so.9
#14 0x00007fc410c2b5f9 in KoMainWindow::closeEvent(QCloseEvent*) () from /usr/lib64/libkomain.so.9
#15 0x00007fc423caeb8e in QWidget::event (this=0x13f0a30, event=0x7fffd697aff0) at kernel/qwidget.cpp:8520
#16 0x00007fc4240839cb in QMainWindow::event (this=0x13f0a30, event=0x7fffd697aff0) at widgets/qmainwindow.cpp:1478
#17 0x00007fc4259b4498 in KXmlGuiWindow::event (this=0x13f0a30, ev=0x7fffd697aff0) at /usr/src/debug/kdelibs-4.8.3/kdeui/xmlgui/kxmlguiwindow.cpp:126
#18 0x00007fc423c5e0d4 in notify_helper (e=0x7fffd697aff0, receiver=0x13f0a30, this=0x117a6a0) at kernel/qapplication.cpp:4554
#19 QApplicationPrivate::notify_helper (this=0x117a6a0, receiver=0x13f0a30, e=0x7fffd697aff0) at kernel/qapplication.cpp:4526
#20 0x00007fc423c62f53 in QApplication::notify (this=0x7fffd697ba00, receiver=0x13f0a30, e=0x7fffd697aff0) at kernel/qapplication.cpp:4415
#21 0x00007fc4258b88f6 in KApplication::notify (this=0x7fffd697ba00, receiver=0x13f0a30, event=0x7fffd697aff0) at /usr/src/debug/kdelibs-4.8.3/kdeui/kernel/kapplication.cpp:311
#22 0x00007fc424af722c in QCoreApplication::notifyInternal (this=0x7fffd697ba00, receiver=0x13f0a30, event=0x7fffd697aff0) at kernel/qcoreapplication.cpp:876
#23 0x00007fc423ca88ed in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#24 QWidgetPrivate::close_helper (this=0x1408c80, mode=QWidgetPrivate::CloseWithSpontaneousEvent) at kernel/qwidget.cpp:7928
#25 0x00007fc423cdb9f6 in translateCloseEvent (this=0x13f0a30) at kernel/qapplication_x11.cpp:5434
#26 QApplication::x11ClientMessage (this=<optimized out>, w=0x13f0a30, event=<optimized out>, passive_only=<optimized out>) at kernel/qapplication_x11.cpp:3150
#27 0x00007fc423cd9d64 in QApplication::x11ProcessEvent (this=0x7fffd697ba00, event=0x7fffd697b5f0) at kernel/qapplication_x11.cpp:3775
#28 0x00007fc423d01ae2 in x11EventSourceDispatch (s=0x117e3c0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x00007fc4202925dd in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007fc420292dd8 in ?? () from /usr/lib64/libglib-2.0.so.0
#31 0x00007fc420292fa9 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007fc424b2627f in QEventDispatcherGlib::processEvents (this=0xfc0770, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007fc423d0176e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007fc424af6012 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007fc424af6267 in QEventLoop::exec (this=0x7fffd697b9c0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007fc424afadc5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#37 0x00007fc411169e15 in kdemain () from /usr/lib64/libkdeinit4_karbon.so
#38 0x00000000004088e4 in _start ()

Possible duplicates by query: bug 291515, bug 291014.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-03-04 03:19:18 UTC

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