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

            Bug ID: 376311
           Summary: Krita crashes when trying to open the settings
           Product: krita
           Version: 3.1.2
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: krita-bugs-n...@kde.org
          Reporter: heire...@exherbo.org
  Target Milestone: ---

Application: krita (3.1.2)
 (Compiled from sources)
Qt Version: 5.8.0
Frameworks Version: 5.31.0
Operating System: Linux 4.9.9 x86_64
Distribution (Platform): Exherbo Packages

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

Just clicking on Settings | Configure Krita...

Krita 3.1.2, Qt 5.8.0 and KF 5.31.0.

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library
"/usr/x86_64-pc-linux-gnu/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7278abb800 (LWP 25390))]

Thread 10 (Thread 0x7f722fc6a700 (LWP 25413)):
#0  0x00007f726ff1802f in pthread_cond_wait () from
/usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#1  0x00007f72761bce7b in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x7e45fd0) at
thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0x7e45c10,
mutex=mutex@entry=0x7e45c08, time=time@entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:215
#3  0x00007f72772496c1 in QFileInfoGatherer::run (this=0x7e45bf8) at
dialogs/qfileinfogatherer.cpp:217
#4  0x00007f72761bc0d9 in QThreadPrivate::start (arg=0x7e45bf8) at
thread/qthread_unix.cpp:368
#5  0x00007f726ff123d4 in start_thread () from
/usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#6  0x00007f7275ad3e5f in clone () from
/usr/x86_64-pc-linux-gnu/lib64/libc.so.6

Thread 9 (Thread 0x7f723046b700 (LWP 25403)):
#0  0x00007f726ff1802f in pthread_cond_wait () from
/usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#1  0x00007f72761bce7b in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x6fdd3c0) at
thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x6fd6b00,
time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#3  0x00007f72761b65e6 in QSemaphore::tryAcquire (this=0x6fdd1a0, n=n@entry=1,
timeout=timeout@entry=-1) at thread/qsemaphore.cpp:220
#4  0x00007f7273f3fe63 in KisTileDataSwapper::waitForWork
(this=this@entry=0x7f72743ff8e0
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+64>) at
/var/tmp/paludis/build/media-gfx-krita-3.1.2.1/work/krita-3.1.2.1/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#5  0x00007f7273f4006a in KisTileDataSwapper::run (this=0x7f72743ff8e0
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+64>) at
/var/tmp/paludis/build/media-gfx-krita-3.1.2.1/work/krita-3.1.2.1/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#6  0x00007f72761bc0d9 in QThreadPrivate::start (arg=0x7f72743ff8e0
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+64>) at
thread/qthread_unix.cpp:368
#7  0x00007f726ff123d4 in start_thread () from
/usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#8  0x00007f7275ad3e5f in clone () from
/usr/x86_64-pc-linux-gnu/lib64/libc.so.6

Thread 8 (Thread 0x7f7230c6c700 (LWP 25402)):
#0  0x00007f726ff1802f in pthread_cond_wait () from
/usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#1  0x00007f72761bce7b in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x6fdd100) at
thread/qwaitcondition_unix.cpp:143
#2  QWaitCondition::wait (this=this@entry=0x6fd6ae8,
mutex=mutex@entry=0x6fd6ae0, time=time@entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:215
#3  0x00007f72761b6313 in QSemaphore::acquire (this=this@entry=0x7f72743ff8b0
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+16>,
n=n@entry=1) at thread/qsemaphore.cpp:143
#4  0x00007f7273f2645e in KisTileDataPooler::waitForWork (this=0x7f72743ff8a0
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>) at
/var/tmp/paludis/build/media-gfx-krita-3.1.2.1/work/krita-3.1.2.1/libs/image/tiles3/kis_tile_data_pooler.cc:165
#5  0x00007f7273f26baa in KisTileDataPooler::run (this=0x7f72743ff8a0
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>) at
/var/tmp/paludis/build/media-gfx-krita-3.1.2.1/work/krita-3.1.2.1/libs/image/tiles3/kis_tile_data_pooler.cc:187
#6  0x00007f72761bc0d9 in QThreadPrivate::start (arg=0x7f72743ff8a0
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>) at
thread/qthread_unix.cpp:368
#7  0x00007f726ff123d4 in start_thread () from
/usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#8  0x00007f7275ad3e5f in clone () from
/usr/x86_64-pc-linux-gnu/lib64/libc.so.6

