<?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>325321</bug_id>
          
          <creation_ts>2013-09-26 07:30:04 +0000</creation_ts>
          <short_desc>kded4 crashes dues to kscreen</short_desc>
          <delta_ts>2013-10-29 07:21:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>KScreen</product>
          <component>libkscreen</component>
          <version>1.0.1</version>
          <rep_platform>Ubuntu</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="Dagi">ks.dagi</reporter>
          <assigned_to name="Alex Fiestas">afiestas</assigned_to>
          <cc>dvratil</cc>
          
          <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>1399622</commentid>
    <comment_count>0</comment_count>
    <who name="Dagi">ks.dagi</who>
    <bug_when>2013-09-26 07:30:04 +0000</bug_when>
    <thetext>Application: kded4 (4.11.1)
KDE Platform Version: 4.11.1
Qt Version: 4.8.4
Operating System: Linux 3.11.1-031101-generic x86_64
Distribution: Ubuntu Saucy Salamander (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Happens on evry login and when i conect a HDMI cabel.
It sems kscren is responsible fore the chrash.
Since i use a dual monitor setup kdeinit chrashes evry time  i boot.

- Unusual behavior I noticed:
Icons in tray chane, spesificly kmix icon canges from the plasma theme one to default.
Suspend dont work any longer. i had to restart kdeinit4 whit hdmi unplugd to file this bug.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Dæmon (kded4), signal: Segmentation fault
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7fa36bda07c0 (LWP 1870))]

