Bug 274675 - Crash a few seconds after launching Krita
Summary: Crash a few seconds after launching Krita
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-01 12:43 UTC by animtim
Modified: 2011-06-06 12:44 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description animtim 2011-06-01 12:43:37 UTC
Application: krita (2.4 Alpha 1)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.38.6-27.fc15.x86_64 x86_64

-- Information about the crash:
- What I was doing when the application crashed:
I've built Krita on Fedora15.
application doesn't launch correctly, everytime it crashes after a few seconds.
I may have something wrong in my install?

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
[KCrash Handler]
#6  0x0000000001648db0 in ?? ()
#7  0x00007eff46412391 in ?? () from /usr/lib64/libGTLCore.so.0.7
#8  <signal handler called>
#9  0x0000003a4e436415 in raise () from /lib64/libc.so.6
#10 0x0000003a4e437d2b in abort () from /lib64/libc.so.6
#11 0x00007eff5a31cddd in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib64/libstdc++.so.6
#12 0x00007eff5a31af96 in ?? () from /usr/lib64/libstdc++.so.6
#13 0x00007eff5a31afc3 in std::terminate() () from /usr/lib64/libstdc++.so.6
#14 0x00007eff5a31b9cf in __cxa_pure_virtual () from /usr/lib64/libstdc++.so.6
#15 0x00007eff463e22b1 in llvm::BumpPtrAllocator::DeallocateSlabs(llvm::MemSlab*) () from /usr/lib64/libGTLCore.so.0.7
#16 0x00007eff46142e89 in llvm::MachineFunction::~MachineFunction() () from /usr/lib64/libGTLCore.so.0.7
#17 0x00007eff46144552 in llvm::MachineFunctionAnalysis::releaseMemory() () from /usr/lib64/libGTLCore.so.0.7
#18 0x00007eff461446eb in llvm::MachineFunctionAnalysis::~MachineFunctionAnalysis() () from /usr/lib64/libGTLCore.so.0.7
#19 0x00007eff46144739 in llvm::MachineFunctionAnalysis::~MachineFunctionAnalysis() () from /usr/lib64/libGTLCore.so.0.7
#20 0x00007eff4636bb76 in llvm::PMDataManager::~PMDataManager() () from /usr/lib64/libGTLCore.so.0.7
#21 0x00007eff46370709 in llvm::FPPassManager::~FPPassManager() () from /usr/lib64/libGTLCore.so.0.7
#22 0x00007eff4636b7fe in llvm::PMTopLevelManager::~PMTopLevelManager() () from /usr/lib64/libGTLCore.so.0.7
#23 0x00007eff4637084a in llvm::FunctionPassManagerImpl::~FunctionPassManagerImpl() () from /usr/lib64/libGTLCore.so.0.7
#24 0x00007eff46367bd5 in llvm::FunctionPassManager::~FunctionPassManager() () from /usr/lib64/libGTLCore.so.0.7
#25 0x00007eff45ee5bf6 in llvm::JIT::~JIT() () from /usr/lib64/libGTLCore.so.0.7
#26 0x00007eff45ee5db9 in llvm::JIT::~JIT() () from /usr/lib64/libGTLCore.so.0.7
#27 0x00007eff45ec406a in GTLCore::VirtualMachine::~VirtualMachine() () from /usr/lib64/libGTLCore.so.0.7
#28 0x00007eff45ec4098 in ?? () from /usr/lib64/libGTLCore.so.0.7
#29 0x0000003a4e439a71 in __run_exit_handlers () from /lib64/libc.so.6
#30 0x0000003a4e439af5 in exit () from /lib64/libc.so.6
#31 0x00007eff463f3235 in llvm::report_fatal_error(llvm::Twine const&) () from /usr/lib64/libGTLCore.so.0.7
#32 0x00007eff463f334a in llvm::report_fatal_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /usr/lib64/libGTLCore.so.0.7
#33 0x00007eff45ef54a5 in llvm::JIT::getPointerToNamedFunction(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) () from /usr/lib64/libGTLCore.so.0.7
#34 0x00007eff45ee473b in llvm::JIT::getPointerToFunction(llvm::Function*) () from /usr/lib64/libGTLCore.so.0.7
#35 0x00007eff45ef0a04 in ?? () from /usr/lib64/libGTLCore.so.0.7
#36 0x00007eff45ef144a in ?? () from /usr/lib64/libGTLCore.so.0.7
#37 0x00007eff45f35e70 in ?? () from /usr/lib64/libGTLCore.so.0.7
#38 0x00007eff4636e2be in llvm::FPPassManager::runOnFunction(llvm::Function&) () from /usr/lib64/libGTLCore.so.0.7
#39 0x00007eff4636e491 in llvm::FunctionPassManagerImpl::run(llvm::Function&) () from /usr/lib64/libGTLCore.so.0.7
#40 0x00007eff4636e571 in llvm::FunctionPassManager::run(llvm::Function&) () from /usr/lib64/libGTLCore.so.0.7
#41 0x00007eff45ee4109 in llvm::JIT::jitTheFunction(llvm::Function*, llvm::MutexGuard const&) () from /usr/lib64/libGTLCore.so.0.7
#42 0x00007eff45ee455f in llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard const&) () from /usr/lib64/libGTLCore.so.0.7
#43 0x00007eff45ee4790 in llvm::JIT::getPointerToFunction(llvm::Function*) () from /usr/lib64/libGTLCore.so.0.7
#44 0x00007eff445a9a66 in OpenCTL::Program::init(GTLCore::String const&, OpenCTL::Module const*) () from /usr/lib64/libOpenCTL.so.0.7
#45 0x00007eff447de752 in KoCTLCompositeOp::KoCTLCompositeOp (this=0xcc04d20, _template=<optimized out>, cs=<optimized out>, _pd=...) at /home/timo/kde4/src/calligra/krita/plugins/colorspaces/ctlcs/KoCtlCompositeOp.cpp:48
#46 0x00007eff447d2160 in KoCtlColorSpace::KoCtlColorSpace (this=0xcc04510, info=<optimized out>, profile=<optimized out>) at /home/timo/kde4/src/calligra/krita/plugins/colorspaces/ctlcs/KoCtlColorSpace.cpp:101
#47 0x00007eff447d3f85 in KoCtlColorSpaceFactory::createColorSpace (this=0x244bc20, profile=<optimized out>) at /home/timo/kde4/src/calligra/krita/plugins/colorspaces/ctlcs/KoCtlColorSpaceFactory.cpp:87
#48 0x00007eff5bf48d15 in KoColorSpaceFactory::grabColorSpace (this=0x244bc20, profile=0x2c454f0) at /home/timo/kde4/src/calligra/libs/pigment/KoColorSpaceFactory.cpp:100
#49 0x00007eff5bf4ae1c in KoColorSpaceRegistry::colorSpace (this=0x169d670, csID=..., pName=<optimized out>) at /home/timo/kde4/src/calligra/libs/pigment/KoColorSpaceRegistry.cpp:367
#50 0x00007eff5bf4c5af in KoColorSpaceRegistry::colorSpace (this=0x169d670, colorModelId=<optimized out>, colorDepthId=<optimized out>, profileName=...) at /home/timo/kde4/src/calligra/libs/pigment/KoColorSpaceRegistry.cpp:217
#51 0x00007eff2c99fd4c in KisReinhard05Operator::colorSpace (this=<optimized out>) at /home/timo/kde4/src/calligra/krita/plugins/extensions/tonemapping/operators/reinhard05/kis_reinhard05_operator.cc:73
#52 0x00007eff2c9a1718 in OperatorFactory::OperatorFactory (this=<optimized out>) at /home/timo/kde4/src/calligra/krita/plugins/extensions/tonemapping/operators/reinhard05/kis_reinhard05_operator.cc:60
#53 0x0000003a4dc0ea36 in call_init.part.0 () from /lib64/ld-linux-x86-64.so.2
#54 0x0000003a4dc0eb13 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#55 0x0000003a4dc12dc2 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#56 0x0000003a4dc0e8a6 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#57 0x0000003a4dc1330a in _dl_open () from /lib64/ld-linux-x86-64.so.2
#58 0x0000003a4ec00f26 in dlopen_doit () from /lib64/libdl.so.2
#59 0x0000003a4dc0e8a6 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#60 0x0000003a4ec0152f in _dlerror_run () from /lib64/libdl.so.2
#61 0x0000003a4ec00fc1 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2
#62 0x0000003a5794cbbb in ?? () from /usr/lib64/libQtCore.so.4
#63 0x0000003a57947fa5 in ?? () from /usr/lib64/libQtCore.so.4
#64 0x00007eff5a78abc8 in KPluginLoader::load() () from /usr/lib64/libkdecore.so.5
#65 0x00007eff5a78ae99 in KPluginLoader::factory() () from /usr/lib64/libkdecore.so.5
#66 0x00007eff5dbddfcf in createInstance<QObject> (error=0x7fffd73d2600, args=..., parent=0xc0faf70, parentWidget=0x0, this=0xcbe2600) at /usr/include/kde4/kservice.h:549
#67 createInstance<QObject> (error=0x7fffd73d2600, args=..., parent=0xc0faf70, this=0xcbe2600) at /usr/include/kde4/kservice.h:528
#68 KisView2::loadPlugins (this=0xc0faf70) at /home/timo/kde4/src/calligra/krita/ui/kis_view2.cpp:785
#69 0x00007eff5dbdffd5 in KisView2::KisView2 (this=0xc0faf70, doc=<optimized out>, parent=<optimized out>, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/timo/kde4/src/calligra/krita/ui/kis_view2.cpp:348
#70 0x00007eff5db62f86 in KisDoc2::createViewInstance (this=0x7951250, parent=0x79a44e0) at /home/timo/kde4/src/calligra/krita/ui/kis_doc2.cc:420
#71 0x00007eff5d32121a in KoDocument::createView (this=0x7951250, parent=<optimized out>) at /home/timo/kde4/src/calligra/libs/main/KoDocument.cpp:433
#72 0x00007eff5d3511b9 in KoMainWindow::setRootDocument (this=0x798a100, doc=0x7951250) at /home/timo/kde4/src/calligra/libs/main/KoMainWindow.cpp:462
#73 0x00007eff5d3264ba in deleteOpenPane (this=0x7951250, closing=<optimized out>) at /home/timo/kde4/src/calligra/libs/main/KoDocument.cpp:2687
#74 KoDocument::deleteOpenPane (this=0x7951250, closing=<optimized out>) at /home/timo/kde4/src/calligra/libs/main/KoDocument.cpp:2680
#75 0x00007eff5d32aa1e in KoDocument::openFile (this=0x7951250) at /home/timo/kde4/src/calligra/libs/main/KoDocument.cpp:1648
#76 0x00007eff5d07e13c in ?? () from /usr/lib64/libkparts.so.4
#77 0x00007eff5d07e784 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib64/libkparts.so.4
#78 0x00007eff5d32e43d in KoDocument::openUrl (this=0x7951250, _url=...) at /home/timo/kde4/src/calligra/libs/main/KoDocument.cpp:1264
#79 0x00007eff5db68438 in KisDoc2::showStartUpWidget (this=0x7951250, parent=0x798a100, alwaysShow=false) at /home/timo/kde4/src/calligra/krita/ui/kis_doc2.cc:458
#80 0x00007eff5d31cb5d in KoApplication::start (this=<optimized out>) at /home/timo/kde4/src/calligra/libs/main/KoApplication.cpp:156
#81 0x00007eff5df3a549 in kdemain (argc=<optimized out>, argv=0x7fffd73d4318) at /home/timo/kde4/src/calligra/krita/main.cc:46
#82 0x0000003a4e42143d in __libc_start_main () from /lib64/libc.so.6
#83 0x0000000000400851 in _start ()