Thread 7 (Thread 0x7f7243fff700 (LWP 25401)):
#0  0x00007f726ff183d8 in pthread_cond_timedwait () from
/usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#1  0x00007f72761bcdc6 in QWaitConditionPrivate::wait_relative (time=30000,
this=0x230c260) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=30000, this=0x230c260) at
thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=this@entry=0x23068e0,
mutex=mutex@entry=0x2304b90, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007f72761b8794 in QThreadPoolThread::run (this=0x23068d0) at
thread/qthreadpool.cpp:133
#5  0x00007f72761bc0d9 in QThreadPrivate::start (arg=0x23068d0) at
thread/qthread_unix.cpp:368
#6  0x00007f726ff123d4 in start_thread () from
/usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#7  0x00007f7275ad3e5f in clone () from
/usr/x86_64-pc-linux-gnu/lib64/libc.so.6

Thread 6 (Thread 0x7f724bd52700 (LWP 25400)):
#0  0x00007f726ff183d8 in pthread_cond_timedwait () from
/usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#1  0x00007f72761bcdc6 in QWaitConditionPrivate::wait_relative (time=30000,
this=0x230be40) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=30000, this=0x230be40) at
thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=this@entry=0x2306660,
mutex=mutex@entry=0x2304b90, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007f72761b8794 in QThreadPoolThread::run (this=0x2306650) at
thread/qthreadpool.cpp:133
#5  0x00007f72761bc0d9 in QThreadPrivate::start (arg=0x2306650) at
thread/qthread_unix.cpp:368
#6  0x00007f726ff123d4 in start_thread () from
/usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#7  0x00007f7275ad3e5f in clone () from
/usr/x86_64-pc-linux-gnu/lib64/libc.so.6

Thread 5 (Thread 0x7f724c553700 (LWP 25399)):
#0  0x00007f726ff183d8 in pthread_cond_timedwait () from
/usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#1  0x00007f72761bcdc6 in QWaitConditionPrivate::wait_relative (time=30000,
this=0x230ba20) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=30000, this=0x230ba20) at
thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=this@entry=0x2305840,
mutex=mutex@entry=0x2304b90, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007f72761b8794 in QThreadPoolThread::run (this=0x2305830) at
thread/qthreadpool.cpp:133
#5  0x00007f72761bc0d9 in QThreadPrivate::start (arg=0x2305830) at
thread/qthread_unix.cpp:368
#6  0x00007f726ff123d4 in start_thread () from
/usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#7  0x00007f7275ad3e5f in clone () from
/usr/x86_64-pc-linux-gnu/lib64/libc.so.6

Thread 4 (Thread 0x7f724cd54700 (LWP 25398)):
#0  0x00007f726ff183d8 in pthread_cond_timedwait () from
/usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#1  0x00007f72761bcdc6 in QWaitConditionPrivate::wait_relative (time=30000,
this=0x2304e60) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=30000, this=0x2304e60) at
thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=this@entry=0x2305680,
mutex=mutex@entry=0x2304b90, time=30000) at thread/qwaitcondition_unix.cpp:215
#4  0x00007f72761b8794 in QThreadPoolThread::run (this=0x2305670) at
thread/qthreadpool.cpp:133
#5  0x00007f72761bc0d9 in QThreadPrivate::start (arg=0x2305670) at
thread/qthread_unix.cpp:368
#6  0x00007f726ff123d4 in start_thread () from
/usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#7  0x00007f7275ad3e5f in clone () from
/usr/x86_64-pc-linux-gnu/lib64/libc.so.6

