Bug 380258 - Crash upon Duplicate Group Layer
Summary: Crash upon Duplicate Group Layer
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-27 18:53 UTC by reptillia39
Modified: 2017-10-24 12:43 UTC (History)
3 users (show)

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


Attachments
Crashing .KRA File (1.37 MB, application/x-krita)
2017-05-27 18:53 UTC, reptillia39
Details

Note You need to log in before you can comment on or make changes to this bug.
Description reptillia39 2017-05-27 18:53:13 UTC
Created attachment 105737 [details]
Crashing .KRA File

There's a lot of post-processing involved with the image. Upon duplicating the color layer, Krita will instantly crash no matter what you do.
Comment 1 reptillia39 2017-05-27 19:08:10 UTC
I found the solution, file layer was causing the issue. It no longer crashes.
Comment 2 mvowada 2017-05-28 08:43:32 UTC
Hi, which version of Krita?
Comment 3 reptillia39 2017-05-28 16:17:51 UTC
Krita 3.1.3 - Windows 10 x64 Home Edition
Comment 4 Halla Rempt 2017-06-05 11:05:38 UTC
I can confirm the crash:


Cloning KisFileLayer "windows_store.png"
krita.lib.flake: the context stack is not empty (current count 1 , expected 0)
QObject::setParent: Cannot set parent, new parent is in a different thread
QObject::startTimer: Timers cannot be started from another thread
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QStatusBar(0x6ab9bd0), parent's thread is QThread(0xad37e0), current thread is QThread(0x7fff8805d130)
QCoreApplication::postEvent: Unexpected null receiver
QObject::setParent: Cannot set parent, new parent is in a different thread
QObject::killTimer: Timers cannot be stopped from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QStatusBar(0x6ab9bd0), parent's thread is QThread(0xad37e0), current thread is QThread(0x7fff8805d130)
QLayout: Attempting to add QLayout "" to QStatusBar "", which already has a layout
cHRM: 9.88131e-324 3.95253e-323 1.18576e-322 0 6.95334e-310 1.02074e-320 2.74576e-316 4.94066e-324
gAMA 4.94066e-322
sRGB -303921649
Author: Boudewijn Rempt
[New Thread 0x7fffd8a01700 (LWP 13736)]
[Thread 0x7fffd8a01700 (LWP 13736) exited]
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QStatusBar(0x6ab9bd0), parent's thread is QThread(0xad37e0), current thread is QThread(0x7fff8805d130)
QLayout: Attempting to add QLayout "" to QStatusBar "", which already has a layout
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QStatusBar(0x6ab9bd0), parent's thread is QThread(0xad37e0), current thread is QThread(0x7fff8805d130)
QLayout: Attempting to add QLayout "" to QStatusBar "", which already has a layout
Cloning KisFileLayer "windows_store.png"
krita.lib.flake: the context stack is not empty (current count 1 , expected 0)
QObject::setParent: Cannot set parent, new parent is in a different thread
QObject::killTimer: Timers cannot be stopped from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QStatusBar(0x6ab9bd0), parent's thread is QThread(0xad37e0), current thread is QThread(0x7fff8805d130)
QLayout: Attempting to add QLayout "" to QStatusBar "", which already has a layout
QObject::setParent: Cannot set parent, new parent is in a different thread
QObject::killTimer: Timers cannot be stopped from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QStatusBar(0x6ab9bd0), parent's thread is QThread(0xad37e0), current thread is QThread(0x7fff8805d130)
QLayout: Attempting to add QLayout "" to QStatusBar "", which already has a layout
cHRM: 9.88131e-324 3.95253e-323 1.18576e-322 0 6.95334e-310 1.02074e-320 2.74576e-316 4.94066e-324
gAMA 4.94066e-322
sRGB -303921649
Author: Boudewijn Rempt
[New Thread 0x7fffd8a01700 (LWP 13737)]

