Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » Strange program crash
Re: Strange program crash [message #39158 is a reply to message #39157] Wed, 20 February 2013 21:17 Go to previous messageGo to previous message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
It seems you have a stack overflow.

The MyApp object with the line uncommented is pretty big. When your program tries to create it on the stack, it may cause a stack overflow. You should generally avoid to allocate objects with this magnitude of size on the stack as stack is more limited than the heap.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MSVC and code size
Next Topic: NaCl office
Goto Forum:
  


Current Time: Sat May 03 18:09:38 CEST 2025

Total time taken to generate the page: 0.02905 seconds