Bug 323923

Summary: kded4 crashes due to kscreen kded module [KScreen::Output::id]
Product: [Plasma] KScreen Reporter: ipomo
Component: libkscreenAssignee: Alex Fiestas <afiestas>
Status: RESOLVED FIXED    
Severity: crash CC: a.nolting, alexlomax, andor734, apexmail, arthur, atalanttore, bam.anthony, bugs, cfeck, crglasoe, dima, dvratil, helpunclejackoff, jlp, kirill.bogdanenko, ks.dagi, martin.schwinzerl, massimo.fierro, periclescorreia, richard-bugs, rodrigoesborges, rolandwr, sutasu, takoy, tbormer, timshel, volnes88
Priority: NOR    
Version: 1.0.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.5
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
crash information
New crash information added by DrKonqi

Description ipomo 2013-08-23 13:12:58 UTC
kded4 crashes each time I login, as well if I try to start from console.

Reproducible: Always

Steps to Reproduce:
1. login kde
2.
3.



Application: KDE-Dienst (kded4), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb5429740 (LWP 3983))]

Thread 5 (Thread 0xadabbb40 (LWP 4044)):
#0  0xb6b8ee30 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0xb5922980 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#2  0xb58e2adb in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb58e2fcb in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4  0xadb8fefa in ?? () from /usr/lib/libgio-2.0.so.0
#5  0xb59070a3 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0xb6b8be32 in start_thread () from /lib/libpthread.so.0
#7  0xb5ef97ee in clone () from /lib/libc.so.6

Thread 4 (Thread 0xad2bab40 (LWP 4045)):
#0  0xb5922950 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#1  0xb58e25cd in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2  0xb58e2a82 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb58e2c51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb6d53adf in QEventDispatcherGlib::processEvents (this=0xae800df0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0xb6d2032c in QEventLoop::processEvents (this=this@entry=0xad2ba238, flags=...) at kernel/qeventloop.cpp:149
#6  0xb6d20621 in QEventLoop::exec (this=0xad2ba238, flags=...) at kernel/qeventloop.cpp:204
#7  0xb6c0bb7c in QThread::exec (this=0x93bda28) at thread/qthread.cpp:536
#8  0xafcaf112 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#9  0xb6c0ef88 in QThreadPrivate::start (arg=0x93bda28) at thread/qthread_unix.cpp:338
#10 0xb6b8be32 in start_thread () from /lib/libpthread.so.0
#11 0xb5ef97ee in clone () from /lib/libc.so.6

Thread 3 (Thread 0xacab9b40 (LWP 4046)):
#0  0xb5998e3d in clock_gettime () from /lib/librt.so.1
#1  0xb6c6d9a5 in do_gettime (frac=0xacab8fb0, sec=0xacab8fa8) at tools/qelapsedtimer_unix.cpp:127
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#3  0xb6d545be in QTimerInfoList::updateCurrentTime (this=0xae703e34) at kernel/qeventdispatcher_unix.cpp:354
#4  0xae702150 in ?? ()
#5  0x00000000 in ?? ()

