Bug 421196

Summary: Plasma crashed after editing locales in CLI
Product: [Plasma] plasmashell Reporter: pub
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.18.3   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description pub 2020-05-08 17:53:04 UTC
Application: plasmashell (5.18.3)

Qt Version: 5.13.2
Frameworks Version: 5.68.0
Operating System: Linux 5.6.8-300.fc32.x86_64 x86_64
Windowing system: X11
Distribution: Fedora 32 (KDE Plasma)

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

I was tring to configure locales by `localectl set-locale`. 'System settings' app doesn't provied enough localization settings and contain bugs. So I decided to use CLI and set every env variable manualy. I used `localectl set-locale` for LANG LANGUAGE and every LC_*. Plasma crashed just after I pushed logout button.

Such crash happend before. I'm not sure about the circumstances but I was using `localectl set-locale` in console just before that crash

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f14bf5e2580 (LWP 6978))]

Thread 15 (Thread 0x7f14676fe700 (LWP 7515)):
#0  0x00007f14c279ee92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f14c324e463 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt5Core.so.5
#2  0x00007f14c4cdaf64 in QSGRenderThread::processEventsAndWaitForMore() () from /lib64/libQt5Quick.so.5
#3  0x00007f14c4cdc44d in QSGRenderThread::run() () from /lib64/libQt5Quick.so.5
#4  0x00007f14c3248846 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f14c2798432 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f14c2ecf9d3 in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f1474b26700 (LWP 7475)):
#0  0x00007f14c1b46c12 in g_source_unref_internal () from /lib64/libglib-2.0.so.0
#1  0x00007f14c1b48985 in g_source_iter_next () from /lib64/libglib-2.0.so.0
#2  0x00007f14c1b4a40f in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007f14c1b4aa95 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#4  0x00007f14c1b4ac23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007f14c341fc23 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f14c33d321b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007f14c3247577 in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f14c3248846 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#9  0x00007f14c2798432 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f14c2ecf9d3 in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f1475aae700 (LWP 7454)):
#0  0x00007f14c279ee92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f14c324e463 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt5Core.so.5
#2  0x00007f14c4cdaf64 in QSGRenderThread::processEventsAndWaitForMore() () from /lib64/libQt5Quick.so.5
#3  0x00007f14c4cdc44d in QSGRenderThread::run() () from /lib64/libQt5Quick.so.5
#4  0x00007f14c3248846 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f14c2798432 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f14c2ecf9d3 in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f1476b94700 (LWP 7452)):
[KCrash Handler]
#6  0x00007f14c32be400 in QtPrivate::qustrchr(QStringView, unsigned short) () from /lib64/libQt5Core.so.5
#7  0x00007f14c32be5f4 in findChar(QChar const*, int, QChar, int, Qt::CaseSensitivity) () from /lib64/libQt5Core.so.5
#8  0x00007f14c382fa8c in QFontDatabase::parseFontName(QString const&, QString&, QString&) () from /lib64/libQt5Gui.so.5
#9  0x00007f14c38376e0 in QFontDatabase::findFont(QFontDef const&, int) () from /lib64/libQt5Gui.so.5
#10 0x00007f14c381f36d in QFontEngineMulti::loadEngine(int) () from /lib64/libQt5Gui.so.5
#11 0x00007f14c381fadf in QFontEngineMulti::ensureEngineAt(int) () from /lib64/libQt5Gui.so.5
#12 0x00007f14c384f11a in QTextLine::glyphRuns(int, int) const () from /lib64/libQt5Gui.so.5
#13 0x00007f14c4d7f090 in QQuickTextNodeEngine::addGlyphsInRange(int, int, QColor const&, QColor const&, int, int) () from /lib64/libQt5Quick.so.5
#14 0x00007f14c4d7f6d4 in QQuickTextNodeEngine::addGlyphsForRanges(QVarLengthArray<QTextLayout::FormatRange, 256> const&, int, int, int, int) () from /lib64/libQt5Quick.so.5
#15 0x00007f14c4d7dfcb in QQuickTextNode::addTextLayout(QPointF const&, QTextLayout*, QColor const&, QQuickText::TextStyle, QColor const&, QColor const&, QColor const&, QColor const&, int, int, int, int) () from /lib64/libQt5Quick.so.5
#16 0x00007f14c4d7c7e1 in QQuickText::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) () from /lib64/libQt5Quick.so.5
#17 0x00007f14c4d32778 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) () from /lib64/libQt5Quick.so.5
#18 0x00007f14c4d3300b in QQuickWindowPrivate::updateDirtyNodes() () from /lib64/libQt5Quick.so.5
#19 0x00007f14c4d346d6 in QQuickWindowPrivate::syncSceneGraph() () from /lib64/libQt5Quick.so.5
#20 0x00007f14c4cda962 in QSGRenderThread::sync(bool) () from /lib64/libQt5Quick.so.5
#21 0x00007f14c4cdbf14 in QSGRenderThread::syncAndRender() () from /lib64/libQt5Quick.so.5
#22 0x00007f14c4cdc3b8 in QSGRenderThread::run() () from /lib64/libQt5Quick.so.5
#23 0x00007f14c3248846 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#24 0x00007f14c2798432 in start_thread () from /lib64/libpthread.so.0
#25 0x00007f14c2ecf9d3 in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f1477428700 (LWP 7445)):
#0  0x00007f14c2ec4b6f in poll () from /lib64/libc.so.6
#1  0x00007f14c1b4aaee in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#2  0x00007f14c1b4ac23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f14c341fc23 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f14c33d321b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f14c3247577 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f14803ad66c in KCupsConnection::run() () from /lib64/libkcupslib.so
#7  0x00007f14c3248846 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f14c2798432 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f14c2ecf9d3 in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f148967b700 (LWP 7352)):
#0  0x00007f14c279ee92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f14c324e463 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt5Core.so.5
#2  0x00007f14c4cdaf64 in QSGRenderThread::processEventsAndWaitForMore() () from /lib64/libQt5Quick.so.5
#3  0x00007f14c4cdc44d in QSGRenderThread::run() () from /lib64/libQt5Quick.so.5
#4  0x00007f14c3248846 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f14c2798432 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f14c2ecf9d3 in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f148bfff700 (LWP 7309)):
#0  0x00007f14c279f1b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f14c324e399 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt5Core.so.5
#2  0x00007f14c324e4bb in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQt5Core.so.5
#3  0x00007f14c324c4a3 in QThreadPoolThread::run() () from /lib64/libQt5Core.so.5
#4  0x00007f14c3248846 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f14c2798432 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f14c2ecf9d3 in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f149f7fe700 (LWP 7132)):
#0  0x00007f14c279ee92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f14aa684d7b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007f14aa68484b in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f14c2798432 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f14c2ecf9d3 in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f149ffff700 (LWP 7131)):
#0  0x00007f14c279ee92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f14aa684d7b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007f14aa68484b in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f14c2798432 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f14c2ecf9d3 in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f14a8fbd700 (LWP 7130)):
#0  0x00007f14c279ee92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f14aa684d7b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007f14aa68484b in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f14c2798432 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f14c2ecf9d3 in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f14a97be700 (LWP 7129)):
#0  0x00007f14c279ee92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f14aa684d7b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007f14aa68484b in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f14c2798432 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f14c2ecf9d3 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f14abfff700 (LWP 7102)):
#0  0x00007f14c2ec4b6f in poll () from /lib64/libc.so.6
#1  0x00007f14c1b4aaee in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#2  0x00007f14c1b4ac23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f14c341fc23 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f14c33d321b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f14c3247577 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f14c4975d89 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#7  0x00007f14c3248846 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f14c2798432 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f14c2ecf9d3 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f14b1711700 (LWP 7049)):
#0  0x00007ffc6a2e4a65 in clock_gettime ()
#1  0x00007f14c2e96755 in clock_gettime@GLIBC_2.2.5 () from /lib64/libc.so.6
#2  0x00007f14c341f4a5 in qt_gettime() () from /lib64/libQt5Core.so.5
#3  0x00007f14c341dded in QTimerInfoList::updateCurrentTime() () from /lib64/libQt5Core.so.5
#4  0x00007f14c341e239 in QTimerInfoList::timerWait(timespec&) () from /lib64/libQt5Core.so.5
#5  0x00007f14c341f94e in timerSourcePrepare(_GSource*, int*) () from /lib64/libQt5Core.so.5
#6  0x00007f14c1b4a002 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#7  0x00007f14c1b4aa1b in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#8  0x00007f14c1b4ac23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#9  0x00007f14c341fc23 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#10 0x00007f14c33d321b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#11 0x00007f14c3247577 in QThread::exec() () from /lib64/libQt5Core.so.5
#12 0x00007f14c43124da in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#13 0x00007f14c3248846 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#14 0x00007f14c2798432 in start_thread () from /lib64/libpthread.so.0
#15 0x00007f14c2ecf9d3 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f14b22e9700 (LWP 7009)):
#0  0x00007f14c2ec4b6f in poll () from /lib64/libc.so.6
#1  0x00007f14c50ba38a in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f14c50bc71a in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f14b24d9d58 in QXcbEventQueue::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f14c3248846 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f14c2798432 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f14c2ecf9d3 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f14bf5e2580 (LWP 6978)):
#0  0x00007f14c279ee92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f14c324e463 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt5Core.so.5
#2  0x00007f14c4cdc822 in QSGThreadedRenderLoop::polishAndSync(QSGThreadedRenderLoop::Window*, bool) () from /lib64/libQt5Quick.so.5
#3  0x00007f14c4d40bd7 in QQuickWindow::event(QEvent*) () from /lib64/libQt5Quick.so.5
#4  0x00007f14c3d31e76 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#5  0x00007f14c33d48a0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#6  0x00007f14c377dd54 in QPlatformWindow::windowEvent(QEvent*) () from /lib64/libQt5Gui.so.5
#7  0x00007f14c3d3915b in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#8  0x00007f14c33d48a0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#9  0x00007f14c341ef13 in QTimerInfoList::activateTimers() () from /lib64/libQt5Core.so.5
#10 0x00007f14c341f854 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#11 0x00007f14c1b4a7cf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#12 0x00007f14c1b4ab58 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#13 0x00007f14c1b4ac23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#14 0x00007f14c341fc06 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#15 0x00007f14c33d321b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#16 0x00007f14c33dadf6 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#17 0x000055d4f7903b81 in main ()
[Inferior 1 (process 6978) detached]

Reported using DrKonqi
Comment 1 David Edmundson 2021-02-25 23:04:39 UTC

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