https://bugs.kde.org/show_bug.cgi?id=357304

            Bug ID: 357304
           Summary: Krita crashes when closing the Settings dialog
           Product: krita
           Version: 2.9.10
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: krita-bugs-n...@kde.org
          Reporter: j.mairbo...@gmail.com

Application: krita (2.9.10)
KDE Platform Version: 4.14.10
Qt Version: 4.8.6
Operating System: Linux 4.1.13-5-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Krita crashes when closing the Settings dialog when tool window settings were
changed.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa93e0967c0 (LWP 31736))]

Thread 7 (Thread 0x7fa91d424700 (LWP 31751)):
#0  0x00007fa93655105f in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa93be2e0a6 in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x1b09d20) at
thread/qwaitcondition_unix.cpp:86
#2  0x00007fa93be2e0a6 in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=mutex@entry=0x1f77ff0,
time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fa93be2a1cb in QSemaphore::acquire(int) (this=this@entry=0x1f77d10,
n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007fa938cc71fe in KisTileDataPooler::waitForWork()
(this=this@entry=0x1f77d00) at
/usr/src/debug/calligra-2.9.10/krita/image/tiles3/kis_tile_data_pooler.cc:165
#5  0x00007fa938cc761d in KisTileDataPooler::run() (this=0x1f77d00) at
/usr/src/debug/calligra-2.9.10/krita/image/tiles3/kis_tile_data_pooler.cc:187
#6  0x00007fa93be2dbbf in QThreadPrivate::start(void*) (arg=0x1f77d00) at
thread/qthread_unix.cpp:349
#7  0x00007fa93654d0a4 in start_thread (arg=0x7fa91d424700) at
pthread_create.c:309
#8  0x00007fa93b55104d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fa913970700 (LWP 31752)):
#0  0x00007fa93655105f in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa93be2e0a6 in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x1b0a0a0) at
thread/qwaitcondition_unix.cpp:86
#2  0x00007fa93be2e0a6 in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=mutex@entry=0x1b0a050,
time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fa93be2a5d3 in QSemaphore::tryAcquire(int, int) (this=0x1b09d90,
n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221
#4  0x00007fa938ce4303 in KisTileDataSwapper::waitForWork()
(this=this@entry=0x1f77d40) at
/usr/src/debug/calligra-2.9.10/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#5  0x00007fa938ce459a in KisTileDataSwapper::run() (this=0x1f77d40) at
/usr/src/debug/calligra-2.9.10/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#6  0x00007fa93be2dbbf in QThreadPrivate::start(void*) (arg=0x1f77d40) at
thread/qthread_unix.cpp:349
#7  0x00007fa93654d0a4 in start_thread (arg=0x7fa913970700) at
pthread_create.c:309
#8  0x00007fa93b55104d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fa91296e700 (LWP 31754)):
#0  0x00007fa93b54a2b3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa93bf59af7 in qt_safe_select(int, fd_set*, fd_set*, fd_set*,
timeval const*) (nfds=14, fdread=0x7fa904000ac8, fdwrite=0x7fa904000d60,
fdexcept=0x7fa904000ff8, orig_timeout=0x0) at kernel/qcore_unix.cpp:79
#2  0x00007fa93bf5f704 in
QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>,
timeval*) (this=this@entry=0x7fa904000910, flags=..., timeout=0x0) at
kernel/qeventdispatcher_unix.cpp:223
#3  0x00007fa93bf5fb6a in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fa9040008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:959
#4  0x00007fa93bf2dd4f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fa91296dde0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa93bf2e045 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fa91296dde0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fa93be2b4df in QThread::exec() (this=this@entry=0x3c51a20) at
thread/qthread.cpp:538
#7  0x00007fa93bf0f653 in QInotifyFileSystemWatcherEngine::run()
(this=0x3c51a20) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fa93be2dbbf in QThreadPrivate::start(void*) (arg=0x3c51a20) at
thread/qthread_unix.cpp:349
#9  0x00007fa93654d0a4 in start_thread (arg=0x7fa91296e700) at
pthread_create.c:309
#10 0x00007fa93b55104d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fa914171700 (LWP 31755)):
#0  0x00007fa93655105f in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa93be2e0a6 in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x3d33710) at
thread/qwaitcondition_unix.cpp:86
#2  0x00007fa93be2e0a6 in QWaitCondition::wait(QMutex*, unsigned long)
(this=this@entry=0x3d33278, mutex=mutex@entry=0x3d33270,
time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fa93ce161c6 in QFileInfoGatherer::run() (this=0x3d33260) at
dialogs/qfileinfogatherer.cpp:214
#4  0x00007fa93be2dbbf in QThreadPrivate::start(void*) (arg=0x3d33260) at
thread/qthread_unix.cpp:349
#5  0x00007fa93654d0a4 in start_thread (arg=0x7fa914171700) at
pthread_create.c:309
#6  0x00007fa93b55104d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fa91316f700 (LWP 31756)):
#0  0x00007fa93b54a2b3 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa93bf59af7 in qt_safe_select(int, fd_set*, fd_set*, fd_set*,
timeval const*) (nfds=29, fdread=0x7fa908000ac8, fdwrite=0x7fa908000d60,
fdexcept=0x7fa908000ff8, orig_timeout=0x0) at kernel/qcore_unix.cpp:79
#2  0x00007fa93bf5f704 in
QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>,
timeval*) (this=this@entry=0x7fa908000910, flags=..., timeout=0x0) at
kernel/qeventdispatcher_unix.cpp:223
#3  0x00007fa93bf5fb6a in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fa9080008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:959
#4  0x00007fa93bf2dd4f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fa91316ede0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa93bf2e045 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fa91316ede0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fa93be2b4df in QThread::exec() (this=this@entry=0x3d33810) at
thread/qthread.cpp:538
#7  0x00007fa93bf0f653 in QInotifyFileSystemWatcherEngine::run()
(this=0x3d33810) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fa93be2dbbf in QThreadPrivate::start(void*) (arg=0x3d33810) at
thread/qthread_unix.cpp:349
#9  0x00007fa93654d0a4 in start_thread (arg=0x7fa91316f700) at
pthread_create.c:309
#10 0x00007fa93b55104d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fa91196c700 (LWP 31783)):
#0  0x00007fa93655105f in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa8f7d57ff3 in  () at /usr/lib64/dri/r600_dri.so
#2  0x00007fa8f7d57777 in  () at /usr/lib64/dri/r600_dri.so
#3  0x00007fa93654d0a4 in start_thread (arg=0x7fa91196c700) at
pthread_create.c:309
#4  0x00007fa93b55104d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fa93e0967c0 (LWP 31736)):
[KCrash Handler]
#6  0x00007fa93cceaa79 in QAbstractButton::setIcon(QIcon const&) (this=0x8) at
../../src/corelib/tools/qscopedpointer.h:135
#7  0x00007fa93cceaa79 in QAbstractButton::setIcon(QIcon const&) (p=...) at
../../src/corelib/global/qglobal.h:2466
#8  0x00007fa93cceaa79 in QAbstractButton::setIcon(QIcon const&) (this=0x0) at
widgets/qabstractbutton.h:171
#9  0x00007fa93cceaa79 in QAbstractButton::setIcon(QIcon const&) (this=0x0,
icon=...) at widgets/qabstractbutton.cpp:669
#10 0x00007fa93d7f47d2 in KisPaintopBox::slotUpdateSelectionIcon()
(this=0x20442f0) at
/usr/src/debug/calligra-2.9.10/krita/ui/kis_paintop_box.cc:1170
#11 0x00007fa93d6c787d in KisPaintopBox::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>) at
/usr/src/debug/calligra-2.9.10/build/krita/ui/moc_kis_paintop_box.cpp:140
#12 0x00007fa93bf430fa in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=sender@entry=0x2073b90, m=m@entry=0x7fa93de555a0
<KisMainWindow::staticMetaObject>,
local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x0) at
kernel/qobject.cpp:3576
#13 0x00007fa93d9a6e43 in KisMainWindow::themeChanged()
(this=this@entry=0x2073b90) at
/usr/src/debug/calligra-2.9.10/build/krita/ui/KisMainWindow.moc:282
#14 0x00007fa93d9acd70 in KisMainWindow::slotThemeChanged() (this=0x2073b90) at
/usr/src/debug/calligra-2.9.10/krita/ui/KisMainWindow.cpp:574
#15 0x00007fa93d9bbc4d in KisMainWindow::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=0x2073b90, _c=<optimized out>,
_id=<optimized out>, _a=0x7ffd297487e0) at
/usr/src/debug/calligra-2.9.10/build/krita/ui/KisMainWindow.moc:201
#16 0x00007fa93bf430fa in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=sender@entry=0x17f8090, m=m@entry=0x7fa93de56780
<Digikam::ThemeManager::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at
kernel/qobject.cpp:3576
#17 0x00007fa93d9e4722 in Digikam::ThemeManager::slotChangePalette()
(this=0x17f8090) at
/usr/src/debug/calligra-2.9.10/build/krita/ui/thememanager.moc:107
#18 0x00007fa93d9e4722 in Digikam::ThemeManager::slotChangePalette()
(this=this@entry=0x17f8090) at
/usr/src/debug/calligra-2.9.10/krita/ui/thememanager.cpp:194
#19 0x00007fa93d9e4ca5 in Digikam::ThemeManager::setCurrentTheme(QString
const&) (this=0x17f8090, name=...) at
/usr/src/debug/calligra-2.9.10/krita/ui/thememanager.cpp:123
#20 0x00007fa93d9b71ae in KisMainWindow::configChanged() (this=0x2073b90) at
/usr/src/debug/calligra-2.9.10/krita/ui/KisMainWindow.cpp:1939
#21 0x00007fa93d9bbbe5 in KisMainWindow::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=0x2073b90, _c=<optimized out>,
_id=<optimized out>, _a=0x7ffd29748ed0) at
/usr/src/debug/calligra-2.9.10/build/krita/ui/KisMainWindow.moc:207
#22 0x00007fa93bf430fa in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=0x1a96250, m=m@entry=0x7fa93de42a60
<KisConfigNotifier::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at
kernel/qobject.cpp:3576
#23 0x00007fa93d793670 in KisConfigNotifier::configChanged() (this=<optimized
out>) at
/usr/src/debug/calligra-2.9.10/build/krita/ui/kis_config_notifier.moc:97
#24 0x00007fa93d793675 in KisConfigNotifier::notifyConfigChanged()
(this=<optimized out>) at
/usr/src/debug/calligra-2.9.10/krita/ui/kis_config_notifier.cpp:41
#25 0x00007fa93d9abb6a in KisMainWindow::slotPreferences() (this=0x2073b90) at
/usr/src/debug/calligra-2.9.10/krita/ui/KisMainWindow.cpp:542
#26 0x00007fa93d9bbff5 in KisMainWindow::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=0x2073b90, _c=<optimized out>,
_id=<optimized out>, _a=0x7ffd297491f0) at
/usr/src/debug/calligra-2.9.10/build/krita/ui/KisMainWindow.moc:156
#27 0x00007fa93bf430fa in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=sender@entry=0x4032950, m=m@entry=0x7fa93d3e04a0
<QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1,
argv=argv@entry=0x7ffd297491f0) at kernel/qobject.cpp:3576
#28 0x00007fa93c937652 in QAction::triggered(bool) (this=this@entry=0x4032950,
_t1=false) at .moc/release-shared/moc_qaction.cpp:276
#29 0x00007fa93c939003 in QAction::activate(QAction::ActionEvent)
(this=this@entry=0x4032950, event=event@entry=QAction::Trigger) at
kernel/qaction.cpp:1257
#30 0x00007fa93cd62399 in
QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*,
QAction::ActionEvent, bool) (this=this@entry=0x41791e0, causedStack=...,
action=action@entry=0x4032950, action_e=action_e@entry=QAction::Trigger,
self=self@entry=true) at widgets/qmenu.cpp:1037
#31 0x00007fa93cd668e9 in QMenuPrivate::activateAction(QAction*,
QAction::ActionEvent, bool) (this=0x41791e0, action=0x4032950,
action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at
widgets/qmenu.cpp:1129
#32 0x00007fa93cd6a2b5 in QMenu::mouseReleaseEvent(QMouseEvent*)
(this=this@entry=0x41790b0, e=e@entry=0x7ffd29749930) at widgets/qmenu.cpp:2371
#33 0x00007fa936a4cfa5 in KMenu::mouseReleaseEvent(QMouseEvent*)
(this=0x41790b0, e=0x7ffd29749930) at
/usr/src/debug/kdelibs-4.14.10/kdeui/widgets/kmenu.cpp:464
#34 0x00007fa93c98cc5a in QWidget::event(QEvent*) (this=this@entry=0x41790b0,
event=event@entry=0x7ffd29749930) at kernel/qwidget.cpp:8389
#35 0x00007fa93cd6a73b in QMenu::event(QEvent*) (this=0x41790b0,
e=0x7ffd29749930) at widgets/qmenu.cpp:2480
#36 0x00007fa93c93d79c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=this@entry=0x1736530, receiver=receiver@entry=0x41790b0,
e=e@entry=0x7ffd29749930) at kernel/qapplication.cpp:4565
#37 0x00007fa93c943e1a in QApplication::notify(QObject*, QEvent*)
(this=<optimized out>, receiver=receiver@entry=0x41790b0,
e=e@entry=0x7ffd29749930) at kernel/qapplication.cpp:4108
#38 0x00007fa93d972837 in KisApplication::notify(QObject*, QEvent*)
(this=<optimized out>, receiver=0x41790b0, event=0x7ffd29749930) at
/usr/src/debug/calligra-2.9.10/krita/ui/KisApplication.cpp:543
#39 0x00007fa93bf2f18d in QCoreApplication::notifyInternal(QObject*, QEvent*)
(this=0x7ffd2974a290, receiver=receiver@entry=0x41790b0,
event=event@entry=0x7ffd29749930) at kernel/qcoreapplication.cpp:953
#40 0x00007fa93c943613 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)
(event=<optimized out>, receiver=<optimized out>) at
../../src/corelib/kernel/qcoreapplication.h:231
#41 0x00007fa93c943613 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)
(receiver=receiver@entry=0x41790b0, event=event@entry=0x7ffd29749930,
alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x41790b0,
buttonDown=buttonDown@entry=0x7fa93d41c298 <qt_button_down>,
lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at
kernel/qapplication.cpp:3173
#42 0x00007fa93c9b501c in QETWidget::translateMouseEvent(_XEvent const*)
(this=this@entry=0x41790b0, event=event@entry=0x7ffd29749c80) at
kernel/qapplication_x11.cpp:4464
#43 0x00007fa93c9b375c in QApplication::x11ProcessEvent(_XEvent*)
(this=0x7ffd2974a290, event=event@entry=0x7ffd29749c80) at
kernel/qapplication_x11.cpp:3653
#44 0x00007fa93c9daf60 in
QEventDispatcherX11::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x162aa20, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#45 0x00007fa93bf2dd4f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffd29749ee0, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007fa93bf2e045 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffd29749ee0, flags=...) at kernel/qeventloop.cpp:204
#47 0x00007fa93bf33499 in QCoreApplication::exec() () at
kernel/qcoreapplication.cpp:1225
#48 0x00007fa93c93bf6c in QApplication::exec() () at
kernel/qapplication.cpp:3823
#49 0x000000000040299a in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at /usr/src/debug/calligra-2.9.10/krita/main.cc:204

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to