Thread 2 (Thread 0xac2b8b40 (LWP 4047)):
#0  socketNotifierSourcePrepare (timeout=0xac2b809c) at kernel/qeventdispatcher_glib.cpp:76
#1  0xb58e22a2 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0xb58e29ef in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb58e2c51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb6d53adf in QEventDispatcherGlib::processEvents (this=0xae600df0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0xb6d2032c in QEventLoop::processEvents (this=this@entry=0xac2b8228, flags=...) at kernel/qeventloop.cpp:149
#6  0xb6d20621 in QEventLoop::exec (this=0xac2b8228, flags=...) at kernel/qeventloop.cpp:204
#7  0xb6c0bb7c in QThread::exec (this=0x93ce448) at thread/qthread.cpp:536
#8  0xb6cfe87d in QInotifyFileSystemWatcherEngine::run (this=0x93ce448) at io/qfilesystemwatcher_inotify.cpp:256
#9  0xb6c0ef88 in QThreadPrivate::start (arg=0x93ce448) at thread/qthread_unix.cpp:338
#10 0xb6b8be32 in start_thread () from /lib/libpthread.so.0
#11 0xb5ef97ee in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5429740 (LWP 3983)):
[KCrash Handler]
#7  0xafd878f4 in KScreen::Output::id (this=0x0) at /usr/src/debug/libkscreen-1.0.1/src/output.cpp:104
#8  0xaff060d1 in Generator::displaySwitch (this=this@entry=0x93bde40, iteration=iteration@entry=1) at /usr/src/debug/kscreen-1.0.1/kded/generator.cpp:133
#9  0xaff073b0 in Generator::fallbackIfNeeded (this=this@entry=0x93bde40, config=config@entry=0x928fd00) at /usr/src/debug/kscreen-1.0.1/kded/generator.cpp:98
#10 0xaff081f2 in Generator::idealConfig (this=0x93bde40) at /usr/src/debug/kscreen-1.0.1/kded/generator.cpp:90
#11 0xaff0005f in KScreenDaemon::applyIdealConfig (this=this@entry=0x93440a0) at /usr/src/debug/kscreen-1.0.1/kded/daemon.cpp:118
#12 0xaff00333 in KScreenDaemon::applyConfig (this=this@entry=0x93440a0) at /usr/src/debug/kscreen-1.0.1/kded/daemon.cpp:98
#13 0xaff00407 in KScreenDaemon::init (this=this@entry=0x93440a0) at /usr/src/debug/kscreen-1.0.1/kded/daemon.cpp:87
#14 0xaff004c4 in qt_static_metacall (_a=0xbfe45fac, _id=2, _o=0x93440a0, _c=<optimized out>) at /usr/src/debug/kscreen-1.0.1/build/kded/daemon.moc:80
#15 KScreenDaemon::qt_static_metacall (_o=_o@entry=0x93440a0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=2, _a=0xbfe45fac) at /usr/src/debug/kscreen-1.0.1/build/kded/daemon.moc:72
#16 0xb6d39c77 in QMetaObject::activate (sender=0x93bde40, m=0xaff10d38 <Generator::staticMetaObject>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3556
#17 0xaff05425 in Generator::ready (this=0x93bde40) at /usr/src/debug/kscreen-1.0.1/build/kded/generator.moc:97
#18 0xb6d39c77 in QMetaObject::activate (sender=0x9348ed8, m=0xaff10d98 <Device::staticMetaObject>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3556
#19 0xaff093b5 in Device::ready (this=0x9348ed8) at /usr/src/debug/kscreen-1.0.1/build/kded/device.moc:112
#20 0xaff093d9 in Device::setReady (this=this@entry=0x9348ed8) at /usr/src/debug/kscreen-1.0.1/kded/device.cpp:80
#21 0xaff09df1 in Device::isLaptopFetched (this=0x9348ed8, watcher=0x944aff0) at /usr/src/debug/kscreen-1.0.1/kded/device.cpp:122
#22 0xb6d39c77 in QMetaObject::activate (sender=0x944aff0, m=0xb5aecaf8 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=0, argv=0xbfe46298) at kernel/qobject.cpp:3556
#23 0xb5acbe65 in QDBusPendingCallWatcher::finished (this=0x944aff0, _t1=0x944aff0) at .moc/release-shared/moc_qdbuspendingcall.cpp:105
#24 0xb5acbecd in _q_finished (this=<optimized out>) at qdbuspendingcall.cpp:485
#25 QDBusPendingCallWatcher::qt_static_metacall (_o=0x944aff0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x93d9698) at .moc/release-shared/moc_qdbuspendingcall.cpp:54
#26 0xb6d3368a in QMetaCallEvent::placeMetaCall (this=0x94ca908, object=0x944aff0) at kernel/qobject.cpp:524
#27 0xb6d37beb in QObject::event (this=0x944aff0, e=0x94ca908) at kernel/qobject.cpp:1203
#28 0xb61eec4c in QApplicationPrivate::notify_helper (this=0x922ebc8, receiver=0x944aff0, e=0x94ca908) at kernel/qapplication.cpp:4562
#29 0xb61f364f in QApplication::notify (this=0x94ca908, receiver=0x944aff0, e=0x94ca908) at kernel/qapplication.cpp:3944
#30 0xb7494151 in KApplication::notify (this=0xbfe46b9c, receiver=0x944aff0, event=0x94ca908) at /usr/src/debug/kdelibs-4.11.0/kdeui/kernel/kapplication.cpp:311
#31 0xb6d2190e in QCoreApplication::notifyInternal (this=0xbfe46b9c, receiver=0x944aff0, event=0x94ca908) at kernel/qcoreapplication.cpp:949
#32 0xb6d2565d in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x91b9a40) at kernel/qcoreapplication.cpp:1573
#34 0xb6d258dc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1466
#35 0xb6d53944 in sendPostedEvents () at kernel/qcoreapplication.h:236
#36 postEventSourceDispatch (s=0x922fb90) at kernel/qeventdispatcher_glib.cpp:280
#37 0xb58e27d3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0xb58e2b70 in ?? () from /usr/lib/libglib-2.0.so.0
#39 0xb58e2c51 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#40 0xb6d53ac1 in QEventDispatcherGlib::processEvents (this=0x91bd8c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#41 0xb62a077a in QGuiEventDispatcherGlib::processEvents (this=0x91bd8c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0xb6d2032c in QEventLoop::processEvents (this=this@entry=0xbfe46a08, flags=...) at kernel/qeventloop.cpp:149
#43 0xb6d20621 in QEventLoop::exec (this=0xbfe46a08, flags=...) at kernel/qeventloop.cpp:204
#44 0xb6d2598a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#45 0xb61ecac4 in QApplication::exec () at kernel/qapplication.cpp:3823
#46 0xb4ffe61a in kdemain (argc=1, argv=0x920a0c0) at /usr/src/debug/kdelibs-4.11.0/kded/kded.cpp:925
#47 0x0804fb6a in launch (argc=argc@entry=1, _name=_name@entry=0x8052366 "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=0x805224e "0") at /usr/src/debug/kdelibs-4.11.0/kinit/kinit.cpp:726
#48 0x0804ceb9 in main (argc=4, argv=0xbfe471f4, envp=0xbfe47208) at /usr/src/debug/kdelibs-4.11.0/kinit/kinit.cpp:1841
Comment 1 Daniel Vrátil 2013-08-23 14:36:57 UTC
Can you please provide output from "kscreen-console bug" ?
Comment 2 ipomo 2013-08-23 15:36:12 UTC
START 
Config::current() took 304 milliseconds 

