Bug 111387

Summary: calling glVertex() in infinite loop crashes the system
Product: Mesa Reporter: almos <aaalmosss>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED MOVED QA Contact: mesa-dev
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
i915 platform: i915 features:

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.