I was building an application using SDL and Dev-C++. For whatever reason, when I try to run the program without debugging (with or without debugging information in the compiled file), it crashes right before the first SDL window is drawn to. Yet, without changing anything, I run it in debug mode, and it runs fine.
It has been a problem in 5.6.1 and is also persisting in the pre-release of 5.6.2 included on tickets 111 and 112 in the Tracker.
Does anyone know if this is a problem with Dev-C++, SDL, or Windows itself (according to the information of the error box, the faulting module is ntdll.dll [a core Windows library])? Its getting frustrating to always run in debugging mode, since there is a noticeable performance impact from doing so.
Last edit: SilverNexus 2014-03-11
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Upon further research, it appear that it just needed compatibility mode enabled for XP or Vista, and it works like a charm (until the point it reached SIGTRAP even in debug).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was building an application using SDL and Dev-C++. For whatever reason, when I try to run the program without debugging (with or without debugging information in the compiled file), it crashes right before the first SDL window is drawn to. Yet, without changing anything, I run it in debug mode, and it runs fine.
It has been a problem in 5.6.1 and is also persisting in the pre-release of 5.6.2 included on tickets 111 and 112 in the Tracker.
Does anyone know if this is a problem with Dev-C++, SDL, or Windows itself (according to the information of the error box, the faulting module is ntdll.dll [a core Windows library])? Its getting frustrating to always run in debugging mode, since there is a noticeable performance impact from doing so.
Last edit: SilverNexus 2014-03-11
This is the error I get from Windows when I run without debugging.
It also happens on my laptop -- Debug works fine, but regular runs crash.
This runs Windows 8 (which lessens the chance of Windows being the problem), rather than Windows 7.
Upon further research, it appear that it just needed compatibility mode enabled for XP or Vista, and it works like a charm (until the point it reached SIGTRAP even in debug).
help me cracker programs will be
please help