Summary: | OpenShiva-based filters crash on some systems. | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | vascoalexander |
Component: | Filters | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | carlossantos1986, dimula73, halla |
Priority: | NOR | ||
Version: | 2.8 Pre-Alpha | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/calligra/7db029a1f8902873b5c6a76c2d72941290807c6a | Version Fixed In: | |
Sentry Crash Report: |
Description
vascoalexander
2013-08-11 07:26:25 UTC
Hi, Alexander! Thank you for your report! This crash seems to happen with opengtl-based filters. We'll try to do something with it. I can confirm a crash when using opengtl-based filters, but it's different: Thread 9 (Thread 0x7f8f377fe700 (LWP 26957)): [KCrash Handler] #5 0x00007f8f4124aa40 in GTLFragment::Library::isCompiled() const () from /usr/lib64/libGTLFragment.so.0.8 #6 0x00007f8f41f9dbf6 in ?? () from /usr/lib64/libOpenShiva.so.0.8 #7 0x00007f8f4124a841 in GTLFragment::Library::compile() () from /usr/lib64/libGTLFragment.so.0.8 #8 0x00007f8f421c601c in ShivaFilter::processImpl (this=this@entry=0xd664f0, dev=..., size=..., config=config@entry=0x4497660, progressUpdater=progressUpdater@entry=0x0) at /home/boud/kde/src/calligra/krita/plugins/extensions/shiva/shivafilter.cpp:99 #9 0x00007f8f59f2a916 in KisFilter::process (this=this@entry=0xd664f0, src=..., dst=..., selection=..., applyRect=..., config=config@entry=0x4497660, progressUpdater=progressUpdater@entry=0x0) at /home/boud/kde/src/calligra/krita/image/filter/kis_filter.cc:126 #10 0x00007f8f59f2d0d7 in KisFilter::process (this=0xd664f0, device=..., applyRect=..., config=0x4497660, progressUpdater=0x0) at /home/boud/kde/src/calligra/krita/image/filter/kis_filter.cc:98 #11 0x00007f8f5a59cbd6 in generatePreview (filter=0xd664f0, thumb=..., config=0x4497660) at /home/boud/kde/src/calligra/krita/ui/kis_bookmarked_filter_configurations_model.cc:59 #12 0x00007f8f5a59ed26 in QtConcurrent::StoredFunctorCall3<QImage, QImage (*)(KisFilter const*, KisSharedPtr<KisPaintDevice>, KisFilterConfiguration*), KisSharedPtr<KisFilter>, KisSharedPtr<KisPaintDevice>, KisFilterConfiguration*>::runFunctor (this=0x22ca090) at /usr/include/QtCore/qtconcurrentstoredfunctioncall.h:673 #13 0x00007f8f5a5a1582 in QtConcurrent::RunFunctionTask<QImage>::run (this=0x22ca090) at /usr/include/QtCore/qtconcurrentrunbase.h:106 #14 0x00007f8f5ada2c9d in ?? () from /usr/lib64/libQtCore.so.4 #15 0x00007f8f5adaf0cc in ?? () from /usr/lib64/libQtCore.so.4 #16 0x00007f8f5ab18e0f in start_thread () from /lib64/libpthread.so.0 #17 0x00007f8f522787dd in clone () from /lib64/libc.so.6 Probably because OpenSUSE miscompiled llvm, though. Can you confirm Vascoalexander's crash? After updating the Krita Test Build this morning i have done some testing on the Filters again. What i have done: - Open Krita, New Document Design-Template 4:3 - Make one Stroke - Apply Filter (tested Mosaic/Ray/Bullify/Anti-Bullify/Tunnel2) I have repeated this ~50 Times with open-GL turned on and with open-GL turned off. Both settings tested with applying the stroke on a single Layer (Default Background) and with a second transparent Layer. Result: Layers seem to have no influence OpenGl On crashes > 90% OpenGl Off crashes ~20% Krita closes mostly instantly leaving me without a report from the Crashhandler. From all Tests i get these two Reports: Application: Krita (kdeinit4), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7fb73ffd67c0 (LWP 5894))] Thread 1 (Thread 0x7fb73ffd67c0 (LWP 5894)): #0 0x00007fb72e1bd5c9 in ?? () from /usr/lib/nvidia-310/libGL.so.1 #1 0x00007fb72e1bd5f3 in ?? () from /usr/lib/nvidia-310/libGL.so.1 #2 0x00007fb72bfbf4a8 in ?? () from /usr/lib/nvidia-310/libnvidia-glcore.so.310.44 #3 0x00007fb72bfbf596 in ?? () from /usr/lib/nvidia-310/libnvidia-glcore.so.310.44 #4 0x00007fb72bfc0103 in ?? () from /usr/lib/nvidia-310/libnvidia-glcore.so.310.44 #5 0x00007fb72bf5100d in ?? () from /usr/lib/nvidia-310/libnvidia-glcore.so.310.44 #6 0x00007fb72bed9058 in ?? () from /usr/lib/nvidia-310/libnvidia-glcore.so.310.44 #7 0x00007fb72beb760d in ?? () from /usr/lib/nvidia-310/libnvidia-glcore.so.310.44 #8 0x00007fb72beb74e2 in ?? () from /usr/lib/nvidia-310/libnvidia-glcore.so.310.44 #9 0x00007fb72e19f7dd in ?? () from /usr/lib/nvidia-310/libGL.so.1 #10 0x00007fb73fe04f67 in _dl_fini () at dl-fini.c:258 #11 0x00007fb73d7a4121 in __run_exit_handlers (status=1, listp=0x7fb73db296a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:77 #12 0x00007fb73d7a41a5 in __GI_exit (status=<optimized out>) at exit.c:99 #13 0x00007fb73e068348 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:782 #14 0x00007fb73f9d6f38 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5 #15 0x00007fb73f4bc5be in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6 #16 0x00007fb73f4ba5cc in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6 #17 0x00007fb73f4b5d5d in XSync () from /usr/lib/x86_64-linux-gnu/libX11.so.6 #18 0x00007fb73e1fb655 in syncX (this=0x38a9120) at painting/qwindowsurface_raster.cpp:134 #19 QRasterWindowSurface::syncX (this=0x38a9120) at painting/qwindowsurface_raster.cpp:130 #20 0x00007fb73e1fba81 in QRasterWindowSurface::beginPaint (this=0x38a9120, rgn=...) at painting/qwindowsurface_raster.cpp:143 #21 0x00007fb73e215ca8 in QWidgetBackingStore::sync (this=0x25edfa0) at painting/qbackingstore.cpp:1304 #22 0x00007fb73e03f060 in QWidgetPrivate::syncBackingStore (this=this@entry=0x38b28f0) at kernel/qwidget.cpp:1896 #23 0x00007fb73e04bee4 in QWidget::event (this=this@entry=0x387b3c0, event=event@entry=0x3e01b90) at kernel/qwidget.cpp:8679 #24 0x00007fb73e41783b in QMainWindow::event (this=0x387b3c0, event=0x3e01b90) at widgets/qmainwindow.cpp:1478 #25 0x00007fb73facb218 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5 #26 0x00007fb73dffe8ec in QApplicationPrivate::notify_helper (this=this@entry=0x28110c0, receiver=receiver@entry=0x387b3c0, e=e@entry=0x3e01b90) at kernel/qapplication.cpp:4567 #27 0x00007fb73e00125b in QApplication::notify (this=0x7fffcafec920, receiver=receiver@entry=0x387b3c0, e=e@entry=0x3e01b90) at kernel/qapplication.cpp:4428 #28 0x00007fb7286e4b28 in KoApplication::notify (this=<optimized out>, receiver=0x387b3c0, event=0x3e01b90) at /build/buildd/krita-testing-2+git20130827+r74346-40/libs/main/KoApplication.cpp:556 #29 0x00007fb73ec5863e in QCoreApplication::notifyInternal (this=0x7fffcafec920, receiver=receiver@entry=0x387b3c0, event=event@entry=0x3e01b90) at kernel/qcoreapplication.cpp:946 #30 0x00007fb73ec5c171 in sendEvent (event=0x3e01b90, receiver=0x387b3c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #31 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2589150) at kernel/qcoreapplication.cpp:1570 #32 0x00007fb73ec5c4a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463 #33 0x00007fb73e0a49fc in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #34 QEventDispatcherX11::processEvents (this=0x258b670, flags=...) at kernel/qeventdispatcher_x11.cpp:75 #35 0x00007fb73ec5738f in QEventLoop::processEvents (this=this@entry=0x7fffcafec870, flags=...) at kernel/qeventloop.cpp:149 #36 0x00007fb73ec57618 in QEventLoop::exec (this=this@entry=0x7fffcafec870, flags=...) at kernel/qeventloop.cpp:204 #37 0x00007fb73ec5ccf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218 #38 0x00007fb73dffcffc in QApplication::exec () at kernel/qapplication.cpp:3828 #39 0x00007fb728c413f2 in kdemain (argc=<optimized out>, argv=<optimized out>) at /build/buildd/krita-testing-2+git20130827+r74346-40/krita/main.cc:79 #40 0x00000000004084ea in _start () __________________________________________________________________________________________________________ Application: Krita (kdeinit4), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 [Current thread is 1 (Thread 0x7fb73ffd67c0 (LWP 6132))] Thread 1 (Thread 0x7fb73ffd67c0 (LWP 6132)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007fb73b074197 in _L_lock_1035 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007fb73b074029 in __GI___pthread_mutex_lock (mutex=0x7fb6c06471b0) at pthread_mutex_lock.c:85 #3 0x00007fb71aa41cfc in llvm::sys::MutexImpl::acquire() () from /usr/lib/x86_64-linux-gnu/libLLVM-3.0.so.1 #4 0x00007fb71a5ecf6c in llvm::ExecutionEngine::clearGlobalMappingsFromModule(llvm::Module*) () from /usr/lib/x86_64-linux-gnu/libLLVM-3.0.so.1 #5 0x00007fb71a5ed043 in llvm::ExecutionEngine::removeModule(llvm::Module*) () from /usr/lib/x86_64-linux-gnu/libLLVM-3.0.so.1 #6 0x00007fb71a69e384 in llvm::JIT::removeModule(llvm::Module*) () from /usr/lib/x86_64-linux-gnu/libLLVM-3.0.so.1 #7 0x00007fb71b818a76 in GTLCore::VirtualMachine::unregisterModule(llvm::Module*) () from /usr/lib/libGTLCore.so.0.8 #8 0x00007fb71b5aa34b in GTLFragment::Library::cleanup() () from /usr/lib/libGTLFragment.so.0.8 #9 0x00007fb71baabf0d in OpenShiva::Library::~Library() () from /usr/lib/libOpenShiva.so.0.8 #10 0x00007fb71baac381 in OpenShiva::LibrariesManager::~LibrariesManager() () from /usr/lib/libOpenShiva.so.0.8 #11 0x00007fb71baac449 in OpenShiva::LibrariesManager::~LibrariesManager() () from /usr/lib/libOpenShiva.so.0.8 #12 0x00007fb71baac1f2 in ?? () from /usr/lib/libOpenShiva.so.0.8 #13 0x00007fb73d7a4121 in __run_exit_handlers (status=1, listp=0x7fb73db296a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:77 #14 0x00007fb73d7a41a5 in __GI_exit (status=<optimized out>) at exit.c:99 #15 0x00007fb73e068348 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:782 #16 0x00007fb73f9d6f38 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5 #17 0x00007fb73f4bc5be in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6 #18 0x00007fb73f4ba5cc in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6 #19 0x00007fb73f4b5d5d in XSync () from /usr/lib/x86_64-linux-gnu/libX11.so.6 #20 0x00007fb73e1fb655 in syncX (this=0x2a11fd0) at painting/qwindowsurface_raster.cpp:134 #21 QRasterWindowSurface::syncX (this=0x2a11fd0) at painting/qwindowsurface_raster.cpp:130 #22 0x00007fb73e1fba81 in QRasterWindowSurface::beginPaint (this=0x2a11fd0, rgn=...) at painting/qwindowsurface_raster.cpp:143 #23 0x00007fb73e215ca8 in QWidgetBackingStore::sync (this=0x39259a0) at painting/qbackingstore.cpp:1304 #24 0x00007fb73e03f060 in QWidgetPrivate::syncBackingStore (this=this@entry=0x38b3210) at kernel/qwidget.cpp:1896 #25 0x00007fb73e04bee4 in QWidget::event (this=this@entry=0x387b920, event=event@entry=0x2cb3d40) at kernel/qwidget.cpp:8679 #26 0x00007fb73e41783b in QMainWindow::event (this=0x387b920, event=0x2cb3d40) at widgets/qmainwindow.cpp:1478 #27 0x00007fb73facb218 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5 #28 0x00007fb73dffe8ec in QApplicationPrivate::notify_helper (this=this@entry=0x2811080, receiver=receiver@entry=0x387b920, e=e@entry=0x2cb3d40) at kernel/qapplication.cpp:4567 #29 0x00007fb73e00125b in QApplication::notify (this=0x7fffcafec920, receiver=receiver@entry=0x387b920, e=e@entry=0x2cb3d40) at kernel/qapplication.cpp:4428 #30 0x00007fb7286e4b28 in KoApplication::notify (this=<optimized out>, receiver=0x387b920, event=0x2cb3d40) at /build/buildd/krita-testing-2+git20130827+r74346-40/libs/main/KoApplication.cpp:556 #31 0x00007fb73ec5863e in QCoreApplication::notifyInternal (this=0x7fffcafec920, receiver=receiver@entry=0x387b920, event=event@entry=0x2cb3d40) at kernel/qcoreapplication.cpp:946 #32 0x00007fb73ec5c171 in sendEvent (event=0x2cb3d40, receiver=0x387b920) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #33 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2589150) at kernel/qcoreapplication.cpp:1570 #34 0x00007fb73ec5c4a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463 #35 0x00007fb73e0a49fc in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #36 QEventDispatcherX11::processEvents (this=0x258b670, flags=...) at kernel/qeventdispatcher_x11.cpp:75 #37 0x00007fb73ec5738f in QEventLoop::processEvents (this=this@entry=0x7fffcafec870, flags=...) at kernel/qeventloop.cpp:149 #38 0x00007fb73ec57618 in QEventLoop::exec (this=this@entry=0x7fffcafec870, flags=...) at kernel/qeventloop.cpp:204 #39 0x00007fb73ec5ccf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218 #40 0x00007fb73dffcffc in QApplication::exec () at kernel/qapplication.cpp:3828 #41 0x00007fb728c413f2 in kdemain (argc=<optimized out>, argv=<optimized out>) at /build/buildd/krita-testing-2+git20130827+r74346-40/krita/main.cc:79 #42 0x00000000004084ea in _start () *** Bug 324416 has been marked as a duplicate of this bug. *** Interestingly enough, the opengtl filters work for me on my kubuntu 13.10 laptop with intel graphics card. Git commit 7db029a1f8902873b5c6a76c2d72941290807c6a by Cyrille Berger. Committed on 01/12/2013 at 15:48. Pushed by berger into branch 'master'. remove shiva plugin and dependency on opengtl stuff CCMAIL:kimageshop@kde.org closing related bugs as no more valids: Related: bug 289776, bug 288722, bug 289191 D +0 -20 cmake/modules/FindOpenCTL.cmake D +0 -19 cmake/modules/FindOpenShiva.cmake D +0 -19 cmake/modules/FindQtShiva.cmake M +0 -20 krita/CMakeLists.txt M +0 -10 krita/plugins/extensions/CMakeLists.txt D +0 -44 krita/plugins/extensions/shiva/CMakeLists.txt D +0 -176 krita/plugins/extensions/shiva/PaintDeviceImage.cpp D +0 -58 krita/plugins/extensions/shiva/PaintDeviceImage.h D +0 -111 krita/plugins/extensions/shiva/QVariantValue.cpp D +0 -28 krita/plugins/extensions/shiva/QVariantValue.h D +0 -65 krita/plugins/extensions/shiva/ShivaGeneratorConfigWidget.cpp D +0 -42 krita/plugins/extensions/shiva/ShivaGeneratorConfigWidget.h D +0 -38 krita/plugins/extensions/shiva/UpdaterProgressReport.cpp D +0 -37 krita/plugins/extensions/shiva/UpdaterProgressReport.h D +0 -4 krita/plugins/extensions/shiva/collections/CMakeLists.txt D +0 -33 krita/plugins/extensions/shiva/collections/filters/AntiBullify.shiva D +0 -34 krita/plugins/extensions/shiva/collections/filters/Bullify.shiva D +0 -2 krita/plugins/extensions/shiva/collections/filters/CMakeLists.txt D +0 -48 krita/plugins/extensions/shiva/collections/filters/Caleidoscope.shiva D +0 -30 krita/plugins/extensions/shiva/collections/filters/CentralAbsorbtion.shiva D +0 -22 krita/plugins/extensions/shiva/collections/filters/Contraction.shiva D +0 -463 krita/plugins/extensions/shiva/collections/filters/Droste.shiva D +0 -30 krita/plugins/extensions/shiva/collections/filters/Expansion.shiva D +0 -73 krita/plugins/extensions/shiva/collections/filters/Hypno.shiva D +0 -58 krita/plugins/extensions/shiva/collections/filters/LensCorrection.shiva D +0 -23 krita/plugins/extensions/shiva/collections/filters/MirrorImpose.shiva D +0 -27 krita/plugins/extensions/shiva/collections/filters/Mosaic.shiva D +0 -70 krita/plugins/extensions/shiva/collections/filters/Planes.shiva D +0 -70 krita/plugins/extensions/shiva/collections/filters/Ray.shiva D +0 -70 krita/plugins/extensions/shiva/collections/filters/Ray2.shiva D +0 -35 krita/plugins/extensions/shiva/collections/filters/Ripples.shiva D +0 -44 krita/plugins/extensions/shiva/collections/filters/RotativeBlur.shiva D +0 -47 krita/plugins/extensions/shiva/collections/filters/Roundify.shiva D +0 -45 krita/plugins/extensions/shiva/collections/filters/Sea.shiva D +0 -51 krita/plugins/extensions/shiva/collections/filters/Seamlesser.shiva D +0 -48 krita/plugins/extensions/shiva/collections/filters/Sectorize.shiva D +0 -34 krita/plugins/extensions/shiva/collections/filters/Slices.shiva D +0 -70 krita/plugins/extensions/shiva/collections/filters/Sphere.shiva D +0 -70 krita/plugins/extensions/shiva/collections/filters/Star.shiva D +0 -115 krita/plugins/extensions/shiva/collections/filters/StereographicProjection.shiva D +0 -70 krita/plugins/extensions/shiva/collections/filters/Tunnel.shiva D +0 -69 krita/plugins/extensions/shiva/collections/filters/Tunnel2.shiva D +0 -43 krita/plugins/extensions/shiva/collections/filters/ZigZag.shiva D +0 -40 krita/plugins/extensions/shiva/collections/filters/oilify.shiva D +0 -2 krita/plugins/extensions/shiva/collections/generators/CMakeLists.txt D +0 -47 krita/plugins/extensions/shiva/collections/generators/CheckerBoard.shiva D +0 -54 krita/plugins/extensions/shiva/collections/generators/ConcentricCircles.shiva D +0 -68 krita/plugins/extensions/shiva/collections/generators/Disco.shiva D +0 -809 krita/plugins/extensions/shiva/collections/generators/FractalExplorer.shiva D +0 -80 krita/plugins/extensions/shiva/collections/generators/Metaball.shiva D +0 -42 krita/plugins/extensions/shiva/collections/generators/Moire.shiva D +0 -113 krita/plugins/extensions/shiva/collections/generators/PerlinNoise.shiva D +0 -76 krita/plugins/extensions/shiva/collections/generators/Plasma.shiva D +0 -29 krita/plugins/extensions/shiva/collections/generators/RadialGradient.shiva D +0 -63 krita/plugins/extensions/shiva/collections/generators/Singleball.shiva D +0 -80 krita/plugins/extensions/shiva/collections/generators/Something.shiva D +0 -56 krita/plugins/extensions/shiva/collections/generators/SunRay.shiva D +0 -92 krita/plugins/extensions/shiva/collections/generators/SuperNova.shiva D +0 -63 krita/plugins/extensions/shiva/kritashivafilters.desktop D +0 -63 krita/plugins/extensions/shiva/kritashivagenerators.desktop D +0 -111 krita/plugins/extensions/shiva/shivafilter.cpp D +0 -45 krita/plugins/extensions/shiva/shivafilter.h D +0 -69 krita/plugins/extensions/shiva/shivafiltersplugin.cpp D +0 -41 krita/plugins/extensions/shiva/shivafiltersplugin.h D +0 -108 krita/plugins/extensions/shiva/shivagenerator.cpp D +0 -49 krita/plugins/extensions/shiva/shivagenerator.h D +0 -70 krita/plugins/extensions/shiva/shivageneratorsplugin.cpp D +0 -40 krita/plugins/extensions/shiva/shivageneratorsplugin.h http://commits.kde.org/calligra/7db029a1f8902873b5c6a76c2d72941290807c6a |