========================xrandr --verbose========================== 

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 1920 x 1920
DFP1 connected 1920x1080+0+0 (0x99) normal (normal left inverted right x axis y axis) 820mm x 460mm
        Identifier: 0x95
        Timestamp:  75541
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:    
        CRTC:       0
        CRTCs:      0 1
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        EDID_DATA:
                00ffffffffffff004d103e1000000000
                ff13010380522e782a1bbea25534b326
                144a52afce00a9409040818001010101
                010101010101023a80d072382d40102c
                458034cc3100001e662150b051001b30
                4070360000000000001e000000fc0053
                484152502048444d490a2020000000fd
                00174c0f4b11000a202020202020011f
        SignalFormat:   TMDS
        ConnectorType:  HDMI
  1920x1080 (0x99)  148.5MHz -HSync -VSync *current +preferred
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock   56.2KHz
        v: height 1080 start 1084 end 1089 total 1125           clock   50.0Hz
  1776x1000 (0x9a)  120.2MHz +HSync -VSync +preferred
        h: width  1776 start 1872 end 2056 total 2336 skew    0 clock   51.4KHz
        v: height 1000 start 1001 end 1004 total 1029           clock   50.0Hz
  1680x1050 (0x9b)  120.2MHz +HSync -VSync +preferred
        h: width  1680 start 1776 end 1952 total 2224 skew    0 clock   54.0KHz
        v: height 1050 start 1051 end 1054 total 1081           clock   50.0Hz
  1400x1050 (0x9c)   99.9MHz +HSync -VSync +preferred
        h: width  1400 start 1480 end 1624 total 1848 skew    0 clock   54.0KHz
        v: height 1050 start 1051 end 1054 total 1081           clock   50.0Hz
  1600x900 (0x9d)   97.0MHz +HSync -VSync +preferred
        h: width  1600 start 1680 end 1848 total 2096 skew    0 clock   46.3KHz
        v: height  900 start  901 end  904 total  926           clock   50.0Hz
  1360x1024 (0x9e)   94.4MHz +HSync -VSync +preferred
        h: width  1360 start 1432 end 1576 total 1792 skew    0 clock   52.7KHz
        v: height 1024 start 1025 end 1028 total 1054           clock   50.0Hz
  1280x1024 (0x9f)   89.4MHz +HSync -VSync +preferred
        h: width  1280 start 1352 end 1488 total 1696 skew    0 clock   52.7KHz
        v: height 1024 start 1025 end 1028 total 1054           clock   50.0Hz
  1440x900 (0xa0)   87.4MHz +HSync -VSync +preferred
        h: width  1440 start 1512 end 1664 total 1888 skew    0 clock   46.3KHz
        v: height  900 start  901 end  904 total  926           clock   50.0Hz
  1280x960 (0xa1)   83.0MHz +HSync -VSync +preferred
        h: width  1280 start 1344 end 1480 total 1680 skew    0 clock   49.4KHz
        v: height  960 start  961 end  964 total  988           clock   50.0Hz
  1360x768 (0xa2)   69.6MHz +HSync -VSync +preferred
        h: width  1360 start 1416 end 1560 total 1760 skew    0 clock   39.5KHz
        v: height  768 start  769 end  772 total  791           clock   50.0Hz
  1280x800 (0xa3)   68.5MHz +HSync -VSync +preferred
        h: width  1280 start 1336 end 1472 total 1664 skew    0 clock   41.2KHz
        v: height  800 start  801 end  804 total  824           clock   50.0Hz
  1152x864 (0xa4)   66.8MHz +HSync -VSync +preferred
        h: width  1152 start 1208 end 1328 total 1504 skew    0 clock   44.4KHz
        v: height  864 start  865 end  868 total  889           clock   50.0Hz
  1280x768 (0xa5)   65.2MHz +HSync -VSync +preferred
        h: width  1280 start 1336 end 1464 total 1648 skew    0 clock   39.5KHz
        v: height  768 start  769 end  772 total  791           clock   50.0Hz
  1024x768 (0xa6)   51.9MHz +HSync -VSync +preferred
        h: width  1024 start 1064 end 1168 total 1312 skew    0 clock   39.6KHz
        v: height  768 start  769 end  772 total  791           clock   50.0Hz
  1920x1080 (0xa7)  148.5MHz -HSync -VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock   67.5KHz
        v: height 1080 start 1084 end 1089 total 1125           clock   60.0Hz
  1920x1080 (0xa8)   74.2MHz -HSync -VSync Interlace
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock   33.8KHz
        v: height 1080 start 1084 end 1094 total 1125           clock   30.0Hz
  1920x1080 (0xa9)   74.2MHz -HSync -VSync Interlace
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock   28.1KHz
        v: height 1080 start 1084 end 1094 total 1125           clock   25.0Hz
  1920x1080 (0xaa)   74.2MHz -HSync -VSync
        h: width  1920 start 2558 end 2602 total 2750 skew    0 clock   27.0KHz
        v: height 1080 start 1084 end 1089 total 1125           clock   24.0Hz
  1600x1200 (0xab)  162.0MHz -HSync -VSync
        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock   75.0KHz
        v: height 1200 start 1201 end 1204 total 1250           clock   60.0Hz
  1776x1000 (0xac)  147.1MHz +HSync -VSync
        h: width  1776 start 1880 end 2072 total 2368 skew    0 clock   62.1KHz
        v: height 1000 start 1001 end 1004 total 1035           clock   60.0Hz
  1776x1000 (0xad)   67.9MHz +HSync -VSync
        h: width  1776 start 1824 end 2000 total 2224 skew    0 clock   30.5KHz
        v: height 1000 start 1001 end 1004 total 1018           clock   30.0Hz
  1776x1000 (0xae)   55.2MHz +HSync -VSync
        h: width  1776 start 1800 end 1976 total 2176 skew    0 clock   25.4KHz
        v: height 1000 start 1001 end 1004 total 1015           clock   25.0Hz
  1680x1050 (0xaf)  146.2MHz +HSync -VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock   65.3KHz
        v: height 1050 start 1053 end 1059 total 1089           clock   60.0Hz
  1400x1050 (0xb0)  121.8MHz +HSync -VSync
        h: width  1400 start 1488 end 1632 total 1864 skew    0 clock   65.3KHz
        v: height 1050 start 1053 end 1057 total 1089           clock   60.0Hz
  1600x900 (0xb1)  108.0MHz -HSync -VSync
        h: width  1600 start 1624 end 1704 total 1800 skew    0 clock   60.0KHz
        v: height  900 start  901 end  904 total 1000           clock   60.0Hz
  1360x1024 (0xb2)  116.0MHz +HSync -VSync
        h: width  1360 start 1448 end 1592 total 1824 skew    0 clock   63.6KHz
        v: height 1024 start 1025 end 1028 total 1060           clock   60.0Hz
  1280x1024 (0xb3)  108.0MHz -HSync -VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock   64.0KHz
        v: height 1024 start 1025 end 1028 total 1066           clock   60.0Hz
  1440x900 (0xb4)  106.5MHz +HSync -VSync
        h: width  1440 start 1520 end 1672 total 1904 skew    0 clock   55.9KHz
        v: height  900 start  903 end  909 total  934           clock   59.9Hz
  1280x960 (0xb5)  108.0MHz -HSync -VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock   60.0KHz
        v: height  960 start  961 end  964 total 1000           clock   60.0Hz
  1360x768 (0xb6)   85.5MHz -HSync -VSync
        h: width  1360 start 1424 end 1536 total 1792 skew    0 clock   47.7KHz
        v: height  768 start  771 end  777 total  795           clock   60.0Hz
  1280x800 (0xb7)   83.5MHz +HSync -VSync
        h: width  1280 start 1344 end 1480 total 1680 skew    0 clock   49.7KHz
        v: height  800 start  801 end  804 total  828           clock   60.0Hz
  1152x864 (0xb8)   81.6MHz +HSync -VSync
        h: width  1152 start 1216 end 1336 total 1520 skew    0 clock   53.7KHz
        v: height  864 start  865 end  868 total  895           clock   60.0Hz
  1280x768 (0xb9)   79.5MHz +HSync -VSync
        h: width  1280 start 1344 end 1472 total 1664 skew    0 clock   47.8KHz
        v: height  768 start  771 end  778 total  798           clock   59.9Hz
  1280x720 (0xba)   74.2MHz -HSync -VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock   45.0KHz
        v: height  720 start  725 end  730 total  750           clock   60.0Hz
  1280x720 (0xbb)   74.2MHz -HSync -VSync
        h: width  1280 start 1720 end 1760 total 1980 skew    0 clock   37.5KHz
        v: height  720 start  725 end  730 total  750           clock   50.0Hz
  1024x768 (0xbc)   78.8MHz -HSync -VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock   60.0KHz
        v: height  768 start  769 end  772 total  800           clock   75.0Hz
  1024x768 (0xbd)   75.0MHz +HSync +VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock   56.5KHz
        v: height  768 start  771 end  777 total  806           clock   70.1Hz
  1024x768 (0xbe)   65.0MHz +HSync +VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  1152x648 (0xbf)   59.9MHz +HSync -VSync
        h: width  1152 start 1200 end 1320 total 1488 skew    0 clock   40.3KHz
        v: height  648 start  649 end  652 total  671           clock   60.0Hz
  1152x648 (0xc0)   48.5MHz +HSync -VSync
        h: width  1152 start 1184 end 1304 total 1456 skew    0 clock   33.3KHz
        v: height  648 start  649 end  652 total  667           clock   50.0Hz
  800x600 (0xc1)   50.0MHz -HSync -VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock   48.1KHz
        v: height  600 start  637 end  643 total  666           clock   72.2Hz
  800x600 (0xc2)   49.5MHz -HSync -VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock   46.9KHz
        v: height  600 start  601 end  604 total  625           clock   75.0Hz
  800x600 (0xc3)   40.0MHz -HSync -VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  800x600 (0xc4)   36.0MHz -HSync -VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock   35.2KHz
        v: height  600 start  601 end  603 total  625           clock   56.2Hz
  800x600 (0xc5)   31.1MHz +HSync -VSync
        h: width   800 start  824 end  904 total 1008 skew    0 clock   30.9KHz
        v: height  600 start  601 end  604 total  618           clock   50.0Hz
  720x576 (0xc6)   27.0MHz +HSync +VSync
        h: width   720 start  732 end  796 total  864 skew    0 clock   31.2KHz
        v: height  576 start  581 end  586 total  625           clock   50.0Hz
  720x480 (0xc7)   27.0MHz +HSync +VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock   31.5KHz
        v: height  480 start  489 end  495 total  525           clock   60.0Hz
  720x480 (0xc8)   21.8MHz +HSync -VSync
        h: width   720 start  728 end  800 total  880 skew    0 clock   24.8KHz
        v: height  480 start  481 end  484 total  495           clock   50.0Hz
  640x480 (0xc9)   31.5MHz +HSync +VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock   37.5KHz
        v: height  480 start  481 end  484 total  500           clock   75.0Hz
  640x480 (0xca)   31.5MHz +HSync +VSync
        h: width   640 start  656 end  696 total  832 skew    0 clock   37.9KHz
        v: height  480 start  481 end  484 total  520           clock   72.8Hz
  640x480 (0xcb)   25.2MHz +HSync +VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   60.0Hz
  640x480 (0xcc)   19.4MHz +HSync -VSync
        h: width   640 start  648 end  712 total  784 skew    0 clock   24.7KHz
        v: height  480 start  481 end  484 total  495           clock   50.0Hz
