| Summary: | Crash in SDL2.dll when running under VMWare | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Andreas Ragnerstam <andreas.ragnerstam> |
| Component: | render | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | adam |
| Version: | 2.0.2 | ||
| Hardware: | x86_64 | ||
| OS: | Windows 7 | ||
| Attachments: | Simple example that crashes when compiled with mingw64 and run with SDL2.0.2 | ||
Same issue in general with the official compiled version and VirtualBox (without its experimental DirectX support). Thanks for the clue, I was finally able to reproduce this in VirtualBox. This should be fixed in the latest snapshot: http://www.libsdl.org/tmp/SDL-2.0.zip Please let me know if you're still running into this! |
Created attachment 1619 [details] Simple example that crashes when compiled with mingw64 and run with SDL2.0.2 When running an application on a Windows 7 enterprise or Windows 2008 server under VMWare using SDL2 2.0.2 (or 2.0.3) I run into a crash in SDL2.dll: Problem signature: Problem Event Name: APPCRASH ... Fault Module Name: SDL2.dll Fault Module Version: 2.0.2.0 Fault Module Timestamp: 531a9f16 Exception Code: c0000005 Exception Offset: 00000000000de832 OS Version: 6.1.7601.2.1.0.18.10 The crash occurs even with a very simple application, I will attach an example. I build the application with mingw64 cross-compiler on Fedora Linux. I did not have the same problem with SDL2.0.1. The exception code means segmentation fault. The problem disappears if I only use software renderer by either adding environment variable SDL_RENDER_DRIVER="software" or add the SDL_RENDERER_SOFTWARE flag to SDL_CreateRenderer(). So seems to be some issue with DirectX on either Windows servers or Windows running under VMWare.