Thread 4 (Thread 0x7fa3511ed700 (LWP 1872)):
#0  0x00007fa36a8f3600 in clock_gettime@plt () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#1  0x00007fa36a965757 in do_gettime (frac=0x7fa3511ecb40, sec=0x7fa3511ecb38) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00007fa36aa3efe5 in updateCurrentTime (this=0x7fa34c002860) at kernel/qeventdispatcher_unix.cpp:354
#4  QTimerInfoList::timerWait (this=0x7fa34c002860, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#5  0x00007fa36aa3d82c in timerSourcePrepareHelper (src=&lt;optimized out&gt;, timeout=0x7fa3511ecbf4) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007fa36aa3d8d5 in timerSourcePrepare (source=&lt;optimized out&gt;, timeout=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00007fa366712ddd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fa366713653 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fa36671383c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fa36aa3da76 in QEventDispatcherGlib::processEvents (this=0x7fa34c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x00007fa36aa0f5ef in QEventLoop::processEvents (this=this@entry=0x7fa3511ecdb0, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007fa36aa0f8e5 in QEventLoop::exec (this=this@entry=0x7fa3511ecdb0, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007fa36a90e88f in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:542
#14 0x00007fa36a910f2f in QThreadPrivate::start (arg=0xfc91d0) at thread/qthread_unix.cpp:338
#15 0x00007fa366deef6e in start_thread (arg=0x7fa3511ed700) at pthread_create.c:311
#16 0x00007fa369612ecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fa332817700 (LWP 1884)):
#0  0x00007fa366712dd5 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa366713653 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa36671383c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa36aa3da76 in QEventDispatcherGlib::processEvents (this=0x7fa32c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fa36aa0f5ef in QEventLoop::processEvents (this=this@entry=0x7fa332816d70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa36aa0f8e5 in QEventLoop::exec (this=this@entry=0x7fa332816d70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fa36a90e88f in QThread::exec (this=this@entry=0x1119530) at thread/qthread.cpp:542
#7  0x00007fa36a9f0d13 in QInotifyFileSystemWatcherEngine::run (this=0x1119530) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fa36a910f2f in QThreadPrivate::start (arg=0x1119530) at thread/qthread_unix.cpp:338
#9  0x00007fa366deef6e in start_thread (arg=0x7fa332817700) at pthread_create.c:311
#10 0x00007fa369612ecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fa330c1c700 (LWP 1903)):
#0  0x00007fa36960647d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa366713734 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa366713b9a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa33111f2f6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fa3667383c5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa366deef6e in start_thread (arg=0x7fa330c1c700) at pthread_create.c:311
#6  0x00007fa369612ecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fa36bda07c0 (LWP 1870)):
[KCrash Handler]
#6  KScreen::Output::id (this=this@entry=0x0) at /build/buildd/libkscreen-1.0.1/src/output.cpp:104
#7  0x00007fa3505d765e in Generator::displaySwitch (this=this@entry=0xefdf60, iteration=iteration@entry=1) at /build/buildd/kscreen-1.0.1/kded/generator.cpp:133
#8  0x00007fa3505d8703 in Generator::fallbackIfNeeded (this=this@entry=0xefdf60, config=config@entry=0x12583e0) at /build/buildd/kscreen-1.0.1/kded/generator.cpp:98
#9  0x00007fa3505d9427 in Generator::idealConfig (this=0xefdf60) at /build/buildd/kscreen-1.0.1/kded/generator.cpp:90
#10 0x00007fa3505d1297 in KScreenDaemon::applyIdealConfig (this=this@entry=0xeff800) at /build/buildd/kscreen-1.0.1/kded/daemon.cpp:118
#11 0x00007fa3505d14ce in KScreenDaemon::applyConfig (this=0xeff800) at /build/buildd/kscreen-1.0.1/kded/daemon.cpp:98
#12 0x00007fa36aa24a58 in QMetaObject::activate (sender=0xefdf60, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x0) at kernel/qobject.cpp:3539
#13 0x00007fa36aa24a58 in QMetaObject::activate (sender=sender@entry=0x1057ec0, m=m@entry=0x7fa3507dfb40 &lt;Device::staticMetaObject&gt;, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#14 0x00007fa3505d9f54 in ready (this=0x1057ec0) at /build/buildd/kscreen-1.0.1/obj-x86_64-linux-gnu/kded/device.moc:113
#15 Device::setReady (this=this@entry=0x1057ec0) at /build/buildd/kscreen-1.0.1/kded/device.cpp:80
#16 0x00007fa3505daad1 in setReady (this=0x1057ec0) at /build/buildd/kscreen-1.0.1/kded/device.cpp:75
#17 Device::isLaptopFetched (this=0x1057ec0, watcher=0x11f6a10) at /build/buildd/kscreen-1.0.1/kded/device.cpp:122
#18 0x00007fa36aa24a58 in QMetaObject::activate (sender=0x11f6a10, m=m@entry=0x7fa367fee640 &lt;QDBusPendingCallWatcher::staticMetaObject&gt;, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffd12ae860) at kernel/qobject.cpp:3539
#19 0x00007fa367dcfb8f in QDBusPendingCallWatcher::finished (this=&lt;optimized out&gt;, _t1=0x11f6a10) at .moc/release-shared/moc_qdbuspendingcall.cpp:106
#20 0x00007fa36aa28dce in QObject::event (this=0x11f6a10, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1194
#21 0x00007fa369daddfc in QApplicationPrivate::notify_helper (this=this@entry=0xd87270, receiver=receiver@entry=0x11f6a10, e=e@entry=0x124f690) at kernel/qapplication.cpp:4567
#22 0x00007fa369db4470 in QApplication::notify (this=this@entry=0x7fffd12afa70, receiver=receiver@entry=0x11f6a10, e=e@entry=0x124f690) at kernel/qapplication.cpp:4353
#23 0x00007fa36b7949aa in KApplication::notify (this=0x7fffd12afa70, receiver=0x11f6a10, event=0x124f690) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007fa36aa108bd in QCoreApplication::notifyInternal (this=0x7fffd12afa70, receiver=receiver@entry=0x11f6a10, event=event@entry=0x124f690) at kernel/qcoreapplication.cpp:946
#25 0x00007fa36aa13e1f in sendEvent (event=0x124f690, receiver=0x11f6a10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xcdc150) at kernel/qcoreapplication.cpp:1570
#27 0x00007fa36aa142c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#28 0x00007fa36aa3e073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#29 postEventSourceDispatch (s=0xd85840) at kernel/qeventdispatcher_glib.cpp:279
#30 0x00007fa366713446 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fa366713798 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fa36671383c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fa36aa3da55 in QEventDispatcherGlib::processEvents (this=0xcde670, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0x00007fa369e4f9d6 in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007fa36aa0f5ef in QEventLoop::processEvents (this=this@entry=0x7fffd12aee90, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007fa36aa0f8e5 in QEventLoop::exec (this=this@entry=0x7fffd12aee90, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007fa3317f1838 in KAuth::Polkit1Backend::actionExists (this=0xe3e490, action=...) at ../../kdecore/auth/backends/polkit-1/Polkit1Backend.cpp:219
#38 0x00007fa36aec4310 in KAuth::Action::setName (this=&lt;optimized out&gt;, name=...) at ../../kdecore/auth/kauthaction.cpp:110
#39 0x00007fa36aec4398 in KAuth::Action::Action (this=0x7fffd12af060, name=...) at ../../kdecore/auth/kauthaction.cpp:61
#40 0x00007fa34bbce3ac in PowerDevilUPowerBackend::init() () from /usr/lib/kde4/kded_powerdevil.so
#41 0x00007fa34b9925b4 in PowerDevil::Core::loadCore(PowerDevil::BackendInterface*) () from /usr/lib/libpowerdevilcore.so.0
#42 0x00007fa34bbc7886 in ?? () from /usr/lib/kde4/kded_powerdevil.so
#43 0x00007fa36aa28dce in QObject::event (this=0x104ccd0, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1194
#44 0x00007fa369daddfc in QApplicationPrivate::notify_helper (this=this@entry=0xd87270, receiver=receiver@entry=0x104ccd0, e=e@entry=0x10be8b0) at kernel/qapplication.cpp:4567
#45 0x00007fa369db4470 in QApplication::notify (this=this@entry=0x7fffd12afa70, receiver=receiver@entry=0x104ccd0, e=e@entry=0x10be8b0) at kernel/qapplication.cpp:4353
#46 0x00007fa36b7949aa in KApplication::notify (this=0x7fffd12afa70, receiver=0x104ccd0, event=0x10be8b0) at ../../kdeui/kernel/kapplication.cpp:311
#47 0x00007fa36aa108bd in QCoreApplication::notifyInternal (this=0x7fffd12afa70, receiver=receiver@entry=0x104ccd0, event=event@entry=0x10be8b0) at kernel/qcoreapplication.cpp:946
#48 0x00007fa36aa13e1f in sendEvent (event=0x10be8b0, receiver=0x104ccd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xcdc150) at kernel/qcoreapplication.cpp:1570
#50 0x00007fa36aa142c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#51 0x00007fa36aa3e073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#52 postEventSourceDispatch (s=0xd85840) at kernel/qeventdispatcher_glib.cpp:279
#53 0x00007fa366713446 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007fa366713798 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007fa36671383c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007fa36aa3da55 in QEventDispatcherGlib::processEvents (this=0xcde670, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#57 0x00007fa369e4f9d6 in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0x00007fa36aa0f5ef in QEventLoop::processEvents (this=this@entry=0x7fffd12af940, flags=...) at kernel/qeventloop.cpp:149
#59 0x00007fa36aa0f8e5 in QEventLoop::exec (this=this@entry=0x7fffd12af940, flags=...) at kernel/qeventloop.cpp:204
#60 0x00007fa36aa14e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#61 0x00007fa369dac34c in QApplication::exec () at kernel/qapplication.cpp:3828
#62 0x00007fa35762095b in kdemain (argc=1, argv=0xd5d990) at ../../kded/kded.cpp:925
#63 0x00000000004083f5 in launch (argc=argc@entry=1, _name=_name@entry=0x40b007 &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=0x40ae96 &quot;0&quot;) at ../../kinit/kinit.cpp:738
#64 0x00000000004059a6 in main (argc=4, argv=&lt;optimized out&gt;, envp=0x7fffd12b01d0) at ../../kinit/kinit.cpp:1853

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1407155</commentid>
    <comment_count>1</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2013-10-29 07:21:23 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>