Application: krita (2.9.6) KDE Platform Version: 4.14.2 Qt Version: 4.8.6 Operating System: Linux 3.13.0-57-generic x86_64 Distribution: Ubuntu 14.04.2 LTS -- Information about the crash: - What I was doing when the application crashed: Since Krita is crashing qhenever I save in .kra and no other open format supports CMYK, I opted for saving in .psd. Firefox, as always, started to slow the system down until I had to kill x server, after it came back I tried to open the psd file I crated but it simply crashes again, and again, and again. The crash can be reproduced every time. -- Backtrace: Application: Krita (krita), signal: Aborted Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7ff387575800 (LWP 6328))] Thread 6 (Thread 0x7ff35e74c700 (LWP 6336)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007ff385e1f816 in wait (time=18446744073709551615, this=0x8491070) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x8491020, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007ff385e1b95b in QSemaphore::acquire (this=this@entry=0x8482400, n=n@entry=1) at thread/qsemaphore.cpp:144 #4 0x00007ff383364910 in waitForWork (this=0x84823f0) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/image/tiles3/kis_tile_data_pooler.cc:165 #5 KisTileDataPooler::run (this=0x84823f0) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/image/tiles3/kis_tile_data_pooler.cc:187 #6 0x00007ff385e1f32f in QThreadPrivate::start (arg=0x84823f0) at thread/qthread_unix.cpp:349 #7 0x00007ff37ec2b182 in start_thread (arg=0x7ff35e74c700) at pthread_create.c:312 #8 0x00007ff38490c47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 5 (Thread 0x7ff36a0ed700 (LWP 6337)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007ff385e1f816 in wait (time=18446744073709551615, this=0x8491420) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x84913d0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007ff385e1bd63 in QSemaphore::tryAcquire (this=0x84910e0, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221 #4 0x00007ff38338d313 in KisTileDataSwapper::waitForWork (this=this@entry=0x8482430) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86 #5 0x00007ff38338d54a in KisTileDataSwapper::run (this=0x8482430) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92 #6 0x00007ff385e1f32f in QThreadPrivate::start (arg=0x8482430) at thread/qthread_unix.cpp:349 #7 0x00007ff37ec2b182 in start_thread (arg=0x7ff36a0ed700) at pthread_create.c:312 #8 0x00007ff38490c47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 4 (Thread 0x7ff35ef4d700 (LWP 6338)): #0 0x00007ff384903da3 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007ff385f4c2c7 in qt_safe_select (nfds=14, fdread=0x7ff350000ac8, fdwrite=0x7ff350000d60, fdexcept=0x7ff350000ff8, orig_timeout=0x0) at kernel/qcore_unix.cpp:79 #2 0x00007ff385f51824 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7ff350000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223 #3 0x00007ff385f51c92 in QEventDispatcherUNIX::processEvents (this=0x7ff3500008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:936 #4 0x00007ff385f200af in QEventLoop::processEvents (this=this@entry=0x7ff35ef4cda0, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007ff385f203a5 in QEventLoop::exec (this=this@entry=0x7ff35ef4cda0, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007ff385e1cc5f in QThread::exec (this=this@entry=0x869b1b0) at thread/qthread.cpp:537 #7 0x00007ff385f01823 in QInotifyFileSystemWatcherEngine::run (this=0x869b1b0) at io/qfilesystemwatcher_inotify.cpp:265 #8 0x00007ff385e1f32f in QThreadPrivate::start (arg=0x869b1b0) at thread/qthread_unix.cpp:349 #9 0x00007ff37ec2b182 in start_thread (arg=0x7ff35ef4d700) at pthread_create.c:312 #10 0x00007ff38490c47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 3 (Thread 0x7ff35f74e700 (LWP 6339)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007ff385e1f816 in wait (time=18446744073709551615, this=0x874b140) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=this@entry=0x874aca8, mutex=mutex@entry=0x874aca0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007ff385797e16 in QFileInfoGatherer::run (this=0x874ac90) at dialogs/qfileinfogatherer.cpp:214 #4 0x00007ff385e1f32f in QThreadPrivate::start (arg=0x874ac90) at thread/qthread_unix.cpp:349 #5 0x00007ff37ec2b182 in start_thread (arg=0x7ff35f74e700) at pthread_create.c:312 #6 0x00007ff38490c47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7ff35d74a700 (LWP 6340)): #0 0x00007ff385f249c3 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x874b5d0) at kernel/qcoreapplication.cpp:1499 #1 0x00007ff385f51bbf in QEventDispatcherUNIX::processEvents (this=0x7ff3480008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:908 #2 0x00007ff385f200af in QEventLoop::processEvents (this=this@entry=0x7ff35d749da0, flags=...) at kernel/qeventloop.cpp:149 #3 0x00007ff385f203a5 in QEventLoop::exec (this=this@entry=0x7ff35d749da0, flags=...) at kernel/qeventloop.cpp:204 #4 0x00007ff385e1cc5f in QThread::exec (this=this@entry=0x874b3e0) at thread/qthread.cpp:537 #5 0x00007ff385f01823 in QInotifyFileSystemWatcherEngine::run (this=0x874b3e0) at io/qfilesystemwatcher_inotify.cpp:265 #6 0x00007ff385e1f32f in QThreadPrivate::start (arg=0x874b3e0) at thread/qthread_unix.cpp:349 #7 0x00007ff37ec2b182 in start_thread (arg=0x7ff35d74a700) at pthread_create.c:312 #8 0x00007ff38490c47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7ff387575800 (LWP 6328)): [KCrash Handler] #5 0x00007ff384848cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #6 0x00007ff38484c0d8 in __GI_abort () at abort.c:89 #7 0x00007ff385e14c92 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x1b1692c8 "ASSERT: \"w > 0\" in file /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/image/tiles3/kis_hline_iterator.cpp, line 31") at global/qglobal.cpp:2383 #8 0x00007ff385e14ff9 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7ff385f82a20 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7ffdebf75db8) at global/qglobal.cpp:2429 #9 0x00007ff385e15804 in qFatal (msg=msg@entry=0x7ff385f82a20 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2612 #10 0x00007ff385e15846 in qt_assert (assertion=assertion@entry=0x7ff383693884 "w > 0", file=file@entry=0x7ff3836937f0 "/build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/image/tiles3/kis_hline_iterator.cpp", line=line@entry=31) at global/qglobal.cpp:2057 #11 0x00007ff38337dbd9 in KisHLineIterator2::KisHLineIterator2 (this=0x1b08a800, dataManager=<optimized out>, x=2147483647, y=2147483647, w=<optimized out>, offsetX=<optimized out>, offsetY=0, writable=true, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/image/tiles3/kis_hline_iterator.cpp:31 #12 0x00007ff3835431c5 in KisPaintDevice::Private::KisPaintDeviceStrategy::createHLineIteratorNG (this=0x1b08a0d0, x=2147483647, y=2147483647, w=0) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/image/kis_paint_device_strategies.h:92 #13 0x00007ff38353e239 in KisPaintDevice::createHLineIteratorNG (this=0x1b214200, x=x@entry=2147483647, y=y@entry=2147483647, w=w@entry=0) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/image/kis_paint_device.cc:935 #14 0x00007ff3447567f0 in PSDLayerRecord::doCMYK (this=this@entry=0x8f5ee20, dev=..., io=io@entry=0x7ffdebf76720) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/plugins/formats/psd/psd_layer_record.cpp:988 #15 0x00007ff344757922 in PSDLayerRecord::readPixelData (this=this@entry=0x8f5ee20, io=io@entry=0x7ffdebf76720, device=...) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/plugins/formats/psd/psd_layer_record.cpp:754 #16 0x00007ff34473cd85 in PSDLoader::decode (this=this@entry=0x7ffdebf76990, uri=...) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/plugins/formats/psd/psd_loader.cpp:241 #17 0x00007ff34473ec50 in PSDLoader::buildImage (this=this@entry=0x7ffdebf76990, uri=...) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/plugins/formats/psd/psd_loader.cpp:337 #18 0x00007ff34473a696 in psdImport::convert (this=<optimized out>, to=...) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/plugins/formats/psd/psd_import.cc:65 #19 0x00007ff386df3acf in CalligraFilter::ChainLink::invokeFilter (this=0x8715e60, parentChainLink=parentChainLink@entry=0x0) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/ui/KisFilterChainLink.cpp:90 #20 0x00007ff386df2712 in KisFilterChain::invokeChain (this=0x8f24780) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/ui/KisFilterChain.cpp:95 #21 0x00007ff386e01a9d in KisImportExportManager::importDocument (this=0x8bd8830, url=..., documentMimeType=..., status=@0x7ffdebf76e80: 150457424) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/ui/KisImportExportManager.cpp:169 #22 0x00007ff386ddc5e3 in KisDocument::openFile (this=0x8c5a000) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/ui/KisDocument.cpp:1324 #23 0x00007ff386de35da in openFile (this=0x8f8dac0) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/ui/KisDocument.cpp:376 #24 KisDocument::Private::openLocalFile (this=0x8f8dac0) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/ui/KisDocument.cpp:398 #25 0x00007ff386de0b94 in KisDocument::openUrlInternal (this=this@entry=0x8c5a000, url=...) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/ui/KisDocument.cpp:2422 #26 0x00007ff386de0db8 in KisDocument::openUrl (this=0x8c5a000, _url=...) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/ui/KisDocument.cpp:1228 #27 0x00007ff386e0abcb in KisMainWindow::openDocumentInternal (this=this@entry=0x8226c00, url=..., newdoc=0x8c5a000, newdoc@entry=0x0) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/ui/KisMainWindow.cpp:693 #28 0x00007ff386e10d7d in KisMainWindow::openDocument (this=this@entry=0x8226c00, url=...) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/ui/KisMainWindow.cpp:680 #29 0x00007ff386e110cf in KisMainWindow::slotFileOpenRecent (this=this@entry=0x8226c00, url=...) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/ui/KisMainWindow.cpp:1174 #30 0x00007ff386e1dfb3 in KisMainWindow::qt_static_metacall (_o=0x8226c00, _c=<optimized out>, _id=8, _a=0x7ffdebf77540) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/obj-x86_64-linux-gnu/krita/ui/KisMainWindow.moc:154 #31 0x00007ff385f3587a in QMetaObject::activate (sender=0x8a14d10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffdebf77540) at kernel/qobject.cpp:3539 #32 0x00007ff37fb60152 in KRecentFilesAction::urlSelected(KUrl const&) () from /usr/lib/libkdeui.so.5 #33 0x00007ff37fb60218 in ?? () from /usr/lib/libkdeui.so.5 #34 0x00007ff385f3587a in QMetaObject::activate (sender=0x8a14d10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffdebf77720) at kernel/qobject.cpp:3539 #35 0x00007ff37fb6397f in KSelectAction::triggered(QAction*) () from /usr/lib/libkdeui.so.5 #36 0x00007ff37fb63d50 in KSelectAction::actionTriggered(QAction*) () from /usr/lib/libkdeui.so.5 #37 0x00007ff385f3587a in QMetaObject::activate (sender=sender@entry=0x8a14ae0, m=m@entry=0x7ff385d64f00 <QActionGroup::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdebf778b0) at kernel/qobject.cpp:3539 #38 0x00007ff3852b79af in QActionGroup::triggered (this=this@entry=0x8a14ae0, _t1=_t1@entry=0x8a23da0) at .moc/release-shared/moc_qactiongroup.cpp:159 #39 0x00007ff3852b7a2f in QActionGroupPrivate::_q_actionTriggered (this=<optimized out>) at kernel/qactiongroup.cpp:93 #40 0x00007ff385f3587a in QMetaObject::activate (sender=sender@entry=0x8a23da0, m=m@entry=0x7ff385d64de0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffdebf77a00) at kernel/qobject.cpp:3539 #41 0x00007ff3852b4a62 in QAction::triggered (this=this@entry=0x8a23da0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276 #42 0x00007ff3852b6433 in QAction::activate (this=0x8a23da0, event=<optimized out>) at kernel/qaction.cpp:1257 #43 0x00007ff385f39c1e in QObject::event (this=0x8a23da0, e=<optimized out>) at kernel/qobject.cpp:1194 #44 0x00007ff3852b64f2 in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1187 #45 0x00007ff3852bae2c in QApplicationPrivate::notify_helper (this=this@entry=0x21a3c30, receiver=receiver@entry=0x8a23da0, e=e@entry=0x8a2bcb0) at kernel/qapplication.cpp:4567 #46 0x00007ff3852c14a0 in QApplication::notify (this=0x7ffdebf784f0, receiver=receiver@entry=0x8a23da0, e=e@entry=0x8a2bcb0) at kernel/qapplication.cpp:4353 #47 0x00007ff386dcb9d7 in KisApplication::notify (this=<optimized out>, receiver=0x8a23da0, event=0x8a2bcb0) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/ui/KisApplication.cpp:543 #48 0x00007ff385f214dd in QCoreApplication::notifyInternal (this=0x7ffdebf784f0, receiver=receiver@entry=0x8a23da0, event=event@entry=0x8a2bcb0) at kernel/qcoreapplication.cpp:953 #49 0x00007ff385f24b3d in sendEvent (event=0x8a2bcb0, receiver=0x8a23da0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #50 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x206b230) at kernel/qcoreapplication.cpp:1577 #51 0x00007ff385f51bbf in QEventDispatcherUNIX::processEvents (this=this@entry=0x21a3b90, flags=...) at kernel/qeventdispatcher_unix.cpp:908 #52 0x00007ff38535d506 in QEventDispatcherX11::processEvents (this=0x21a3b90, flags=...) at kernel/qeventdispatcher_x11.cpp:152 #53 0x00007ff385f200af in QEventLoop::processEvents (this=this@entry=0x7ffdebf78170, flags=...) at kernel/qeventloop.cpp:149 #54 0x00007ff385f203a5 in QEventLoop::exec (this=this@entry=0x7ffdebf78170, flags=...) at kernel/qeventloop.cpp:204 #55 0x00007ff385f25b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225 #56 0x00007ff3852b937c in QApplication::exec () at kernel/qapplication.cpp:3828 #57 0x0000000000402719 in main (argc=<optimized out>, argv=<optimized out>) at /build/krita-2.9-7CyJ5d/krita-2.9-2+git20150709+r21/krita/main.cc:194 Possible duplicates by query: bug 350254, bug 349696, bug 348737, bug 348590, bug 347879. Reported using DrKonqi
Could you attach the psd file, please?
Sorry about the delay, I thought I had deleted the file, but I finally found it, however, the file's size itself is 24MB, is there a mail account I can send it to?
Hi, Cesar! I have just push many fixes for PSD loading code. The new ubuntu packages will be available soon on Krita Lime. Please update tomorrow and check if the bug is still valid. It should be fixed now.
Just now I'm seeing this reply, sorry. I'm trying to use krita for production work, and since the regular 2.9 version for trusty in the lime repository seemingly hasn't been updated and most surely still has the crashing when saving a .kra file, I'd like to know if there's any other bug I should be expecting before I update to a newer development version.
Try to install the krita-testing package, that was last update on 21st of August. You can also send your test file to boud@valdyas.org.
I also haven't seen the PSD file -- but we have had another round of fixes in Krita 3.0 including one for a bug with a very similar backtrace, so I'm closing this report.