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 fglrx_dri.so #419

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

SDL_Quit causes an exit(234) in fglrx_dri.so #419

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

Comments

@SDLBugzilla
Copy link
Collaborator

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/libc.so.6

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

17 0x00007ffff7945b89 in ?? () from /usr/lib/libGL.so.1

18 0x00007ffff7945bca in ?? () from /usr/lib/libGL.so.1

19 0x00007ffff69def25 in _XFreeExtData () from /usr/lib/libX11.so.6

20 0x00007ffff69ec6a8 in _XFreeDisplayStructure () from /usr/lib/libX11.so.6

21 0x00007ffff69d868f in XCloseDisplay () from /usr/lib/libX11.so.6

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_Init(SDL_INIT_VIDEO);
SDL_SetVideoMode(640, 480, 0, SDL_OPENGL);

SDL_Quit();
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?
http://www.libsdl.org/tmp/SDL-2.0.zip

Thanks!

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.

--ryan.

@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
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant