Bug 325632

Summary: Crash when saving to Krita format
Product: [Applications] krita Reporter: register
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: register
Priority: NOR Keywords: drkonqi
Version: 2.7.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description register 2013-10-04 15:51:45 UTC
Application: krita (2.7.1)
KDE Platform Version: 4.11.2
Qt Version: 4.8.2
Operating System: Linux 3.2.0-54-generic x86_64
Distribution: Ubuntu 12.04.3 LTS

-- Information about the crash:
- What I was doing when the application crashed: Krita Chrash in random when I save the work to krita format. So far it do not happen when I save to ORA format.

The crash can be reproduced sometimes.

-- Backtrace:
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 0x7f4fdbb407c0 (LWP 3613))]

Thread 7 (Thread 0x7f4fc0b94700 (LWP 3615)):
#0  0x00007f4fdaff2313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4fd4625036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4fd462549a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4fc93ce406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f4fd46469e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4fcf739764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#6  0x00007f4fd4af1e9a in start_thread (arg=0x7f4fc0b94700) at pthread_create.c:308
#7  0x00007f4fdaffdccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f4fa1d69700 (LWP 3636)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4fd8f4c5ab in wait (time=18446744073709551615, this=0x2487d20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2065e60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f4fd8f483e4 in QSemaphore::acquire (this=0x2487a40, n=1) at thread/qsemaphore.cpp:144
#4  0x00007f4fb1b4327e in ?? () from /usr/lib/libkritaimage.so.12
#5  0x00007f4fb1b439d4 in ?? () from /usr/lib/libkritaimage.so.12
#6  0x00007f4fd8f4c09b in QThreadPrivate::start (arg=0x2487a30) at thread/qthread_unix.cpp:307
#7  0x00007f4fcf739764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#8  0x00007f4fd4af1e9a in start_thread (arg=0x7f4fa1d69700) at pthread_create.c:308
#9  0x00007f4fdaffdccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f4fa1568700 (LWP 3637)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4fd8f4c5ab in wait (time=18446744073709551615, this=0x2488090) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1ae3790, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f4fd8f48829 in QSemaphore::tryAcquire (this=0x2487d90, n=1, timeout=-1) at thread/qsemaphore.cpp:221
#4  0x00007f4fb1b60bda in KisTileDataSwapper::run() () from /usr/lib/libkritaimage.so.12
#5  0x00007f4fd8f4c09b in QThreadPrivate::start (arg=0x2487a68) at thread/qthread_unix.cpp:307
#6  0x00007f4fcf739764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#7  0x00007f4fd4af1e9a in start_thread (arg=0x7f4fa1568700) at pthread_create.c:308
#8  0x00007f4fdaffdccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f4f9affd700 (LWP 3646)):
#0  0x00007f4fdaff7033 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f4fd9077866 in qt_safe_select (nfds=30, fdread=0x7f4f8d5ae6e8, fdwrite=0x7f4f8d5ae980, fdexcept=0x7f4f8d5aec18, orig_timeout=<optimized out>) at kernel/qcore_unix.cpp:83
#2  0x00007f4fd907ccb2 in QEventDispatcherUNIXPrivate::doSelect (this=0x7f4f8d5ae530, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f4fd907d1a3 in QEventDispatcherUNIX::processEvents (this=0x7f4f8c000920, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#4  0x00007f4fd9049e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4fd904a0b7 in QEventLoop::exec (this=0x7f4f9affccd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f4fd8f49077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f4fd9029b6f in QInotifyFileSystemWatcherEngine::run (this=0x28ae300) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4fd8f4c09b in QThreadPrivate::start (arg=0x28ae300) at thread/qthread_unix.cpp:307
#9  0x00007f4fcf739764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#10 0x00007f4fd4af1e9a in start_thread (arg=0x7f4f9affd700) at pthread_create.c:308
#11 0x00007f4fdaffdccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4f8537b700 (LWP 3681)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4fd8f4c5ab in wait (time=18446744073709551615, this=0x6db1fa0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x6db1b20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f4fd9f549a4 in QFileInfoGatherer::run (this=0x6db1b10) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f4fd8f4c09b in QThreadPrivate::start (arg=0x6db1b10) at thread/qthread_unix.cpp:307
#5  0x00007f4fcf739764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#6  0x00007f4fd4af1e9a in start_thread (arg=0x7f4f8537b700) at pthread_create.c:308
#7  0x00007f4fdaffdccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4f9b7fe700 (LWP 3682)):
#0  0x00007f4fdaff7033 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f4fd9077866 in qt_safe_select (nfds=44, fdread=0x7f4fbc00fa88, fdwrite=0x7f4fbc00fd20, fdexcept=0x7f4fbc00ffb8, orig_timeout=<optimized out>) at kernel/qcore_unix.cpp:83
#2  0x00007f4fd907ccb2 in QEventDispatcherUNIXPrivate::doSelect (this=0x7f4fbc00f8d0, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f4fd907d1a3 in QEventDispatcherUNIX::processEvents (this=0x7f4fbc00cfb0, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#4  0x00007f4fd9049e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4fd904a0b7 in QEventLoop::exec (this=0x7f4f9b7fdcd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f4fd8f49077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f4fd9029b6f in QInotifyFileSystemWatcherEngine::run (this=0x6db20a0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4fd8f4c09b in QThreadPrivate::start (arg=0x6db20a0) at thread/qthread_unix.cpp:307
#9  0x00007f4fcf739764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#10 0x00007f4fd4af1e9a in start_thread (arg=0x7f4f9b7fe700) at pthread_create.c:308
#11 0x00007f4fdaffdccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4fdbb407c0 (LWP 3613)):
[KCrash Handler]
#6  0x0000000000000008 in ?? ()
#7  0x00007f4fd94a49c7 in qDeleteAll<QHash<QString, KArchiveEntry*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<QHash<QString, KArchiveEntry*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  ~KArchiveDirectoryPrivate (this=0x682dc20, __in_chrg=<optimized out>) at ../../kdecore/io/karchive.cpp:697
#10 KArchiveDirectory::~KArchiveDirectory (this=0x6a53ce0, __in_chrg=<optimized out>) at ../../kdecore/io/karchive.cpp:713
#11 0x00007f4fd94a4a29 in KArchiveDirectory::~KArchiveDirectory (this=0x6a53ce0, __in_chrg=<optimized out>) at ../../kdecore/io/karchive.cpp:714
#12 0x00007f4fd94a6b6a in close (this=0xfe44ec0) at ../../kdecore/io/karchive.cpp:191
#13 KArchive::close (this=0xfe44ec0) at ../../kdecore/io/karchive.cpp:164
#14 0x00007f4fdac18589 in KoDocument::saveNativeFormatCalligra(KoStore*) () from /usr/lib/libkomain.so.12
#15 0x00007f4fdac270eb in KoDocument::saveNativeFormat(QString const&) () from /usr/lib/libkomain.so.12
#16 0x00007f4fdac1d1dc in KoDocument::saveFile() () from /usr/lib/libkomain.so.12
#17 0x00007f4fdacba793 in KoPart::saveFile() () from /usr/lib/libkomain.so.12
#18 0x00007f4fd89a0c50 in KParts::ReadWritePart::save (this=0x2717200) at ../../kparts/part.cpp:879
#19 0x00007f4fdac5230d in KoMainWindow::saveDocument(bool, bool) () from /usr/lib/libkomain.so.12
#20 0x00007f4fdac5479d in KoMainWindow::slotFileSave() () from /usr/lib/libkomain.so.12
#21 0x00007f4fdac55f9d in ?? () from /usr/lib/libkomain.so.12
#22 0x00007f4fd905f781 in QMetaObject::activate (sender=0x2748390, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff731609e0) at kernel/qobject.cpp:3547
#23 0x00007f4fd9a44072 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#24 0x00007f4fd9a4425f in QAction::activate (this=0x2748390, event=<optimized out>) at kernel/qaction.cpp:1257
#25 0x00007f4fd9a443cf in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#26 0x00007f4fda6999ca in KAction::event (this=<optimized out>, event=0x7fff73161010) at ../../kdeui/actions/kaction.cpp:131
#27 0x00007f4fd9a4a7b4 in notify_helper (e=0x7fff73161010, receiver=0x2748390, this=0x172edc0) at kernel/qapplication.cpp:4556
#28 QApplicationPrivate::notify_helper (this=0x172edc0, receiver=0x2748390, e=0x7fff73161010) at kernel/qapplication.cpp:4528
#29 0x00007f4fd9a4f583 in QApplication::notify (this=0x7fff73162350, receiver=0x2748390, e=0x7fff73161010) at kernel/qapplication.cpp:4417
#30 0x00007f4fdac0f45e in KoApplication::notify(QObject*, QEvent*) () from /usr/lib/libkomain.so.12
#31 0x00007f4fd904b32c in QCoreApplication::notifyInternal (this=0x7fff73162350, receiver=0x2748390, event=0x7fff73161010) at kernel/qcoreapplication.cpp:915
#32 0x00007f4fd9a7c729 in sendEvent (event=0x7fff73161010, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7fff731615c0) at kernel/qshortcutmap.cpp:879
#34 0x00007f4fd9a7dbfa in QShortcutMap::tryShortcutEvent (this=0x172eee0, o=<optimized out>, e=0x7fff731615c0) at kernel/qshortcutmap.cpp:364
#35 0x00007f4fd9a50e02 in QApplication::notify (this=0x7fff73162350, receiver=0x6f91990, e=0x7fff731615c0) at kernel/qapplication.cpp:3980
#36 0x00007f4fdac0f45e in KoApplication::notify(QObject*, QEvent*) () from /usr/lib/libkomain.so.12
#37 0x00007f4fd904b32c in QCoreApplication::notifyInternal (this=0x7fff73162350, receiver=0x6f91990, event=0x7fff731615c0) at kernel/qcoreapplication.cpp:915
#38 0x00007f4fd9aeebc9 in QKeyMapper::sendKeyEvent (keyWidget=0x6f91990, grab=<optimized out>, type=QEvent::KeyPress, code=83, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=39, nativeVirtualKey=115, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1866
#39 0x00007f4fd9aef03b in QKeyMapperPrivate::translateKeyEvent (this=0x1773180, keyWidget=0x6f91990, event=0x7fff731620c0, grab=false) at kernel/qkeymapper_x11.cpp:1836
#40 0x00007f4fd9ac9557 in QApplication::x11ProcessEvent (this=0x7fff73162350, event=0x7fff731620c0) at kernel/qapplication_x11.cpp:3625
#41 0x00007f4fd9af3aba in QEventDispatcherX11::processEvents (this=0x16609a0, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#42 0x00007f4fd9049e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f4fd904a0b7 in QEventLoop::exec (this=0x7fff73162310, flags=...) at kernel/qeventloop.cpp:204
#44 0x00007f4fd904f407 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#45 0x00007f4fdb504b4d in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_krita.so
#46 0x00007f4fdaf2b76d in __libc_start_main (main=0x400630, argc=1, ubp_av=0x7fff73162518, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff73162508) at libc-start.c:226
#47 0x0000000000400661 in _start ()

Possible duplicates by query: bug 325153, bug 322352.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-10-04 20:33:16 UTC

*** This bug has been marked as a duplicate of bug 321100 ***
Comment 2 register 2013-10-10 18:22:55 UTC
Created attachment 82771 [details]
New crash information added by DrKonqi

krita (2.7.1) on KDE Platform 4.11.2 using Qt 4.8.2

- What I was doing when the application crashed:
Svaing in Krita Format. Multiple Layers and it crash as soon as I press Ctrl+S

-- Backtrace (Reduced):
#7  0x00007f5abf0e59c7 in qDeleteAll<QHash<QString, KArchiveEntry*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<QHash<QString, KArchiveEntry*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  ~KArchiveDirectoryPrivate (this=0x21a1600, __in_chrg=<optimized out>) at ../../kdecore/io/karchive.cpp:697
#10 KArchiveDirectory::~KArchiveDirectory (this=0x7156110, __in_chrg=<optimized out>) at ../../kdecore/io/karchive.cpp:713
#11 0x00007f5abf0e5a29 in KArchiveDirectory::~KArchiveDirectory (this=0x7156110, __in_chrg=<optimized out>) at ../../kdecore/io/karchive.cpp:714