|
|
| program crashes on exit |
|
shadyvillian
Member #12,426
December 2010
|
When I exit my program in the release build version only of it crashes. Heres what the debugger says: #0 00000000 0x00447482 in ??() (??:??) Any Ideas? Software Engineer by day, hacker by night. |
|
Trent Gamblin
Member #261
April 2000
|
Compile with debug info enabled.
|
|
shadyvillian
Member #12,426
December 2010
|
Do you mean use the compiler flag -g? Software Engineer by day, hacker by night. |
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
If you're using gcc or MinGW, yes, compile with the -g flag. Did you mean to say that it doesn't crash in debug mode? My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
|
shadyvillian
Member #12,426
December 2010
|
Well I guess you could say that it doesn't crash in debug mode. Why would it crash in release doesn't in just optimize it or something? EDIT: Well after some computer troubles followed by reformat and reinstall of windows the debug and release versions are crashing on exit. But now the debugger says its crashing on a al_destroy_font. I comment it out now a al_destroy_bitmap its crashing. Long story short I comment all of them out and it works fine. What causes it to crash from that? Software Engineer by day, hacker by night. |
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
Could be a couple of things : My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
|
|