Bug 366560

Summary: Krita crashes on creating an image
Product: [Applications] krita Reporter: George <george.shadarck>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WAITINGFORINFO    
Severity: crash CC: halla, raghu
Priority: NOR Keywords: drkonqi
Version First Reported In: 3.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description George 2016-08-09 17:38:42 UTC
Application: krita (3.0)

Qt Version: 5.7.0
Frameworks Version: 5.24.0
Operating System: Linux 4.4.16-1-MANJARO x86_64
Distribution: "Manjaro Linux"

-- Information about the crash:
- What I was doing when the application crashed: I click file>make file>templates>A4 and Krita was crush.
OS Manjaro 16.06.1 Daniella KDE, Kenel x86_64 Linux 4.4.16-1-MANJARO, WM KWin, CPU AMD A4-1200 APU with Radeon HD Graphics @ 1GHz,  GPU AMD Radeon HD 8180.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f68fd8ec7c0 (LWP 2936))]

Thread 8 (Thread 0x7f68a0ffc700 (LWP 3964)):
#0  0x00007f68f4a58458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f68fb054b66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f68fb050274 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f68fb053d78 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f68f4a52484 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f68fa7506dd in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7f68bd5fb700 (LWP 3963)):
#0  0x00007f68f4a58458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f68fb054b66 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f68fb050274 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x00007f68fb053d78 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f68f4a52484 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f68fa7506dd in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7f68bddfc700 (LWP 3015)):
#0  0x00007f68f4a580af in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f68fb054c2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f68fc131851 in ?? () from /usr/lib/libQt5Widgets.so.5
#3  0x00007f68fb053d78 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f68f4a52484 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f68fa7506dd in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7f68be9fe700 (LWP 3014)):
#0  0x00007f68f4a580af in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f68fb054c2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f68fb04de26 in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQt5Core.so.5
#3  0x00007f68f8b0439a in KisTileDataSwapper::run() () from /usr/lib/libkritaimage.so.15
#4  0x00007f68fb053d78 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f68f4a52484 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f68fa7506dd in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f68bf1ff700 (LWP 3013)):
#0  0x00007f68f4a580af in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f68fb054c2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f68fb04db33 in QSemaphore::acquire(int) () from /usr/lib/libQt5Core.so.5
#3  0x00007f68f8ae80dd in ?? () from /usr/lib/libkritaimage.so.15
#4  0x00007f68fb053d78 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f68f4a52484 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f68fa7506dd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f68db75f700 (LWP 2940)):
#0  0x00007f68fa7476cd in poll () from /usr/lib/libc.so.6
#1  0x00007f68f3467fd6 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f68f34680ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f68fb28259b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f68fb22c0da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f68fb04f0f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f68f4c7de75 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007f68fb053d78 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f68f4a52484 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f68fa7506dd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f68dc505700 (LWP 2939)):
#0  0x00007f68fa7204fd in nanosleep () from /usr/lib/libc.so.6
#1  0x00007f68fa749b54 in usleep () from /usr/lib/libc.so.6
#2  0x00007f68df181d00 in ?? () from /usr/lib/xorg/modules/dri//fglrx_dri.so
#3  0x00007f68de882332 in ?? () from /usr/lib/xorg/modules/dri//fglrx_dri.so
#4  0x00007f68de882385 in ?? () from /usr/lib/xorg/modules/dri//fglrx_dri.so
#5  0x00007f68f4a52484 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f68fa7506dd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f68fd8ec7c0 (LWP 2936)):
[KCrash Handler]
#5  0x0000000008d00120 in ?? ()
#6  0x00007f68fbf0de3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#7  0x00007f68fbf16f86 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#8  0x00007f68fd2bac57 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib/libkritaui.so.15
#9  0x00007f68fb22dc80 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#10 0x00007f68fbf7177b in ?? () from /usr/lib/libQt5Widgets.so.5
#11 0x00007f68fbf0de3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#12 0x00007f68fbf155b1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#13 0x00007f68fd2bac57 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib/libkritaui.so.15
#14 0x00007f68fb22dc80 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#15 0x00007f68fb778858 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/libQt5Gui.so.5
#16 0x00007f68fb77dc45 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#17 0x00007f68fb75bcbb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#18 0x00007f68ec480310 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#19 0x00007f68f3467dd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0x00007f68f3468040 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0x00007f68f34680ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0x00007f68fb28257f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#23 0x00007f68fb22c0da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#24 0x00007f68fc0fa747 in QDialog::exec() () from /usr/lib/libQt5Widgets.so.5
#25 0x00007f68fd2e939b in KisMainWindow::slotFileNew() () from /usr/lib/libkritaui.so.15
#26 0x00007f68fd2f8f81 in ?? () from /usr/lib/libkritaui.so.15
#27 0x00007f68fb2594e9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#28 0x00007f68fbf07472 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5
#29 0x00007f68fbf09e60 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5
#30 0x00007f68fc077eea in ?? () from /usr/lib/libQt5Widgets.so.5
#31 0x00007f68fc07e0ec in ?? () from /usr/lib/libQt5Widgets.so.5
#32 0x00007f68fc0820e0 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#33 0x00007f68fbf54f18 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#34 0x00007f68fc082b9b in QMenu::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#35 0x00007f68fbf0de3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#36 0x00007f68fbf1646d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#37 0x00007f68fd2bac57 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib/libkritaui.so.15
#38 0x00007f68fb22dc80 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#39 0x00007f68fbf14b1d in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5
#40 0x00007f68fbf6f5a0 in ?? () from /usr/lib/libQt5Widgets.so.5
#41 0x00007f68fbf71763 in ?? () from /usr/lib/libQt5Widgets.so.5
#42 0x00007f68fbf0de3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#43 0x00007f68fbf155b1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#44 0x00007f68fd2bac57 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib/libkritaui.so.15
#45 0x00007f68fb22dc80 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#46 0x00007f68fb77c0e3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#47 0x00007f68fb77dc65 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#48 0x00007f68fb75bcbb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#49 0x00007f68ec480310 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#50 0x00007f68f3467dd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#51 0x00007f68f3468040 in ?? () from /usr/lib/libglib-2.0.so.0
#52 0x00007f68f34680ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#53 0x00007f68fb28257f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#54 0x00007f68fb22c0da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#55 0x00007f68fb2345cc in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#56 0x0000000000404bdd in main ()

Possible duplicates by query: bug 366378, bug 366243, bug 365992, bug 365985, bug 365776.

Reported using DrKonqi
Comment 1 Halla Rempt 2016-08-12 10:59:23 UTC
Hi,

I cannot reproduce this issue (naturally, otherwise nobody would be able to use Krita). It must be specific to your installation.

Does this also happen with the latest appimage? (http://files.kde.org/krita/3/linux/devbuilds/krita-3.0.1-Alpha2-d33dbe0-x86_64.appimage) -- if not, I suspect a build error.  Does manjaro make it possible to add debug info? Can you also disable opengl and then try again? As it stands, the backtrace does not give us any information.
Comment 2 Raghavendra kamath 2018-06-11 04:50:06 UTC
Hi George,

Can you please check if this bug is reproducible in the latest version of krita.

Since there is a lack of response, I am closing this bug report for now. If you are still facing this issue, please feel free to re-open the bug report

thank you