Bug 411006 - Endless loop "can't show the preview of the keyboard layout"
Summary: Endless loop "can't show the preview of the keyboard layout"
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard (show other bugs)
Version: 5.16.4
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-08-17 10:27 UTC by Ferdinando Santacroce
Modified: 2020-12-04 08:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ferdinando Santacroce 2019-08-17 10:27:23 UTC
Application: systemsettings5 (5.16.4)

Qt Version: 5.12.3
Frameworks Version: 5.61.0
Operating System: Linux 5.0.0-25-generic x86_64
Distribution: KDE neon User Edition 5.16

-- Information about the crash:
- What I was doing when the application crashed:
I was looking at keyboard layouts; I'm Italian, but with a US International keyboard layout. I was wondering if there was already a keyboard map with accented vowels, needed when I writein Italian.

- Custom settings of the application:
I selected the "International Phonetic Alphabet" layout, then click to see the preview.
A popup dialog said "I can't show the preview; I close it, than it apeears aghain and again, endlessly

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff4c4bdb680 (LWP 7813))]

Thread 4 (Thread 0x7ff49052f700 (LWP 7818)):
#0  0x00007ffd4a9dd6ae in ?? ()
#1  0x00007ff4c015fea6 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7ff49052eab0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007ff4c0a866b1 in qt_clock_gettime (ts=0x7ff49052eab0, clock=<optimized out>) at kernel/qelapsedtimer_unix.cpp:111
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007ff4c0a84ee9 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7ff488004cf0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007ff4c0a854c5 in QTimerInfoList::timerWait (this=0x7ff488004cf0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007ff4c0a86b0e in timerSourcePrepareHelper (timeout=0x7ff49052eb74, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7ff49052eb74) at kernel/qeventdispatcher_glib.cpp:165
#9  0x00007ff4b91a2b28 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ff4b91a34fb in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ff4b91a36dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ff4c0a86dcb in QEventDispatcherGlib::processEvents (this=0x7ff488000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#13 0x00007ff4c0a2803a in QEventLoop::exec (this=this@entry=0x7ff49052ed40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#14 0x00007ff4c084f4ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#15 0x00007ff4be605115 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#16 0x00007ff4c0850c72 in QThreadPrivate::start (arg=0x5620e851f690) at thread/qthread_unix.cpp:361
#17 0x00007ff4bb5626db in start_thread (arg=0x7ff49052f700) at pthread_create.c:463
#18 0x00007ff4c015088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ff4996c8700 (LWP 7817)):
#0  0x00007ff4c0143bf9 in __GI___poll (fds=0x7ff494004a00, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff4b91a35c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff4b91a36dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff4c0a86dcb in QEventDispatcherGlib::processEvents (this=0x7ff494000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007ff4c0a2803a in QEventLoop::exec (this=this@entry=0x7ff4996c7d40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007ff4c084f4ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007ff4be605115 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007ff4c0850c72 in QThreadPrivate::start (arg=0x5620e8308340) at thread/qthread_unix.cpp:361
#8  0x00007ff4bb5626db in start_thread (arg=0x7ff4996c8700) at pthread_create.c:463
#9  0x00007ff4c015088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff4a9424700 (LWP 7815)):
#0  0x00007ff4c0143bf9 in __GI___poll (fds=0x7ff4a4004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff4b91a35c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff4b91a36dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff4c0a86dcb in QEventDispatcherGlib::processEvents (this=0x7ff4a4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007ff4c0a2803a in QEventLoop::exec (this=this@entry=0x7ff4a9423d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007ff4c084f4ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007ff4c0ef5015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ff4c0850c72 in QThreadPrivate::start (arg=0x7ff4c116cd80) at thread/qthread_unix.cpp:361
#8  0x00007ff4bb5626db in start_thread (arg=0x7ff4a9424700) at pthread_create.c:463
#9  0x00007ff4c015088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff4c4bdb680 (LWP 7813)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007ff4c127e82d in QGuiApplicationPrivate::processActivatedEvent (e=0x5620e92a1c50) at kernel/qguiapplication.cpp:2291
#8  0x00007ff4c128345d in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x5620e92a1c50) at kernel/qguiapplication.cpp:1858
#9  0x00007ff4c125bb4b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1151
#10 0x00007ff4b3b3a59a in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#11 0x00007ff4b91a3417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ff4b91a3650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ff4b91a36dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ff4c0a86daf in QEventDispatcherGlib::processEvents (this=0x5620e7fcfc50, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#15 0x00007ff4c0a2803a in QEventLoop::exec (this=this@entry=0x7ffd4a9c3ba0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#16 0x00007ff4c1ca6097 in QDialog::exec (this=this@entry=0x7ffd4a9c3c50) at dialogs/qdialog.cpp:602
#17 0x00007ff48d3a567e in KCMKeyboardWidget::addLayout (this=0x5620e91b15a0) at ./kcms/keyboard/kcm_keyboard_widget.cpp:236
#18 0x00007ff4c0a5998f in QtPrivate::QSlotObjectBase::call (a=0x7ffd4a9c3e30, r=0x5620e91b15a0, this=0x5620e9134590) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#19 QMetaObject::activate (sender=sender@entry=0x5620e90c9590, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd4a9c3e30) at kernel/qobject.cpp:3776
#20 0x00007ff4c0a59f47 in QMetaObject::activate (sender=sender@entry=0x5620e90c9590, m=m@entry=0x7ff4c218d840 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd4a9c3e30) at kernel/qobject.cpp:3648
#21 0x00007ff4c1b9c202 in QAbstractButton::clicked (this=this@entry=0x5620e90c9590, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:312
#22 0x00007ff4c1b9c41a in QAbstractButtonPrivate::emitClicked (this=0x5620e9a21960) at widgets/qabstractbutton.cpp:414
#23 0x00007ff4c1b9d7fa in QAbstractButtonPrivate::click (this=0x5620e9a21960) at widgets/qabstractbutton.cpp:407
#24 0x00007ff4c1b9d9ed in QAbstractButton::mouseReleaseEvent (this=0x5620e90c9590, e=0x7ffd4a9c43a0) at widgets/qabstractbutton.cpp:1011
#25 0x00007ff4c1af49c8 in QWidget::event (this=0x5620e90c9590, event=0x7ffd4a9c43a0) at kernel/qwidget.cpp:9322
#26 0x00007ff4c1ab465c in QApplicationPrivate::notify_helper (this=this@entry=0x5620e7f66900, receiver=receiver@entry=0x5620e90c9590, e=e@entry=0x7ffd4a9c43a0) at kernel/qapplication.cpp:3736
#27 0x00007ff4c1abca58 in QApplication::notify (this=<optimized out>, receiver=0x5620e90c9590, e=0x7ffd4a9c43a0) at kernel/qapplication.cpp:3197
#28 0x00007ff4c0a29d18 in QCoreApplication::notifyInternal2 (receiver=0x5620e90c9590, event=0x7ffd4a9c43a0) at kernel/qcoreapplication.cpp:1060
#29 0x00007ff4c0a29efe in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x5620e90c9590, event=event@entry=0x7ffd4a9c43a0) at kernel/qcoreapplication.cpp:1462
#30 0x00007ff4c1abb05f in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x5620e90c9590, event=event@entry=0x7ffd4a9c43a0, alienWidget=0x5620e90c9590, nativeWidget=0x5620e7fd1e40, buttonDown=buttonDown@entry=0x7ff4c21b78d0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2683
#31 0x00007ff4c1b0f8a1 in QWidgetWindow::handleMouseEvent (this=this@entry=0x5620e80ecff0, event=event@entry=0x7ffd4a9c4830) at kernel/qwidgetwindow.cpp:662
#32 0x00007ff4c1b126fa in QWidgetWindow::event (this=0x5620e80ecff0, event=0x7ffd4a9c4830) at kernel/qwidgetwindow.cpp:281
#33 0x00007ff4c1ab465c in QApplicationPrivate::notify_helper (this=this@entry=0x5620e7f66900, receiver=receiver@entry=0x5620e80ecff0, e=e@entry=0x7ffd4a9c4830) at kernel/qapplication.cpp:3736
#34 0x00007ff4c1abbb90 in QApplication::notify (this=0x7ffd4a9c4cb0, receiver=0x5620e80ecff0, e=0x7ffd4a9c4830) at kernel/qapplication.cpp:3483
#35 0x00007ff4c0a29d18 in QCoreApplication::notifyInternal2 (receiver=0x5620e80ecff0, event=0x7ffd4a9c4830) at kernel/qcoreapplication.cpp:1060
#36 0x00007ff4c0a29efe in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x5620e80ecff0, event=event@entry=0x7ffd4a9c4830) at kernel/qcoreapplication.cpp:1462
#37 0x00007ff4c12821fb in QGuiApplicationPrivate::processMouseEvent (e=0x5620e9a3e9b0) at kernel/qguiapplication.cpp:2102
#38 0x00007ff4c1283365 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x5620e9a3e9b0) at kernel/qguiapplication.cpp:1837
#39 0x00007ff4c125bb4b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1151
#40 0x00007ff4b3b3a59a in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#41 0x00007ff4b91a3417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007ff4b91a3650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007ff4b91a36dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007ff4c0a86daf in QEventDispatcherGlib::processEvents (this=0x5620e7fcfc50, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#45 0x00007ff4c0a2803a in QEventLoop::exec (this=this@entry=0x7ffd4a9c4bd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#46 0x00007ff4c0a31170 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1363
#47 0x00005620e7559218 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:71

Possible duplicates by query: bug 405261, bug 404967.

Reported using DrKonqi
Comment 1 Justin Zobel 2020-11-29 08:34:42 UTC
Thanks for the report. I've just tried to replicate this crash but I cannot.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 2 Ferdinando Santacroce 2020-12-04 08:50:35 UTC
(In reply to Justin Zobel from comment #1)
> Thanks for the report. I've just tried to replicate this crash but I cannot.
> 
> Can you please test and confirm if this issue is still occurring or if this
> bug report can be marked as resolved. I've set the bug status to "needsinfo"
> pending your response, please change back to "reported" or "resolved" when
> you respond, thanks.

Hello Justin.

Yes, I can confirm I cannot replicate this situation anymore.
You can close the bug, problem solved, thanks! :)