Bug 304903 - krita 4.8.4 crash in opensuse 12.2 rc2
Summary: krita 4.8.4 crash in opensuse 12.2 rc2
Status: RESOLVED UPSTREAM
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 306048 306455 306874 307173 307679 312421 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-10 03:59 UTC by yjcoshc
Modified: 2015-06-04 17:23 UTC (History)
13 users (show)

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


Attachments
New crash information added by DrKonqi (7.06 KB, text/plain)
2012-09-06 09:44 UTC, franck.wiatrowski
Details
New crash information added by DrKonqi (7.06 KB, text/plain)
2012-09-07 20:16 UTC, Родион
Details
New crash information added by DrKonqi (7.85 KB, text/plain)
2012-09-10 01:50 UTC, Jalx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yjcoshc 2012-08-10 03:59:57 UTC
Application: krita (2.4.2)
KDE Platform Version: 4.8.4 (4.8.4) "release 2"
Qt Version: 4.8.1
Operating System: Linux 3.4.7-2-CHC i686
Distribution: "openSUSE 12.2 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
I opened the krita and then it crash without showing the ui, and it crashed every time I open it.

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[KCrash Handler]
#6  0xade9193f in GTLCore::VirtualMachine::registerModule (this=0x8b1fae0, mp=0x8b1f7a0) at /usr/src/debug/OpenGTL-0.9.17/OpenGTL/GTLCore/VirtualMachine_p.cpp:114
#7  0xada9dbd3 in OpenCTL::Module::compile (this=0x8b1f7a0) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/Module.cpp:159
#8  0xadaa6044 in OpenCTL::Compiler::importModule (this=0xbfbd8b84, name=...) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/compiler/Compiler.cpp:228
#9  0xadaa939c in OpenCTL::ParserNG::parseModuleHeader (this=0x8b1eac0) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/compiler/ParserNG.cpp:139
#10 0xadaa9555 in OpenCTL::ParserNG::parse (this=0x8b1eac0) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/compiler/ParserNG.cpp:77
#11 0xadaa6ff4 in OpenCTL::Compiler::compile (this=0xbfbd8b84, _isStandardLibrary=12, sourceCode=..., moduleName=..., moduleData=0x8b137b8, _module=0x8b136f8) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/compiler/Compiler.cpp:180
#12 0xada9db2c in OpenCTL::Module::compile (this=0x8b0b9e8) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/Module.cpp:152
#13 0xadad0b61 in KoCtlColorProfile::Private::loadFromSource (this=0x8b0b870, self=self@entry=0x8b0bbc0) at /usr/src/debug/calligra-2.4.2/krita/plugins/colorspaces/ctlcs/KoCtlColorProfile.cpp:332
#14 0xadad1177 in KoCtlColorProfile::load (this=0x8b0bbc0) at /usr/src/debug/calligra-2.4.2/krita/plugins/colorspaces/ctlcs/KoCtlColorProfile.cpp:295
#15 0xadadf381 in CTLCSPlugin::CTLCSPlugin (this=0x8b0b188, parent=0x8969bd8) at /usr/src/debug/calligra-2.4.2/krita/plugins/colorspaces/ctlcs/ctl_cs_plugin.cpp:104
#16 0xadae124a in KPluginFactory::createInstance<CTLCSPlugin, QObject> (parentWidget=0x0, parent=0x8969bd8, args=...) at /usr/include/kpluginfactory.h:477
#17 0xb7099f64 in KPluginFactory::create (this=0x8afbd50, iface=0xb6e03620 "QObject", parentWidget=0x0, parent=0x8969bd8, args=..., keyword=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/util/kpluginfactory.cpp:203
#18 0xb519e1f4 in create<QObject> (args=..., keyword=..., parent=0x8969bd8, parentWidget=0x0, this=0x8afbd50) at /usr/include/kpluginfactory.h:531
#19 createInstance<QObject> (error=0xbfbd8f04, args=..., parent=0x8969bd8, parentWidget=0x0, this=0x8afc0e8) at /usr/include/kservice.h:565
#20 createInstance<QObject> (error=0xbfbd8f04, args=..., parent=0x8969bd8, this=0x8afc0e8) at /usr/include/kservice.h:542
#21 KoPluginLoader::load (this=0x8969bd8, serviceType=..., versionString=..., config=...) at /usr/src/debug/calligra-2.4.2/libs/koplugin/KoPluginLoader.cpp:120
#22 0xb0e6ea78 in KoColorSpaceRegistry::init (this=0x89e7b48) at /usr/src/debug/calligra-2.4.2/libs/pigment/KoColorSpaceRegistry.cpp:106
#23 0xb0e6f288 in KoColorSpaceRegistry::instance () at /usr/src/debug/calligra-2.4.2/libs/pigment/KoColorSpaceRegistry.cpp:72
#24 0xb0e57e87 in KoColor::KoColor (this=0xadbc95dc <black>) at /usr/src/debug/calligra-2.4.2/libs/pigment/KoColor.cpp:51
#25 0xadb612b4 in __static_initialization_and_destruction_0 (__initialize_p=<optimized out>, __priority=<optimized out>) at /usr/src/debug/calligra-2.4.2/krita/plugins/paintops/libpaintop/kis_color_source.cpp:29
#26 _GLOBAL__sub_I_kis_color_source.cpp(void) () at /usr/src/debug/calligra-2.4.2/krita/plugins/paintops/libpaintop/kis_color_source.cpp:272
#27 0xb771c456 in call_init (env=0x8643750, argv=0xbfbda864, argc=4, l=<optimized out>) at dl-init.c:85
#28 call_init (l=<optimized out>, argc=4, argv=0xbfbda864, env=0x8643750) at dl-init.c:35
#29 0xb771c53c in _dl_init (main_map=main_map@entry=0x8ad0d80, argc=4, argv=0xbfbda864, env=0x8643750) at dl-init.c:134
#30 0xb77204fd in dl_open_worker (a=a@entry=0xbfbd93cc) at dl-open.c:549
#31 0xb771c29e in _dl_catch_error (objname=objname@entry=0xbfbd93c4, errstring=errstring@entry=0xbfbd93c8, mallocedp=mallocedp@entry=0xbfbd93c3, operate=operate@entry=0xb7720190 <dl_open_worker>, args=args@entry=0xbfbd93cc) at dl-error.c:178
#32 0xb771fd64 in _dl_open (file=0x8ad0d50 "/usr/lib/kde4/kritachalkpaintop.so", mode=-2147483647, caller_dlopen=caller_dlopen@entry=0xb6d12ec1, nsid=-2, argc=argc@entry=4, argv=argv@entry=0xbfbda864, env=0x8643750) at dl-open.c:639
#33 0xb59becbe in dlopen_doit (a=a@entry=0xbfbd9580) at dlopen.c:67
#34 0xb771c29e in _dl_catch_error (objname=0x85f421c, errstring=0x85f4220, mallocedp=0x85f4218, operate=0xb59bec20 <dlopen_doit>, args=0xbfbd9580) at dl-error.c:178
#35 0xb59bf412 in _dlerror_run (operate=<optimized out>, args=0xbfbd9580) at dlerror.c:164
#36 0x08ad0818 in ?? ()