Thread 1 "krita" received signal SIGSEGV, Segmentation fault.
0x00007fffe5c93e5b in QXcbWindow::netWmStates() ()
   from /home/boud/dev/deps/plugins/platforms/../../lib/libQt5XcbQpa.so.5
Missing separate debuginfos, use: zypper install krb5-debuginfo-1.12.1-36.3.x86_64 libICE6-debuginfo-1.0.9-3.1.x86_64 libSM6-debuginfo-1.2.2-5.1.x86_64 libX11-6-debuginfo-1.6.3-9.1.x86_64 libX11-xcb1-debuginfo-1.6.3-9.1.x86_64 libXau6-debuginfo-1.0.8-6.1.x86_64 libXcursor1-debuginfo-1.1.14-6.1.x86_64 libXext6-debuginfo-1.3.3-3.1.x86_64 libXfixes3-debuginfo-5.0.1-7.1.x86_64 libXi6-debuginfo-1.7.5-6.1.x86_64 libXrender1-debuginfo-0.9.9-3.1.x86_64 libbz2-1-debuginfo-1.0.6-32.1.x86_64 libcom_err2-debuginfo-1.42.11-10.2.x86_64 libcurl4-debuginfo-7.37.0-19.1.x86_64 libdbus-1-3-debuginfo-1.8.22-13.1.x86_64 libffi4-debuginfo-5.3.1+r233831-6.1.x86_64 libfreetype6-debuginfo-2.5.5-8.2.x86_64 libgcc_s1-debuginfo-5.3.1+r233831-6.1.x86_64 libglib-2_0-0-debuginfo-2.44.1-2.3.x86_64 libgobject-2_0-0-debuginfo-2.44.1-2.3.x86_64 libgomp1-debuginfo-5.3.1+r233831-6.1.x86_64 libgthread-2_0-0-debuginfo-2.44.1-2.3.x86_64 libicu52_1-debuginfo-52.1-10.3.x86_64 libidn11-debuginfo-1.28-6.1.x86_64 libkeyutils1-debuginfo-1.5.9-4.3.x86_64 libldap-2_4-2-debuginfo-2.4.41-14.1.x86_64 liblzma5-debuginfo-5.0.5-3.5.x86_64 libopenssl1_0_0-debuginfo-1.0.1i-21.1.x86_64 libpcre1-debuginfo-8.39-5.1.x86_64 libsasl2-3-debuginfo-2.1.26-8.1.x86_64 libselinux1-debuginfo-2.3-5.1.x86_64 libssh2-1-debuginfo-1.4.3-15.1.x86_64 libstdc++6-debuginfo-5.3.1+r233831-6.1.x86_64 libuuid1-debuginfo-2.25-21.1.x86_64 libwayland-client0-debuginfo-1.13.0-6.1.x86_64 libwayland-server0-debuginfo-1.13.0-6.1.x86_64 libxcb-keysyms1-debuginfo-0.4.0-1.1.x86_64 libxcb-util1-debuginfo-0.4.0-1.1.x86_64 libxcb1-debuginfo-1.11.1-1.1.x86_64
(gdb) bt
#0  0x00007fffe5c93e5b in QXcbWindow::netWmStates() ()
    at /home/boud/dev/deps/plugins/platforms/../../lib/libQt5XcbQpa.so.5
#1  0x00007fffe5c94012 in QXcbWindow::handlePropertyNotifyEvent(xcb_property_notify_event_t const*) ()
    at /home/boud/dev/deps/plugins/platforms/../../lib/libQt5XcbQpa.so.5
#2  0x00007fffe5c7ece4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) ()
    at /home/boud/dev/deps/plugins/platforms/../../lib/libQt5XcbQpa.so.5
#3  0x00007fffe5c803cb in QXcbConnection::processXcbEvents() ()
    at /home/boud/dev/deps/plugins/platforms/../../lib/libQt5XcbQpa.so.5