DFP2 connected 1920x1080+0+0 (0xa7) normal (normal left inverted right x axis y axis) 477mm x 268mm
        Identifier: 0x96
        Timestamp:  75541
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:    
        CRTC:       1
        CRTCs:      0 1
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        EDID_DATA:
                00ffffffffffff0009d15f7845540000
                2f13010380351d782e6085a6564a9c25
                125054a56b80710081c081408180a9c0
                b300d1c00101023a801871382d40582c
                4500dd0c1100001e000000ff00424239
                3030303036534c303030000000fd0032
                4c185311000a202020202020000000fc
                0047323432304844424c0a0a0a0a00ef
        SignalFormat:   TMDS
        ConnectorType:  DVI-I
  1920x1080 (0xa7)  148.5MHz -HSync -VSync *current +preferred
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock   67.5KHz
        v: height 1080 start 1084 end 1089 total 1125           clock   60.0Hz
  1776x1000 (0xac)  147.1MHz +HSync -VSync +preferred
        h: width  1776 start 1880 end 2072 total 2368 skew    0 clock   62.1KHz
        v: height 1000 start 1001 end 1004 total 1035           clock   60.0Hz
  1680x1050 (0xaf)  146.2MHz +HSync -VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock   65.3KHz
        v: height 1050 start 1053 end 1059 total 1089           clock   60.0Hz
  1400x1050 (0xb0)  121.8MHz +HSync -VSync
        h: width  1400 start 1488 end 1632 total 1864 skew    0 clock   65.3KHz
        v: height 1050 start 1053 end 1057 total 1089           clock   60.0Hz
  1600x900 (0xb1)  108.0MHz -HSync -VSync
        h: width  1600 start 1624 end 1704 total 1800 skew    0 clock   60.0KHz
        v: height  900 start  901 end  904 total 1000           clock   60.0Hz
  1360x1024 (0xb2)  116.0MHz +HSync -VSync
        h: width  1360 start 1448 end 1592 total 1824 skew    0 clock   63.6KHz
        v: height 1024 start 1025 end 1028 total 1060           clock   60.0Hz
  1280x1024 (0xcd)  135.0MHz -HSync -VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock   80.0KHz
        v: height 1024 start 1025 end 1028 total 1066           clock   75.0Hz
  1280x1024 (0xb3)  108.0MHz -HSync -VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock   64.0KHz
        v: height 1024 start 1025 end 1028 total 1066           clock   60.0Hz
  1440x900 (0xb4)  106.5MHz +HSync -VSync
        h: width  1440 start 1520 end 1672 total 1904 skew    0 clock   55.9KHz
        v: height  900 start  903 end  909 total  934           clock   59.9Hz
  1280x960 (0xce)  129.9MHz +HSync -VSync
        h: width  1280 start 1368 end 1504 total 1728 skew    0 clock   75.2KHz
        v: height  960 start  961 end  964 total 1002           clock   75.0Hz
  1280x960 (0xb5)  108.0MHz -HSync -VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock   60.0KHz
        v: height  960 start  961 end  964 total 1000           clock   60.0Hz
  1360x768 (0xcf)   84.7MHz +HSync -VSync
        h: width  1360 start 1424 end 1568 total 1776 skew    0 clock   47.7KHz
        v: height  768 start  769 end  772 total  795           clock   60.0Hz
  1280x800 (0xd0)  107.2MHz +HSync -VSync
        h: width  1280 start 1360 end 1496 total 1712 skew    0 clock   62.6KHz
        v: height  800 start  801 end  804 total  835           clock   75.0Hz
  1280x800 (0xb7)   83.5MHz +HSync -VSync
        h: width  1280 start 1344 end 1480 total 1680 skew    0 clock   49.7KHz
        v: height  800 start  801 end  804 total  828           clock   60.0Hz
  1152x864 (0xd1)  108.0MHz -HSync -VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock   67.5KHz
        v: height  864 start  865 end  868 total  900           clock   75.0Hz
  1152x864 (0xb8)   81.6MHz +HSync -VSync
        h: width  1152 start 1216 end 1336 total 1520 skew    0 clock   53.7KHz
        v: height  864 start  865 end  868 total  895           clock   60.0Hz
  1280x768 (0xd2)  102.2MHz +HSync -VSync
        h: width  1280 start 1360 end 1488 total 1696 skew    0 clock   60.3KHz
        v: height  768 start  771 end  778 total  805           clock   74.9Hz
  1280x768 (0xb9)   79.5MHz +HSync -VSync
        h: width  1280 start 1344 end 1472 total 1664 skew    0 clock   47.8KHz
        v: height  768 start  771 end  778 total  798           clock   59.9Hz
  1280x720 (0xba)   74.2MHz -HSync -VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock   45.0KHz
        v: height  720 start  725 end  730 total  750           clock   60.0Hz
  1024x768 (0xbc)   78.8MHz -HSync -VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock   60.0KHz
        v: height  768 start  769 end  772 total  800           clock   75.0Hz
  1024x768 (0xbe)   65.0MHz +HSync +VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  800x600 (0xc2)   49.5MHz -HSync -VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock   46.9KHz
        v: height  600 start  601 end  604 total  625           clock   75.0Hz
  800x600 (0xc3)   40.0MHz -HSync -VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  720x480 (0xd3)   26.7MHz +HSync -VSync
        h: width   720 start  736 end  808 total  896 skew    0 clock   29.8KHz
        v: height  480 start  481 end  484 total  497           clock   60.0Hz
  640x480 (0xc9)   31.5MHz +HSync +VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock   37.5KHz
        v: height  480 start  481 end  484 total  500           clock   75.0Hz
  640x480 (0xd4)   25.2MHz +HSync +VSync
        h: width   640 start  648 end  744 total  800 skew    0 clock   31.5KHz
        v: height  480 start  482 end  484 total  525           clock   60.0Hz
