[kwin] [Bug 413758] KWin_wayland crashes when an external display is unplugged

2020-04-07 Thread Chris
https://bugs.kde.org/show_bug.cgi?id=413758

Chris  changed:

   What|Removed |Added

 CC||inkbottle...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 413758] KWin_wayland crashes when an external display is unplugged

2020-02-23 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=413758

--- Comment #7 from madc...@atlas.cz ---
I just checked with KWin 5.18.1 and while it does not seem to actually crash,
current behavior still results in a useless system once the external screen
gets disconnected. It now behaves like this:

1) Start with no external screens connected, OK
2) Connect external screen, OK
3) Output moves to external screen, internal screen gets disabled, OK
4) Disconnect external screen
5) Internal screen stays dark and there is no way how to resurrect the machine
bar killing KWin an restarting the whole session.

I tried to attach gdb to KWin when it gets into this state but I don't think
the output is particularly useful:

(gdb) bt
#0  0x7f9d9ca87bb6 in ppoll () at /usr/lib/libc.so.6
#1  0x7f9d9d065f73 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
() at /usr/lib/libQt5Core.so.5
#2  0x7f9d9d06763d in
QEventDispatcherUNIX::processEvents(QFlags) ()
at /usr/lib/libQt5Core.so.5
#3  0x7f9d95dd0e8e in
QUnixEventDispatcherQPA::processEvents(QFlags)
() at /usr/lib/qt/plugins/platforms/KWinQpaPlugin.so
#4  0x7f9d9d0104cc in
QEventLoop::exec(QFlags) () at
/usr/lib/libQt5Core.so.5
#5  0x7f9d9d0184d6 in QCoreApplication::exec() () at
/usr/lib/libQt5Core.so.5
#6  0x56375e44931c in main(int, char**) (argc=,
argv=) at
/home/madcat/abs/kwin/trunk/src/kwin-5.18.1/main_wayland.cpp:676

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 413758] KWin_wayland crashes when an external display is unplugged

2020-01-08 Thread Roman Gilg
https://bugs.kde.org/show_bug.cgi?id=413758

Roman Gilg  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://commits.kde.org/kwi
   ||n/2632e4182c658178af82be175
   ||575b094002468af
 Status|REPORTED|RESOLVED

--- Comment #6 from Roman Gilg  ---
Git commit 2632e4182c658178af82be175575b094002468af by Roman Gilg.
Committed on 08/01/2020 at 09:12.
Pushed by romangilg into branch 'master'.

[platforms/drm] Allow running without outputs

Summary:
Set outputs enablement also when none outputs are present. This patch is
similar to earlier attempt at D17985.
Related: bug 402827, bug 389551, bug 398680

Test Plan:
Starting without outputs, manual disconnects and DPMS changes. There is still
an issue when an output gets disconnected while the DPMS is off. But it's an
improvement already.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Maniphest Tasks: T10016

Differential Revision: https://phabricator.kde.org/D26511

M  +2-6plugins/platforms/drm/drm_backend.cpp

https://commits.kde.org/kwin/2632e4182c658178af82be175575b094002468af

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 413758] KWin_wayland crashes when an external display is unplugged

2020-01-07 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=413758

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 413758] KWin_wayland crashes when an external display is unplugged

2019-12-11 Thread Roman Gilg
https://bugs.kde.org/show_bug.cgi?id=413758

--- Comment #5 from Roman Gilg  ---
Thanks, can you still reproduce? From the backtrace it seems it tries to access
in
https://cgit.kde.org/kwin.git/tree/plugins/platforms/drm/egl_gbm_backend.cpp?h=Plasma/5.17#n352
an output property, but this output does not exist anymore.

Since you have the laptop disabled and the other screen disconnected I guess
there is a short time where no output is active and we have the problem as in:
https://phabricator.kde.org/T10016

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 413758] KWin_wayland crashes when an external display is unplugged

2019-12-11 Thread Tomas
https://bugs.kde.org/show_bug.cgi?id=413758

Tomas  changed:

   What|Removed |Added

 CC||thur...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 413758] KWin_wayland crashes when an external display is unplugged

2019-11-03 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=413758

--- Comment #4 from madc...@atlas.cz ---
Created attachment 123690
  --> https://bugs.kde.org/attachment.cgi?id=123690&action=edit
Backtrace from GDB with debugging info

I had to rebuild KWin with debugging info. The backtrace seems more useful now.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 413758] KWin_wayland crashes when an external display is unplugged

2019-11-02 Thread Roman Gilg
https://bugs.kde.org/show_bug.cgi?id=413758

Roman Gilg  changed:

   What|Removed |Added

 CC||subd...@gmail.com

--- Comment #3 from Roman Gilg  ---
Thanks for the report. You need to install debug symbols to make the GDB output
useful.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 413758] KWin_wayland crashes when an external display is unplugged

2019-11-02 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=413758

--- Comment #2 from madc...@atlas.cz ---
Created attachment 123672
  --> https://bugs.kde.org/attachment.cgi?id=123672&action=edit
KWin support information

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 413758] KWin_wayland crashes when an external display is unplugged

2019-11-02 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=413758

--- Comment #1 from madc...@atlas.cz ---
Created attachment 123671
  --> https://bugs.kde.org/attachment.cgi?id=123671&action=edit
Backtrace from GDB

-- 
You are receiving this mail because:
You are watching all bug changes.