#4  0x00007fffee0239f6 in QObject::event(QEvent*) () at /home/boud/dev/deps/lib/libQt5Core.so.5
#5  0x00007fffeefe8dec in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
    at /home/boud/dev/deps/lib/libQt5Widgets.so.5
#6  0x00007fffeefed44a in QApplication::notify(QObject*, QEvent*) ()
    at /home/boud/dev/deps/lib/libQt5Widgets.so.5
#7  0x00007ffff78bc3e7 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0xc96b40, event=0x7fffdc016a10) at /home/boud/dev/krita/libs/ui/KisApplication.cpp:550
#8  0x00007fffedff88e5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
    at /home/boud/dev/deps/lib/libQt5Core.so.5
#9  0x00007fffedffa6ca in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
    at /home/boud/dev/deps/lib/libQt5Core.so.5
#10 0x00007fffee0496d3 in  () at /home/boud/dev/deps/lib/libQt5Core.so.5
#11 0x00007fffeae38c84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#12 0x00007fffeae38ed8 in  () at /usr/lib64/libglib-2.0.so.0
#13 0x00007fffeae38f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#14 0x00007fffee048d5c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /home/boud/dev/deps/lib/libQt5Core.so.5
#15 0x00007fffedff6a8b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /home/boud/dev/deps/lib/libQt5Core.so.5
#16 0x00007fffedffe7c6 in QCoreApplication::exec() () at /home/boud/dev/deps/lib/libQt5Core.so.5
#17 0x00000000004055bb in main(int, char**) (argc=1, argv=<optimized out>)
    at /home/boud/dev/krita/krita/main.cc:269
(gdb) thread apply all bt

Thread 24 (Thread 0x7fffd8a01700 (LWP 13737)):
#0  0x00007fffed213fb9 in syscall () at /lib64/libc.so.6
#1  0x00007fffede1ff0c in QBasicMutex::lockInternal() () at /home/boud/dev/deps/lib/libQt5Core.so.5
#2  0x00007fffede20206 in QMutex::lock() () at /home/boud/dev/deps/lib/libQt5Core.so.5
#3  0x00007fffede274ff in  () at /home/boud/dev/deps/lib/libQt5Core.so.5
#4  0x00007fffecf1e0a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007fffed21802d in clone () at /lib64/libc.so.6

Thread 22 (Thread 0x7fffd27fc700 (LWP 13735)):
#0  0x00007fffed217ff1 in clone () at /lib64/libc.so.6
#1  0x00007fffecf1d2ba in do_clone.constprop () at /lib64/libpthread.so.0
#2  0x00007fffecf1e763 in pthread_create@@GLIBC_2.2.5 () at /lib64/libpthread.so.0
#3  0x00007fffede26bb9 in QThread::start(QThread::Priority) () at /home/boud/dev/deps/lib/libQt5Core.so.5
#4  0x00007fffede2309d in QThreadPoolPrivate::startThread(QRunnable*) ()
    at /home/boud/dev/deps/lib/libQt5Core.so.5
#5  0x00007fffede23fcb in QThreadPoolPrivate::tryStart(QRunnable*) () at /home/boud/dev/deps/lib/libQt5Core.so.5
#6  0x00007fffede2430d in QThreadPool::start(QRunnable*, int) () at /home/boud/dev/deps/lib/libQt5Core.so.5
#7  0x00007ffff61ee76e in KisUpdaterContext::addMergeJob(KisSharedPtr<KisBaseRectsWalker>) (this=
    0x7fffc02aeb48, walker=...) at /home/boud/dev/krita/libs/image/kis_updater_context.cpp:126
