Summary: | Crash when merging down | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Kvaks <vaksdal> |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | halla, sven.langkamp |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/calligra/ab34d6aa49ebb0b7d3f09974d2fa9bf8dcfe8518 | Version Fixed In: | |
Sentry Crash Report: |
Description
Kvaks
2012-08-19 23:09:33 UTC
After restarting and opening the saved work, the crash happened again when merging down the top layer again. Happens every time. Link to saved file: http://dl.dropbox.com/u/11568637/moonlight.kra When opening this file in Krita, right-clicking the top layer and selecting merge down, Krita crashes. Application: Krita (krita), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7fee83e35780 (LWP 7952))] Thread 9 (Thread 0x7fee64e77700 (LWP 7953)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fee812124db in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007fee8120e314 in QSemaphore::acquire(int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #3 0x00007fee6d18688c in KisTileDataPooler::waitForWork (this=0x25374a0) at /home/sven/kde/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:162 #4 0x00007fee6d18691b in KisTileDataPooler::run (this=0x25374a0) at /home/sven/kde/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:184 #5 0x00007fee81211fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #6 0x00007fee7c5f4e9a in start_thread (arg=0x7fee64e77700) at pthread_create.c:308 #7 0x00007fee8338f4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #8 0x0000000000000000 in ?? () Thread 8 (Thread 0x7fee64676700 (LWP 7954)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fee812124db in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007fee8120e759 in QSemaphore::tryAcquire(int, int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #3 0x00007fee6d1a2ecc in KisTileDataSwapper::waitForWork (this=0x25374d8) at /home/sven/kde/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86 #4 0x00007fee6d1a2ee6 in KisTileDataSwapper::run (this=0x25374d8) at /home/sven/kde/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92 #5 0x00007fee81211fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #6 0x00007fee7c5f4e9a in start_thread (arg=0x7fee64676700) at pthread_create.c:308 #7 0x00007fee8338f4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #8 0x0000000000000000 in ?? () Thread 7 (Thread 0x7fee6103f700 (LWP 7959)): #0 0x00007fee83388823 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007fee8133d366 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007fee813427b2 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #3 0x00007fee81342ca3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007fee8130fc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #5 0x00007fee8130fed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #6 0x00007fee8120efa7 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #7 0x00007fee812ef9ff in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #8 0x00007fee81211fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #9 0x00007fee7c5f4e9a in start_thread (arg=0x7fee6103f700) at pthread_create.c:308 #10 0x00007fee8338f4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 6 (Thread 0x7fee61840700 (LWP 7964)): #0 0x00007fee83388823 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007fee8133d366 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007fee813427b2 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #3 0x00007fee81342ca3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007fee8130fc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #5 0x00007fee8130fed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #6 0x00007fee8120efa7 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #7 0x00007fee812ef9ff in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #8 0x00007fee81211fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #9 0x00007fee7c5f4e9a in start_thread (arg=0x7fee61840700) at pthread_create.c:308 #10 0x00007fee8338f4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 5 (Thread 0x7fee41c5b700 (LWP 7972)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007fee812124db in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007fee82215354 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #3 0x00007fee81211fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007fee7c5f4e9a in start_thread (arg=0x7fee41c5b700) at pthread_create.c:308 #5 0x00007fee8338f4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 4 (Thread 0x7fee4245c700 (LWP 7973)): #0 0x00007fee83388823 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007fee8133d366 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #2 0x00007fee813427b2 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #3 0x00007fee81342ca3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #4 0x00007fee8130fc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #5 0x00007fee8130fed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #6 0x00007fee8120efa7 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #7 0x00007fee812ef9ff in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #8 0x00007fee81211fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #9 0x00007fee7c5f4e9a in start_thread (arg=0x7fee4245c700) at pthread_create.c:308 #10 0x00007fee8338f4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 3 (Thread 0x7fee62265700 (LWP 7977)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86 #1 0x00007fee2d75ebdc in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so #2 0x00007fee2d1279d8 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so #3 0x00007fee2d12788d in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so #4 0x00007fee7c5f4e9a in start_thread (arg=0x7fee62265700) at pthread_create.c:308 #5 0x00007fee8338f4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fee6083e700 (LWP 7978)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86 #1 0x00007fee2d75ebdc in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so #2 0x00007fee2d1279d8 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so #3 0x00007fee2d12788d in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so #4 0x00007fee7c5f4e9a in start_thread (arg=0x7fee6083e700) at pthread_create.c:308 #5 0x00007fee8338f4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fee83e35780 (LWP 7952)): [KCrash Handler] #6 0x00007fee6d25d8d6 in KisLayer::metaData (this=0x0) at /home/sven/kde/src/calligra/krita/image/kis_layer.cc:584 #7 0x00007fee6d7a42c2 in KisLayerManager::mergeLayer (this=0xadd59c0) at /home/sven/kde/src/calligra/krita/ui/kis_layer_manager.cc:815 #8 0x00007fee6d7a6522 in KisLayerManager::qt_static_metacall (_o=0xadd59c0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff605567a0) at /home/sven/kde/build/calligra/krita/ui/kis_layer_manager.moc:107 #9 0x00007fee81325281 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #10 0x00007fee81d05132 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #11 0x00007fee81d0531f in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #12 0x00007fee82157119 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #13 0x00007fee8215d272 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #14 0x00007fee82b062d0 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5 #15 0x00007fee81d5c144 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #16 0x00007fee8215e80b in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #17 0x00007fee81d0b894 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #18 0x00007fee81d110bf in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #19 0x00007fee82efd26e in KoApplication::notify (this=0x7fff60557f20, receiver=0xb64e570, event=0x7fff605573a0) at /home/sven/kde/src/calligra/libs/main/KoApplication.cpp:504 #20 0x00007fee81310e9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #21 0x00007fee81d0c862 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #22 0x00007fee81d8c2c1 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #23 0x00007fee81d8abae in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #24 0x00007fee81db4b3a in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #25 0x00007fee8130fc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #26 0x00007fee8130fed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #27 0x00007fee81314f67 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #28 0x00007fee8383e86a in kdemain (argc=1, argv=0x7fff60558128) at /home/sven/kde/src/calligra/krita/main.cc:71 #29 0x0000000000400746 in main (argc=1, argv=0x7fff60558128) at /home/sven/kde/build/calligra/krita/krita_dummy.cpp:3 Thanks for your report! I can reproduce the bug too, I'll look into it. Nice image, btw! There is a invisible selection mask in the file. The merge tries to merge the layer with the selection make below it, which leads to the crash. Git commit 6d92f4e34d6aa83b2a032977a93d396a36915fbe by Boudewijn Rempt. Committed on 20/08/2012 at 09:30. Pushed by rempt into branch 'master'. Fix crash when merging down the top layer if there is a selection M +3 -1 krita/ui/kis_layer_manager.cc http://commits.kde.org/calligra/6d92f4e34d6aa83b2a032977a93d396a36915fbe Git commit ab34d6aa49ebb0b7d3f09974d2fa9bf8dcfe8518 by Boudewijn Rempt. Committed on 20/08/2012 at 09:30. Pushed by rempt into branch 'calligra/2.5'. Fix crash when merging down the top layer if there is a selection M +3 -1 krita/ui/kis_layer_manager.cc http://commits.kde.org/calligra/ab34d6aa49ebb0b7d3f09974d2fa9bf8dcfe8518 |