Reported using DrKonqi
Comment 1 Cyrille Berger 2011-06-05 22:24:42 UTC
I think I have figured it out, it must be the same bug as 248051. It is fixed with opengtl 0.9.15.1, but FC15 still have 0.9.15, it is probably worth to use the same workaround as in http://websvn.kde.org/branches/koffice/2.3/koffice/krita/CMakeLists.txt?r1=1206507&r2=1206506&pathrev=1206507

for 64 bits system.
Comment 2 Cyrille Berger 2011-06-05 23:14:15 UTC
Git commit e089ded9dc75a4347b554b260308fabbbd5e2428 by Cyrille Berger.
Committed on 05/06/2011 at 23:13.
Pushed by berger into branch 'master'.

Add a workaround a bug in opengtl < 0.9.15.1 which does not load correctly its symbols

BUG:274675

M  +20   -0    krita/CMakeLists.txt     

http://commits.kde.org/calligra/e089ded9dc75a4347b554b260308fabbbd5e2428
Comment 3 Cyrille Berger 2011-06-06 12:44:40 UTC
Git commit 2d4d14519ae9b9dcf73ca3e8e7cff4cf7ec895b0 by Cyrille Berger.
Committed on 06/06/2011 at 12:43.
Pushed by berger into branch 'master'.

use version and not found, should fix the opengtl issues

BUG:274945
CCBUG:274675

M  +2    -2    krita/CMakeLists.txt     

http://commits.kde.org/calligra/2d4d14519ae9b9dcf73ca3e8e7cff4cf7ec895b0