#8  0x00007ffff61f9e4e in KisSimpleUpdateQueue::processOneJob(KisUpdaterContext&) (this=this@entry=0x7fffc02aeaf8, updaterContext=...) at /home/boud/dev/krita/libs/image/kis_simple_update_queue.cpp:121
#9  0x00007ffff61fa47b in KisSimpleUpdateQueue::processQueue(KisUpdaterContext&) (this=0x7fffc02aeaf8, updaterContext=...) at /home/boud/dev/krita/libs/image/kis_simple_update_queue.cpp:92
#10 0x00007ffff61fdced in KisUpdateScheduler::tryProcessUpdatesQueue() (this=0x7fffc02c0678)
    at /home/boud/dev/krita/libs/image/kis_update_scheduler.cpp:417
#11 0x00007ffff61fdfc0 in KisUpdateScheduler::processQueues() (this=this@entry=0x7fffc02c0678)
    at /home/boud/dev/krita/libs/image/kis_update_scheduler.cpp:378
#12 0x00007ffff61fe394 in KisUpdateScheduler::fullRefreshAsync(KisSharedPtr<KisNode>, QRect const&, QRect const&) (this=0x7fffc02c0678, root=..., rc=..., cropRect=...)
    at /home/boud/dev/krita/libs/image/kis_update_scheduler.cpp:146
#13 0x00007ffff620cd72 in KisImage::refreshGraphAsync(KisSharedPtr<KisNode>, QRect const&, QRect const&) (this=this@entry=0x7fffc02b5660, root=..., rc=..., cropRect=...) at /home/boud/dev/krita/libs/image/kis_image.cc:1432
#14 0x00007ffff620e2ec in KisImage::initialRefreshGraph() (this=0x7fffc02b5660)
    at /home/boud/dev/krita/libs/image/kis_image.cc:1413
#15 0x00007ffff78c5bab in KisDocument::setCurrentImage(KisSharedPtr<KisImage>) (this=this@entry=
    0x7fffc028e5f0, image=...) at /home/boud/dev/krita/libs/ui/KisDocument.cpp:1704
#16 0x00007fff98bf47ea in KisPNGImport::convert(KisDocument*, QIODevice*, KisPinnedSharedPtr<KisPropertiesConfiguration>) (this=<optimized out>, document=0x7fffc028e5f0, io=0x7fffd27fa7e0)
    at /home/boud/dev/krita/plugins/impex/png/kis_png_import.cc:68
#17 0x00007ffff78e0eb1 in KisImportExportManager::doImport(QString const&, QSharedPointer<KisImportExportFilter>) (this=this@entry=0x7fffc028e760, location=..., filter=...)
    at /home/boud/dev/krita/libs/ui/KisImportExportManager.cpp:463
#18 0x00007ffff78e186b in KisImportExportManager::convert(KisImportExportManager::Direction, QString const&, QString const&, QString const&, bool, KisPinnedSharedPtr<KisPropertiesConfiguration>) (this=<optimized out>, direction=direction@entry=KisImportExportManager::Import, location=..., realLocation=..., mimeType=..., showWarnings=showWarnings@entry=false, exportConfiguration=...) at /home/boud/dev/krita/libs/ui/KisImportExportManager.cpp:262
#19 0x00007ffff78e236d in KisImportExportManager::importDocument(QString const&, QString const&) (this=<optimized out>, location=..., mimeType=...) at /home/boud/dev/krita/libs/ui/KisImportExportManager.cpp:88
#20 0x00007ffff78c9f49 in KisDocument::openFile() (this=this@entry=0x7fffc028e5f0)
    at /home/boud/dev/krita/libs/ui/KisDocument.cpp:1099
#21 0x00007ffff78ca85f in KisDocument::openUrlInternal(QUrl const&) (this=this@entry=0x7fffc028e5f0, url=...)
    at /home/boud/dev/krita/libs/ui/KisDocument.cpp:1500
#22 0x00007ffff78cab70 in KisDocument::openUrl(QUrl const&, KisDocument::OpenUrlFlags) (this=0x7fffc028e5f0, _url=..., flags=flags@entry=KisDocument::OPEN_URL_FLAG_DO_NOT_ADD_TO_RECENT_FILES)
    at /home/boud/dev/krita/libs/ui/KisDocument.cpp:1005
