<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>336718</bug_id>
          
          <creation_ts>2014-06-25 16:52:53 +0000</creation_ts>
          <short_desc>Crash after connect/disconnect of a screen</short_desc>
          <delta_ts>2014-06-25 17:31:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdelibs</product>
          <component>kded</component>
          <version>4.13.2</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>323923</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Richard Weinberger">richard-bugs</reporter>
          <assigned_to name="Unassigned bugs">unassigned-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1457788</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Weinberger">richard-bugs</who>
    <bug_when>2014-06-25 16:52:53 +0000</bug_when>
    <thetext>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: &quot;openSUSE 13.1 (Bottle) (x86_64)&quot;

-- 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 &quot;/lib64/libthread_db.so.1&quot;.
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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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 &lt;KScreen::Output::staticMetaObject&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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 &lt;XRandRX11Helper::staticMetaObject&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x7fff2d7b82a0) at kernel/qobject.cpp:3576
#20 0x00007f88478fdce7 in outputChanged (_t1=&lt;optimized out&gt;, this=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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 &quot;kded4&quot;, args=&lt;optimized out&gt;, args@entry=0x0, cwd=cwd@entry=0x0, envc=envc@entry=0, envs=&lt;optimized out&gt;, 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 &quot;0&quot;) at /usr/src/debug/kdelibs-4.13.2/kinit/kinit.cpp:726
#37 0x0000000000405f23 in main (argc=4, argv=&lt;optimized out&gt;, 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1457790</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2014-06-25 17:31:08 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 323923 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>