Bug 295774

Summary: Calligra crash after llvm 2.9 to 3.0 and adding openGTL-0.9.16(not on system before)
Product: [Applications] calligraflow Reporter: Wayne <wmhrae>
Component: generalAssignee: Yue Liu <mxj4>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 2.4-snapshots   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Wayne 2012-03-11 15:44:11 UTC
Application: calligraflow (2.5 Alpha 1)
KDE Platform Version: 4.8.00 (4.8.0
Qt Version: 4.8.0
Operating System: Linux 3.2.7-smp i686

-- Information about the crash:
- What I was doing when the application crashed:
The crashing started after Ihave succesfully build and use calligra for five tims Ithen did git pull saw that openGTL WAS NEEDED WHAT I DID IS TO ADD IT ) PROBLEMS APEARS AFTER SUCCESFULL COMPILATION when trying to run Isee this ... problem can besolved by removing openGTL AND GO BACK TO LLVM-2.9

The crash can be reproduced every time.

-- Backtrace:
Application: Flow (calligraflow), signal: Segmentation fault
[Current thread is 1 (Thread 0xb3d29710 (LWP 4879))]

Thread 3 (Thread 0xb2534b70 (LWP 4898)):
#0  0xb509f864 in poll () from /lib/libc.so.6
#1  0xb428270b in g_poll () from /usr/lib/libglib-2.0.so.0
#2  0xb4274e6e in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb427532b in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4  0xb26d2f8a in ?? () from /usr/lib/libgio-2.0.so.0
#5  0xb4297eb3 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0xb5305a59 in start_thread () from /lib/libpthread.so.0
#7  0xb50aa5de in clone () from /lib/libc.so.6