Possible duplicates by query: bug 289729.

Reported using DrKonqi
Comment 1 Halla Rempt 2012-08-10 07:46:53 UTC
Hm.... This looks like opensuse has built Krita against the wrong version of llvm.
Comment 2 Mykola Krachkovsky 2012-08-30 18:55:35 UTC
llvm 3.1 is used. What's wrong, elder or newer is needed?
Comment 3 Halla Rempt 2012-08-31 07:26:44 UTC
*** Bug 306048 has been marked as a duplicate of this bug. ***
Comment 4 Halla Rempt 2012-08-31 07:27:37 UTC
I'm not sure... Could you report the bug to opensuse as well? They might have more facilities for investigating the issue...
Comment 5 franck.wiatrowski 2012-09-06 09:44:22 UTC
Created attachment 73701 [details]
New crash information added by DrKonqi

krita (2.4.3) on KDE Platform 4.8.4 (4.8.4) "release 2" using Qt 4.8.1

- What I was doing when the application crashed:

- crash of krita at startup
- reproduce every time

-- Backtrace (Reduced):
#5  0x00007f74ad329d76 in GTLCore::VirtualMachine::registerModule (this=<optimized out>, mp=0x37deda0) at /usr/src/debug/OpenGTL-0.9.17/OpenGTL/GTLCore/VirtualMachine_p.cpp:114
#6  0x00007f74ab684e19 in OpenCTL::Module::compile (this=<optimized out>) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/Module.cpp:159
#7  0x00007f74ab8b87f3 in KoCtlColorProfile::Private::loadFromSource (this=0x37df2d0, self=self@entry=0x37df320) at /usr/src/debug/calligra-2.4.3/krita/plugins/colorspaces/ctlcs/KoCtlColorProfile.cpp:332
#8  0x00007f74ab8b8d6c in KoCtlColorProfile::load (this=0x37df320) at /usr/src/debug/calligra-2.4.3/krita/plugins/colorspaces/ctlcs/KoCtlColorProfile.cpp:295
#9  0x00007f74ab8c57ff 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
Comment 6 franck.wiatrowski 2012-09-06 09:50:55 UTC
(In reply to comment #5)
> Created attachment 73701 [details]
> New crash information added by DrKonqi
> 
> krita (2.4.3) on KDE Platform 4.8.4 (4.8.4) "release 2" using Qt 4.8.1
> 
OS : OpenSUSE 12.2 (release)
> - What I was doing when the application crashed:
> 
> - crash of krita at startup
> - reproduce every time
> 
> -- Backtrace (Reduced):
> #5  0x00007f74ad329d76 in GTLCore::VirtualMachine::registerModule
> (this=<optimized out>, mp=0x37deda0) at
> /usr/src/debug/OpenGTL-0.9.17/OpenGTL/GTLCore/VirtualMachine_p.cpp:114
> #6  0x00007f74ab684e19 in OpenCTL::Module::compile (this=<optimized out>) at
> /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/Module.cpp:159
> #7  0x00007f74ab8b87f3 in KoCtlColorProfile::Private::loadFromSource
> (this=0x37df2d0, self=self@entry=0x37df320) at
> /usr/src/debug/calligra-2.4.3/krita/plugins/colorspaces/ctlcs/
> KoCtlColorProfile.cpp:332
> #8  0x00007f74ab8b8d6c in KoCtlColorProfile::load (this=0x37df320) at
> /usr/src/debug/calligra-2.4.3/krita/plugins/colorspaces/ctlcs/
> KoCtlColorProfile.cpp:295
> #9  0x00007f74ab8c57ff 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
Comment 7 Mykola Krachkovsky 2012-09-06 11:33:24 UTC
Note: bug in openSuSE bugzilla have been created: https://bugzilla.novell.com/show_bug.cgi?id=778260
Comment 8 Halla Rempt 2012-09-06 12:17:37 UTC
Thank you for reporting the bug to OpenSUSE. I just tested krita with 12.2 and I confirm that krita crashes in this way. It really is an opensuse-specific problem :-(. Though if I compile openctl myself, everything works fine, so I'm still not sure what's going on here.
Comment 9 Halla Rempt 2012-09-06 12:33:19 UTC
I discussed this with the openctl author on irc:

14:30:55 < CyrilleB> boud: probably not strictly opensuse's fault, there is a nuisance in recent version of ld, if you ask to link with a library but do not use a symbol of that library, the linker will be "smart" and will not link 
                     with the library, and this is what is happening between opengtl and the JIT library from llvm
14:31:28 < CyrilleB> boud: to work around that problem, I use a hack, I guess the hack broke
14:31:36 < boud> aw...
14:32:10 < CyrilleB> boud: the best way forward, would be for opensuse to use the dynamic library version of llvm, then everything is included and the hack is not needed (so it works all the time :) )
Comment 10 Mykola Krachkovsky 2012-09-06 12:49:41 UTC
(In reply to comment #8)
> Thank you for reporting the bug to OpenSUSE. I just tested krita with 12.2
> and I confirm that krita crashes in this way. It really is an
> opensuse-specific problem :-(. Though if I compile openctl myself,
> everything works fine, so I'm still not sure what's going on here.
All thanks to Juraj Václavík (mailto:jik@seznam.cz). He was first.
Comment 11 Родион 2012-09-07 20:16:19 UTC
Created attachment 73726 [details]
New crash information added by DrKonqi

krita (2.4.3) on KDE Platform 4.8.4 (4.8.4) "release 2" using Qt 4.8.1

- What I was doing when the application crashed:

Krita crashes at startup. openSUSE 12.2 x86_64

-- Backtrace (Reduced):
#5  0x00007f9978672d76 in GTLCore::VirtualMachine::registerModule (this=<optimized out>, mp=0x2669990) at /usr/src/debug/OpenGTL-0.9.17/OpenGTL/GTLCore/VirtualMachine_p.cpp:114
#6  0x00007f997505fe19 in OpenCTL::Module::compile (this=<optimized out>) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/Module.cpp:159
#7  0x00007f99752b17f3 in KoCtlColorProfile::Private::loadFromSource (this=0x2664150, self=self@entry=0x26641a0) at /usr/src/debug/calligra-2.4.3/krita/plugins/colorspaces/ctlcs/KoCtlColorProfile.cpp:332
#8  0x00007f99752b1d6c in KoCtlColorProfile::load (this=0x26641a0) at /usr/src/debug/calligra-2.4.3/krita/plugins/colorspaces/ctlcs/KoCtlColorProfile.cpp:295
#9  0x00007f99752be7ff 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
Comment 12 Halla Rempt 2012-09-08 07:39:08 UTC
Hi Rodion,

Yes... Krita in OpenSUSE 12.2 cannot be started :-(. As I noted above, it's a problem with the way OpenSUSE built the Krita packages, and there's nothing we as the Krita team can do about it, I'm afraid.
Comment 13 Jalx 2012-09-10 01:50:31 UTC
Created attachment 73779 [details]
New crash information added by DrKonqi

krita (2.4.3) on KDE Platform 4.8.4 (4.8.4) "release 2" using Qt 4.8.1

- What I was doing when the application crashed:

Mientras se carga para su ejecución se cierra abruptamente

-- Backtrace (Reduced):
#5  0x00007f26a171cd76 in GTLCore::VirtualMachine::registerModule (this=<optimized out>, mp=0x2051500) at /usr/src/debug/OpenGTL-0.9.17/OpenGTL/GTLCore/VirtualMachine_p.cpp:114
#6  0x00007f269ff8be19 in OpenCTL::Module::compile (this=<optimized out>) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/Module.cpp:159
#7  0x00007f269ff93e18 in OpenCTL::Compiler::importModule (this=0x7fff0e7aa930, name=...) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/compiler/Compiler.cpp:228
#8  0x00007f269ff96a3c in OpenCTL::ParserNG::parseModuleHeader (this=this@entry=0x20508d0) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/compiler/ParserNG.cpp:139
#9  0x00007f269ff96bb4 in OpenCTL::ParserNG::parse (this=0x20508d0) at /usr/src/debug/OpenGTL-0.9.17/OpenCTL/OpenCTL/compiler/ParserNG.cpp:77
Comment 14 Halla Rempt 2012-09-16 08:59:29 UTC
*** Bug 306874 has been marked as a duplicate of this bug. ***
Comment 15 Christoph Feck 2012-09-21 20:47:49 UTC
*** Bug 307173 has been marked as a duplicate of this bug. ***
Comment 16 Christoph Feck 2012-09-22 12:59:58 UTC
*** Bug 306455 has been marked as a duplicate of this bug. ***
Comment 17 Halla Rempt 2012-09-29 11:27:04 UTC
From the opensuse bug:

Michael Woski 2012-09-28 17:48:35 UTC

I built the OpenGTL package from a fresh hg snapshot (some 0.9.18+) and it
solved the issue for me. Packages can be found on OBS home:scalpel4k.
Comment 18 Родион 2012-09-29 19:26:22 UTC
Thank you and Michael, that worked!

(In reply to comment #17)
> From the opensuse bug:
> 
> Michael Woski 2012-09-28 17:48:35 UTC
> 
> I built the OpenGTL package from a fresh hg snapshot (some 0.9.18+) and it
> solved the issue for me. Packages can be found on OBS home:scalpel4k.
Comment 19 Sven Langkamp 2012-10-01 17:34:21 UTC
*** Bug 307679 has been marked as a duplicate of this bug. ***
Comment 20 Halla Rempt 2012-12-31 09:06:48 UTC
*** Bug 312421 has been marked as a duplicate of this bug. ***