CRT1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x97
        Timestamp:  75541
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        SignalFormat:   VGA
        ConnectorType:  DVI-I
CRT2 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x98
        Timestamp:  75541
        Subpixel:   unknown
        Clones:    
        CRTCs:      0
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        SignalFormat:   VGA
        ConnectorType:  VGA
 

========================Outputs=================================== 

KScreen version:  1.0.1 
Screen: 
        maxSize: QSize(1920, 1920) 
        minSize: QSize(320, 200) 
        currentSize: QSize(1920, 1080) 

-----------------------------------------------------
 
Id:  149 
Name:  "DFP1" 
Type:  "HDMI" 
Connected:  true 
Enabled:  true 
Primary:  false 
Rotation:  1 
Pos:  QPoint(0,0) 
Size:  QSize(1920, 1080) 
Clones:  None 
Mode:  "153" 
Preferred Mode:  "153" 
Preferred modes:  ("153", "154", "155", "156", "157", "158", "159", "160", "161", "162", "163", "164", "165", "166") 
Modes:  
         "170"    "1920x1080"   QSize(1920, 1080)   24 
         "171"    "1600x1200"   QSize(1600, 1200)   60 
         "172"    "1776x1000"   QSize(1776, 1000)   59.9989 
         "173"    "1776x1000"   QSize(1776, 1000)   29.9996 
         "174"    "1776x1000"   QSize(1776, 1000)   24.9973 
         "175"    "1680x1050"   QSize(1680, 1050)   59.9543 
         "176"    "1400x1050"   QSize(1400, 1050)   59.9784 
         "177"    "1600x900"   QSize(1600, 900)   60 
         "178"    "1360x1024"   QSize(1360, 1024)   60.0019 
         "179"    "1280x1024"   QSize(1280, 1024)   60.0197 
         "200"    "720x480"   QSize(720, 480)   50 
         "201"    "640x480"   QSize(640, 480)   75 
         "202"    "640x480"   QSize(640, 480)   72.8088 
         "203"    "640x480"   QSize(640, 480)   60 
         "204"    "640x480"   QSize(640, 480)   49.9897 
         "180"    "1440x900"   QSize(1440, 900)   59.8874 
         "181"    "1280x960"   QSize(1280, 960)   60 
         "182"    "1360x768"   QSize(1360, 768)   60.0152 
         "183"    "1280x800"   QSize(1280, 800)   59.9983 
         "184"    "1152x864"   QSize(1152, 864)   59.9971 
         "185"    "1280x768"   QSize(1280, 768)   59.8702 
         "186"    "1280x720"   QSize(1280, 720)   60 
         "187"    "1280x720"   QSize(1280, 720)   50 
         "188"    "1024x768"   QSize(1024, 768)   75.0286 
         "189"    "1024x768"   QSize(1024, 768)   70.0694 
         "190"    "1024x768"   QSize(1024, 768)   60.0038 
         "191"    "1152x648"   QSize(1152, 648)   59.9931 
         "192"    "1152x648"   QSize(1152, 648)   49.9922 
         "193"    "800x600"   QSize(800, 600)   72.1876 
         "194"    "800x600"   QSize(800, 600)   75 
         "195"    "800x600"   QSize(800, 600)   60.3165 
         "153"    "1920x1080"   QSize(1920, 1080)   50 
         "196"    "800x600"   QSize(800, 600)   56.25 
         "154"    "1776x1000"   QSize(1776, 1000)   49.997 
         "197"    "800x600"   QSize(800, 600)   49.9884 
         "155"    "1680x1050"   QSize(1680, 1050)   49.997 
         "198"    "720x576"   QSize(720, 576)   50 
         "156"    "1400x1050"   QSize(1400, 1050)   49.9978 
         "199"    "720x480"   QSize(720, 480)   60.0067 
         "157"    "1600x900"   QSize(1600, 900)   49.9975 
         "158"    "1360x1024"   QSize(1360, 1024)   49.9956 
         "159"    "1280x1024"   QSize(1280, 1024)   49.9949 
         "160"    "1440x900"   QSize(1440, 900)   49.9975 
         "161"    "1280x960"   QSize(1280, 960)   49.9988 
         "162"    "1360x768"   QSize(1360, 768)   49.9943 
         "163"    "1280x800"   QSize(1280, 800)   49.995 
         "164"    "1152x864"   QSize(1152, 864)   49.9979 
         "165"    "1280x768"   QSize(1280, 768)   49.9936 
         "166"    "1024x768"   QSize(1024, 768)   50.0004 
         "167"    "1920x1080"   QSize(1920, 1080)   60 
         "168"    "1920x1080"   QSize(1920, 1080)   30 
         "169"    "1920x1080"   QSize(1920, 1080)   25 
