<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>306422</bug_id>
          
          <creation_ts>2012-09-07 20:20:51 +0000</creation_ts>
          <short_desc>Karbon segfault on creating a new document</short_desc>
          <delta_ts>2012-10-17 20:02:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>karbon</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Родион">arparamir</reporter>
          <assigned_to name="Jan Hambrecht">jaham</assigned_to>
          
          
          <cf_commitlink>http://commits.kde.org/calligra/5219078efc3389cc5d5a3947b337358a9ef6a89e</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1295148</commentid>
    <comment_count>0</comment_count>
    <who name="Родион">arparamir</who>
    <bug_when>2012-09-07 20:20:51 +0000</bug_when>
    <thetext>Application: karbon (2.4.3)
KDE Platform Version: 4.8.4 (4.8.4) &quot;release 2&quot;
Qt Version: 4.8.1
Operating System: Linux 3.4.6-2.10-desktop x86_64
Distribution: &quot;openSUSE 12.2 (x86_64)&quot;

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

Started the application, clicked on &quot;Empty document&quot; to create it.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f9977cc5700 (LWP 5260)):
#0  0x00007f9998d1d13f in __GI___poll (fds=&lt;optimized out&gt;, nfds=&lt;optimized out&gt;, timeout=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, mp=0x27dbdb0) at /usr/src/debug/OpenGTL-0.9.17/OpenGTL/GTLCore/VirtualMachine_p.cpp:114
#6  0x00007f9975ebde19 in OpenCTL::Module::compile (this=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, parent=&lt;optimized out&gt;) at /usr/src/debug/calligra-2.4.3/krita/plugins/colorspaces/ctlcs/ctl_cs_plugin.cpp:104
#10 0x00007f997611d4f7 in KPluginFactory::createInstance&lt;CTLCSPlugin, QObject&gt; (parentWidget=&lt;optimized out&gt;, parent=&lt;optimized out&gt;, args=...) at /usr/include/kpluginfactory.h:477
#11 0x00007f999a89fa85 in KPluginFactory::create (this=0x270ae90, iface=0x7f999a413e40 &lt;qt_meta_stringdata_QObject&gt; &quot;QObject&quot;, parentWidget=0x0, parent=0x15da3e0, args=..., keyword=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/util/kpluginfactory.cpp:203
#12 0x00007f9983fcda2a in create&lt;QObject&gt; (args=..., keyword=..., parent=0x15da3e0, parentWidget=0x0, this=0x270ae90) at /usr/include/kpluginfactory.h:531
#13 createInstance&lt;QObject&gt; (error=0x7fff56ae3d50, args=..., parent=0x15da3e0, parentWidget=0x0, this=0x1a90980) at /usr/include/kservice.h:565
#14 createInstance&lt;QObject&gt; (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=&lt;optimized out&gt;) at /usr/src/debug/calligra-2.4.3/libs/widgets/KoColorPopupAction.cpp:75
#21 0x00007f9976d3cfb1 in StyleDocker::StyleDocker (this=0x1aa9e70, parent=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, document=&lt;optimized out&gt;, parent=&lt;optimized out&gt;, __in_chrg=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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&amp;) () from /usr/lib64/libkarbonui.so.9
#33 0x00007f999a351f5f in QMetaObject::activate (sender=0x17d7c90, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x7fff56ae4ba0) at kernel/qobject.cpp:3556
#34 0x00007f99862ea035 in KoOpenPane::openTemplate (this=&lt;optimized out&gt;, _t1=...) at /usr/src/debug/calligra-2.4.3/build/libs/main/KoOpenPane.moc:125
#35 0x00007f999a351f5f in QMetaObject::activate (sender=0x19141f0, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x7fff56ae4ce0) at kernel/qobject.cpp:3556
#36 0x00007f99862e8b32 in KoDetailsPane::openUrl (this=&lt;optimized out&gt;, _t1=...) at /usr/src/debug/calligra-2.4.3/build/libs/main/KoDetailsPane.moc:119
#37 0x00007f99862f346f in openFile (index=..., this=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x7fff56ae4ec0) at kernel/qobject.cpp:3556
#40 0x00007f99999cfd15 in QAbstractItemView::doubleClicked(QModelIndex const&amp;) () 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=&lt;optimized out&gt;, 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&lt;QWidget&gt;&amp;, 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1306920</commentid>
    <comment_count>1</comment_count>
    <who name="Yue Liu">mxj4</who>
    <bug_when>2012-10-17 20:02:21 +0000</bug_when>
    <thetext>Git commit 5219078efc3389cc5d5a3947b337358a9ef6a89e by Yue Liu.
Committed on 17/10/2012 at 22:01.
Pushed by liu into branch &apos;calligra/2.5&apos;.

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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>