Application: krita (2.7 Pre-Alpha) KDE Platform Version: 4.9.4 (Compiled from sources) Qt Version: 4.8.4 Operating System: Linux 3.6.8-gentoo x86_64 Distribution: "Gentoo Base System release 2.2" -- Information about the crash: - What I was doing when the application crashed: Went to settings menu, clicked on configure, crashes. Built with gtl enabled, and w/o, same problem. Saw the known bug with llvm version mis-match, but everything was built with llvm 3.1-r2 from gentoo's main tree. Current Krita from git, all other calligra apps disabled. Opensource radeon drivers, r600; not sure if opengl is enabled or not, and can't check in the config screen. Has been happening for a long time. The crash can be reproduced every time. -- Backtrace: Application: Krita (kdeinit4), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f5897543780 (LWP 19995))] Thread 12 (Thread 0x7f5877a47700 (LWP 19996)): #0 pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f589601929b in wait (time=18446744073709551615, this=0x2d7a5f0) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x2d7a5a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f5896014fc4 in QSemaphore::acquire (this=0x2d7a2f0, n=1) at thread/qsemaphore.cpp:144 #4 0x00007f587d18b1ee in KisTileDataPooler::waitForWork (this=0x2d7a2e0) at /var/tmp/portage/app-office/calligra-9999/work/calligra-9999/krita/image/tiles3/kis_tile_data_pooler.cc:162 #5 0x00007f587d18b964 in KisTileDataPooler::run (this=0x2d7a2e0) at /var/tmp/portage/app-office/calligra-9999/work/calligra-9999/krita/image/tiles3/kis_tile_data_pooler.cc:184 #6 0x00007f5896018d1c in QThreadPrivate::start (arg=0x2d7a2e0) at thread/qthread_unix.cpp:338 #7 0x00007f5895d82006 in start_thread (arg=0x7f5877a47700) at pthread_create.c:305 #8 0x00007f5894accbad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 11 (Thread 0x7f5877246700 (LWP 19997)): #0 pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f589601929b in wait (time=18446744073709551615, this=0x2d7a980) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x2d7a930, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f5896015439 in QSemaphore::tryAcquire (this=0x2d7a660, n=1, timeout=-1) at thread/qsemaphore.cpp:221 #4 0x00007f587d1a8de2 in KisTileDataSwapper::run (this=0x2d7a318) at /var/tmp/portage/app-office/calligra-9999/work/calligra-9999/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92 #5 0x00007f5896018d1c in QThreadPrivate::start (arg=0x2d7a318) at thread/qthread_unix.cpp:338 #6 0x00007f5895d82006 in start_thread (arg=0x7f5877246700) at pthread_create.c:305 #7 0x00007f5894accbad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 10 (Thread 0x7f58763f2700 (LWP 20002)): #0 0x00007fffd91ff607 in ?? () #1 0x00007fffd91ff89c in clock_gettime () #2 0x00007f5891c9092d in __GI_clock_gettime (clock_id=1, tp=0x7f58763f1b40) at ../sysdeps/unix/clock_gettime.c:100 #3 0x00007f589606f844 in do_gettime (frac=0x7f58763f1b58, sec=0x7f58763f1b50) at tools/qelapsedtimer_unix.cpp:123 #4 qt_gettime () at tools/qelapsedtimer_unix.cpp:140 #5 0x00007f5896148ded in QTimerInfoList::updateCurrentTime (this=0x7f586c001128) at kernel/qeventdispatcher_unix.cpp:354 #6 0x00007f589614a783 in QEventDispatcherUNIXPrivate::doSelect (this=0x7f586c0008c0, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:186 #7 0x00007f589614ac82 in QEventDispatcherUNIX::processEvents (this=0x7f586cb749d0, flags=...) at kernel/qeventdispatcher_unix.cpp:937 #8 0x00007f5896117c12 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #9 0x00007f5896117e97 in QEventLoop::exec (this=0x7f58763f1db0, flags=...) at kernel/qeventloop.cpp:204 #10 0x00007f5896015c9f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542 #11 0x00007f58960f74ff in QInotifyFileSystemWatcherEngine::run (this=0x3392800) at io/qfilesystemwatcher_inotify.cpp:256 #12 0x00007f5896018d1c in QThreadPrivate::start (arg=0x3392800) at thread/qthread_unix.cpp:338 #13 0x00007f5895d82006 in start_thread (arg=0x7f58763f2700) at pthread_create.c:305 #14 0x00007f5894accbad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 9 (Thread 0x7f58753f0700 (LWP 20008)): #0 0x00007f5894ac6523 in select () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007f58961454c5 in qt_safe_select (nfds=31, fdread=0x7f5864000ac8, fdwrite=0x7f5864000d60, fdexcept=0x7f5864000ff8, orig_timeout=<optimized out>) at kernel/qcore_unix.cpp:83 #2 0x00007f589614a8bb in QEventDispatcherUNIXPrivate::doSelect (this=0x7f5864000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223 #3 0x00007f589614ac82 in QEventDispatcherUNIX::processEvents (this=0x7f58640008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:937 #4 0x00007f5896117c12 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f5896117e97 in QEventLoop::exec (this=0x7f58753efdb0, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f5896015c9f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542 #7 0x00007f58960f74ff in QInotifyFileSystemWatcherEngine::run (this=0x348f620) at io/qfilesystemwatcher_inotify.cpp:256 #8 0x00007f5896018d1c in QThreadPrivate::start (arg=0x348f620) at thread/qthread_unix.cpp:338 #9 0x00007f5895d82006 in start_thread (arg=0x7f58753f0700) at pthread_create.c:305 #10 0x00007f5894accbad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 8 (Thread 0x7f58559ef700 (LWP 20014)): #0 pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x00007f589601922a in wait (time=30000, this=0x370a240) at thread/qwaitcondition_unix.cpp:84 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x36b8ac8, time=30000) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f589600c2c6 in QThreadPoolThread::run (this=0x3486a40) at concurrent/qthreadpool.cpp:141 #4 0x00007f5896018d1c in QThreadPrivate::start (arg=0x3486a40) at thread/qthread_unix.cpp:338 #5 0x00007f5895d82006 in start_thread (arg=0x7f58559ef700) at pthread_create.c:305 #6 0x00007f5894accbad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 7 (Thread 0x7f5874bef700 (LWP 20015)): #0 pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x00007f589601922a in wait (time=30000, this=0x370a240) at thread/qwaitcondition_unix.cpp:84 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x36b8ac8, time=30000) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f589600c2c6 in QThreadPoolThread::run (this=0x36c6770) at concurrent/qthreadpool.cpp:141 #4 0x00007f5896018d1c in QThreadPrivate::start (arg=0x36c6770) at thread/qthread_unix.cpp:338 #5 0x00007f5895d82006 in start_thread (arg=0x7f5874bef700) at pthread_create.c:305 #6 0x00007f5894accbad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 6 (Thread 0x7f5875bf1700 (LWP 20016)): #0 pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x00007f589601922a in wait (time=30000, this=0x370a240) at thread/qwaitcondition_unix.cpp:84 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x36b8ac8, time=30000) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f589600c2c6 in QThreadPoolThread::run (this=0x372a610) at concurrent/qthreadpool.cpp:141 #4 0x00007f5896018d1c in QThreadPrivate::start (arg=0x372a610) at thread/qthread_unix.cpp:338 #5 0x00007f5895d82006 in start_thread (arg=0x7f5875bf1700) at pthread_create.c:305 #6 0x00007f5894accbad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 5 (Thread 0x7f58551ee700 (LWP 20017)): #0 pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215 #1 0x00007f589601922a in wait (time=30000, this=0x370a240) at thread/qwaitcondition_unix.cpp:84 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x36b8ac8, time=30000) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f589600c2c6 in QThreadPoolThread::run (this=0x372a8a0) at concurrent/qthreadpool.cpp:141 #4 0x00007f5896018d1c in QThreadPrivate::start (arg=0x372a8a0) at thread/qthread_unix.cpp:338 #5 0x00007f5895d82006 in start_thread (arg=0x7f58551ee700) at pthread_create.c:305 #6 0x00007f5894accbad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 4 (Thread 0x7f5847fff700 (LWP 20021)): #0 pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f589601929b in wait (time=18446744073709551615, this=0x3d4b540) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x3d4b0c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f589575f97c in QFileInfoGatherer::run (this=0x3d4b0b0) at dialogs/qfileinfogatherer.cpp:214 #4 0x00007f5896018d1c in QThreadPrivate::start (arg=0x3d4b0b0) at thread/qthread_unix.cpp:338 #5 0x00007f5895d82006 in start_thread (arg=0x7f5847fff700) at pthread_create.c:305 #6 0x00007f5894accbad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 3 (Thread 0x7f58549ed700 (LWP 20022)): #0 0x00007f589614a9cd in QEventDispatcherUNIXPrivate::doSelect (this=0x7f584c000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:211 #1 0x00007f589614ac82 in QEventDispatcherUNIX::processEvents (this=0x7f584c0008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:937 #2 0x00007f5896117c12 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #3 0x00007f5896117e97 in QEventLoop::exec (this=0x7f58549ecdb0, flags=...) at kernel/qeventloop.cpp:204 #4 0x00007f5896015c9f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542 #5 0x00007f58960f74ff in QInotifyFileSystemWatcherEngine::run (this=0x3d4b640) at io/qfilesystemwatcher_inotify.cpp:256 #6 0x00007f5896018d1c in QThreadPrivate::start (arg=0x3d4b640) at thread/qthread_unix.cpp:338 #7 0x00007f5895d82006 in start_thread (arg=0x7f58549ed700) at pthread_create.c:305 #8 0x00007f5894accbad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 2 (Thread 0x7f58477fe700 (LWP 20026)): #0 pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f583ecc0bcb in pipe_semaphore_wait (sema=0x9465918) at ../../../../../src/gallium/auxiliary/os/os_thread.h:433 #2 radeon_drm_cs_emit_ioctl (param=0x9444d90) at radeon_drm_cs.c:416 #3 0x00007f5895d82006 in start_thread (arg=0x7f58477fe700) at pthread_create.c:305 #4 0x00007f5894accbad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 1 (Thread 0x7f5897543780 (LWP 19995)): [KCrash Handler] #6 0x00007f58969af780 in XVisualIDFromVisual () from /usr/lib64/libX11.so.6 #7 0x00007f589530800b in qt_x11_getX11InfoForWindow (xinfo=0x91549e0, att=...) at kernel/qwidget_x11.cpp:3115 #8 0x00007f58953080b0 in qt_x11_getX11InfoForWindow (xinfo=<optimized out>, a=...) at kernel/qwidget_x11.cpp:438 #9 0x00007f589530bb3a in QWidgetPrivate::create_sys (this=0x9154800, window=56623929, initializeWindow=true, destroyOldWindow=true) at kernel/qwidget_x11.cpp:599 #10 0x00007f58952bd12f in QWidget::create (this=0x9143880, window=56623929, initializeWindow=true, destroyOldWindow=true) at kernel/qwidget.cpp:1515 #11 0x00007f58958ea423 in QEgl::createSurface (device=0x9143890, config=0x919a020, properties=0x0) at egl/qegl_x11.cpp:410 #12 0x00007f58887325b9 in QGLContext::chooseContext (this=0x3a978f0, shareContext=0x0) at qgl_x11egl.cpp:244 #13 0x00007f58886bbd4f in QGLContext::create (this=0x3a978f0, shareContext=0x0) at qgl.cpp:3348 #14 0x00007f5888732a08 in QGLWidget::setContext (this=0x9143880, context=0x3a978f0, shareContext=<optimized out>, deleteOldContext=true) at qgl_x11egl.cpp:322 #15 0x00007f58886badcc in QGLWidgetPrivate::initContext (this=0x9154800, context=0x3a978f0, shareWidget=0x0) at qgl.cpp:5603 #16 0x00007f5888732a92 in QGLWidgetPrivate::init (this=0x9154800, context=<optimized out>, shareWidget=<optimized out>) at qgl_x11egl.cpp:339 #17 0x00007f58886bbbde in QGLWidget::QGLWidget (this=0x9143880, parent=0x0, shareWidget=0x0, f=...) at qgl.cpp:3834 #18 0x00007f587d7a18af in KisOpenGL::createContext () at /var/tmp/portage/app-office/calligra-9999/work/calligra-9999/krita/ui/opengl/kis_opengl.cpp:39 #19 0x00007f587d7a1b45 in KisOpenGL::hasShadingLanguage () at /var/tmp/portage/app-office/calligra-9999/work/calligra-9999/krita/ui/opengl/kis_opengl.cpp:82 #20 0x00007f587d6880fa in DisplaySettingsTab::DisplaySettingsTab (this=0x9145ad0, parent=<optimized out>, name=0x0) at /var/tmp/portage/app-office/calligra-9999/work/calligra-9999/krita/ui/dialogs/kis_dlg_preferences.cc:417 #21 0x00007f587d68a75b in KisDlgPreferences::KisDlgPreferences (this=0x3d26700, parent=<optimized out>, name=<optimized out>) at /var/tmp/portage/app-office/calligra-9999/work/calligra-9999/krita/ui/dialogs/kis_dlg_preferences.cc:628 #22 0x00007f587d68b4a8 in KisDlgPreferences::editPreferences () at /var/tmp/portage/app-office/calligra-9999/work/calligra-9999/krita/ui/dialogs/kis_dlg_preferences.cc:724 #23 0x00007f587d75928e in KisView2::slotPreferences (this=0x3324a70) at /var/tmp/portage/app-office/calligra-9999/work/calligra-9999/krita/ui/kis_view2.cpp:883 #24 0x00007f589612d2a1 in QMetaObject::activate (sender=0x3f3ec70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd914b3d0) at kernel/qobject.cpp:3539 #25 0x00007f589526cb12 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277 #26 0x00007f589526ccd7 in QAction::activate (this=0x3f3ec70, event=<optimized out>) at kernel/qaction.cpp:1257 #27 0x00007f58956a4389 in QMenuPrivate::activateCausedStack (this=0x2880800, causedStack=..., action=0x3f3ec70, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1038 #28 0x00007f58956aa322 in QMenuPrivate::activateAction (this=0x2880800, action=0x3f3ec70, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1130 #29 0x00007f5896fe56e5 in KMenu::mouseReleaseEvent (this=0x27c0df0, e=0x7fffd914c140) at /var/tmp/portage/kde-base/kdelibs-4.9.4-r1/work/kdelibs-4.9.4/kdeui/widgets/kmenu.cpp:464 #30 0x00007f58952c461b in QWidget::event (this=0x27c0df0, event=0x7fffd914c140) at kernel/qwidget.cpp:8375 #31 0x00007f58956ab873 in QMenu::event (this=0x27c0df0, e=0x7fffd914c140) at widgets/qmenu.cpp:2481 #32 0x00007f58952730f4 in notify_helper (e=0x7fffd914c140, receiver=0x27c0df0, this=0x2588cf0) at kernel/qapplication.cpp:4562 #33 QApplicationPrivate::notify_helper (this=0x2588cf0, receiver=0x27c0df0, e=0x7fffd914c140) at kernel/qapplication.cpp:4534 #34 0x00007f589527871b in QApplication::notify (this=<optimized out>, receiver=0x27c0df0, e=0x7fffd914c140) at kernel/qapplication.cpp:4105 #35 0x00007f5883801613 in KoApplication::notify (this=<optimized out>, receiver=0x27c0df0, event=0x7fffd914c140) at /var/tmp/portage/app-office/calligra-9999/work/calligra-9999/libs/main/KoApplication.cpp:514 #36 0x00007f589611916b in QCoreApplication::notifyInternal (this=0x7fffd914caf0, receiver=0x27c0df0, event=0x7fffd914c140) at kernel/qcoreapplication.cpp:946 #37 0x00007f5895274082 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #38 QApplicationPrivate::sendMouseEvent (receiver=0x27c0df0, event=0x7fffd914c140, alienWidget=0x0, nativeWidget=0x27c0df0, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173 #39 0x00007f58952f1953 in QETWidget::translateMouseEvent (this=0x27c0df0, event=<optimized out>) at kernel/qapplication_x11.cpp:4450 #40 0x00007f58952f00b2 in QApplication::x11ProcessEvent (this=0x7fffd914caf0, event=0x7fffd914c860) at kernel/qapplication_x11.cpp:3639 #41 0x00007f5895317ff8 in QEventDispatcherX11::processEvents (this=0x24247d0, flags=...) at kernel/qeventdispatcher_x11.cpp:132 #42 0x00007f5896117c12 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #43 0x00007f5896117e97 in QEventLoop::exec (this=0x7fffd914cab0, flags=...) at kernel/qeventloop.cpp:204 #44 0x00007f589611cd85 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218 #45 0x00007f5883d52d85 in kdemain (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/app-office/calligra-9999/work/calligra-9999/krita/main.cc:74 #46 0x0000000000408b3c in launch (argc=1, _name=0x24cb9b8 "/usr/bin/krita", args=<optimized out>, cwd=0x0, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x24cb9e2 "nekokaburi;1356483891;449185;2735_TIME522014845") at /var/tmp/portage/kde-base/kdelibs-4.9.4-r1/work/kdelibs-4.9.4/kinit/kinit.cpp:726 #47 0x0000000000409bf6 in handle_launcher_request (sock=7, who=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.9.4-r1/work/kdelibs-4.9.4/kinit/kinit.cpp:1218 #48 0x000000000040a143 in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-4.9.4-r1/work/kdelibs-4.9.4/kinit/kinit.cpp:1411 #49 0x0000000000405acd in main (argc=2, argv=0x7fffd914d8b0, envp=0x7fffd914db80) at /var/tmp/portage/kde-base/kdelibs-4.9.4-r1/work/kdelibs-4.9.4/kinit/kinit.cpp:1899 Possible duplicates by query: bug 244017. Reported using DrKonqi
It is an opengl problem... But from the backtrace, it's actually happening inside Qt. If you move .kde/share/config/kritarc somewhere else, can you open the settings dialog again?
No change after moving $HOME/.kde4/share/config/kritarc. I wasn't sure if this was opengl or not, as this is the only instance where it has been problematic for me. Should I file a bug somewhere else?
Git commit a8da7d21a08f6e58d6023d33507ef6b27dd1d94a by Sven Langkamp. Committed on 27/12/2012 at 01:40. Pushed by langkamp into branch 'master'. only check for shader if OpenGL is enabled, that avoid crashes on opening the preferences M +2 -3 krita/ui/dialogs/kis_dlg_preferences.cc http://commits.kde.org/calligra/a8da7d21a08f6e58d6023d33507ef6b27dd1d94a
I have pushed a change that should allow to open the preferences. It will still crash when you enable OpenGL.
Rebuilt and it works now, thanks a bunch! Is there anyplace upstream that might be able to use this bug report? Qt perhaps?
Git commit 08295af5ab61b5ab3afe9b07e26a8564e02d332f by Boudewijn Rempt, on behalf of Sven Langkamp. Committed on 27/12/2012 at 01:40. Pushed by rempt into branch 'calligra/2.6'. only check for shader if OpenGL is enabled, that avoid crashes on opening the preferences M +2 -3 krita/ui/dialogs/kis_dlg_preferences.cc http://commits.kde.org/calligra/08295af5ab61b5ab3afe9b07e26a8564e02d332f
We would only be able to report to Qt if we could recreate the problem in a small example application, and the chances of that are slim.