Thread 2 (Thread 0xac9e5b70 (LWP 4919)):
#0  0xb4351ef0 in clock_gettime () from /lib/librt.so.1
#1  0xb53e98f5 in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#2  0xb54d3366 in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#3  0xb54d36ca in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#4  0xb54d1f53 in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#5  0xb54d1fed in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#6  0xb427454a in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb4274d6f in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb4274fc1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb54d2a27 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt/lib/libQtCore.so.4
#10 0xb549ea6d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt/lib/libQtCore.so.4
#11 0xb549ed09 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt/lib/libQtCore.so.4
#12 0xb53881ec in QThread::exec() () from /usr/lib/qt/lib/libQtCore.so.4
#13 0xb547be8d in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#14 0xb538b6c0 in ?? () from /usr/lib/qt/lib/libQtCore.so.4
#15 0xb5305a59 in start_thread () from /lib/libpthread.so.0
#16 0xb50aa5de in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb3d29710 (LWP 4879)):
[KCrash Handler]
#6  0xab2ef4df in GTLCore::VirtualMachine::registerModule(llvm::Module*) () from /usr/lib/libGTLCore.so.0.8
#7  0xacada933 in OpenCTL::Module::compile() () from /usr/lib/libOpenCTL.so.0.8
#8  0xacae27df in ?? () from /usr/lib/libOpenCTL.so.0.8
#9  0xacae3d9b in ?? () from /usr/lib/libOpenCTL.so.0.8
#10 0xacada88c in OpenCTL::Module::compile() () from /usr/lib/libOpenCTL.so.0.8
#11 0xabe2e498 in KoCtlColorProfile::Private::loadFromSource(KoCtlColorProfile*) () from /usr/lib/kde4/krita_ctlcs_plugin.so
#12 0xabe2eb9c in KoCtlColorProfile::load() () from /usr/lib/kde4/krita_ctlcs_plugin.so
#13 0xabe3e4de in CTLCSPlugin::CTLCSPlugin(QObject*, QList<QVariant> const&) () from /usr/lib/kde4/krita_ctlcs_plugin.so
#14 0xabe40771 in QObject* KPluginFactory::createInstance<CTLCSPlugin, QObject>(QWidget*, QObject*, QList<QVariant> const&) () from /usr/lib/kde4/krita_ctlcs_plugin.so
#15 0xb5827326 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/libkdecore.so.5
#16 0xb70a1329 in KoPluginLoader::load(QString const&, QString const&, KoPluginLoader::PluginsConfig const&) () from /tmp/package-calligra/usr/lib/libkoplugin.so.9
#17 0xb70f03f4 in KoColorSpaceRegistry::init() () from /tmp/package-calligra/usr/lib/libpigmentcms.so.9
#18 0xb70f0d78 in KoColorSpaceRegistry::instance() () from /tmp/package-calligra/usr/lib/libpigmentcms.so.9
#19 0xb70d7aa8 in KoColor::KoColor() () from /tmp/package-calligra/usr/lib/libpigmentcms.so.9
#20 0xb7606958 in KoColorPopupAction::KoColorPopupAction(QObject*) () from /tmp/package-calligra/usr/lib/libkowidgets.so.9
#21 0xb034bb76 in StyleDocker::StyleDocker(QWidget*) () from /usr/lib/kde4/calligradockers.so
#22 0xb0356085 in StyleDockerFactory::createDockWidget() () from /usr/lib/kde4/calligradockers.so
#23 0xb76e40cf in KoMainWindow::createDockWidget(KoDockFactoryBase*) () from /tmp/package-calligra/usr/lib/libkomain.so.9
#24 0xb7709cb7 in KoView::KoView(KoDocument*, QWidget*) () from /tmp/package-calligra/usr/lib/libkomain.so.9
#25 0xaff9485a in KoPAView::KoPAView(KoPADocument*, QWidget*) () from /tmp/package-calligra/usr/lib/libkopageapp.so.9
#26 0xb044ac84 in FlowView::FlowView(FlowDocument*, QWidget*) () from /tmp/package-calligra/usr/lib/libflowprivate.so.9
#27 0xb044a2c8 in FlowDocument::createViewInstance(QWidget*) () from /tmp/package-calligra/usr/lib/libflowprivate.so.9
#28 0xb76afb6b in KoDocument::createView(QWidget*) () from /tmp/package-calligra/usr/lib/libkomain.so.9
#29 0xb76e4ec8 in KoMainWindow::setRootDocument(KoDocument*) () from /tmp/package-calligra/usr/lib/libkomain.so.9
#30 0xb76b67d0 in KoDocument::deleteOpenPane(bool) () from /tmp/package-calligra/usr/lib/libkomain.so.9
#31 0xb76b6a9f in KoDocument::openTemplate(KUrl const&) () from /tmp/package-calligra/usr/lib/libkomain.so.9
#32 0xb76b6d92 in KoDocument::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /tmp/package-calligra/usr/lib/libkomain.so.9
#33 0xb54b662f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/qt/lib/libQtCore.so.4
#34 0xb772d776 in KoOpenPane::openTemplate(KUrl const&) () from /tmp/package-calligra/usr/lib/libkomain.so.9
#35 0xb54b662f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/qt/lib/libQtCore.so.4
#36 0xb772bb16 in KoDetailsPane::openUrl(KUrl const&) () from /tmp/package-calligra/usr/lib/libkomain.so.9
#37 0xb7738c96 in KoTemplatesPane::openFile(QModelIndex const&) () from /tmp/package-calligra/usr/lib/libkomain.so.9
#38 0xb772b7d1 in KoDetailsPane::openFile() () from /tmp/package-calligra/usr/lib/libkomain.so.9
#39 0xb7738a4c in KoTemplatesPane::openFile() () from /tmp/package-calligra/usr/lib/libkomain.so.9
#40 0xb772bbeb in KoDetailsPane::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /tmp/package-calligra/usr/lib/libkomain.so.9
#41 0xb54b662f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/qt/lib/libQtCore.so.4
#42 0xb61c24dd in QAbstractButton::clicked(bool) () from /usr/lib/qt/lib/libQtGui.so.4
#43 0xb5eb4c7d in ?? () from /usr/lib/qt/lib/libQtGui.so.4
#44 0xb5eb62db in ?? () from /usr/lib/qt/lib/libQtGui.so.4
#45 0xb5eb6596 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/qt/lib/libQtGui.so.4
#46 0xb5ae6c37 in QWidget::event(QEvent*) () from /usr/lib/qt/lib/libQtGui.so.4
#47 0xb5eb5849 in QAbstractButton::event(QEvent*) () from /usr/lib/qt/lib/libQtGui.so.4
#48 0xb5f59ac8 in QPushButton::event(QEvent*) () from /usr/lib/qt/lib/libQtGui.so.4
#49 0xb5a8c6f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/qt/lib/libQtGui.so.4
#50 0xb5a9252c in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt/lib/libQtGui.so.4
#51 0xb6629261 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#52 0xb549fefe in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/qt/lib/libQtCore.so.4
#53 0xb5a8d6b0 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/qt/lib/libQtGui.so.4
#54 0xb5b16fcf in ?? () from /usr/lib/qt/lib/libQtGui.so.4
#55 0xb5b15f67 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/qt/lib/libQtGui.so.4
#56 0xb5b40cbc in ?? () from /usr/lib/qt/lib/libQtGui.so.4
#57 0xb4274ada in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#58 0xb4274ee5 in ?? () from /usr/lib/libglib-2.0.so.0
#59 0xb4274fc1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#60 0xb54d29c7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt/lib/libQtCore.so.4
#61 0xb5b408da in ?? () from /usr/lib/qt/lib/libQtGui.so.4
#62 0xb549ea6d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt/lib/libQtCore.so.4
#63 0xb549ed09 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt/lib/libQtCore.so.4
#64 0xb54a3f5a in QCoreApplication::exec() () from /usr/lib/qt/lib/libQtCore.so.4
#65 0xb5a8a564 in QApplication::exec() () from /usr/lib/qt/lib/libQtGui.so.4
#66 0xb77ca2a5 in kdemain () from /tmp/package-calligra/usr/lib/libkdeinit4_calligraflow.so
#67 0x0804868b in main ()

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 302556, bug 306356, 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