Bug 306422 - Karbon segfault on creating a new document
Summary: Karbon segfault on creating a new document
Status: RESOLVED FIXED
Alias: None
Product: karbon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Jan Hambrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-07 20:20 UTC by Родион
Modified: 2012-10-17 20:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Родион 2012-09-07 20:20:51 UTC
Application: karbon (2.4.3)
KDE Platform Version: 4.8.4 (4.8.4) "release 2"
Qt Version: 4.8.1
Operating System: Linux 3.4.6-2.10-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

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

Started the application, clicked on "Empty document" to create it.

The crash can be reproduced every time.

-- Backtrace:
Application: Karbon (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f999b6e4780 (LWP 5258))]

Thread 2 (Thread 0x7f9977cc5700 (LWP 5260)):
#0  0x00007f9998d1d13f in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9995a2a6d4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f9995a2a7f4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f999a369956 in QEventDispatcherGlib::processEvents (this=0x7f99700008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f999a33a73f in QEventLoop::processEvents (this=this@entry=0x7f9977cc4d30, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f999a33a9c8 in QEventLoop::exec (this=0x7f9977cc4d30, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f999a23ee40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f999a31b11f in QInotifyFileSystemWatcherEngine::run (this=0x17183e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f999a241ddb in QThreadPrivate::start (arg=0x17183e0) at thread/qthread_unix.cpp:298
#9  0x00007f998afab734 in ?? () from /usr/X11R6/lib64/libGL.so.1
#10 0x00007f9999fabe0e in start_thread (arg=0x7f9977cc5700) at pthread_create.c:305
#11 0x00007f9998d252bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f999b6e4780 (LWP 5258)):
[KCrash Handler]
#5  0x00007f99755ead76 in GTLCore::VirtualMachine::registerModule (this=<optimized out>, mp=0x27dbdb0) at /usr/src/debug/OpenGTL-0.9.17/OpenGTL/GTLCore/VirtualMachine_p.cpp:114
#6  0x00007f9975ebde19 in OpenCTL::Module::compile (this=<optimized out>) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/Module.cpp:159
#7  0x00007f997610e7f3 in KoCtlColorProfile::Private::loadFromSource (this=0x27dba00, self=self@entry=0x27dc2f0) at /usr/src/debug/calligra-2.4.3/krita/plugins/colorspaces/ctlcs/KoCtlColorProfile.cpp:332
#8  0x00007f997610ed6c in KoCtlColorProfile::load (this=0x27dc2f0) at /usr/src/debug/calligra-2.4.3/krita/plugins/colorspaces/ctlcs/KoCtlColorProfile.cpp:295
#9  0x00007f997611b7ff in CTLCSPlugin::CTLCSPlugin (this=<optimized out>, parent=<optimized out>) at /usr/src/debug/calligra-2.4.3/krita/plugins/colorspaces/ctlcs/ctl_cs_plugin.cpp:104
#10 0x00007f997611d4f7 in KPluginFactory::createInstance<CTLCSPlugin, QObject> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/kpluginfactory.h:477
#11 0x00007f999a89fa85 in KPluginFactory::create (this=0x270ae90, iface=0x7f999a413e40 <qt_meta_stringdata_QObject> "QObject", parentWidget=0x0, parent=0x15da3e0, args=..., keyword=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/util/kpluginfactory.cpp:203
#12 0x00007f9983fcda2a in create<QObject> (args=..., keyword=..., parent=0x15da3e0, parentWidget=0x0, this=0x270ae90) at /usr/include/kpluginfactory.h:531
#13 createInstance<QObject> (error=0x7fff56ae3d50, args=..., parent=0x15da3e0, parentWidget=0x0, this=0x1a90980) at /usr/include/kservice.h:565
#14 createInstance<QObject> (error=0x7fff56ae3d50, args=..., parent=0x15da3e0, this=0x1a90980) at /usr/include/kservice.h:542
#15 KoPluginLoader::load (this=0x15da3e0, serviceType=..., versionString=..., config=...) at /usr/src/debug/calligra-2.4.3/libs/koplugin/KoPluginLoader.cpp:120
#16 0x00007f99856fad8a in KoColorSpaceRegistry::init (this=0x1a8cf60) at /usr/src/debug/calligra-2.4.3/libs/pigment/KoColorSpaceRegistry.cpp:106
#17 0x00007f99856fb4e8 in KoColorSpaceRegistry::instance () at /usr/src/debug/calligra-2.4.3/libs/pigment/KoColorSpaceRegistry.cpp:72
#18 0x00007f99856e5c5d in KoColor::KoColor (this=0x1a8cec0) at /usr/src/debug/calligra-2.4.3/libs/pigment/KoColor.cpp:51
#19 0x00007f9985db6477 in KoColorPopupActionPrivate (this=0x1a8cec0) at /usr/src/debug/calligra-2.4.3/libs/widgets/KoColorPopupAction.cpp:50
#20 KoColorPopupAction::KoColorPopupAction (this=0x1a8cac0, parent=<optimized out>) at /usr/src/debug/calligra-2.4.3/libs/widgets/KoColorPopupAction.cpp:75
#21 0x00007f9976d3cfb1 in StyleDocker::StyleDocker (this=0x1aa9e70, parent=<optimized out>) at /usr/src/debug/calligra-2.4.3/plugins/dockers/styledocker/StyleDocker.cpp:107
#22 0x00007f9976d45040 in StyleDockerFactory::createDockWidget (this=0x1a583c0) at /usr/src/debug/calligra-2.4.3/plugins/dockers/styledocker/StyleDockerFactory.cpp:39
#23 0x00007f99862af565 in KoMainWindow::createDockWidget (this=0x1569780, factory=0x1a583c0) at /usr/src/debug/calligra-2.4.3/libs/main/KoMainWindow.cpp:1835
#24 0x00007f99862cca4b in KoView::KoView (this=0x1a4f4f0, __vtt_parm=<optimized out>, document=<optimized out>, parent=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.4.3/libs/main/KoView.cpp:185
#25 0x00007f99865ae124 in KarbonView::KarbonView(KarbonPart*, QWidget*) () from /usr/lib64/libkarbonui.so.9
#26 0x00007f99865a601e in KarbonPart::createViewInstance(QWidget*) () from /usr/lib64/libkarbonui.so.9
#27 0x00007f998628298a in KoDocument::createView (this=0x15e5a60, parent=<optimized out>) at /usr/src/debug/calligra-2.4.3/libs/main/KoDocument.cpp:438
#28 0x00007f99862b0351 in KoMainWindow::setRootDocument (this=0x1569780, doc=0x15e5a60) at /usr/src/debug/calligra-2.4.3/libs/main/KoMainWindow.cpp:454
#29 0x00007f9986285c28 in deleteOpenPane (this=0x15e5a60, closing=<optimized out>) at /usr/src/debug/calligra-2.4.3/libs/main/KoDocument.cpp:2739
#30 KoDocument::deleteOpenPane (this=0x15e5a60, closing=false) at /usr/src/debug/calligra-2.4.3/libs/main/KoDocument.cpp:2732
#31 0x00007f9986286562 in KoDocument::openTemplate (this=0x15e5a60, url=...) at /usr/src/debug/calligra-2.4.3/libs/main/KoDocument.cpp:2680
#32 0x00007f99865a5f7e in KarbonPart::openTemplate(KUrl const&) () from /usr/lib64/libkarbonui.so.9
#33 0x00007f999a351f5f in QMetaObject::activate (sender=0x17d7c90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff56ae4ba0) at kernel/qobject.cpp:3556
#34 0x00007f99862ea035 in KoOpenPane::openTemplate (this=<optimized out>, _t1=...) at /usr/src/debug/calligra-2.4.3/build/libs/main/KoOpenPane.moc:125
#35 0x00007f999a351f5f in QMetaObject::activate (sender=0x19141f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff56ae4ce0) at kernel/qobject.cpp:3556
#36 0x00007f99862e8b32 in KoDetailsPane::openUrl (this=<optimized out>, _t1=...) at /usr/src/debug/calligra-2.4.3/build/libs/main/KoDetailsPane.moc:119
#37 0x00007f99862f346f in openFile (index=..., this=<optimized out>) at /usr/src/debug/calligra-2.4.3/libs/main/KoTemplatesPane.cpp:138
#38 KoTemplatesPane::openFile (this=0x19141f0, index=...) at /usr/src/debug/calligra-2.4.3/libs/main/KoTemplatesPane.cpp:130
#39 0x00007f999a351f5f in QMetaObject::activate (sender=0x18e1e50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff56ae4ec0) at kernel/qobject.cpp:3556
#40 0x00007f99999cfd15 in QAbstractItemView::doubleClicked(QModelIndex const&) () from /usr/lib64/libQtGui.so.4
#41 0x00007f9999a1aa3d in QTreeView::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#42 0x00007f999951ae7a in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#43 0x00007f99998c4ca6 in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#44 0x00007f99999d2343 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#45 0x00007f9999a15961 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#46 0x00007f999a33b8a6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x1916770, event=0x7fff56ae5b20) at kernel/qcoreapplication.cpp:986
#47 0x00007f99994cb71c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#48 0x00007f99994d04db in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#49 0x00007f999b0d44f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#50 0x00007f999a33b73e in QCoreApplication::notifyInternal (this=0x7fff56ae66e0, receiver=0x1916770, event=0x7fff56ae5b20) at kernel/qcoreapplication.cpp:876
#51 0x00007f99994cc58b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#52 0x00007f9999546bd4 in ?? () from /usr/lib64/libQtGui.so.4
#53 0x00007f9999545961 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#54 0x00007f999956bc32 in ?? () from /usr/lib64/libQtGui.so.4
#55 0x00007f9995a2a405 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#56 0x00007f9995a2a738 in ?? () from /usr/lib64/libglib-2.0.so.0
#57 0x00007f9995a2a7f4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#58 0x00007f999a369936 in QEventDispatcherGlib::processEvents (this=0x1205790, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#59 0x00007f999956b8ae in ?? () from /usr/lib64/libQtGui.so.4
#60 0x00007f999a33a73f in QEventLoop::processEvents (this=this@entry=0x7fff56ae6660, flags=...) at kernel/qeventloop.cpp:149
#61 0x00007f999a33a9c8 in QEventLoop::exec (this=0x7fff56ae6660, flags=...) at kernel/qeventloop.cpp:204
#62 0x00007f999a33f3a8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#63 0x00007f99867e2ef1 in kdemain () from /usr/lib64/libkdeinit4_karbon.so
#64 0x0000000000408892 in _start ()

Reported using DrKonqi
Comment 1 Yue Liu 2012-10-17 20:02:21 UTC
Git commit 5219078efc3389cc5d5a3947b337358a9ef6a89e by Yue Liu.
Committed on 17/10/2012 at 22:01.
Pushed by liu into branch 'calligra/2.5'.

disabled krita colorspace plugins for braindump, flow, karbon, avoid possible crash when opengtl has problem. REVIEW: 106932
Related: bug 295774, bug 302556, bug 306356

M  +3    -0    braindump/data/CMakeLists.txt
A  +7    -0    braindump/data/braindumprc
M  +8    -0    flow/part/flowrc
M  +2    -0    karbon/data/karbonrc

http://commits.kde.org/calligra/5219078efc3389cc5d5a3947b337358a9ef6a89e