Thread 3 (Thread 0x7f7258415700 (LWP 25392)):
#0  0x00007f7275acb15d in poll () from /usr/x86_64-pc-linux-gnu/lib64/libc.so.6
#1  0x00007f726e1f6db6 in g_main_context_iterate.isra () from
/usr/x86_64-pc-linux-gnu/lib/libglib-2.0.so.0
#2  0x00007f726e1f6ebc in g_main_context_iteration () from
/usr/x86_64-pc-linux-gnu/lib/libglib-2.0.so.0
#3  0x00007f72763cbe8b in QEventDispatcherGlib::processEvents
(this=0x7f72500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f72763788ca in QEventLoop::exec (this=this@entry=0x7f7258414da0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f72761b770b in QThread::exec (this=this@entry=0x7f72703afd60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread.cpp:507
#6  0x00007f727013e805 in QDBusConnectionManager::run (this=0x7f72703afd60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:170
#7  0x00007f72761bc0d9 in QThreadPrivate::start (arg=0x7f72703afd60 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:368
#8  0x00007f726ff123d4 in start_thread () from
/usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#9  0x00007f7275ad3e5f in clone () from
/usr/x86_64-pc-linux-gnu/lib64/libc.so.6

Thread 2 (Thread 0x7f7264378700 (LWP 25391)):
#0  0x00007f7275acb15d in poll () from /usr/x86_64-pc-linux-gnu/lib64/libc.so.6
#1  0x00007f727441c620 in _xcb_conn_wait () from
/usr/x86_64-pc-linux-gnu/lib64/libxcb.so.1
#2  0x00007f727441e2b9 in xcb_wait_for_event () from
/usr/x86_64-pc-linux-gnu/lib64/libxcb.so.1
#3  0x00007f726647d279 in QXcbEventReader::run (this=0xf8ec70) at
qxcbconnection.cpp:1345
#4  0x00007f72761bc0d9 in QThreadPrivate::start (arg=0xf8ec70) at
thread/qthread_unix.cpp:368
#5  0x00007f726ff123d4 in start_thread () from
/usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
#6  0x00007f7275ad3e5f in clone () from
/usr/x86_64-pc-linux-gnu/lib64/libc.so.6

Thread 1 (Thread 0x7f7278abb800 (LWP 25390)):
[KCrash Handler]
#6  KisColorSpaceSelector::setCurrentColorSpace (this=0x86a9cc0,
colorSpace=0x0) at
/var/tmp/paludis/build/media-gfx-krita-3.1.2.1/work/krita-3.1.2.1/libs/ui/widgets/kis_color_space_selector.cc:200
#7  0x00007f7278144755 in ColorSettingsTab::ColorSettingsTab (this=0x86a56e0,
parent=<optimized out>, name=<optimized out>) at
/var/tmp/paludis/build/media-gfx-krita-3.1.2.1/work/krita-3.1.2.1/libs/ui/dialogs/kis_dlg_preferences.cc:379
#8  0x00007f72781450aa in KisDlgPreferences::KisDlgPreferences (this=0x6aeb330,
parent=<optimized out>, name=<optimized out>) at
/var/tmp/paludis/build/media-gfx-krita-3.1.2.1/work/krita-3.1.2.1/libs/ui/dialogs/kis_dlg_preferences.cc:888
#9  0x00007f7278145a1a in KisDlgPreferences::editPreferences () at
/var/tmp/paludis/build/media-gfx-krita-3.1.2.1/work/krita-3.1.2.1/libs/ui/dialogs/kis_dlg_preferences.cc:986
#10 0x00007f727841575b in KisMainWindow::slotPreferences (this=0x6a59700) at
/var/tmp/paludis/build/media-gfx-krita-3.1.2.1/work/krita-3.1.2.1/libs/ui/KisMainWindow.cpp:602
#11 0x00007f7278423acc in KisMainWindow::qt_static_metacall (_o=0x6a59700,
_c=<optimized out>, _id=<optimized out>, _a=0x7ffe7894c2c0) at
/var/tmp/paludis/build/media-gfx-krita-3.1.2.1/work/build/libs/ui/moc_KisMainWindow.cpp:319
#12 0x00007f72763a44e9 in QMetaObject::activate (sender=sender@entry=0x8055530,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1,
argv=argv@entry=0x7ffe7894c2c0) at kernel/qobject.cpp:3740
#13 0x00007f72763a4df7 in QMetaObject::activate (sender=sender@entry=0x8055530,
m=m@entry=0x7f72776eede0 <QAction::staticMetaObject>,
local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe7894c2c0)
at kernel/qobject.cpp:3602
#14 0x00007f72770352a2 in QAction::triggered (this=this@entry=0x8055530,
_t1=<optimized out>) at .moc/moc_qaction.cpp:371
#15 0x00007f7277037760 in QAction::activate (this=0x8055530, event=<optimized
out>) at kernel/qaction.cpp:1159
#16 0x00007f7277199fea in QMenuPrivate::activateCausedStack
(this=this@entry=0x81ed300, causedStack=..., action=action@entry=0x8055530,
action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at
widgets/qmenu.cpp:1234
#17 0x00007f72771a0f7c in QMenuPrivate::activateAction
(this=this@entry=0x81ed300, action=action@entry=0x8055530,
action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at
widgets/qmenu.cpp:1311
#18 0x00007f72771a1dc0 in QMenu::mouseReleaseEvent (this=<optimized out>,
e=0x7ffe7894c910) at widgets/qmenu.cpp:2793
#19 0x00007f727707fbd8 in QWidget::event (this=this@entry=0x81e64e0,
event=event@entry=0x7ffe7894c910) at kernel/qwidget.cpp:9156
#20 0x00007f72771a409b in QMenu::event (this=0x81e64e0, e=0x7ffe7894c910) at
widgets/qmenu.cpp:2915
#21 0x00007f727703b3ec in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x81e64e0, e=0x7ffe7894c910) at kernel/qapplication.cpp:3745
#22 0x00007f727704315d in QApplication::notify (this=<optimized out>,
receiver=receiver@entry=0x81e64e0, e=e@entry=0x7ffe7894c910) at
kernel/qapplication.cpp:3219
#23 0x00007f72783e8627 in KisApplication::notify (this=<optimized out>,
receiver=0x81e64e0, event=0x7ffe7894c910) at
/var/tmp/paludis/build/media-gfx-krita-3.1.2.1/work/krita-3.1.2.1/libs/ui/KisApplication.cpp:538
#24 0x00007f727637a348 in QCoreApplication::notifyInternal2
(receiver=receiver@entry=0x81e64e0, event=event@entry=0x7ffe7894c910) at
kernel/qcoreapplication.cpp:988
#25 0x00007f7277041c1d in QCoreApplication::sendEvent (event=<optimized out>,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x81e64e0,
event=event@entry=0x7ffe7894c910, alienWidget=0x0, alienWidget@entry=0x81e64e0,
nativeWidget=0x81e64e0, buttonDown=buttonDown@entry=0x7f727771d7f0
<qt_button_down>, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:2715
#27 0x00007f7277099e16 in QWidgetWindow::handleMouseEvent
(this=this@entry=0x8219740, event=event@entry=0x7ffe7894cd90) at
kernel/qwidgetwindow.cpp:511
#28 0x00007f727709c2fb in QWidgetWindow::event (this=0x8219740,
event=0x7ffe7894cd90) at kernel/qwidgetwindow.cpp:239
#29 0x00007f727703b3ec in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x8219740, e=0x7ffe7894cd90) at kernel/qapplication.cpp:3745
#30 0x00007f7277042631 in QApplication::notify (this=0x7ffe7894d510,
receiver=receiver@entry=0x8219740, e=e@entry=0x7ffe7894cd90) at
kernel/qapplication.cpp:3502
#31 0x00007f72783e8627 in KisApplication::notify (this=<optimized out>,
receiver=0x8219740, event=0x7ffe7894cd90) at
/var/tmp/paludis/build/media-gfx-krita-3.1.2.1/work/krita-3.1.2.1/libs/ui/KisApplication.cpp:538
#32 0x00007f727637a348 in QCoreApplication::notifyInternal2
(receiver=receiver@entry=0x8219740, event=event@entry=0x7ffe7894cd90) at
kernel/qcoreapplication.cpp:988
#33 0x00007f72768c2ae3 in QCoreApplication::sendSpontaneousEvent
(event=0x7ffe7894cd90, receiver=0x8219740) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#34 QGuiApplicationPrivate::processMouseEvent (e=0x6b82120) at
kernel/qguiapplication.cpp:1927
#35 0x00007f72768c4505 in QGuiApplicationPrivate::processWindowSystemEvent
(e=e@entry=0x6b82120) at kernel/qguiapplication.cpp:1711
#36 0x00007f72768a198b in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at kernel/qwindowsysteminterface.cpp:710
#37 0x00007f72664daa90 in userEventSourceDispatch (source=<optimized out>) at
qeventdispatcher_glib.cpp:76
#38 0x00007f726e1f6be7 in g_main_context_dispatch () from
/usr/x86_64-pc-linux-gnu/lib/libglib-2.0.so.0
#39 0x00007f726e1f6e18 in g_main_context_iterate.isra () from
/usr/x86_64-pc-linux-gnu/lib/libglib-2.0.so.0
#40 0x00007f726e1f6ebc in g_main_context_iteration () from
/usr/x86_64-pc-linux-gnu/lib/libglib-2.0.so.0
#41 0x00007f72763cbe6f in QEventDispatcherGlib::processEvents (this=0xfe2ca0,
flags=...) at kernel/qeventdispatcher_glib.cpp:423
#42 0x00007f72763788ca in QEventLoop::exec (this=this@entry=0x7ffe7894d110,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#43 0x00007f7276380a34 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1261
#44 0x00007f72768ba9ac in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1657
#45 0x00007f727703b345 in QApplication::exec () at kernel/qapplication.cpp:2921
#46 0x0000000000405608 in main (argc=<optimized out>, argv=<optimized out>) at
/var/tmp/paludis/build/media-gfx-krita-3.1.2.1/work/krita-3.1.2.1/krita/main.cc:258

Reported using DrKonqi

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

Reply via email to