EDID Info:  
        Device ID:  "xrandr-SHARP HDMI" 
        Name:  "SHARP HDMI" 
        Vendor:  "" 
        Serial:  "" 
        EISA ID:  "" 
        Hash:  "3479f0100f35c2243d16b922c6618874" 
        Width:  82 
        Height:  46 
        Gamma:  2 
        Red:  QQuaternion(scalar:1, vector:(0.632812, 0.332031, 0)) 
        Green:  QQuaternion(scalar:1, vector:(0.205078, 0.702148, 0)) 
        Blue:  QQuaternion(scalar:1, vector:(0.150391, 0.0810547, 0)) 
        White:  QQuaternion(scalar:1, vector:(0.291992, 0.322266, 0)) 

-----------------------------------------------------
 
Id:  150 
Name:  "DFP2" 
Type:  "Invalid Type" 
Connected:  true 
Enabled:  true 
Primary:  false 
Rotation:  1 
Pos:  QPoint(0,0) 
Size:  QSize(1920, 1080) 
Clones:  None 
Mode:  "167" 
Preferred Mode:  "167" 
Preferred modes:  ("167", "172") 
Modes:  
         "201"    "640x480"   QSize(640, 480)   75 
         "194"    "800x600"   QSize(800, 600)   75 
         "195"    "800x600"   QSize(800, 600)   60.3165 
         "205"    "1280x1024"   QSize(1280, 1024)   75.0247 
         "172"    "1776x1000"   QSize(1776, 1000)   59.9989 
         "206"    "1280x960"   QSize(1280, 960)   75.0005 
         "207"    "1360x768"   QSize(1360, 768)   59.9963 
         "208"    "1280x800"   QSize(1280, 800)   74.9972 
         "175"    "1680x1050"   QSize(1680, 1050)   59.9543 
         "209"    "1152x864"   QSize(1152, 864)   75 
         "176"    "1400x1050"   QSize(1400, 1050)   59.9784 
         "177"    "1600x900"   QSize(1600, 900)   60 
         "178"    "1360x1024"   QSize(1360, 1024)   60.0019 
         "179"    "1280x1024"   QSize(1280, 1024)   60.0197 
         "210"    "1280x768"   QSize(1280, 768)   74.8931 
         "211"    "720x480"   QSize(720, 480)   59.9804 
         "212"    "640x480"   QSize(640, 480)   59.9524 
         "180"    "1440x900"   QSize(1440, 900)   59.8874 
         "181"    "1280x960"   QSize(1280, 960)   60 
         "183"    "1280x800"   QSize(1280, 800)   59.9983 
         "184"    "1152x864"   QSize(1152, 864)   59.9971 
         "185"    "1280x768"   QSize(1280, 768)   59.8702 
         "186"    "1280x720"   QSize(1280, 720)   60 
         "188"    "1024x768"   QSize(1024, 768)   75.0286 
         "167"    "1920x1080"   QSize(1920, 1080)   60 
         "190"    "1024x768"   QSize(1024, 768)   60.0038 
