Bug 111387 - calling glVertex() in infinite loop crashes the system
Summary: calling glVertex() in infinite loop crashes the system
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-12 22:24 UTC by almos
Modified: 2019-09-18 20:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description almos 2019-08-12 22:24:57 UTC
On my desktop system with radeonsi and radeon.ko the dmesg starts to fill with vm errors, then after a few seconds a gpu fault is detected, the screen turns off, and it cannot recover from that.

On an intel haswell laptop the screen locks up immediately, and the system becomes totally unresponsive.

I don't think this is the correct reaction to a simple programming mistake.
Comment 1 Tapani Pälli 2019-08-13 05:43:26 UTC
System wide resource limitations for users should be implemented with cgroups or such, IMO it cannot be responsibility of a single library. You will likely encounter similar situation using some other library, as example: "while(1) fork();". You should setup limitations for memory usage per user or per process.
Comment 2 GitLab Migration User 2019-09-18 20:33:17 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/mesa/mesa/issues/1045.


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.