Bug 341102 - kded4 crashes on trying to switch displays by using keyboard shortcut
Summary: kded4 crashes on trying to switch displays by using keyboard shortcut
Status: RESOLVED DUPLICATE of bug 333716
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kded (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-11-19 14:33 UTC by Serhiy Zahoriya
Modified: 2014-11-19 20:59 UTC (History)
0 users

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 Serhiy Zahoriya 2014-11-19 14:33:09 UTC
Application: kded4 (4.14.2)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-39-generic i686
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Assigned the "Launch(0)" key to the "Switch display" global shortcut and tried to use it. Reproducible with any key.

The crash can be reproduced every time.

-- Backtrace:
Application: Фонова служба KDE (kded4), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb569b740 (LWP 6635))]

Thread 4 (Thread 0xac2c8b40 (LWP 6637)):
#0  0xb60088d7 in pthread_mutex_unlock (mutex=0xab900570) at forward.c:194
#1  0xb59f0120 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb59aa99e in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb59ab2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb59ab528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6e0495f in QEventDispatcherGlib::processEvents (this=0xab900480, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0xb6dd3823 in QEventLoop::processEvents (this=this@entry=0xac2c8288, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6dd3b49 in QEventLoop::exec (this=this@entry=0xac2c8288, flags=...) at kernel/qeventloop.cpp:204
#8  0xb6cc023d in QThread::exec (this=this@entry=0x9879458) at thread/qthread.cpp:537
#9  0xb6cc038b in QThread::run (this=0x9879458) at thread/qthread.cpp:604
#10 0xb6cc2b6f in QThreadPrivate::start (arg=0x9879458) at thread/qthread_unix.cpp:349
#11 0xb5a7bf70 in start_thread (arg=0xac2c8b40) at pthread_create.c:312
#12 0xb5ffb4ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 3 (Thread 0xa0bc7b40 (LWP 6656)):
#0  0xb5a7e18a in __GI___pthread_mutex_lock (mutex=0x9c28908) at ../nptl/pthread_mutex_lock.c:125
#1  0xb60088b4 in pthread_mutex_lock (mutex=0x9c28908) at forward.c:192
#2  0xb59f00e0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb59aa35d in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb59ab288 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb59ab76b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xa0ca736a in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#7  0xb59d19aa in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb5a7bf70 in start_thread (arg=0xa0bc7b40) at pthread_create.c:312
#9  0xb5ffb4ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0xa01ffb40 (LWP 6665)):
#0  0xb5a7e18a in __GI___pthread_mutex_lock (mutex=0x9f800570) at ../nptl/pthread_mutex_lock.c:125
#1  0xb60088b4 in pthread_mutex_lock (mutex=0x9f800570) at forward.c:192
#2  0xb59f00e0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb59aa35d in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb59ab288 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb59ab528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb6e0495f in QEventDispatcherGlib::processEvents (this=0x9f800480, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0xb6dd3823 in QEventLoop::processEvents (this=this@entry=0xa01ff258, flags=...) at kernel/qeventloop.cpp:149
#8  0xb6dd3b49 in QEventLoop::exec (this=this@entry=0xa01ff258, flags=...) at kernel/qeventloop.cpp:204
#9  0xb6cc023d in QThread::exec (this=this@entry=0x9886748) at thread/qthread.cpp:537
#10 0xb6db3c44 in QInotifyFileSystemWatcherEngine::run (this=0x9886748) at io/qfilesystemwatcher_inotify.cpp:265
#11 0xb6cc2b6f in QThreadPrivate::start (arg=0x9886748) at thread/qthread_unix.cpp:349
#12 0xb5a7bf70 in start_thread (arg=0xa01ffb40) at pthread_create.c:312
#13 0xb5ffb4ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xb569b740 (LWP 6635)):
[KCrash Handler]
#7  0xab8a2a5f in KScreen::Output::setPrimary(bool) () from /usr/lib/libkscreen.so.1
#8  0xaba89ceb in Generator::displaySwitch (this=0x9947028, iteration=iteration@entry=1) at /build/buildd/kscreen-1.0.2.1/kded/generator.cpp:147
#9  0xaba81c9f in KScreenDaemon::applyGenericConfig (this=0x98845f8) at /build/buildd/kscreen-1.0.2.1/kded/daemon.cpp:161
#10 0xaba81e48 in KScreenDaemon::qt_static_metacall (_o=0x0, _id=1, _a=0xbf80bbc8, _c=<optimized out>) at /build/buildd/kscreen-1.0.2.1/obj-i686-linux-gnu/kded/daemon.moc:89
#11 0xb6dea0f7 in QMetaObject::activate (sender=sender@entry=0x9879468, m=m@entry=0xb6f41518 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#12 0xb6e3a435 in QTimer::timeout (this=this@entry=0x9879468) at .moc/release-shared/moc_qtimer.cpp:147
#13 0xb6df3926 in QTimer::timerEvent (this=0x9879468, e=0xbf80bf40) at kernel/qtimer.cpp:280
#14 0xb6dee55c in QObject::event (this=0x9879468, e=0xbf80bf40) at kernel/qobject.cpp:1156
#15 0xb62e17f4 in QApplicationPrivate::notify_helper (this=0x9765438, receiver=0x9879468, e=0xbf80bf40) at kernel/qapplication.cpp:4567
#16 0xb62e82d3 in QApplication::notify (this=0xbf80c24c, receiver=receiver@entry=0x9879468, e=e@entry=0xbf80bf40) at kernel/qapplication.cpp:4353
#17 0xb75011b4 in KApplication::notify (this=0xbf80c24c, receiver=0x9879468, event=0xbf80bf40) at ../../kdeui/kernel/kapplication.cpp:311
#18 0xb6dd4e4a in QCoreApplication::notifyInternal (this=0xbf80c24c, receiver=0x9879468, event=event@entry=0xbf80bf40) at kernel/qcoreapplication.cpp:953
#19 0xb6e077bb in sendEvent (event=0xbf80bf40, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QTimerInfoList::activateTimers (this=0x9766a34) at kernel/qeventdispatcher_unix.cpp:621
#21 0xb6e047cb in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#22 idleTimerSourceDispatch (source=0x97657c0) at kernel/qeventdispatcher_glib.cpp:240
#23 0xb59ab1e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#24 0xb59ab468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb59ab528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb6e0493b in QEventDispatcherGlib::processEvents (this=this@entry=0x975dff8, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#27 0xb63965de in QGuiEventDispatcherGlib::processEvents (this=0x975dff8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0xb6dd3823 in QEventLoop::processEvents (this=this@entry=0xbf80c168, flags=...) at kernel/qeventloop.cpp:149
#29 0xb6dd3b49 in QEventLoop::exec (this=this@entry=0xbf80c168, flags=...) at kernel/qeventloop.cpp:204
#30 0xb6dd98fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#31 0xb62dfa24 in QApplication::exec () at kernel/qapplication.cpp:3828
#32 0xb531bb17 in kdemain (argc=1, argv=0x97456c8) at ../../kded/kded.cpp:940
#33 0x0804f729 in launch (argc=<optimized out>, argc@entry=1, _name=_name@entry=0x805237b "kded4", args=<optimized out>, args@entry=0x0, cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x0, reset_env=reset_env@entry=false, tty=tty@entry=0x0, avoid_loops=avoid_loops@entry=false, startup_id_str=startup_id_str@entry=0x805220a "0") at ../../kinit/kinit.cpp:738
#34 0x0804c8e0 in main (argc=4, argv=0xbf80c794, envp=0xbf80c7a8) at ../../kinit/kinit.cpp:1853

Reported using DrKonqi
Comment 1 Christoph Feck 2014-11-19 20:59:01 UTC
Please try kscreen 1.0.5, and check if this fixes the issue.

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