EDID Info:  
        Device ID:  "xrandr-G2420HDBL-BB900006SL00" 
        Name:  "G2420HDBL" 
        Vendor:  "" 
        Serial:  "BB900006SL00" 
        EISA ID:  "" 
        Hash:  "2774909793f7c766e38b022de273e3d6" 
        Width:  53 
        Height:  29 
        Gamma:  2 
        Red:  QQuaternion(scalar:1, vector:(0.649414, 0.335938, 0)) 
        Green:  QQuaternion(scalar:1, vector:(0.289062, 0.609375, 0)) 
        Blue:  QQuaternion(scalar:1, vector:(0.146484, 0.0703125, 0)) 
        White:  QQuaternion(scalar:1, vector:(0.313477, 0.329102, 0)) 

-----------------------------------------------------
 
Id:  151 
Name:  "CRT1" 
Type:  "Invalid Type" 
Connected:  false 

-----------------------------------------------------
 
Id:  152 
Name:  "CRT2" 
Type:  "VGA" 
Connected:  false 

========================Configurations============================ 

Configs in:  "/home/hyde/.kde4/share/apps/kscreen/" 
Number of files:  0
Comment 3 Daniel Vrátil 2013-09-09 13:33:13 UTC
Is this a laptop and an external monitor, or a PC with two external monitors? 

UPower reports that this is a laptop, so KScreen will try to apply laptop config but fails, because DFP1 nor DFP2 are detected as laptop panels, and so things go crazy and KScreen crashes :) And it's not clear from the output what they are :)

Can you also paste output from  "qdbus --system org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.LidIsPresent" ? Thanks.
Comment 4 ipomo 2013-09-09 14:28:15 UTC
It's a PC with two external monitors.

:~> qdbus --system org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.LidIsPresent
false
Comment 5 Christoph Feck 2013-09-20 21:25:55 UTC
Daniel, does comment #4 provide the requested information? Please set the bug status.
Comment 6 Daniel Vrátil 2013-10-04 08:17:36 UTC
Thanks
Comment 7 Daniel Vrátil 2013-10-18 08:49:25 UTC
Git commit d7d359b9ec01bf76af788589843e5b9a1a33f74a by Dan Vrátil.
Committed on 09/09/2013 at 13:14.
Pushed by dvratil into branch 'master'.

Don't crash when there's no embedded output (i.e. when not running on laptop)
FIXED-IN: 1.0.2

M  +3    -1    kded/generator.cpp

