Summary: | Crash when applying config - KScreen::Mode::size (this=0x0) | ||
---|---|---|---|
Product: | [Plasma] KScreen | Reporter: | Nick Leverton <nick> |
Component: | libkscreen | Assignee: | Alex Fiestas <afiestas> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aleksi.uotila, alykoshin, dvratil, martin.sandsmark |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/libkscreen/d9b3fc64ba1bf88805478cafd0545857c0eb71be | Version Fixed In: | 1.0.1 |
Sentry Crash Report: | |||
Attachments: |
Output from "kscreen-console bug" as requested
"kscreen-console bug" output after crash |
Description
Nick Leverton
2013-05-31 13:44:37 UTC
Can you please provide output from "kscreen-console bug"? Thanks Created attachment 80288 [details]
Output from "kscreen-console bug" as requested
*** Bug 320414 has been marked as a duplicate of this bug. *** *** Bug 320397 has been marked as a duplicate of this bug. *** You had both displays connected when this crash happened? has it happened anymore? More questions, was the lid of the laptop closed when this happened? Also, if anybody can reproduce this, can you do the following? 1-execute kdebugdialog and enable anything with "kded" on the name, and KSRandr 2-killall -9 kded4; kded4 --nofork (in a terminal) 3-reproduce the bug 4-grab the output and put it here. Thanks ! *** Bug 321699 has been marked as a duplicate of this bug. *** (In reply to comment #6) > 2-killall -9 kded4; kded4 --nofork (in a terminal) Crashes after this line; crash dump is about 3 MB, I can attach it if needed. ============================================================================ alykoshin@alykoshin-nb-kubuntu:~/webrtc/8-Test$ kdebugdialog QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. alykoshin@alykoshin-nb-kubuntu:~/webrtc/8-Test$ killall -9 kded4; kded4 --nofork QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. kded(31469)/kdecore (KStartupInfo) KStartupInfo::createNewStartupId: creating: "alykoshin-nb-kubuntu;1372701364;364235;31469_TIME0" : "kded4" kded(31469)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-alykoshin/ksycoca4" kded(31469) ColorD::connectToDisplay: Using XRANDR extension 1.3 or greater. kded(31469) KDEDModule::setModuleName: registerObject() successful for "colord" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "colord" kded(31469) KDEDModule::setModuleName: registerObject() successful for "dnssdwatcher" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "dnssdwatcher" kded(31469) KDEDModule::setModuleName: registerObject() successful for "powerdevil" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "powerdevil" kded(31469) KDEDModule::setModuleName: registerObject() successful for "ktimezoned" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "ktimezoned" kded(31469): BEGIN: Loading backend kded(31469)/KSRandr XRandRX11Helper::XRandRX11Helper: Detected XRandR 1.4 kded(31469)/KSRandr XRandRX11Helper::XRandRX11Helper: Event Base: 90 kded(31469)/KSRandr XRandRX11Helper::XRandRX11Helper: Event Error: 147 kded(31469) BackendLoader::init: Loading "XRandR" backend kded(31469): END__: Loading backend [Took: 0.11s] kded(31469) KDEDModule::setModuleName: registerObject() successful for "kscreen" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "kscreen" kded(31469) KDEDModule::setModuleName: registerObject() successful for "StatusNotifierWatcher" kded(31469) KDEDModule::setModuleName: registerObject() successful for "statusnotifierwatcher" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "statusnotifierwatcher" kded(31469) KDEDModule::setModuleName: registerObject() successful for "solidautoeject" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "solidautoeject" QDBusObjectPath: invalid path "" kded(31469) KDEDModule::setModuleName: registerObject() successful for "obexftpdaemon" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "obexftpdaemon" kded(31469) KDEDModule::setModuleName: registerObject() successful for "khotkeys" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "khotkeys" kded(31469) KDEDModule::setModuleName: registerObject() successful for "networkstatus" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "networkstatus" kded(31469): device list missing for company ID: "08ca" kded(31469) Wacom::DeviceHandler::detectDeviceInformation: device info not found for device ID: "0001" :: company "Toshiba" kded(31469) Wacom::DeviceHandler::detectDeviceInformation: device info not found for device ID: "0001" :: company "Unknown company" kded(31469) Wacom::DeviceHandler::detectDeviceInformation: device info not found for device ID: "0001" :: company "Waltop" kded(31469): device list missing for company ID: "17ef" kded(31469): device list missing for company ID: "1b96" kded(31469) Wacom::DeviceHandler::detectDeviceInformation: device info not found for device ID: "0001" :: company "Wacom Co., Ltd" kded(31469) Wacom::DeviceHandler::detectTablet: XInput found a device! :: "" "0001" kded(31469): unknown device backend! "" kded(31469) KDEDModule::setModuleName: registerObject() successful for "wacomtablet" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "wacomtablet" QDBusObjectPath: invalid path "/modules/muon-notifier" kded(31469): The kded module name ' "muon-notifier" ' is invalid! kded(31469)/kded4 Kded::loadModule: Successfully loaded module "muon-notifier" kded(31469) KDEDModule::setModuleName: registerObject() successful for "printmanager" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "printmanager" QDBusConnection for control created "/Mixers/PulseAudio__Playback_Devices_1/alsa_output_pci_0000_00_14_2_analog_stereo" QDBusConnection for control created "/Mixers/PulseAudio__Capture_Devices_1/alsa_input_pci_0000_00_14_2_analog_stereo" QDBusConnection for control created "/Mixers/PulseAudio__Playback_Streams_1/stream_45" kded(31469) KDEDModule::setModuleName: registerObject() successful for "kmixd" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "kmixd" kded(31469) KDEDModule::setModuleName: registerObject() successful for "notificationhelper" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "notificationhelper" kded(31469) KWrited::KWrited: listening on device /dev/pts/1 kded(31469) KDEDModule::setModuleName: registerObject() successful for "kwrited" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "kwrited" kded(31469) KDEDModule::setModuleName: registerObject() successful for "freespacenotifier" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "freespacenotifier" kded(31469) X11Helper::getGroupNames: Fetched layout groups from X server: layouts: ("us", "ru") variants: ("", "") kded(31469) Rules::readRules: Parsing xkb rules from "/usr/share/X11/xkb/rules/evdev.xml" kded(31469) RulesHandler::startElement: xkbConfigRegistry version "1.1" kded(31469)/kdecore (KLocale) KLocalizedStringPrivate::toString: Trying to convert empty KLocalizedString to QString. kded(31469)/kdecore (KLocale) KLocalizedStringPrivate::toString: Trying to convert empty KLocalizedString to QString. kded(31469)/kdecore (KLocale) KLocalizedStringPrivate::toString: Trying to convert empty KLocalizedString to QString. kded(31469) Rules::readRules: Parsing xkb rules from "/usr/share/X11/xkb/rules/evdev.extras.xml" kded(31469) mergeRules: Merged from extra rules: 12 layouts, 0 models, 0 option groups kded(31469) KeyboardDaemon::configureKeyboard: Configuring keyboard kded(31469) KeyboardConfig::load: configuring layouts true configuring options true kded(31469) X11Helper::getGroupNames: Fetched keyboard model from X server: "hpzt11xx" kded(31469) XkbHelper::runConfigLayoutCommand: Executed successfully in 130 ms "/usr/bin/setxkbmap -layout us,ru -option -option grp_led:scroll,grp:ctrl_shift_toggle" kded(31469) XkbHelper::runConfigLayoutCommand: and with xmodmap 130 ms kded(31469) X11Helper::getGroupNames: Fetched layout groups from X server: layouts: ("us", "ru") variants: ("", "") kded(31469)/kdeui (KNotification) KStatusNotifierItemDBus::KStatusNotifierItemDBus: service is "org.kde.StatusNotifierItem-31469-1" kded(31469)/kdeui (KNotification) KStatusNotifierItemPrivate::registerToDaemon: Registering a client interface to the KStatusNotifierWatcher kded(31469) StatusNotifierWatcher::RegisterStatusNotifierItem: Registering "org.kde.StatusNotifierItem-31469-1/StatusNotifierItem" to system tray kded(31469) X11Helper::getGroupNames: Fetched layout groups from X server: layouts: ("us", "ru") variants: ("", "") kded(31469) X11Helper::getGroupNames: Fetched layout groups from X server: layouts: ("us", "ru") variants: ("", "") kded(31469) X11Helper::getGroupNames: Fetched layout groups from X server: layouts: ("us", "ru") variants: ("", "") kded(31469) KeyboardLayoutActionCollection::KeyboardLayoutActionCollection: Keyboard layout toggle shortcut "Ctrl+Alt+K" kded(31469) KeyboardLayoutActionCollection::createLayoutShortcutActon: Registered layout shortcut "" for "Сменить раскладку клавиатуры на Английская (США)" lu.shortcut "" kded(31469) KeyboardLayoutActionCollection::loadLayoutShortcuts: Skipping empty shortcut for "us" kded(31469) KeyboardLayoutActionCollection::createLayoutShortcutActon: Registered layout shortcut "" for "Сменить раскладку клавиатуры на Русская" lu.shortcut "" kded(31469) KeyboardLayoutActionCollection::loadLayoutShortcuts: Skipping empty shortcut for "ru" kded(31469) KeyboardLayoutActionCollection::loadLayoutShortcuts: Cleaning component shortcuts on load true kded(31469) XInputEventNotifier::registerForNewDeviceEvent: Registered for new device events from XInput, class 81 kded(31469) isRestoreSession: loginMode: "" kded(31469) LayoutMemoryPersister::restoreFromFile: Restoring keyboard layout map from "/home/alykoshin/.kde/share/apps/kded/session/keyboard/layout_memory.xml" kded(31469) LayoutMemoryPersister::restoreFromFile: Restored layouts for 41 containers kded(31469) KDEDModule::setModuleName: registerObject() successful for "keyboard" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "keyboard" kded(31469) KDEDModule::setModuleName: registerObject() successful for "device_automounter" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "device_automounter" kded(31469) KDEDModule::setModuleName: registerObject() successful for "remotedirnotify" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "remotedirnotify" kded(31469) KDEDModule::setModuleName: registerObject() successful for "nepomuksearchmodule" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "nepomuksearchmodule" kded(31469) KDEDModule::setModuleName: registerObject() successful for "networkmanagement" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "networkmanagement" kded(31469) KDEDModule::setModuleName: registerObject() successful for "ktouchpadenabler" kded(31469)/kded4 Kded::loadModule: Successfully loaded module "ktouchpadenabler" kded(31469) KActivities::ConsumerPrivate::ConsumerPrivate: We are checking whether the service is present true kded(31469) KActivities::ConsumerPrivate::initializeCachedData: Locking mutex for currentActivity kded(31469) KActivities::ConsumerPrivate::initializeCachedData: Locking mutex for listActivities kded(31469) KActivities::ConsumerPrivate::initializeCachedData: Locking mutex for runningActivities kded(31469) PowerDevil::BackendLoader::loadBackend: Loading UPower backend... kded(31469) PowerDevil::BackendLoader::loadBackend: Success! kded(31469) KDEDPowerDevil::init: Backend loaded, loading core kded(31469) PowerDevil::Core::loadCore: Core loaded, initializing backend No outputs have backlight property Traceback (most recent call last): File "/usr/share/apport/apport-checkreports", line 17, in <module> from apport.fileutils import get_new_reports, get_new_system_reports ImportError: No module named apport.fileutils kded(31469) AutomounterSettings::setDeviceLastSeenMounted: Marking "/org/freedesktop/UDisks/devices/sda1" as lastSeenMounted: true kded(31469) DeviceAutomounter::automountDevice: Saving as "main" kded(31469) AutomounterSettings::shouldAutomountDevice: Processing "/org/freedesktop/UDisks/devices/sda1" kded(31469) AutomounterSettings::shouldAutomountDevice: type: 0 kded(31469) AutomounterSettings::shouldAutomountDevice: typeCondition: true kded(31469) AutomounterSettings::shouldAutomountDevice: automountKnownDevices: true kded(31469) AutomounterSettings::shouldAutomountDevice: deviceIsKnown: true kded(31469) AutomounterSettings::shouldAutomountDevice: AutomountEnabled: true kded(31469) AutomounterSettings::shouldAutomountDevice: Automount: false kded(31469) AutomounterSettings::shouldAutomountDevice: LastSeenMounted: true kded(31469) AutomounterSettings::shouldAutomountDevice: ShouldAutomount: true kded(31469) DeviceAutomounter::automountDevice: Mounting "/org/freedesktop/UDisks/devices/sda1" kded(31469) AutomounterSettings::setDeviceLastSeenMounted: Marking "/org/freedesktop/UDisks/devices/sda3" as lastSeenMounted: true kded(31469) DeviceAutomounter::automountDevice: Saving as "Жёсткий диск (10,5 ГиБ)" kded(31469) AutomounterSettings::shouldAutomountDevice: Processing "/org/freedesktop/UDisks/devices/sda3" kded(31469) AutomounterSettings::shouldAutomountDevice: type: 0 kded(31469) AutomounterSettings::shouldAutomountDevice: typeCondition: true kded(31469) AutomounterSettings::shouldAutomountDevice: automountKnownDevices: true kded(31469) AutomounterSettings::shouldAutomountDevice: deviceIsKnown: true kded(31469) AutomounterSettings::shouldAutomountDevice: AutomountEnabled: true kded(31469) AutomounterSettings::shouldAutomountDevice: Automount: false kded(31469) AutomounterSettings::shouldAutomountDevice: LastSeenMounted: true kded(31469) AutomounterSettings::shouldAutomountDevice: ShouldAutomount: true kded(31469) DeviceAutomounter::automountDevice: Mounting "/org/freedesktop/UDisks/devices/sda3" kded(31469) AutomounterSettings::setDeviceLastSeenMounted: Marking "/org/freedesktop/UDisks/devices/sda6" as lastSeenMounted: true kded(31469) DeviceAutomounter::automountDevice: Saving as "DATA" kded(31469) AutomounterSettings::shouldAutomountDevice: Processing "/org/freedesktop/UDisks/devices/sda6" kded(31469) AutomounterSettings::shouldAutomountDevice: type: 0 kded(31469) AutomounterSettings::shouldAutomountDevice: typeCondition: true kded(31469) AutomounterSettings::shouldAutomountDevice: automountKnownDevices: true kded(31469) AutomounterSettings::shouldAutomountDevice: deviceIsKnown: true kded(31469) AutomounterSettings::shouldAutomountDevice: AutomountEnabled: true kded(31469) AutomounterSettings::shouldAutomountDevice: Automount: false kded(31469) AutomounterSettings::shouldAutomountDevice: LastSeenMounted: true kded(31469) AutomounterSettings::shouldAutomountDevice: ShouldAutomount: true kded(31469) DeviceAutomounter::automountDevice: Mounting "/org/freedesktop/UDisks/devices/sda6" kded(31469) AutomounterSettings::setDeviceLastSeenMounted: Marking "/org/freedesktop/UDisks/devices/sda7" as lastSeenMounted: true kded(31469) DeviceAutomounter::automountDevice: Saving as "boot" kded(31469) AutomounterSettings::shouldAutomountDevice: Processing "/org/freedesktop/UDisks/devices/sda7" kded(31469) AutomounterSettings::shouldAutomountDevice: type: 0 kded(31469) AutomounterSettings::shouldAutomountDevice: typeCondition: true kded(31469) AutomounterSettings::shouldAutomountDevice: automountKnownDevices: true kded(31469) AutomounterSettings::shouldAutomountDevice: deviceIsKnown: true kded(31469) AutomounterSettings::shouldAutomountDevice: AutomountEnabled: true kded(31469) AutomounterSettings::shouldAutomountDevice: Automount: false kded(31469) AutomounterSettings::shouldAutomountDevice: LastSeenMounted: true kded(31469) AutomounterSettings::shouldAutomountDevice: ShouldAutomount: true kded(31469) DeviceAutomounter::automountDevice: Mounting "/org/freedesktop/UDisks/devices/sda7" kded(31469) AutomounterSettings::setDeviceLastSeenMounted: Marking "/org/freedesktop/UDisks/devices/sdc1" as lastSeenMounted: true kded(31469) DeviceAutomounter::automountDevice: Saving as "EXTDATA32" kded(31469) AutomounterSettings::shouldAutomountDevice: Processing "/org/freedesktop/UDisks/devices/sdc1" kded(31469) AutomounterSettings::shouldAutomountDevice: type: 0 kded(31469) AutomounterSettings::shouldAutomountDevice: typeCondition: true kded(31469) AutomounterSettings::shouldAutomountDevice: automountKnownDevices: true kded(31469) AutomounterSettings::shouldAutomountDevice: deviceIsKnown: true kded(31469) AutomounterSettings::shouldAutomountDevice: AutomountEnabled: true kded(31469) AutomounterSettings::shouldAutomountDevice: Automount: false kded(31469) AutomounterSettings::shouldAutomountDevice: LastSeenMounted: true kded(31469) AutomounterSettings::shouldAutomountDevice: ShouldAutomount: true kded(31469) DeviceAutomounter::automountDevice: Mounting "/org/freedesktop/UDisks/devices/sdc1" kded(31469)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: kded(31469) X11Helper::getGroupNames: Fetched layout groups from X server: layouts: ("us", "ru") variants: ("", "") kded(31469) KAuth::Polkit1Backend::preAuthAction: kded(31469) KAuth::Polkit1Backend::preAuthAction: Parent widget does not exist, skipping kded(31469) KActivities::ConsumerPrivate::currentActivityCallFinished: Unlocked mutex kded(31469) KActivities::ConsumerPrivate::listActivitiesCallFinished: Unlocked mutex kded(31469) KActivities::ConsumerPrivate::runningActivitiesCallFinished: Unlocked mutex kded(31469) StatusNotifierWatcher::RegisterStatusNotifierItem: Registering "org.kde.StatusNotifierItem-14265-1/StatusNotifierItem" to system tray kded(31469) StatusNotifierWatcher::RegisterStatusNotifierItem: Registering "org.kde.StatusNotifierItem-13921-1/StatusNotifierItem" to system tray kded(31469) KScreenDaemon::applyConfig: Applying config kded(31469) Serializer::currentId: Part of the Id: "4274f35b524aebf3e5cb52c024e5143a" kded(31469) Serializer::currentId: Part of the Id: "3d9075b73c5b54a13af9048acadab6d8" kded(31469) KScreenDaemon::applyKnownConfig: Applying known config kded(31469) Serializer::currentId: Part of the Id: "4274f35b524aebf3e5cb52c024e5143a" kded(31469) Serializer::currentId: Part of the Id: "3d9075b73c5b54a13af9048acadab6d8" kded(31469) Serializer::findOutput: Finding a mode with: kded(31469) Serializer::findOutput: QSize(1920, 1080) kded(31469) Serializer::findOutput: "60" kded(31469) Serializer::findOutput: Found: "1327" "1920x1080" kded(31469) Serializer::findOutput: Finding a mode with: kded(31469) Serializer::findOutput: QSize(1280, 800) kded(31469) Serializer::findOutput: "59.976" kded(31469) Serializer::findOutput: Found: "106" "1280x800" kded(31469)/KSRandr: BEGIN: Applying KScreen Config kded(31469)/KSRandr : BEGIN: Calculating screen size kded(31469)/KSRandr XRandRConfig::screenSize: Output: "VGA-0" Size: QSize(1920, 1080) Pos: QPoint(1280,0) kded(31469)/KSRandr XRandRConfig::screenSize: Disabled/Disconnected output: "DIN" kded(31469)/KSRandr XRandRConfig::screenSize: Output: "LVDS" Size: QSize(1280, 800) Pos: QPoint(0,0) kded(31469)/KSRandr XRandRConfig::screenSize: Requested screen size is QSize(3200, 1080) kded(31469)/KSRandr : END__: Calculating screen size [Took: 0s] kded(31469)/KSRandr XRandR::outputCrtc: Output 81 has CRTC 79 KCrash: Attempting to start /usr/bin/kded4 from kdeinit sock_file=/home/alykoshin/.kde/socket-alykoshin-nb-kubuntu/kdeinit4__0 KCrash: Application 'kded4' crashing... KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit sock_file=/home/alykoshin/.kde/socket-alykoshin-nb-kubuntu/kdeinit4__0 [1]+ Остановлено kded4 --nofork alykoshin@alykoshin-nb-kubuntu:~/webrtc/8-Test$ Created attachment 80884 [details]
"kscreen-console bug" output after crash
(In reply to comment #9) > Created attachment 80884 [details] > "kscreen-console bug" output after crash And after unsuccessful "killall -9 kded4; kded4 --nofork" Git commit d9b3fc64ba1bf88805478cafd0545857c0eb71be by Àlex Fiestas. Committed on 25/07/2013 at 20:50. Pushed by afiestas into branch 'master'. Use the information from currentOutput, not from the unapplied config Before this patch, we were looking for the size of the current Mode in the Output object of the config that is passed to Config::setConfig which either can or can't have the wanted Mode. This has been kinda working so far because and ONLY because in Generator (from kscreen/kded) we use the currentConfig as the base for the config that we are generating, so all modes are included. CCMAIL: dvratil@redhat.com Related: bug 321708, bug 321699 FIXED-IN: 1.0.1 M +1 -1 backends/xrandr/xrandrconfig.cpp M +5 -0 backends/xrandr/xrandrmode.cpp M +1 -0 backends/xrandr/xrandrmode.h M +10 -0 backends/xrandr/xrandroutput.cpp M +1 -0 backends/xrandr/xrandroutput.h http://commits.kde.org/libkscreen/d9b3fc64ba1bf88805478cafd0545857c0eb71be |