#23 0x00007ffff76cf029 in KisSafeDocumentLoader::delayedLoadStart() (this=this@entry=0x7fffc02866e8)
    at /home/boud/dev/krita/libs/ui/kis_safe_document_loader.cpp:154
#24 0x00007ffff76cf587 in KisSafeDocumentLoader::fileChangedCompressed(bool) (this=this@entry=0x7fffc02866e8, sync=sync@entry=true) at /home/boud/dev/krita/libs/ui/kis_safe_document_loader.cpp:137
#25 0x00007ffff76cf6da in KisSafeDocumentLoader::reloadImage() (this=this@entry=0x7fffc02866e8)
    at /home/boud/dev/krita/libs/ui/kis_safe_document_loader.cpp:98
#26 0x00007ffff76cd625 in KisFileLayer::KisFileLayer(KisFileLayer const&) (this=0x7fffc0286690, rhs=...)
    at /home/boud/dev/krita/libs/ui/kis_file_layer.cpp:78
---Type <return> to continue, or q <return> to quit--- 
#27 0x00007ffff76cd8a4 in KisFileLayer::clone() const (this=0x7c7f8e0)
    at /home/boud/dev/krita/libs/ui/kis_file_layer.cpp:179
#28 0x00007ffff624ef02 in KisNode::KisNode(KisNode const&) (this=0x7fffc027c090, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_node.cpp:198
#29 0x00007ffff6224235 in KisLayer::KisLayer(KisLayer const&) (this=0x7fffc027c090, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_layer.cc:150
#30 0x00007ffff6205e75 in KisGroupLayer::KisGroupLayer(KisGroupLayer const&) (this=0x7fffc027c090, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_group_layer.cc:68
#31 0x00007ffff6329962 in KisGroupLayer::clone() const (this=0x7c6f850)
    at /home/boud/dev/build/libs/image/kritaimage_automoc.dir/../../../../krita/libs/image/kis_group_layer.h:43
#32 0x00007ffff624ef02 in KisNode::KisNode(KisNode const&) (this=0x7fffc027bbb0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_node.cpp:198
#33 0x00007ffff6224235 in KisLayer::KisLayer(KisLayer const&) (this=0x7fffc027bbb0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_layer.cc:150
#34 0x00007ffff6205e75 in KisGroupLayer::KisGroupLayer(KisGroupLayer const&) (this=0x7fffc027bbb0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_group_layer.cc:68
#35 0x00007ffff6329962 in KisGroupLayer::clone() const (this=0x7c685a0)
    at /home/boud/dev/build/libs/image/kritaimage_automoc.dir/../../../../krita/libs/image/kis_group_layer.h:43
#36 0x00007ffff624ef02 in KisNode::KisNode(KisNode const&) (this=0x7fffc02715a0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_node.cpp:198
#37 0x00007ffff6224235 in KisLayer::KisLayer(KisLayer const&) (this=0x7fffc02715a0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_layer.cc:150
#38 0x00007ffff6205e75 in KisGroupLayer::KisGroupLayer(KisGroupLayer const&) (this=0x7fffc02715a0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_group_layer.cc:68
#39 0x00007ffff6329962 in KisGroupLayer::clone() const (this=0x7c60710)
    at /home/boud/dev/build/libs/image/kritaimage_automoc.dir/../../../../krita/libs/image/kis_group_layer.h:43
#40 0x00007ffff624ef02 in KisNode::KisNode(KisNode const&) (this=0x7fffc02711b0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_node.cpp:198
#41 0x00007ffff6224235 in KisLayer::KisLayer(KisLayer const&) (this=0x7fffc02711b0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_layer.cc:150
#42 0x00007ffff6205e75 in KisGroupLayer::KisGroupLayer(KisGroupLayer const&) (this=0x7fffc02711b0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_group_layer.cc:68
#43 0x00007ffff6329962 in KisGroupLayer::clone() const (this=0x7c59430)
    at /home/boud/dev/build/libs/image/kritaimage_automoc.dir/../../../../krita/libs/image/kis_group_layer.h:43
