| Summary: | error when opening laptop | ||
|---|---|---|---|
| Product: | [Plasma] KScreen | Reporter: | David Lang <david> |
| Component: | kded | Assignee: | Daniel Vrátil <dvratil> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | cfeck, dvratil |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 1.0.1 | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/kscreen/9a4f36f6973d6f9d712b6b3b1ff30f868d9910b9 | Version Fixed/Implemented In: | 5.2.2 |
| Sentry Crash Report: | |||
|
Description
David Lang
2013-10-23 12:42:18 UTC
What is your version of kscreen (or libkscreen?) /usr/lib/libkscreen.so.1.0.1 root@dlang-laptop:/home/dlang# dpkg -l |grep kscreen ii kscreen 1.0.1-0ubuntu1 amd64 KDE monitor hotplug and screen handling ii kscreen-dbg 1.0.1-0ubuntu1 amd64 KDE monitor hotplug and screen handling, debug info ii libkscreen-dbg 1.0.1-0ubuntu1 amd64 library for screen management - debug info rc libkscreen0 0.0.92-0ubuntu0.1 amd64 library for screen management - shared library ii libkscreen1 1.0.1-0ubuntu1 amd64 library for screen management - shared library ii libkscreensaver5 4:4.11.2-0ubuntu1 amd64 library of the KDE Screensaver system For some reason your laptop is sending the signal "Display switch" which makes us try to re-configure your screen. Can you reproduce the crash everytime? if so, could you attach "kscreen-console bug" ? Thanks ! with one of the updates, this has stopped happening.
here is the output of kscreen-console bug
START
This backend is only for XRandR 1.1, your version is: 1 . 3
Config::current() took 9 milliseconds
========================xrandr --verbose==========================
Screen 0: minimum 8 x 8, current 1680 x 1050, maximum 8192 x 8192
VGA-0 disconnected (normal left inverted right x axis y axis)
Identifier: 0x249
Timestamp: 31199
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:
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: VGA
supported: VGA
ConnectorType: VGA
ConnectorNumber: 1
_ConnectorLocation: 1
LVDS-0 connected primary 1680x1050+0+0 (0x24b) normal (normal left inverted right x axis y axis) 331mm x 207mm
Identifier: 0x24a
Timestamp: 31199
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:
Backlight: 100
range: (0, 100)
EDID:
00ffffffffffff00244d872800000000
000f0103802115780acd7591554f8b26
21505400000001010101010101010101
010101010101a82f90e0601a10402040
13004bcf10000019b72790e0601a1040
204013004bcf100000190000000f00b3
0a32b30a281401004ca35833000000fe
004c544e31353450322d4c30350a00a7
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: LVDS
supported: LVDS
ConnectorType: Panel
ConnectorNumber: 0
_ConnectorLocation: 0
1680x1050 (0x24b) 122.0MHz -HSync -VSync *current +preferred
h: width 1680 start 1712 end 1776 total 1904 skew 0 clock 64.1KHz
v: height 1050 start 1051 end 1054 total 1066 clock 60.1Hz
1680x1050 (0x24c) 101.7MHz -HSync -VSync
h: width 1680 start 1712 end 1776 total 1904 skew 0 clock 53.4KHz
v: height 1050 start 1051 end 1054 total 1066 clock 50.1Hz
DVI-D-0 disconnected (normal left inverted right x axis y axis)
Identifier: 0x24d
Timestamp: 31199
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:
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: TMDS
supported: TMDS
ConnectorType: DVI-D
ConnectorNumber: 2
_ConnectorLocation: 2
========================Outputs===================================
KScreen version: 1.0.1
Screen:
maxSize: QSize(8192, 8192)
minSize: QSize(8, 8)
currentSize: QSize(1680, 1050)
-----------------------------------------------------
Id: 585
Name: "VGA-0"
Type: "VGA"
Connected: false
-----------------------------------------------------
Id: 586
Name: "LVDS-0"
Type: "Panel (Laptop)"
Connected: true
Enabled: true
Primary: true
Rotation: 1
Pos: QPoint(0,0)
Size: QSize(1680, 1050)
Clones: None
Mode: "587"
Preferred Mode: "587"
Preferred modes: ("587")
Modes:
"587" "1680x1050" QSize(1680, 1050) 60.1085
"588" "1680x1050" QSize(1680, 1050) 50.092
EDID Info:
Device ID: "xrandr-IBM Brasil"
Name: ""
Vendor: "IBM Brasil"
Serial: ""
EISA ID: "LTN154P2-L05"
Hash: "e1865128c7cd5e5ed49ecfc8102f6f9c"
Width: 33
Height: 21
Gamma: 2
Red: QQuaternion(scalar:1, vector:(0.569336, 0.332031, 0))
Green: QQuaternion(scalar:1, vector:(0.311523, 0.543945, 0))
Blue: QQuaternion(scalar:1, vector:(0.149414, 0.131836, 0))
White: QQuaternion(scalar:1, vector:(0.313477, 0.329102, 0))
-----------------------------------------------------
Id: 589
Name: "DVI-D-0"
Type: "Invalid Type"
Connected: false
========================Configurations============================
Configs in: "/home/dlang/.kde/share/apps/kscreen/"
Number of files: 5
"0dfbb19cd0d48c5ec26951d21d477f13"
"[
{
"enabled" : true,
"id" : "7004fa53d6644e9a21281d529d445e35",
"metadata" : {
"fullname" : "xrandr-Tandberg-C60",
"name" : "VGA-0"
},
"mode" : {
"refresh" : 60.0,
"size" : {
"height" : 1080,
"width" : 1920
}
},
"pos" : {
"x" : 1680,
"y" : 0
},
"primary" : false,
"rotation" : 1
},
{
"enabled" : true,
"id" : "e1865128c7cd5e5ed49ecfc8102f6f9c",
"metadata" : {
"fullname" : "xrandr-IBM Brasil",
"name" : "LVDS-0"
},
"mode" : {
"refresh" : 60.1085,
"size" : {
"height" : 1050,
"width" : 1680
}
},
"pos" : {
"x" : 0,
"y" : 0
},
"primary" : true,
"rotation" : 1
}
]"
"2ef03ac65640009d076c964043031d1f"
"[
{
"enabled" : true,
"id" : "e1865128c7cd5e5ed49ecfc8102f6f9c",
"metadata" : {
"fullname" : "xrandr-IBM Brasil",
"name" : "LVDS-0"
},
"mode" : {
"refresh" : 60.1085,
"size" : {
"height" : 1050,
"width" : 1680
}
},
"pos" : {
"x" : 0,
"y" : 0
},
"primary" : true,
"rotation" : 1
}
]"
"54ab43ff0185eed8ebfb6e684291bf48"
"[
{
"enabled" : true,
"id" : "VGA-0",
"metadata" : {
"name" : "VGA-0"
},
"mode" : {
"refresh" : 60.0,
"size" : {
"height" : 1080,
"width" : 1920
}
},
"pos" : {
"x" : 1680,
"y" : 0
},
"primary" : false,
"rotation" : 1
},
{
"enabled" : true,
"id" : "e1865128c7cd5e5ed49ecfc8102f6f9c",
"metadata" : {
"fullname" : "xrandr-IBM Brasil",
"name" : "LVDS-0"
},
"mode" : {
"refresh" : 60.1085,
"size" : {
"height" : 1050,
"width" : 1680
}
},
"pos" : {
"x" : 0,
"y" : 0
},
"primary" : true,
"rotation" : 1
}
]"
"617e89b9947db45509ea33bb671d25af"
"[
{
"enabled" : true,
"id" : "e1865128c7cd5e5ed49ecfc8102f6f9c",
"metadata" : {
"fullname" : "xrandr-IBM Brasil",
"name" : "LVDS-0"
},
"mode" : {
"refresh" : 60.1085,
"size" : {
"height" : 1050,
"width" : 1680
}
},
"pos" : {
"x" : 0,
"y" : 0
},
"primary" : true,
"rotation" : 1
},
{
"enabled" : false,
"id" : "bd0f657fc93d058cd463fa124cf83488",
"metadata" : {
"fullname" : "xrandr-E3D420VX-UKLWAM010000",
"name" : "VGA-0"
},
"pos" : {
"x" : 1680,
"y" : 0
},
"primary" : false,
"rotation" : 1
}
]"
"da112c7bf6c1efc440d4a20f7ee7989c"
"[
{
"enabled" : false,
"id" : "023907d071906348dc641916a3ad1af5",
"metadata" : {
"fullname" : "xrandr-Lenovo Group Limited-LEN D221 Wid-V1C2889",
"name" : "VGA-0"
},
"pos" : {
"x" : 0,
"y" : 0
},
"primary" : false,
"rotation" : 1
},
{
"enabled" : true,
"id" : "e1865128c7cd5e5ed49ecfc8102f6f9c",
"metadata" : {
"fullname" : "xrandr-IBM Brasil",
"name" : "LVDS-0"
},
"mode" : {
"refresh" : 60.1085,
"size" : {
"height" : 1050,
"width" : 1680
}
},
"pos" : {
"x" : 0,
"y" : 0
},
"primary" : true,
"rotation" : 1
}
]"
Alex, does comment #4 provide the requested information? Please set the bug status. No reply, changing status. Git commit 9a4f36f6973d6f9d712b6b3b1ff30f868d9910b9 by Dan Vrátil. Committed on 06/03/2015 at 13:30. Pushed by dvratil into branch 'Plasma/5.2'. KDED: Make Generator maximally fool-proof This change adds lots of checks (and asserts for devs) on validity of the configs, outputs and modes and makes sure that we never try to dereference a null pointer from outputs or modes. Also renames some variables to make the code cleaner and easier to understand. Related: bug 326120, bug 327075, bug 33716 FIXED-IN: 5.2.2 M +183 -84 kded/generator.cpp M +9 -7 kded/generator.h http://commits.kde.org/kscreen/9a4f36f6973d6f9d712b6b3b1ff30f868d9910b9 |