Bug 306356 - Calligra-Flow crash when selecting 'Empty document'
Summary: Calligra-Flow crash when selecting 'Empty document'
Status: RESOLVED FIXED
Alias: None
Product: calligraflow
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Yue Liu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-06 16:02 UTC by boogi
Modified: 2012-10-17 20:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.14 KB, text/plain)
2012-09-29 08:07 UTC, Hugo Oosterkamp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description boogi 2012-09-06 16:02:50 UTC
Application: calligraflow (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 i686
Distribution: "openSUSE 12.2 (i586)"

-- Information about the crash:
To reproduce: run Calligra Flow. Select "Empty document". It will crash.

Invocation from console:
~> calligraflow 
flow(7516)/koffice (lib kopageapp) KoOdfLoadingContext::KoOdfLoadingContext: could not parse manifest document 
flow(7516)/koffice (lib kopageapp) KoOdfLoadingContext::KoOdfLoadingContext: defaultstyles.xml not found 
flow(7516)/koffice (lib kopageapp) KoOdfLoadingContext::KoOdfLoadingContext: could not parse manifest document 
flow(7516)/kotext KoOdfLoadingContext::fillStyleStack: style "dp1" not found in content.xml 
KCrash: Application 'calligraflow' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/boogi/.kde4/socket-boogie/kdeinit4__0

The crash can be reproduced every time.

-- Backtrace:
Application: Przepływ (calligraflow), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb3de0ac0 (LWP 7516))]

