Bug 336718 - Crash after connect/disconnect of a screen
Summary: Crash after connect/disconnect of a screen
Status: RESOLVED DUPLICATE of bug 323923
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kded (show other bugs)
Version: 4.13.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-06-25 16:52 UTC by Richard Weinberger
Modified: 2014-06-25 17:31 UTC (History)
0 users

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 Richard Weinberger 2014-06-25 16:52:53 UTC
Application: kded4 (4.13.2)
KDE Platform Version: 4.13.2
Qt Version: 4.8.6
Operating System: Linux 3.12.0-34.ge8fa6b4-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
It happens quite often that KDE crashes after connect/disconnect of a screen.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDE-Dienst (kded4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
gobject.py: gdb was not built with custom backtrace support, disabling.
[Current thread is 1 (Thread 0x7f88644a2780 (LWP 2750))]

Thread 4 (Thread 0x7f88459d5700 (LWP 2754)):
#0  0x00007f8862d6eeff in pthread_getspecific () from /lib64/libpthread.so.0
#1  0x00007f885ebfd440 in g_thread_self () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f885ebd70ac in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f885ebd7ec5 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f885ebd810c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f88631308fe in QEventDispatcherGlib::processEvents (this=0x7f88400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:451
#6  0x00007f886310279f in QEventLoop::processEvents (this=this@entry=0x7f88459d4e20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f8863102a95 in QEventLoop::exec (this=this@entry=0x7f88459d4e20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f8862fff2ff in QThread::exec (this=this@entry=0x1aec120) at thread/qthread.cpp:538
#9  0x00007f88630e3fa3 in QInotifyFileSystemWatcherEngine::run (this=0x1aec120) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f88630019cf in QThreadPrivate::start (arg=0x1aec120) at thread/qthread_unix.cpp:349
#11 0x00007f8862d6a0db in start_thread () from /lib64/libpthread.so.0
#12 0x00007f8861acd90d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f883d3cb700 (LWP 2773)):
#0  0x00007f8862d6c3c8 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f885ec199e1 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f885ebd7ef5 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f885ebd810c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f88631308fe in QEventDispatcherGlib::processEvents (this=0x7f88240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:451
#5  0x00007f886310279f in QEventLoop::processEvents (this=this@entry=0x7f883d3cae20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f8863102a95 in QEventLoop::exec (this=this@entry=0x7f883d3cae20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f8862fff2ff in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#8  0x00007f88472b1297 in KCupsConnection::run() () from /usr/lib64/libkcupslib.so
#9  0x00007f88630019cf in QThreadPrivate::start (arg=0x1bf9dc0) at thread/qthread_unix.cpp:349
#10 0x00007f8862d6a0db in start_thread () from /lib64/libpthread.so.0
#11 0x00007f8861acd90d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f883cbca700 (LWP 2774)):
#0  0x00007f8862d70b7d in read () from /lib64/libpthread.so.0
#1  0x00007f885ec18ce0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f885ebd7b24 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f885ebd7f9b in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f885ebd810c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f88631308fe in QEventDispatcherGlib::processEvents (this=0x7f88200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:451
#6  0x00007f886310279f in QEventLoop::processEvents (this=this@entry=0x7f883cbc9e60, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f8863102a95 in QEventLoop::exec (this=this@entry=0x7f883cbc9e60, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f8862fff2ff in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#9  0x00007f88630019cf in QThreadPrivate::start (arg=0x1d22050) at thread/qthread_unix.cpp:349
#10 0x00007f8862d6a0db in start_thread () from /lib64/libpthread.so.0
#11 0x00007f8861acd90d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f88644a2780 (LWP 2750)):
[KCrash Handler]
#6  KScreen::Output::id (this=0x0) at /usr/src/debug/libkscreen-1.0.4/src/output.cpp:151
#7  0x00007f88478ff038 in XRandRConfig::toKScreenConfig (this=0x1bbf850) at /usr/src/debug/libkscreen-1.0.4/backends/xrandr/xrandrconfig.cpp:128
#8  0x00007f8847f844f9 in Serializer::currentId () at /usr/src/debug/kscreen-1.0.2.1/kded/serializer.cpp:40
#9  0x00007f8847f84a22 in Serializer::configExists () at /usr/src/debug/kscreen-1.0.2.1/kded/serializer.cpp:61
#10 0x00007f8847f838e2 in KScreenDaemon::applyConfig (this=0x1afc770) at /usr/src/debug/kscreen-1.0.2.1/kded/daemon.cpp:93
#11 0x00007f8863117978 in QMetaObject::activate (sender=sender@entry=0x1bee330, m=m@entry=0x7f8847f44b40 <KScreen::Output::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3576
#12 0x00007f8847d3d173 in KScreen::Output::isConnectedChanged (this=this@entry=0x1bee330) at /usr/src/debug/libkscreen-1.0.4/build/src/output.moc:274
#13 0x00007f8847d3d193 in KScreen::Output::setConnected (this=this@entry=0x1bee330, connected=<optimized out>) at /usr/src/debug/libkscreen-1.0.4/src/output.cpp:353
#14 0x00007f88479082e8 in XRandROutput::updateKScreenOutput (this=this@entry=0x1aee650, output=0x1bee330) at /usr/src/debug/libkscreen-1.0.4/backends/xrandr/xrandroutput.cpp:391
#15 0x00007f88478ff1cb in XRandRConfig::updateKScreenConfig (this=0x1bbf850, config=0x1bed9b0) at /usr/src/debug/libkscreen-1.0.4/backends/xrandr/xrandrconfig.cpp:157
#16 0x00007f8847d3c279 in KScreen::ConfigMonitor::Private::updateConfigs (this=0x1bee100) at /usr/src/debug/libkscreen-1.0.4/src/configmonitor.cpp:46
#17 0x00007f8847d3c2ad in KScreen::ConfigMonitor::notifyUpdate (this=0x1bee010) at /usr/src/debug/libkscreen-1.0.4/src/configmonitor.cpp:96
#18 0x00007f88478fc642 in XRandR::updateOutput (this=<optimized out>, output=72) at /usr/src/debug/libkscreen-1.0.4/backends/xrandr/xrandr.cpp:130
#19 0x00007f8863117978 in QMetaObject::activate (sender=sender@entry=0x1bc1a60, m=m@entry=0x7f8847b0c980 <XRandRX11Helper::staticMetaObject>, local_signal_index=<optimized out>, argv=0x7fff2d7b82a0) at kernel/qobject.cpp:3576
#20 0x00007f88478fdce7 in outputChanged (_t1=<optimized out>, this=<optimized out>) at /usr/src/debug/libkscreen-1.0.4/build/backends/xrandr/xrandrx11helper.moc:119
#21 XRandRX11Helper::x11Event (this=0x1bc1a60, event=0x7fff2d7b83a0) at /usr/src/debug/libkscreen-1.0.4/backends/xrandr/xrandrx11helper.cpp:147
#22 0x00007f8863ece958 in publicX11Event (e=0x7fff2d7b83a0, this=<optimized out>) at /usr/src/debug/kdelibs-4.13.2/kdeui/kernel/ksystemeventfilter.cpp:43
#23 KSystemEventFilterPrivate::filterEvent (this=0x1bc0990, message=0x7fff2d7b83a0) at /usr/src/debug/kdelibs-4.13.2/kdeui/kernel/ksystemeventfilter.cpp:102
#24 0x00007f88630f5a4e in QAbstractEventDispatcher::filterEvent (this=0x0, message=0x1b55340, message@entry=0x7fff2d7b83a0) at kernel/qabstracteventdispatcher.cpp:542
#25 0x00007f8862318930 in x11EventSourceDispatch (s=0x19a1ab0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#26 0x00007f885ebd7e24 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f885ebd8068 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f885ebd810c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f88631308fe in QEventDispatcherGlib::processEvents (this=0x1918690, flags=...) at kernel/qeventdispatcher_glib.cpp:451
#30 0x00007f8862318ab6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f886310279f in QEventLoop::processEvents (this=this@entry=0x7fff2d7b8770, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f8863102a95 in QEventLoop::exec (this=this@entry=0x7fff2d7b8770, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007f8863107d5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#34 0x00007f886227a1ac in QApplication::exec () at kernel/qapplication.cpp:3823
#35 0x00007f884e45639b in kdemain (argc=1, argv=0x19858f0) at /usr/src/debug/kdelibs-4.13.2/kded/kded.cpp:940
#36 0x000000000040879e in launch (argc=argc@entry=1, _name=_name@entry=0x40b117 "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=0x40afa6 "0") at /usr/src/debug/kdelibs-4.13.2/kinit/kinit.cpp:726
#37 0x0000000000405f23 in main (argc=4, argv=<optimized out>, envp=0x7fff2d7b9000) at /usr/src/debug/kdelibs-4.13.2/kinit/kinit.cpp:1841

The reporter indicates this bug may be a duplicate of or related to bug 323923.

Possible duplicates by query: bug 335646, bug 334947.

Reported using DrKonqi
Comment 1 Christoph Feck 2014-06-25 17:31:08 UTC

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