Bug 331938 - Keyboard layout viewer crash on launch
Summary: Keyboard layout viewer crash on launch
Status: RESOLVED DUPLICATE of bug 348694
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard_layout (show other bugs)
Version: 4.11.4
Platform: Mageia RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Andriy Rysin
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-03-10 04:02 UTC by Northsoft
Modified: 2015-09-26 16:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Northsoft 2014-03-10 04:02:33 UTC
Application: kcmshell4 (4.11.4)
KDE Platform Version: 4.11.4
Qt Version: 4.8.5
Operating System: Linux 3.12.13-desktop-2.mga4 x86_64
Distribution: "Mageia 4"

-- Information about the crash:
1. Right click on keyboard layout icon in systray
2. Click "setup"
3. Select "layouts"
4. Check "Set up layouts"
5. Select any layout
6. Click "view"
7. It crashes

The crash can be reproduced every time.

-- Backtrace:
Application: Модуль настройки KDE (kcmshell4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
gobject.pyc: gdb was not built with custom backtrace support, disabling.
[Current thread is 1 (Thread 0x7f68316b8780 (LWP 6908))]

Thread 5 (Thread 0x7f6813f22700 (LWP 6909)):
#0  0x00007f682ff6c0d8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f68301f80a4 in wait (time=30000, this=0x1ffda80) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x1fffe88, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f68301eb815 in QThreadPoolThread::run (this=0x1ff7dc0) at concurrent/qthreadpool.cpp:141
#4  0x00007f68301f7bef in QThreadPrivate::start (arg=0x1ff7dc0) at thread/qthread_unix.cpp:338
#5  0x00007f682ff67fab in start_thread () from /lib64/libpthread.so.0
#6  0x00007f682ecf0d9d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f6813721700 (LWP 6910)):
#0  0x00007f682ff6c0d8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f68301f80a4 in wait (time=30000, this=0x1ffda80) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x1fffe88, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f68301eb815 in QThreadPoolThread::run (this=0x1ffd6c0) at concurrent/qthreadpool.cpp:141
#4  0x00007f68301f7bef in QThreadPrivate::start (arg=0x1ffd6c0) at thread/qthread_unix.cpp:338
#5  0x00007f682ff67fab in start_thread () from /lib64/libpthread.so.0
#6  0x00007f682ecf0d9d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f6812f20700 (LWP 6911)):
#0  0x00007f682ff6c0d8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f68301f80a4 in wait (time=30000, this=0x1ffda80) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x1fffe88, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f68301eb815 in QThreadPoolThread::run (this=0x2000480) at concurrent/qthreadpool.cpp:141
#4  0x00007f68301f7bef in QThreadPrivate::start (arg=0x2000480) at thread/qthread_unix.cpp:338
#5  0x00007f682ff67fab in start_thread () from /lib64/libpthread.so.0
#6  0x00007f682ecf0d9d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f681271f700 (LWP 6912)):
#0  0x00007f682ff6c0d8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f68301f80a4 in wait (time=30000, this=0x1ffda80) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x1fffe88, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f68301eb815 in QThreadPoolThread::run (this=0x2000860) at concurrent/qthreadpool.cpp:141
#4  0x00007f68301f7bef in QThreadPrivate::start (arg=0x2000860) at thread/qthread_unix.cpp:338
#5  0x00007f682ff67fab in start_thread () from /lib64/libpthread.so.0
#6  0x00007f682ecf0d9d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f68316b8780 (LWP 6908)):
[KCrash Handler]
#6  QList (l=..., this=0x7fff3df6b820) at /usr/include/QtCore/qlist.h:122
#7  QForeachContainer (t=..., this=0x7fff3df6b820) at /usr/include/QtCore/qglobal.h:2367
#8  KCMKeyboardWidget::previewLayout (this=<optimized out>) at /usr/src/debug/kde-workspace-4.11.4/kcontrol/keyboard/kcm_keyboard_widget.cpp:380
#9  0x00007f68141e3a95 in KCMKeyboardWidget::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/kde-workspace-4.11.4/build/kcontrol/keyboard/moc_kcm_keyboard_widget.cpp:87
#10 0x00007f683030b6d8 in QMetaObject::activate (sender=sender@entry=0x2042cb0, m=m@entry=0x7f682ff4a420 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff3df6b9f0) at kernel/qobject.cpp:3547
#11 0x00007f682fac8782 in QAbstractButton::clicked (this=this@entry=0x2042cb0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#12 0x00007f682f82e5d3 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x2044050) at widgets/qabstractbutton.cpp:548
#13 0x00007f682f82f7d3 in QAbstractButtonPrivate::click (this=this@entry=0x2044050) at widgets/qabstractbutton.cpp:541
#14 0x00007f682f82f8bc in QAbstractButton::mouseReleaseEvent (this=0x2042cb0, e=0x7fff3df6bee0) at widgets/qabstractbutton.cpp:1123
#15 0x00007f682f4d1a1e in QWidget::event (this=0x2042cb0, event=0x7fff3df6bee0) at kernel/qwidget.cpp:8376
#16 0x00007f682f48243c in QApplicationPrivate::notify_helper (this=0x1d1de50, receiver=0x2042cb0, e=0x7fff3df6bee0) at kernel/qapplication.cpp:4562
#17 0x00007f682f488b3d in QApplication::notify (this=this@entry=0x7fff3df6c7f0, receiver=receiver@entry=0x2042cb0, e=e@entry=0x7fff3df6bee0) at kernel/qapplication.cpp:4105
#18 0x00007f68310ab18a in KApplication::notify (this=0x7fff3df6c7f0, receiver=0x2042cb0, event=0x7fff3df6bee0) at /usr/src/debug/kdelibs-4.11.4/kdeui/kernel/kapplication.cpp:311
#19 0x00007f68302f7b9d in QCoreApplication::notifyInternal (this=0x7fff3df6c7f0, receiver=0x2042cb0, event=0x7fff3df6bee0) at kernel/qcoreapplication.cpp:949
#20 0x00007f682f4882f3 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2042cb0, event=event@entry=0x7fff3df6bee0, alienWidget=alienWidget@entry=0x2042cb0, nativeWidget=nativeWidget@entry=0x1e9e110, buttonDown=buttonDown@entry=0x7f682ff5c278 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at ../../src/corelib/kernel/qcoreapplication.h:231
#21 0x00007f682f4f982b in QETWidget::translateMouseEvent (this=this@entry=0x1e9e110, event=event@entry=0x7fff3df6c250) at kernel/qapplication_x11.cpp:4538
#22 0x00007f682f4f829c in QApplication::x11ProcessEvent (this=0x7fff3df6c7f0, event=event@entry=0x7fff3df6c250) at kernel/qapplication_x11.cpp:3661
#23 0x00007f682f51ede2 in x11EventSourceDispatch (s=0x1d1f400, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#24 0x00007f682bde5146 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#25 0x00007f682bde5498 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#26 0x00007f682bde553c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#27 0x00007f6830324665 in QEventDispatcherGlib::processEvents (this=0x1c75670, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#28 0x00007f682f51ee96 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f68302f67ff in QEventLoop::processEvents (this=this@entry=0x7fff3df6c640, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f68302f6af5 in QEventLoop::exec (this=this@entry=0x7fff3df6c640, flags=...) at kernel/qeventloop.cpp:204
#31 0x00007f682f92270c in QDialog::exec (this=0x1e9e110) at dialogs/qdialog.cpp:562
#32 0x00007f68195f7cd5 in kdemain () from /usr/lib64/libkdeinit4_kcmshell4.so
#33 0x000000000040821f in launch (argc=argc@entry=3, _name=_name@entry=0x1d11968 "kcmshell4", args=<optimized out>, args@entry=0x1d11972 "--args=--tab=layouts", cwd=cwd@entry=0x0, envc=envc@entry=1, envs=<optimized out>, envs@entry=0x1d1199c "DISPLAY=:0", reset_env=false, tty=tty@entry=0x0, avoid_loops=false, startup_id_str=startup_id_str@entry=0x40ab46 "0") at /usr/src/debug/kdelibs-4.11.4/kinit/kinit.cpp:726
#34 0x00000000004090fb in handle_launcher_request (sock=8, who=<optimized out>) at /usr/src/debug/kdelibs-4.11.4/kinit/kinit.cpp:1218
#35 0x000000000040978a in handle_requests (waitForPid=waitForPid@entry=0) at /usr/src/debug/kdelibs-4.11.4/kinit/kinit.cpp:1411
#36 0x00000000004052ba in main (argc=4, argv=<optimized out>, envp=<optimized out>) at /usr/src/debug/kdelibs-4.11.4/kinit/kinit.cpp:1899

Reported using DrKonqi
Comment 1 Christoph Feck 2014-03-10 12:18:46 UTC
Could you please check if bug 327049 comment #14 helps?
Comment 2 Northsoft 2014-03-11 18:08:07 UTC
I have already running kde keyboard daemon. Anyway "show" crashes settings.


2014-03-10 19:18 GMT+07:00 Christoph Feck <christoph@maxiom.de>:

> https://bugs.kde.org/show_bug.cgi?id=331938
>
> --- Comment #1 from Christoph Feck <christoph@maxiom.de> ---
> Could you please check if bug 327049 comment #14 helps?
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 3 Andriy Rysin 2014-03-11 18:31:49 UTC
Which layouts do you have in the list?
Do any of the layouts in the list have variants? I.e. if click on drop-down in variant column or when you add a layout?
Could you please attach your kxkbrc and /usr/share/X11/xkb/rules/evdev.xml files?
Comment 4 Northsoft 2014-03-15 21:17:50 UTC
(In reply to comment #3)
> Which layouts do you have in the list?
I had «ru (winkeys)». I deleted it and added «ru» from list. Now viewer works properly.
Comment 5 Andriy Rysin 2014-03-15 21:34:33 UTC
Ahh, that's a custom layout that may not have proper description in rules xml, I think we need to disable preview button for those so that we do not crash...
Comment 6 David Rosca 2015-09-26 16:21:25 UTC

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