#44 0x00007ffff624ef02 in KisNode::KisNode(KisNode const&) (this=0x7fffc0270dc0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_node.cpp:198
#45 0x00007ffff6224235 in KisLayer::KisLayer(KisLayer const&) (this=0x7fffc0270dc0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_layer.cc:150
#46 0x00007ffff6205e75 in KisGroupLayer::KisGroupLayer(KisGroupLayer const&) (this=0x7fffc0270dc0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_group_layer.cc:68
#47 0x00007ffff6329962 in KisGroupLayer::clone() const (this=0x7c52150)
    at /home/boud/dev/build/libs/image/kritaimage_automoc.dir/../../../../krita/libs/image/kis_group_layer.h:43
#48 0x00007ffff624ef02 in KisNode::KisNode(KisNode const&) (this=0x7fffc02709d0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_node.cpp:198
#49 0x00007ffff6224235 in KisLayer::KisLayer(KisLayer const&) (this=0x7fffc02709d0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_layer.cc:150
#50 0x00007ffff6205e75 in KisGroupLayer::KisGroupLayer(KisGroupLayer const&) (this=0x7fffc02709d0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_group_layer.cc:68
#51 0x00007ffff6329962 in KisGroupLayer::clone() const (this=0x7be0e30)
    at /home/boud/dev/build/libs/image/kritaimage_automoc.dir/../../../../krita/libs/image/kis_group_layer.h:43
#52 0x00007ffff624ef02 in KisNode::KisNode(KisNode const&) (this=0x7fffc02705e0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_node.cpp:198
#53 0x00007ffff6224235 in KisLayer::KisLayer(KisLayer const&) (this=0x7fffc02705e0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_layer.cc:150
#54 0x00007ffff6205e75 in KisGroupLayer::KisGroupLayer(KisGroupLayer const&) (this=0x7fffc02705e0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_group_layer.cc:68
#55 0x00007ffff6329962 in KisGroupLayer::clone() const (this=0x7bdfb80)
    at /home/boud/dev/build/libs/image/kritaimage_automoc.dir/../../../../krita/libs/image/kis_group_layer.h:43
#56 0x00007ffff624ef02 in KisNode::KisNode(KisNode const&) (this=0x7fffc02701f0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_node.cpp:198
#57 0x00007ffff6224235 in KisLayer::KisLayer(KisLayer const&) (this=0x7fffc02701f0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_layer.cc:150
#58 0x00007ffff6205e75 in KisGroupLayer::KisGroupLayer(KisGroupLayer const&) (this=0x7fffc02701f0, rhs=...)
    at /home/boud/dev/krita/libs/image/kis_group_layer.cc:68
