Bug 322924

Summary: Crash while idle
Product: [Applications] krita Reporter: Roger Leigh <rleigh>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.6.4   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Roger Leigh 2013-07-28 20:55:58 UTC
Application: krita (2.6.4)
KDE Platform Version: 4.10.5
Qt Version: 4.8.5
Operating System: Linux 3.10-1-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:

Absolutely nothing.  The application did not have focus and was not being used directly at the time of the crash.

Prior to the crash, I had loaded a PNG screen shot, cropped it and saved it to a new file.  I then switched applications and the crash occurred a few minutes later.

-- 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 0x7f608e4e9780 (LWP 10970))]

Thread 9 (Thread 0x7f60768cf700 (LWP 10971)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f608b92b446 in wait (time=18446744073709551615, this=0x17c05f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x17c05a0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f608b9275eb in QSemaphore::acquire (this=this@entry=0x17c02f0, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007f607c20ef4e in KisTileDataPooler::waitForWork (this=this@entry=0x17c02e0) at ../../../krita/image/tiles3/kis_tile_data_pooler.cc:162
#5  0x00007f607c20f31d in KisTileDataPooler::run (this=0x17c02e0) at ../../../krita/image/tiles3/kis_tile_data_pooler.cc:184
#6  0x00007f608b92af6f in QThreadPrivate::start (arg=0x17c02e0) at thread/qthread_unix.cpp:338
#7  0x00007f60872c7e0e in start_thread (arg=0x7f60768cf700) at pthread_create.c:311
#8  0x00007f608da5893d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 8 (Thread 0x7f60760ce700 (LWP 10972)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f608b92b446 in wait (time=18446744073709551615, this=0x17b8100) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x17c0930, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f608b9279f3 in QSemaphore::tryAcquire (this=0x17c0660, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221
#4  0x00007f607c22b313 in KisTileDataSwapper::waitForWork (this=this@entry=0x17c0318) at ../../../krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#5  0x00007f607c22b59a in KisTileDataSwapper::run (this=0x17c0318) at ../../../krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#6  0x00007f608b92af6f in QThreadPrivate::start (arg=0x17c0318) at thread/qthread_unix.cpp:338
#7  0x00007f60872c7e0e in start_thread (arg=0x7f60760ce700) at pthread_create.c:311
#8  0x00007f608da5893d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7f6074a6e700 (LWP 10978)):
#0  __libc_enable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:65
#1  0x00007f608da51785 in select () at ../sysdeps/unix/syscall-template.S:81
#2  0x00007f608ba5568b in qt_safe_select (nfds=28, fdread=0x7f6064000ac8, fdwrite=0x7f6064000d60, fdexcept=0x7f6064000ff8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#3  0x00007f608ba5acb4 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f6064000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#4  0x00007f608ba5b112 in QEventDispatcherUNIX::processEvents (this=0x7f60640008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:936
#5  0x00007f608ba297bf in QEventLoop::processEvents (this=this@entry=0x7f6074a6ddb0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f608ba29ab5 in QEventLoop::exec (this=this@entry=0x7f6074a6ddb0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f608b9288cf in QThread::exec (this=this@entry=0x1c83910) at thread/qthread.cpp:536
#8  0x00007f608ba0aee3 in QInotifyFileSystemWatcherEngine::run (this=0x1c83910) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007f608b92af6f in QThreadPrivate::start (arg=0x1c83910) at thread/qthread_unix.cpp:338
#10 0x00007f60872c7e0e in start_thread (arg=0x7f6074a6e700) at pthread_create.c:311
#11 0x00007f608da5893d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f606ffff700 (LWP 10989)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f608b92b446 in wait (time=18446744073709551615, this=0x34ad600) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x34ad188, mutex=mutex@entry=0x34ad180, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f608c9116b6 in QFileInfoGatherer::run (this=0x34ad170) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f608b92af6f in QThreadPrivate::start (arg=0x34ad170) at thread/qthread_unix.cpp:338
#5  0x00007f60872c7e0e in start_thread (arg=0x7f606ffff700) at pthread_create.c:311
#6  0x00007f608da5893d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f607526f700 (LWP 10990)):
#0  0x00007f608da51793 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f608ba5568b in qt_safe_select (nfds=36, fdread=0x7f6060000a78, fdwrite=0x7f6060000d10, fdexcept=0x7f6060000fa8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f608ba5acb4 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f60600008c0, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f608ba5b112 in QEventDispatcherUNIX::processEvents (this=0x7f6060086a10, flags=...) at kernel/qeventdispatcher_unix.cpp:936
#4  0x00007f608ba297bf in QEventLoop::processEvents (this=this@entry=0x7f607526edb0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f608ba29ab5 in QEventLoop::exec (this=this@entry=0x7f607526edb0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f608b9288cf in QThread::exec (this=this@entry=0x34ad700) at thread/qthread.cpp:536
#7  0x00007f608ba0aee3 in QInotifyFileSystemWatcherEngine::run (this=0x34ad700) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f608b92af6f in QThreadPrivate::start (arg=0x34ad700) at thread/qthread_unix.cpp:338
#9  0x00007f60872c7e0e in start_thread (arg=0x7f607526f700) at pthread_create.c:311
#10 0x00007f608da5893d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f605525f700 (LWP 10994)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f605444f82b in pipe_semaphore_wait (sema=0x379b3d0) at ../../../../../../../src/gallium/auxiliary/os/os_thread.h:433
#2  radeon_drm_cs_emit_ioctl (param=0x379b1f0) at radeon_drm_winsys.c:521
#3  0x00007f60872c7e0e in start_thread (arg=0x7f605525f700) at pthread_create.c:311
#4  0x00007f608da5893d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f604b517700 (LWP 11006)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f608b92b446 in wait (time=18446744073709551615, this=0x6427430) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x6426fb8, mutex=mutex@entry=0x6426fb0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f608c9116b6 in QFileInfoGatherer::run (this=0x6426fa0) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f608b92af6f in QThreadPrivate::start (arg=0x6426fa0) at thread/qthread_unix.cpp:338
#5  0x00007f60872c7e0e in start_thread (arg=0x7f604b517700) at pthread_create.c:311
#6  0x00007f608da5893d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f606f7fe700 (LWP 11007)):
#0  0x00007f608da51793 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f608ba5568b in qt_safe_select (nfds=45, fdread=0x7f605c000a78, fdwrite=0x7f605c000d10, fdexcept=0x7f605c000fa8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f608ba5acb4 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f605c0008c0, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f608ba5b112 in QEventDispatcherUNIX::processEvents (this=0x7f605c2b5f70, flags=...) at kernel/qeventdispatcher_unix.cpp:936
#4  0x00007f608ba297bf in QEventLoop::processEvents (this=this@entry=0x7f606f7fddb0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f608ba29ab5 in QEventLoop::exec (this=this@entry=0x7f606f7fddb0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f608b9288cf in QThread::exec (this=this@entry=0x6427530) at thread/qthread.cpp:536
#7  0x00007f608ba0aee3 in QInotifyFileSystemWatcherEngine::run (this=0x6427530) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f608b92af6f in QThreadPrivate::start (arg=0x6427530) at thread/qthread_unix.cpp:338
#9  0x00007f60872c7e0e in start_thread (arg=0x7f606f7fe700) at pthread_create.c:311
#10 0x00007f608da5893d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f608e4e9780 (LWP 10970)):
[KCrash Handler]
#6  0x00007f608b3751a4 in KParts::ReadWritePart::isModified (this=0x1a4b940) at ../../kparts/part.cpp:1031
#7  0x00007f608d611630 in KoDocument::isModified (this=this@entry=0x1a4c3a0) at ../../../libs/main/KoDocument.cpp:556
#8  0x00007f608d6151cf in KoDocument::slotAutoSave (this=0x1a4c3a0) at ../../../libs/main/KoDocument.cpp:481
#9  0x00007f608d61550d in KoDocument::qt_static_metacall (_o=0x1a4b940, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff31971e30) at ./KoDocument.moc:96
#10 0x00007f608ba3ecf8 in QMetaObject::activate (sender=0x1a4c720, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#11 0x00007f608ba42ec1 in QObject::event (this=0x1a4c720, e=<optimized out>) at kernel/qobject.cpp:1156
#12 0x00007f608c43870c in QApplicationPrivate::notify_helper (this=this@entry=0xf55e40, receiver=receiver@entry=0x1a4c720, e=e@entry=0x7fff31972240) at kernel/qapplication.cpp:4567
#13 0x00007f608c43ed80 in QApplication::notify (this=0x7fff31972600, receiver=receiver@entry=0x1a4c720, e=e@entry=0x7fff31972240) at kernel/qapplication.cpp:4353
#14 0x00007f608d60e107 in KoApplication::notify (this=<optimized out>, receiver=0x1a4c720, event=0x7fff31972240) at ../../../libs/main/KoApplication.cpp:528
#15 0x00007f608ba2ab5d in QCoreApplication::notifyInternal (this=0x7fff31972600, receiver=0x1a4c720, event=0x7fff31972240) at kernel/qcoreapplication.cpp:949
#16 0x00007f608ba5a7b3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#17 QTimerInfoList::activateTimers (this=0xf56888) at kernel/qeventdispatcher_unix.cpp:621
#18 0x00007f608ba5a830 in QEventDispatcherUNIX::activateTimers (this=this@entry=0xec6ad0) at kernel/qeventdispatcher_unix.cpp:878
#19 0x00007f608ba5b1a0 in QEventDispatcherUNIX::processEvents (this=this@entry=0xec6ad0, flags=...) at kernel/qeventdispatcher_unix.cpp:940
#20 0x00007f608c4d7166 in QEventDispatcherX11::processEvents (this=0xec6ad0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#21 0x00007f608ba297bf in QEventLoop::processEvents (this=this@entry=0x7fff31972580, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f608ba29ab5 in QEventLoop::exec (this=this@entry=0x7fff31972580, flags=...) at kernel/qeventloop.cpp:204
#23 0x00007f608ba2f0fb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#24 0x00007f608c436ecc in QApplication::exec () at kernel/qapplication.cpp:3828
#25 0x00007f608df06365 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../krita/main.cc:114
#26 0x00007f608d991995 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, ubp_av=0x7fff31972738, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff31972728) at libc-start.c:260
#27 0x00000000004006fe in _start ()

Possible duplicates by query: bug 320684, bug 320683, bug 320268, bug 319439.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-07-29 00:53:39 UTC

*** This bug has been marked as a duplicate of bug 310310 ***