http://commits.kde.org/kscreen/d7d359b9ec01bf76af788589843e5b9a1a33f74a
Comment 8 Daniel Vrátil 2013-10-18 09:21:33 UTC
Reopening, I pushed the fix accidentally. It does not really solve the problem, so we need to take another look.
Comment 9 Jekyll Wu 2013-10-29 07:19:15 UTC
*** Bug 326807 has been marked as a duplicate of this bug. ***
Comment 10 Jekyll Wu 2013-10-29 07:19:17 UTC
*** Bug 324674 has been marked as a duplicate of this bug. ***
Comment 11 Jekyll Wu 2013-10-29 07:21:20 UTC
*** Bug 326513 has been marked as a duplicate of this bug. ***
Comment 12 Jekyll Wu 2013-10-29 07:21:23 UTC
*** Bug 325321 has been marked as a duplicate of this bug. ***
Comment 13 Jekyll Wu 2013-10-29 07:22:10 UTC
*** Bug 325023 has been marked as a duplicate of this bug. ***
Comment 14 Jekyll Wu 2013-11-02 12:57:07 UTC
*** Bug 327031 has been marked as a duplicate of this bug. ***
Comment 15 Stan 2013-11-03 03:01:53 UTC
This bug makes my kubuntu laptop with multiple users unusable. Should be raised to critical.
Can anybody advise any workaround... I don't want to switch to unity or I might like it...
Comment 16 andor734 2013-11-03 03:04:06 UTC
Problem was fixed by uninstalling ati graphics drivers and reconfiguration
x.org
On 03/11/2013 2:02 PM, "Stan" <sutasu@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=323923
>
> Stan <sutasu@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |sutasu@gmail.com
>
> --- Comment #15 from Stan <sutasu@gmail.com> ---
> This bug makes my kubuntu laptop with multiple users unusable. Should be
> raised
> to critical.
> Can anybody advise any workaround... I don't want to switch to unity or I
> might
> like it...
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
>
Comment 17 ipomo 2013-11-08 14:03:00 UTC
(In reply to comment #16)
How do you reconfigure x.org? Thought it was configured automatically with every start of the x-server since xorg.conf is not used anymore.

> Problem was fixed by uninstalling ati graphics drivers and reconfiguration
> x.org
> On 03/11/2013 2:02 PM, "Stan" <sutasu@gmail.com> wrote:
> 
> > https://bugs.kde.org/show_bug.cgi?id=323923
> >
> > Stan <sutasu@gmail.com> changed:
> >
> >            What    |Removed                     |Added
> >
> > ----------------------------------------------------------------------------
> >                  CC|                            |sutasu@gmail.com
> >
> > --- Comment #15 from Stan <sutasu@gmail.com> ---
> > This bug makes my kubuntu laptop with multiple users unusable. Should be
> > raised
> > to critical.
> > Can anybody advise any workaround... I don't want to switch to unity or I
> > might
> > like it...
> >
> > --
> > You are receiving this mail because:
> > You are on the CC list for the bug.
> >
Comment 18 Alex Fiestas 2013-11-13 16:37:15 UTC
Git commit 25644822d7e24422b10e9fc826aca9e9d4c98cf7 by Àlex Fiestas.
Committed on 13/11/2013 at 15:21.
Pushed by afiestas into branch 'master'.

Add a generic cloning method that works for workstations and laptops

the new cloneOutputs method adds extra checks like making sure the
picked resolution is not bigger than the bigger allowed resolution.

M  +109  -36   kded/generator.cpp
M  +2    -0    kded/generator.h
A  +112  -0    tests/configs/workstationFallbackMode.json
M  +23   -0    tests/testgenerator.cpp

http://commits.kde.org/kscreen/25644822d7e24422b10e9fc826aca9e9d4c98cf7
Comment 19 Jekyll Wu 2013-11-15 15:04:42 UTC
*** Bug 327653 has been marked as a duplicate of this bug. ***
Comment 20 Jekyll Wu 2014-05-16 01:06:23 UTC
*** Bug 334807 has been marked as a duplicate of this bug. ***
Comment 21 Jekyll Wu 2014-05-17 15:08:27 UTC
*** Bug 334947 has been marked as a duplicate of this bug. ***
Comment 22 Jure Repinc 2014-05-19 07:54:29 UTC
I have version 1.0.4 here and I got this crash, so it looks like it is not fixed. Should I open a new bug about this or reopen this one and attach my backtrace here?
Comment 23 Jekyll Wu 2014-05-19 20:25:37 UTC
*** Bug 335040 has been marked as a duplicate of this bug. ***
Comment 24 Christoph Feck 2014-05-19 20:37:14 UTC
Reopening based on comment #22 and bug 335040, which is happening with 1.0.2.1
Comment 25 Jekyll Wu 2014-05-26 14:56:14 UTC
*** Bug 335369 has been marked as a duplicate of this bug. ***
Comment 26 Ettore Atalan 2014-05-27 00:13:32 UTC
Created attachment 86844 [details]
New crash information added by DrKonqi

kcmshell4 (4.13.1) on KDE Platform 4.13.1 using Qt 4.8.6

- What I was doing when the application crashed:

I was plugging off a second monitor and KDE reported a crash.

-- Backtrace (Reduced):
#6  0x00007f81137df7b0 in KScreen::Output::id() const () from /usr/lib/libkscreen.so.1
#7  0x00007f81135bd874 in XRandRConfig::toKScreenConfig() const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#8  0x00007f81135ba491 in XRandR::config() const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#9  0x00007f81137dbc13 in KScreen::Config::canBeApplied(KScreen::Config*) () from /usr/lib/libkscreen.so.1
#10 0x00007f81137dbbb7 in KScreen::Config::setConfig(KScreen::Config*) () from /usr/lib/libkscreen.so.1
Comment 27 Jekyll Wu 2014-05-28 00:42:47 UTC
*** Bug 335418 has been marked as a duplicate of this bug. ***
Comment 28 volnes88 2014-05-29 18:23:04 UTC
Created attachment 86901 [details]
crash information

Well kded4 is down, when i trying to disable primary screen (lvds1) on my optimus laptop with opensuse 13.1 and kde 4.13.1
Comment 29 Ettore Atalan 2014-05-31 15:14:40 UTC
Created attachment 86930 [details]
New crash information added by DrKonqi

kcmshell4 (4.13.1) on KDE Platform 4.13.1 using Qt 4.8.6

- What I was doing when the application crashed:

kcmshell4 crashed when unplugging my second monitor (television) which is connected via HDMI.

-- Backtrace (Reduced):
#6  0x00007f23b3e587b0 in KScreen::Output::id() const () from /usr/lib/libkscreen.so.1
#7  0x00007f23b3c36874 in XRandRConfig::toKScreenConfig() const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#8  0x00007f23b3c33491 in XRandR::config() const () from /usr/lib/kde4/plugins/kscreen/KSC_XRandR.so
#9  0x00007f23b3e54c13 in KScreen::Config::canBeApplied(KScreen::Config*) () from /usr/lib/libkscreen.so.1
#10 0x00007f23b3e54bb7 in KScreen::Config::setConfig(KScreen::Config*) () from /usr/lib/libkscreen.so.1
Comment 30 Jekyll Wu 2014-06-02 00:36:47 UTC
*** Bug 335646 has been marked as a duplicate of this bug. ***
Comment 31 Jekyll Wu 2014-06-05 01:48:14 UTC
*** Bug 335811 has been marked as a duplicate of this bug. ***
Comment 32 Christoph Feck 2014-06-25 17:31:09 UTC
*** Bug 336718 has been marked as a duplicate of this bug. ***
Comment 33 Jekyll Wu 2014-07-02 01:12:49 UTC
*** Bug 336925 has been marked as a duplicate of this bug. ***
Comment 34 timshel 2014-07-05 12:58:01 UTC
I have the same or similar issue each time I am using the docking station and changing via a kvm switch to the other system for the first time - so basically an external monitor disconnect.

I have a Haswell Intel GPU.

I am using KDE 4.13.2 and I can provide a full backtrace if needed.

If you need any additional information or patches to be checked let me know.
Comment 35 Christoph Feck 2014-07-07 16:13:02 UTC
*** Bug 337189 has been marked as a duplicate of this bug. ***
Comment 36 Martin van Es 2014-07-07 17:21:44 UTC
Is it possible to change the title of this bug. In no way does it resemble my bug that has been marked a duplicate of this one. I understand there may be additional evidence that the original bug was related to disconnecting the monitor, but while reporting the bug reading the title of this one as the master of all monitor disconnect bugs was quite confusing.
Comment 37 pepe333 2014-07-17 14:12:08 UTC
kde 4.13.1
I was trying to display the desktop only in HDMI-0 monitor, disabling LVDS.
When I click to apply, it returns to the previous configuration.
Comment 38 Martin van Es 2014-07-29 17:55:37 UTC
For me it's not kded4 crashing, but plasma-desktop (with SIGSEGV).
Are you sure that my report was a duplicate of this one?
Comment 39 Christoph Feck 2014-08-15 13:22:59 UTC
Yes, the crash is in libkscreen, which is used both by the KScreen Plasma applet, as well as the kscreen kded module.
Comment 40 Martin van Es 2014-08-29 15:26:52 UTC
The problem seems fixed for me in 4.14.0.