Summary: | KScreen crashes KWin when switching between resolution options | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Darin Miller <darinsmiller> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | darinsmiller, jessie |
Priority: | NOR | ||
Version: | 4.9.5 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-workspace/00a71b44b98a4d9fc96216a79c6e9236f64932d6 | Version Fixed In: | 4.10 |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
Description
Darin Miller
2013-01-27 19:44:10 UTC
Created attachment 76759 [details]
New crash information added by DrKonqi
kwin (4.9.98) on KDE Platform 4.9.98 using Qt 4.8.4
After installing KScreen, I unplugged external monitor and KWin crashed (but KWin recovered gracefully).
-- Backtrace (Reduced):
#6 0x00007f0e8f1afd06 in KWin::currentRefreshRate () at ../../kwin/options.cpp:75
#7 0x00007f0e8f1b5ff8 in KWin::Workspace::workspaceEvent (this=0x1c8d6b0, e=0x7fff0d12f530) at ../../kwin/events.cpp:469
#8 0x00007f0e8f1a7778 in KWin::Application::x11EventFilter (this=0x7fff0d12fa90, e=0x7fff0d12f530) at ../../kwin/main.cpp:362
#9 0x00007f0e895d695c in qt_x11EventFilter (ev=0x7fff0d12f530) at kernel/qapplication_x11.cpp:441
#10 qt_x11EventFilter (ev=0x7fff0d12f530) at kernel/qapplication_x11.cpp:429
rate = 1000*dotclock/(modeline.htotal*vtotal); Interesting - apparently at least interim XF86VidModeGetModeLine will return a NULL size display. Not sure whether this should happen (xf86vm is a bit older than this modern "change resolutions" stuff ;-) but we should not crash on it. Thanks for the report. Created attachment 76926 [details]
New crash information added by DrKonqi
kwin (4.9.98) on KDE Platform 4.9.98 using Qt 4.8.3
- What I was doing when the application crashed:
I close my laptop and open it, triggering a Kscreen "screens have changed" action to occur. It then crashes Kwin.
- Custom settings of the application:
I'm on a Thinkpad W510 with Nvidia Experimental 310 drivers.
-- Backtrace (Reduced):
#6 0x00007fe71490ccd6 in KWin::currentRefreshRate () at ../../kwin/options.cpp:75
#7 0x00007fe714912fd8 in KWin::Workspace::workspaceEvent (this=0x1d697e0, e=0x7fffee9220d0) at ../../kwin/events.cpp:469
#8 0x00007fe714904748 in KWin::Application::x11EventFilter (this=0x7fffee922630, e=0x7fffee9220d0) at ../../kwin/main.cpp:362
#9 0x00007fe70ed3e7bc in qt_x11EventFilter (ev=0x7fffee9220d0) at kernel/qapplication_x11.cpp:441
#10 qt_x11EventFilter (ev=0x7fffee9220d0) at kernel/qapplication_x11.cpp:429
commit 00a71b44b98a4d9fc96216a79c6e9236f64932d6 Author: Thomas Lübking <thomas.luebking@gmail.com> Date: Sun Jan 27 21:23:57 2013 +0100 catch DIV by 0 for 0 dimension from modeline BUG :313996 ^^^ meeehh - i misplaced the blank :-( We nedd vim highlighting for this =) |