2025-07-22 01:20 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000109Spring engineLinuxpublic2006-05-24 20:55
Reporterrobed 
Assigned Totvo 
PrioritynormalSeveritytrivialReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000109: Some crashes on linux (maybe other platforms) won't restore video modes, etc...
DescriptionAnywhere there's a call to "exit(retCode)" a crash will cause any changes to the video mode to remain (ei: my desktop is 1600x1200, spring is 1024x768; after a crash, it stays at 1024x768).

I'll be posting a fix at http://taspring.clan-sy.com/phpbb/viewtopic.php?t=4076
Additional InformationAnywhere there's a call to "exit(retCode)" a crash will cause any changes to the video mode to remain (ei: my desktop is 1600x1200, spring is 1024x768; after a crash, it stays at 1024x768).

Fix is to cause SpringApp::Shutdown() to be called before a call to exit(retCode)

I did this by modifying Main.cpp adding a Main.h and adding a function "static void SpringApp::ExitCleanFromAnywhere(int retCode)"

I'll be posting the diff of main on http://taspring.clan-sy.com/phpbb/viewtopic.php?t=4076

Many files are effected, but I'll give just one as an example on the forum
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2006-03-04 12:55 robed New Issue
2006-03-04 12:55 robed Status new => assigned
2006-03-04 12:55 robed Assigned To => tvo
2006-05-24 20:55 tvo Status assigned => resolved
2006-05-24 20:55 tvo Resolution open => fixed
+Issue History