Bug 92310 - Applications can cause the screen to freeze
Summary: Applications can cause the screen to freeze
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.7 (2012.06)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-06 03:17 UTC by sworddragon2
Modified: 2018-12-13 22:33 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Freeze-Example (Java-Source) (2.07 KB, text/x-c)
2016-12-28 21:30 UTC, Linus Kaschulla
no flags Details
htop during freeze (5.94 MB, image/png)
2016-12-28 21:33 UTC, Linus Kaschulla
no flags Details

Description sworddragon2 2015-10-06 03:17:36 UTC
There are cases in which applications are able to freeze the screen (here is an example bug report: https://bugs.winehq.org/show_bug.cgi?id=39036 ). I have seen this also if the debug version of the Flash Player shows a backtrace while an entry in the menu bar of Firefox is opened but in this case anything freezes except the mouse cursor.

I think the xserver should not allow applications to be this mighty and always guarantee that the user have always control over the screen.
Comment 1 Linus Kaschulla 2016-12-28 21:29:31 UTC
I just've seen that bug I wanted to report, too.
I figured out when testing a Java-Application which freezed my desktop till I killed the process and waited a few seconds.

I attached the source.

I tested it so far on Manjaro (KDE), Deepin OS and LM 18 Cinnamon.
So it seems to be releated to Xorg. However different desktops may result in different freeze-times due to diffent compositors and window-management-applications like cairo-dock.

I also attached a screenshot of htop during freeze which show the processes which are affected.
Comment 2 Linus Kaschulla 2016-12-28 21:30:53 UTC
Created attachment 128676 [details]
Freeze-Example (Java-Source)

Comments and instructions to run are in the file
Comment 3 Linus Kaschulla 2016-12-28 21:33:45 UTC
Created attachment 128677 [details]
htop during freeze

Htop-Output opened on a tty2 (CTRL + ALT + 2) during freeze with the example Java-Code.
Comment 4 GitLab Migration User 2018-12-13 22:33:30 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/483.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.