Bug 345970 - crash on setting the statusbar text when autosaving
Summary: crash on setting the statusbar text when autosaving
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-04-08 07:22 UTC by romuluspb
Modified: 2016-05-18 20:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description romuluspb 2015-04-08 07:22:14 UTC
Application: krita (2.9.2)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.0-12-generic x86_64
Distribution: Ubuntu Vivid Vervet (development branch)

-- Information about the crash:
kubuntu 15.04 - kde 5 workspace

-  WhatI was doing when the application crashed:
drawing with huion h610 some line exercises with gpen 10
I belive when moving out from interface to an automatic hiden panel in plasmashell, not much sure.

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 0x7ff3ac0517c0 (LWP 24038))]

Thread 7 (Thread 0x7ff38ca7a700 (LWP 24045)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff3a9e30c56 in wait (time=18446744073709551615, this=0x3309140) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x33090f0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ff3a9e2ca7b in QSemaphore::acquire (this=this@entry=0x3308e20, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007ff3a86a82fe in KisTileDataPooler::waitForWork (this=0x3308e10) at /build/buildd/calligra-2.9.2/krita/image/tiles3/kis_tile_data_pooler.cc:162
#5  0x00007ff3a86a8727 in KisTileDataPooler::run (this=0x3308e10) at /build/buildd/calligra-2.9.2/krita/image/tiles3/kis_tile_data_pooler.cc:184
#6  0x00007ff3a9e306ff in QThreadPrivate::start (arg=0x3308e10) at thread/qthread_unix.cpp:349
#7  0x00007ff3a41f96aa in start_thread (arg=0x7ff38ca7a700) at pthread_create.c:333
#8  0x00007ff3a95cbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7ff3828b5700 (LWP 24046)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff3a9e30c56 in wait (time=18446744073709551615, this=0x33094f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x33094a0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ff3a9e2ceb3 in QSemaphore::tryAcquire (this=0x33091b0, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221
#4  0x00007ff3a86c2b83 in KisTileDataSwapper::waitForWork (this=this@entry=0x3308e48) at /build/buildd/calligra-2.9.2/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#5  0x00007ff3a86c2e3a in KisTileDataSwapper::run (this=0x3308e48) at /build/buildd/calligra-2.9.2/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#6  0x00007ff3a9e306ff in QThreadPrivate::start (arg=0x3308e48) at thread/qthread_unix.cpp:349
#7  0x00007ff3a41f96aa in start_thread (arg=0x7ff3828b5700) at pthread_create.c:333
#8  0x00007ff3a95cbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7ff3818a3700 (LWP 24048)):
#0  0x00007ff3a95c2743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff3a9f67911 in qt_safe_select (nfds=20, fdread=fdread@entry=0x7ff37b9b6118, fdwrite=fdwrite@entry=0x7ff37b9b63b0, fdexcept=fdexcept@entry=0x7ff37b9b6648, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:79
#2  0x00007ff3a9f6d3cf in select (timeout=0x0, exceptfds=0x7ff37b9b6648, writefds=0x7ff37b9b63b0, readfds=0x7ff37b9b6118, nfds=<optimized out>, this=0x7ff378000910) at kernel/qeventdispatcher_unix.cpp:649
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7ff37b9b5f60, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#4  0x00007ff3a9f6d887 in QEventDispatcherUNIX::processEvents (this=0x7ff378000910, flags=...) at kernel/qeventdispatcher_unix.cpp:944
#5  0x00007ff3a9f39cd1 in QEventLoop::processEvents (this=this@entry=0x7ff3818a2dc0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ff3a9f3a035 in QEventLoop::exec (this=this@entry=0x7ff3818a2dc0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ff3a9e2de89 in QThread::exec (this=this@entry=0x3a22490) at thread/qthread.cpp:538
#8  0x00007ff3a9f1a443 in QInotifyFileSystemWatcherEngine::run (this=0x3a22490) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007ff3a9e306ff in QThreadPrivate::start (arg=0x3a22490) at thread/qthread_unix.cpp:349
#10 0x00007ff3a41f96aa in start_thread (arg=0x7ff3818a3700) at pthread_create.c:333
#11 0x00007ff3a95cbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7ff3820ac700 (LWP 24050)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff3a9e30c56 in wait (time=18446744073709551615, this=0x3af12f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x3af0e58, mutex=mutex@entry=0x3af0e50, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ff3aae598dd in QFileInfoGatherer::run (this=0x3af0e40) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007ff3a9e306ff in QThreadPrivate::start (arg=0x3af0e40) at thread/qthread_unix.cpp:349
#5  0x00007ff3a41f96aa in start_thread (arg=0x7ff3820ac700) at pthread_create.c:333
#6  0x00007ff3a95cbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7ff38109a700 (LWP 24051)):
#0  0x00007ff3a95c2743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff3a9f67911 in qt_safe_select (nfds=29, fdread=fdread@entry=0x7ff36c000ae8, fdwrite=fdwrite@entry=0x7ff36c000d80, fdexcept=fdexcept@entry=0x7ff36c001018, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:79
#2  0x00007ff3a9f6d3cf in select (timeout=0x0, exceptfds=0x7ff36c001018, writefds=0x7ff36c000d80, readfds=0x7ff36c000ae8, nfds=<optimized out>, this=0x7ff36c000910) at kernel/qeventdispatcher_unix.cpp:649
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7ff36c000930, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#4  0x00007ff3a9f6d887 in QEventDispatcherUNIX::processEvents (this=0x7ff36c000910, flags=...) at kernel/qeventdispatcher_unix.cpp:944
#5  0x00007ff3a9f39cd1 in QEventLoop::processEvents (this=this@entry=0x7ff381099dc0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ff3a9f3a035 in QEventLoop::exec (this=this@entry=0x7ff381099dc0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ff3a9e2de89 in QThread::exec (this=this@entry=0x3af13f0) at thread/qthread.cpp:538
#8  0x00007ff3a9f1a443 in QInotifyFileSystemWatcherEngine::run (this=0x3af13f0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007ff3a9e306ff in QThreadPrivate::start (arg=0x3af13f0) at thread/qthread_unix.cpp:349
#10 0x00007ff3a41f96aa in start_thread (arg=0x7ff38109a700) at pthread_create.c:333
#11 0x00007ff3a95cbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7ff372f02700 (LWP 24171)):
#0  0x00007ff3a95c2743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff3a9f67911 in qt_safe_select (nfds=44, fdread=fdread@entry=0x7ff35c000a98, fdwrite=fdwrite@entry=0x7ff35c000d30, fdexcept=fdexcept@entry=0x7ff35c000fc8, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:79
#2  0x00007ff3a9f6d3cf in select (timeout=0x0, exceptfds=0x7ff35c000fc8, writefds=0x7ff35c000d30, readfds=0x7ff35c000a98, nfds=<optimized out>, this=0x7ff35c0008c0) at kernel/qeventdispatcher_unix.cpp:649
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7ff35c0008e0, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#4  0x00007ff3a9f6d887 in QEventDispatcherUNIX::processEvents (this=0x7ff35c0008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:944
#5  0x00007ff3a9f39cd1 in QEventLoop::processEvents (this=this@entry=0x7ff372f01dc0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ff3a9f3a035 in QEventLoop::exec (this=this@entry=0x7ff372f01dc0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ff3a9e2de89 in QThread::exec (this=this@entry=0x35f20e0) at thread/qthread.cpp:538
#8  0x00007ff3a9f1a443 in QInotifyFileSystemWatcherEngine::run (this=0x35f20e0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007ff3a9e306ff in QThreadPrivate::start (arg=0x35f20e0) at thread/qthread_unix.cpp:349
#10 0x00007ff3a41f96aa in start_thread (arg=0x7ff372f02700) at pthread_create.c:333
#11 0x00007ff3a95cbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ff3ac0517c0 (LWP 24038)):
[KCrash Handler]
#6  0x00007ff3aa988cfe in QWidget::testAttribute_helper (this=0x695caa0, attribute=Qt::WA_WState_ExplicitShowHide) at kernel/qwidget.cpp:11118
#7  0x00007ff3aa990c8d in testAttribute (attribute=Qt::WA_WState_ExplicitShowHide, this=0x695caa0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:1045
#8  QWidget::setAttribute (this=0x695caa0, attribute=attribute@entry=Qt::WA_WState_ExplicitShowHide, on=on@entry=false) at kernel/qwidget.cpp:10752
#9  0x00007ff3aadbdc93 in QStatusBar::hideOrShow (this=0x37ce050) at widgets/qstatusbar.cpp:690
#10 0x00007ff3aadbdd7b in QStatusBar::showMessage (this=<optimized out>, message=..., timeout=timeout@entry=0) at widgets/qstatusbar.cpp:616
#11 0x00007ff3ab9b819c in KisView::slotActionStatusText (this=<optimized out>, text=...) at /build/buildd/calligra-2.9.2/krita/ui/KisView.cpp:585
#12 0x00007ff3ab9bc439 in KisView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/buildd/calligra-2.9.2/obj-x86_64-linux-gnu/krita/ui/KisView.moc:75
#13 0x00007ff3a9f5019c in QMetaObject::activate (sender=sender@entry=0x327b530, m=m@entry=0x7ff3abe03de0 <KisDocument::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd7efce9d0) at kernel/qobject.cpp:3567
#14 0x00007ff3ab954df5 in KisDocument::statusBarMessage (this=this@entry=0x327b530, _t1=...) at /build/buildd/calligra-2.9.2/obj-x86_64-linux-gnu/krita/ui/KisDocument.moc:207
#15 0x00007ff3ab9560d0 in KisDocument::slotAutoSave (this=0x327b530) at /build/buildd/calligra-2.9.2/krita/ui/KisDocument.cpp:861
#16 0x00007ff3ab964705 in KisDocument::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/buildd/calligra-2.9.2/obj-x86_64-linux-gnu/krita/ui/KisDocument.moc:109
#17 0x00007ff3a9f5019c in QMetaObject::activate (sender=0x41b5220, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3567
#18 0x00007ff3a9f54763 in QObject::event (this=0x41b5220, e=<optimized out>) at kernel/qobject.cpp:1253
#19 0x00007ff3aa9479bc in QApplicationPrivate::notify_helper (this=this@entry=0x26ada30, receiver=receiver@entry=0x41b5220, e=e@entry=0x7ffd7efcef40) at kernel/qapplication.cpp:4570
#20 0x00007ff3aa94e4d8 in QApplication::notify (this=0x7ffd7efcf5f0, receiver=receiver@entry=0x41b5220, e=e@entry=0x7ffd7efcef40) at kernel/qapplication.cpp:4356
#21 0x00007ff3ab94da27 in KisApplication::notify (this=<optimized out>, receiver=0x41b5220, event=0x7ffd7efcef40) at /build/buildd/calligra-2.9.2/krita/ui/KisApplication.cpp:488
#22 0x00007ff3a9f3b17d in QCoreApplication::notifyInternal (this=0x7ffd7efcf5f0, receiver=0x41b5220, event=event@entry=0x7ffd7efcef40) at kernel/qcoreapplication.cpp:955
#23 0x00007ff3a9f6ce3b in sendEvent (event=0x7ffd7efcef40, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QTimerInfoList::activateTimers (this=0x26a2568) at kernel/qeventdispatcher_unix.cpp:621
#25 0x00007ff3a9f6cf10 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x2451750) at kernel/qeventdispatcher_unix.cpp:878
#26 0x00007ff3a9f6d958 in QEventDispatcherUNIX::processEvents (this=this@entry=0x2451750, flags=...) at kernel/qeventdispatcher_unix.cpp:948
#27 0x00007ff3aa9f0597 in QEventDispatcherX11::processEvents (this=0x2451750, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#28 0x00007ff3a9f39cd1 in QEventLoop::processEvents (this=this@entry=0x7ffd7efcf290, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007ff3a9f3a035 in QEventLoop::exec (this=this@entry=0x7ffd7efcf290, flags=...) at kernel/qeventloop.cpp:204
#30 0x00007ff3a9f3fab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#31 0x00007ff3aa945c1c in QApplication::exec () at kernel/qapplication.cpp:3828
#32 0x0000000000402696 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/calligra-2.9.2/krita/main.cc:179

Possible duplicates by query: bug 240604.

Reported using DrKonqi
Comment 1 Halla Rempt 2015-04-08 08:55:08 UTC
Hi,

Thanks for your report! The crash seems to happen when setting the "Autosaving" text on the statusbar, somewhere deep in Qt. Which makes it kind of hard to reproduce!
Comment 2 Scott Petrovic 2016-04-29 01:54:43 UTC
is it possible for you to use the appimage for 3.0? If this issue is deep in Qt, it may have been fixed  in Qt5.
Comment 3 Halla Rempt 2016-05-18 20:33:42 UTC
I'm pretty sure this is fixed: this code doesn't exist anymore.