Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL_Quit causes an exit(234) in #419

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

SDL_Quit causes an exit(234) in #419

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
invalid This doesn't seem right


Copy link

SDLBugzilla commented Feb 10, 2021

This bug report was migrated from our old Bugzilla tracker.

Reported in version: HG 2.0
Reported for operating system, platform: Linux, x86_64

Comments on the original bug report:

On 2011-05-23 13:07:03 +0000, Pierre Bourdon wrote:

When using SDL 1.3 with fglrx (ATI proprietary driver), SDL_Quit causes the driver to call exit with error code 234. Call trace:

0 0x00007ffff75e4290 in exit () from /lib/

1 0x00007ffff4cadf1c in ?? () from /usr/lib/xorg/modules/dri//

2 0x00007ffff4cac64d in ?? () from /usr/lib/xorg/modules/dri//

3 0x00007ffff4d05639 in ?? () from /usr/lib/xorg/modules/dri//

4 0x00007ffff4d018a4 in ?? () from /usr/lib/xorg/modules/dri//

5 0x00007ffff43ffd9f in ?? () from /usr/lib/xorg/modules/dri//

6 0x00007ffff4400d00 in ?? () from /usr/lib/xorg/modules/dri//

7 0x00007ffff43aa599 in ?? () from /usr/lib/xorg/modules/dri//

8 0x00007ffff43f80c3 in ?? () from /usr/lib/xorg/modules/dri//

9 0x00007ffff4379c7d in ?? () from /usr/lib/xorg/modules/dri//

10 0x00007ffff4233e0c in ?? () from /usr/lib/xorg/modules/dri//

11 0x00007ffff378b8e2 in ?? () from /usr/lib/xorg/modules/dri//

12 0x00007ffff3807c84 in ?? () from /usr/lib/xorg/modules/dri//

13 0x00007ffff4217c3d in ?? () from /usr/lib/xorg/modules/dri//

14 0x00007ffff4ca71b7 in ?? () from /usr/lib/xorg/modules/dri//

15 0x00007ffff4ca7631 in ?? () from /usr/lib/xorg/modules/dri//

16 0x00007ffff4ca76e7 in ?? () from /usr/lib/xorg/modules/dri//

17 0x00007ffff7945b89 in ?? () from /usr/lib/

18 0x00007ffff7945bca in ?? () from /usr/lib/

19 0x00007ffff69def25 in _XFreeExtData () from /usr/lib/

20 0x00007ffff69ec6a8 in _XFreeDisplayStructure () from /usr/lib/

21 0x00007ffff69d868f in XCloseDisplay () from /usr/lib/

22 0x00007ffff7ba7106 in X11_DeleteDevice (device=0x608360) at src/video/x11/SDL_x11video.c:109

23 0x00007ffff7b9a730 in SDL_VideoQuit () at src/video/SDL_video.c:2078

24 0x00007ffff7b20c25 in SDL_QuitSubSystem (flags=) at src/SDL.c:192

25 0x00007ffff7b20cde in SDL_Quit () at src/SDL.c:214

26 0x00000000004006f0 in main ()

Test case:

#include <SDL/SDL.h>

int main(void)
SDL_SetVideoMode(640, 480, 0, SDL_OPENGL);

return 0;


This does not happen with SDL 1.2, and bisecting showed that the bug was introduced when the X11 driver code was rewritten (around r1953).

On 2011-05-23 13:34:52 +0000, Pierre Bourdon wrote:

A friend which also has an ATI card and uses fglrx just confirmed that this bug occurs on his computer. Also, X displays this error message before exiting :

XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "pZ�"
after 281 requests (281 known processed) with 0 events remaining.

I sometimes had such error messages too when testing on my machine, so I think it is more or less random. Note the corrupted X server name.

On 2011-06-14 00:33:56 +0000, Ozkan Sezer wrote:

Possibly related: bug # 1120. Although it is closed as invalid, I'm not really convinced about it at all.

On 2013-05-21 02:40:58 +0000, Sam Lantinga wrote:

Is this bug still active with the latest snapshot?


On 2015-02-18 03:28:13 +0000, Ryan C. Gordon wrote:

Assuming this was a driver bug and resolving. Please reopen if you're still having this problem.


@SDLBugzilla SDLBugzilla added bug invalid This doesn't seem right labels Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
invalid This doesn't seem right
None yet

No branches or pull requests

1 participant