Thread 2 (Thread 0xaf9acb40 (LWP 7517)):
#0  0xb7733424 in __kernel_vsyscall ()
#1  0xb763d2bb in read () from /lib/libc.so.6
#2  0xb51bdb7e in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb517e642 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#4  0xb517eaa2 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0xb517ec71 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#6  0xb6513a9f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb64e0a3c in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb64e0d31 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb63ce93c in QThread::exec() () from /usr/lib/libQtCore.so.4
#10 0xb64bf21d in ?? () from /usr/lib/libQtCore.so.4
#11 0xb63d1d00 in ?? () from /usr/lib/libQtCore.so.4
#12 0xb5238e32 in start_thread () from /lib/libpthread.so.0
#13 0xb764e8ee in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb3de0ac0 (LWP 7516)):
[KCrash Handler]
#6  0xae4a293f in GTLCore::VirtualMachine::registerModule (this=0x8dd07a8, mp=0x8dd0468) at /usr/src/debug/OpenGTL-0.9.17/OpenGTL/GTLCore/VirtualMachine_p.cpp:114
#7  0xaec2dbd3 in OpenCTL::Module::compile (this=0x8dd0468) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/Module.cpp:159
#8  0xaec36044 in OpenCTL::Compiler::importModule (this=0xbfd917c4, name=...) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/compiler/Compiler.cpp:228
#9  0xaec3939c in OpenCTL::ParserNG::parseModuleHeader (this=0x8dc2930) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/compiler/ParserNG.cpp:139
#10 0xaec39555 in OpenCTL::ParserNG::parse (this=0x8dc2930) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/compiler/ParserNG.cpp:77
#11 0xaec36ff4 in OpenCTL::Compiler::compile (this=0xbfd917c4, _isStandardLibrary=12, sourceCode=..., moduleName=..., moduleData=0x8dc2790, _module=0x895f400) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/compiler/Compiler.cpp:180
#12 0xaec2db2c in OpenCTL::Module::compile (this=0x895f460) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/Module.cpp:152
#13 0xaec84b61 in KoCtlColorProfile::Private::loadFromSource (this=0x8dc17c0, self=self@entry=0x8d28760) at /usr/src/debug/calligra-2.4.3/krita/plugins/colorspaces/ctlcs/KoCtlColorProfile.cpp:332
#14 0xaec85177 in KoCtlColorProfile::load (this=0x8d28760) at /usr/src/debug/calligra-2.4.3/krita/plugins/colorspaces/ctlcs/KoCtlColorProfile.cpp:295
#15 0xaec93381 in CTLCSPlugin::CTLCSPlugin (this=0x8dc1c90, parent=0x88ed318) at /usr/src/debug/calligra-2.4.3/krita/plugins/colorspaces/ctlcs/ctl_cs_plugin.cpp:104
#16 0xaec9524a in KPluginFactory::createInstance<CTLCSPlugin, QObject> (parentWidget=0x0, parent=0x88ed318, args=...) at /usr/include/kpluginfactory.h:477
#17 0xb6859f64 in KPluginFactory::create (this=0x8d288c0, iface=0xb65c3620 "QObject", parentWidget=0x0, parent=0x88ed318, args=..., keyword=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/util/kpluginfactory.cpp:203
#18 0xb48281f4 in create<QObject> (args=..., keyword=..., parent=0x88ed318, parentWidget=0x0, this=0x8d288c0) at /usr/include/kpluginfactory.h:531
#19 createInstance<QObject> (error=0xbfd91b44, args=..., parent=0x88ed318, parentWidget=0x0, this=0x8d23d88) at /usr/include/kservice.h:565
#20 createInstance<QObject> (error=0xbfd91b44, args=..., parent=0x88ed318, this=0x8d23d88) at /usr/include/kservice.h:542
#21 KoPluginLoader::load (this=0x88ed318, serviceType=..., versionString=..., config=...) at /usr/src/debug/calligra-2.4.3/libs/koplugin/KoPluginLoader.cpp:120
#22 0xb48eba78 in KoColorSpaceRegistry::init (this=0x8d21d88) at /usr/src/debug/calligra-2.4.3/libs/pigment/KoColorSpaceRegistry.cpp:106
#23 0xb48ec288 in KoColorSpaceRegistry::instance () at /usr/src/debug/calligra-2.4.3/libs/pigment/KoColorSpaceRegistry.cpp:72
#24 0xb48d4e87 in KoColor::KoColor (this=0x8d21d28) at /usr/src/debug/calligra-2.4.3/libs/pigment/KoColor.cpp:51
#25 0xb5f96d4e in KoColorPopupActionPrivate (this=0x8d21d28) at /usr/src/debug/calligra-2.4.3/libs/widgets/KoColorPopupAction.cpp:50
#26 KoColorPopupAction::KoColorPopupAction (this=0x8d21b00, parent=0x8d0fce8) at /usr/src/debug/calligra-2.4.3/libs/widgets/KoColorPopupAction.cpp:75
#27 0xb28f01e9 in StyleDocker::StyleDocker (this=0x8cde3b0, parent=0x0) at /usr/src/debug/calligra-2.4.3/plugins/dockers/styledocker/StyleDocker.cpp:107
#28 0xb28f92c4 in StyleDockerFactory::createDockWidget (this=0x88ee298) at /usr/src/debug/calligra-2.4.3/plugins/dockers/styledocker/StyleDockerFactory.cpp:39
#29 0xb748d6a0 in KoMainWindow::createDockWidget (this=0x8952f40, factory=0x88ee298) at /usr/src/debug/calligra-2.4.3/libs/main/KoMainWindow.cpp:1835
#30 0xb74ae39f in KoView::KoView (this=0x8b72a98, __vtt_parm=0xb2a38b88, document=0x8915558, parent=0x8952f40, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.4.3/libs/main/KoView.cpp:185
#31 0xb29fd105 in KoPAView::KoPAView (this=0x8b72a98, __vtt_parm=0xb2a38b84, document=0x8915558, parent=0x8952f40, __in_chrg=<optimized out>) at /usr/src/debug/calligra-2.4.3/libs/kopageapp/KoPAView.cpp:164
#32 0xb2a35d9f in ?? () from /usr/lib/libflowprivate.so.9
#33 0xb2a3535c in ?? () from /usr/lib/libflowprivate.so.9
#34 0xb745b792 in KoDocument::createView (this=0x8915558, parent=0x8952f40) at /usr/src/debug/calligra-2.4.3/libs/main/KoDocument.cpp:438
#35 0xb748e583 in KoMainWindow::setRootDocument (this=0x8952f40, doc=0x8915558) at /usr/src/debug/calligra-2.4.3/libs/main/KoMainWindow.cpp:454
#36 0xb745f238 in deleteOpenPane (this=0x8915558, closing=<optimized out>) at /usr/src/debug/calligra-2.4.3/libs/main/KoDocument.cpp:2739
#37 KoDocument::deleteOpenPane (this=0x8915558, closing=false) at /usr/src/debug/calligra-2.4.3/libs/main/KoDocument.cpp:2732
#38 0xb745fe19 in KoDocument::openTemplate (this=0x8915558, url=...) at /usr/src/debug/calligra-2.4.3/libs/main/KoDocument.cpp:2680
#39 0xb745f5d6 in qt_static_metacall (_a=0xbfd923d8, _id=16, _o=0x8915558, _c=<optimized out>) at /usr/src/debug/calligra-2.4.3/build/libs/main/KoDocument.moc:105
#40 KoDocument::qt_static_metacall (_o=0x8915558, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbfd923d8) at /usr/src/debug/calligra-2.4.3/build/libs/main/KoDocument.moc:82
#41 0xb64f9ef2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#42 0xb74cf6c5 in KoOpenPane::openTemplate (this=0x89dc648, _t1=...) at /usr/src/debug/calligra-2.4.3/build/libs/main/KoOpenPane.moc:125
#43 0xb64f9ef2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#44 0xb74cdbe5 in KoDetailsPane::openUrl (this=0x8b73870, _t1=...) at /usr/src/debug/calligra-2.4.3/build/libs/main/KoDetailsPane.moc:119
#45 0xb74d9de4 in openFile (index=..., this=0x8b73870) at /usr/src/debug/calligra-2.4.3/libs/main/KoTemplatesPane.cpp:138
#46 KoTemplatesPane::openFile (this=0x8b73870, index=...) at /usr/src/debug/calligra-2.4.3/libs/main/KoTemplatesPane.cpp:130
#47 0xb74cdca2 in qt_static_metacall (_a=0xbfd92678, _id=5, _o=0x8b73870, _c=<optimized out>) at /usr/src/debug/calligra-2.4.3/build/libs/main/KoDetailsPane.moc:67
#48 KoDetailsPane::qt_static_metacall (_o=0x8b73870, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfd92678) at /usr/src/debug/calligra-2.4.3/build/libs/main/KoDetailsPane.moc:56
#49 0xb64f9ef2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#50 0xb7008d85 in QAbstractItemView::doubleClicked(QModelIndex const&) () from /usr/lib/libQtGui.so.4
#51 0xb705a494 in QTreeView::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#52 0xb6ac7140 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#53 0xb6ed6c85 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#54 0xb6f67fa3 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#55 0xb700ba8c in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#56 0xb70543f7 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#57 0xb6f6a7b6 in ?? () from /usr/lib/libQtGui.so.4
#58 0xb64e1dee in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#59 0xb6a6dabd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#60 0xb6a73099 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#61 0xb54eb201 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#62 0xb64e1c7e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#63 0xb6a6e94f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#64 0xb6af6f65 in ?? () from /usr/lib/libQtGui.so.4
#65 0xb6af5a29 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#66 0xb6b1f5f4 in ?? () from /usr/lib/libQtGui.so.4
#67 0xb517e7f3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#68 0xb517eb90 in ?? () from /usr/lib/libglib-2.0.so.0
#69 0xb517ec71 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#70 0xb6513a81 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#71 0xb6b1f1da in ?? () from /usr/lib/libQtGui.so.4
#72 0xb64e0a3c in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#73 0xb64e0d31 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#74 0xb64e5cea in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#75 0xb6a6b934 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#76 0xb770b213 in kdemain () from /usr/lib/libkdeinit4_calligraflow.so
#77 0x080485bb in ?? ()
#78 0xb757d3d5 in __libc_start_main () from /lib/libc.so.6
#79 0x080485e1 in _start ()

Reported using DrKonqi
Comment 1 Hugo Oosterkamp 2012-09-29 08:07:24 UTC
Created attachment 74225 [details]
New crash information added by DrKonqi

calligraflow (2.4.3) on KDE Platform 4.8.5 (4.8.5) "release 2" using Qt 4.8.1

- What I was doing when the application crashed:
started and empty template from the selection screen in calligra

-- Backtrace (Reduced):
#6  0xadaed93f in GTLCore::VirtualMachine::registerModule (this=0x9ad4a58, mp=0x9ad25b0) at /usr/src/debug/OpenGTL-0.9.17/OpenGTL/GTLCore/VirtualMachine_p.cpp:114
#7  0xae652bd3 in OpenCTL::Module::compile (this=0x9ad25b0) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/Module.cpp:159
#8  0xae65b044 in OpenCTL::Compiler::importModule (this=0xbfa83ba4, name=...) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/compiler/Compiler.cpp:228
#9  0xae65e39c in OpenCTL::ParserNG::parseModuleHeader (this=0x9acd418) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/compiler/ParserNG.cpp:139
#10 0xae65e555 in OpenCTL::ParserNG::parse (this=0x9acd418) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/compiler/ParserNG.cpp:77
Comment 2 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 306422

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