---Type <return> to continue, or q <return> to quit---
#59 0x00007ffff6329962 in KisGroupLayer::clone() const (this=0x7c3e240) at /home/boud/dev/build/libs/image/kritaimage_automoc.dir/../../../../krita/libs/image/kis_group_layer.h:43
#60 0x00007ffff624ef02 in KisNode::KisNode(KisNode const&) (this=0x7fffc026fe20, rhs=...) at /home/boud/dev/krita/libs/image/kis_node.cpp:198
#61 0x00007ffff6224235 in KisLayer::KisLayer(KisLayer const&) (this=0x7fffc026fe20, rhs=...) at /home/boud/dev/krita/libs/image/kis_layer.cc:150
#62 0x00007ffff6205e75 in KisGroupLayer::KisGroupLayer(KisGroupLayer const&) (this=0x7fffc026fe20, rhs=...) at /home/boud/dev/krita/libs/image/kis_group_layer.cc:68
#63 0x00007ffff6329962 in KisGroupLayer::clone() const (this=0x7c3a760) at /home/boud/dev/build/libs/image/kritaimage_automoc.dir/../../../../krita/libs/image/kis_group_layer.h:43
#64 0x00007ffff7705431 in DuplicateLayers::populateChildCommands() (this=0x7b27480) at /home/boud/dev/krita/libs/ui/kis_node_juggler_compressed.cpp:513
#65 0x00007ffff49f8f87 in KisCommandUtils::AggregateCommand::redo() (this=0x7b27480) at /home/boud/dev/krita/libs/command/kis_command_utils.cpp:36
#66 0x00007ffff61effd7 in KisStrokeStrategyUndoCommandBased::doStrokeCallback(KisStrokeJobData*) (this=0x86f2c20, data=<optimized out>) at /home/boud/dev/krita/libs/image/kis_stroke_strategy_undo_command_based.cpp:118
#67 0x00007ffff6329b01 in KisUpdateJobItem::run() (this=0x7bc03d0) at /home/boud/dev/build/libs/image/kritaimage_automoc.dir/../../../../krita/libs/image/kis_update_job_item.h:66
#68 0x00007fffede245fe in  () at /home/boud/dev/deps/lib/libQt5Core.so.5
#69 0x00007fffede27609 in  () at /home/boud/dev/deps/lib/libQt5Core.so.5
#70 0x00007fffecf1e0a4 in start_thread () at /lib64/libpthread.so.0
#71 0x00007fffed21802d in clone () at /lib64/libc.so.6

Thread 21 (Thread 0x7fff9a0ff700 (LWP 13734)):
#0  0x00007fffecf223e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fffede281c8 in QWaitCondition::wait(QMutex*, unsigned long) () at /home/boud/dev/deps/lib/libQt5Core.so.5
#2  0x00007fffede24780 in  () at /home/boud/dev/deps/lib/libQt5Core.so.5
#3  0x00007fffede27609 in  () at /home/boud/dev/deps/lib/libQt5Core.so.5
#4  0x00007fffecf1e0a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007fffed21802d in clone () at /lib64/libc.so.6

Thread 20 (Thread 0x7fff92ffe700 (LWP 13733)):
#0  0x00007fffecf223e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fffede281c8 in QWaitCondition::wait(QMutex*, unsigned long) () at /home/boud/dev/deps/lib/libQt5Core.so.5
#2  0x00007fffede24780 in  () at /home/boud/dev/deps/lib/libQt5Core.so.5
#3  0x00007fffede27609 in  () at /home/boud/dev/deps/lib/libQt5Core.so.5
#4  0x00007fffecf1e0a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007fffed21802d in clone () at /lib64/libc.so.6

