May 14, 2012

mark.easton mark.easton
Lab Rat
10 posts

[SOLVED] Buffer overflow detected?

 

I get the following error message when run in ‘Release’ mode only. (Debug mode works fine for some strange reason).

  • buffer overflow detected ***:



    bf81e000-bf83f000 rw-p 00000000 00:00 0 [stack]

The program has unexpectedly finished.

Does anyone know what could be causing this?
If it is the “stack”, is there a way to increase the size of the stack for Release mode?

Mark

3 replies

May 14, 2012

koahnig koahnig
Mad Scientist
2112 posts

This may have something to do with your stack size.

What are your compiler and your OS?

May 14, 2012

mark.easton mark.easton
Lab Rat
10 posts

Spotted a silly error in my code:

char tmp5 where tmp was exceeding 5 characters..

Please close/remove this thread.

Thanks
Mark

May 14, 2012

Sam Sam
Area 51 Engineer
612 posts

Hi,
You need to edit your first post and add [SOLVED] to the title :)

 
  ‹‹ Signals and slots: mutual connections - How to avoid feedback?      Layouts in QtCreator for beginners ››

You must log in to post a reply. Not a member yet? Register here!