Thread 14 (Thread 0x7fffa5e37700 (LWP 13726)):
#0  0x00007fffecf2203f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fffede2827b in QWaitCondition::wait(QMutex*, unsigned long) () at /home/boud/dev/deps/lib/libQt5Core.so.5
#2  0x00007fffef20df91 in  () at /home/boud/dev/deps/lib/libQt5Widgets.so.5
#3  0x00007fffede27609 in  () at /home/boud/dev/deps/lib/libQt5Core.so.5
#4  0x00007fffecf1e0a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007fffed21802d in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7fffa5636700 (LWP 13725)):
#0  0x00007fffed1ea0dd in nanosleep () at /lib64/libc.so.6
#1  0x00007fffeded17fd in  () at /home/boud/dev/deps/lib/libQt5Core.so.5
#2  0x00007fffede26a75 in QThread::msleep(unsigned long) () at /home/boud/dev/deps/lib/libQt5Core.so.5
#3  0x00007ffff61458aa in KisTileDataSwapper::run() (this=0x7ffff65e6920 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+64>) at /home/boud/dev/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:97
#4  0x00007fffede27609 in  () at /home/boud/dev/deps/lib/libQt5Core.so.5
#5  0x00007fffecf1e0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fffed21802d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fffdbfff700 (LWP 13715)):
#0  0x00007fffed20fbfd in poll () at /lib64/libc.so.6
#1  0x00007fffeae38e64 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fffeae38f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fffee048d5c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/boud/dev/deps/lib/libQt5Core.so.5
#4  0x00007fffedff6a8b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/boud/dev/deps/lib/libQt5Core.so.5
#5  0x00007fffede22cfa in QThread::exec() () at /home/boud/dev/deps/lib/libQt5Core.so.5
#6  0x00007ffff28cb185 in  () at /home/boud/dev/deps/lib/libQt5DBus.so.5
#7  0x00007fffede27609 in  () at /home/boud/dev/deps/lib/libQt5Core.so.5
#8  0x00007fffecf1e0a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fffed21802d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fffe4483700 (LWP 13714)):
#0  0x00007fffed20fbfd in poll () at /lib64/libc.so.6
#1  0x00007ffff1467422 in  () at /usr/lib64/libxcb.so.1
#2  0x00007ffff146900f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007fffe5c80019 in  () at /home/boud/dev/deps/plugins/platforms/../../lib/libQt5XcbQpa.so.5
---Type <return> to continue, or q <return> to quit---
#4  0x00007fffede27609 in  () at /home/boud/dev/deps/lib/libQt5Core.so.5
#5  0x00007fffecf1e0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fffed21802d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7ffff7f907c0 (LWP 13710)):
#0  0x00007fffe5c93e5b in QXcbWindow::netWmStates() () at /home/boud/dev/deps/plugins/platforms/../../lib/libQt5XcbQpa.so.5
#1  0x00007fffe5c94012 in QXcbWindow::handlePropertyNotifyEvent(xcb_property_notify_event_t const*) () at /home/boud/dev/deps/plugins/platforms/../../lib/libQt5XcbQpa.so.5
#2  0x00007fffe5c7ece4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /home/boud/dev/deps/plugins/platforms/../../lib/libQt5XcbQpa.so.5
#3  0x00007fffe5c803cb in QXcbConnection::processXcbEvents() () at /home/boud/dev/deps/plugins/platforms/../../lib/libQt5XcbQpa.so.5
#4  0x00007fffee0239f6 in QObject::event(QEvent*) () at /home/boud/dev/deps/lib/libQt5Core.so.5
#5  0x00007fffeefe8dec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /home/boud/dev/deps/lib/libQt5Widgets.so.5
#6  0x00007fffeefed44a in QApplication::notify(QObject*, QEvent*) () at /home/boud/dev/deps/lib/libQt5Widgets.so.5
#7  0x00007ffff78bc3e7 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0xc96b40, event=0x7fffdc016a10) at /home/boud/dev/krita/libs/ui/KisApplication.cpp:550
#8  0x00007fffedff88e5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/boud/dev/deps/lib/libQt5Core.so.5
#9  0x00007fffedffa6ca in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /home/boud/dev/deps/lib/libQt5Core.so.5
#10 0x00007fffee0496d3 in  () at /home/boud/dev/deps/lib/libQt5Core.so.5
#11 0x00007fffeae38c84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#12 0x00007fffeae38ed8 in  () at /usr/lib64/libglib-2.0.so.0
#13 0x00007fffeae38f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#14 0x00007fffee048d5c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/boud/dev/deps/lib/libQt5Core.so.5
#15 0x00007fffedff6a8b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/boud/dev/deps/lib/libQt5Core.so.5
#16 0x00007fffedffe7c6 in QCoreApplication::exec() () at /home/boud/dev/deps/lib/libQt5Core.so.5
#17 0x00000000004055bb in main(int, char**) (argc=1, argv=<optimized out>) at /home/boud/dev/krita/krita/main.cc:269
Comment 5 wolthera 2017-10-24 12:43:14 UTC
File layers don't crash anymore in current master, so I am closing this bug. If you can still reproduce this bug with krita 4.0, please don't hesitate to reopen it.