Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] Buffer overflow detected?
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Buffer overflow detected?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 9.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mark.eastonregenersis.com
    wrote on 14 May 2012, 11:41 last edited by
    #1

    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

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on 14 May 2012, 11:48 last edited by
      #2

      This may have something to do with your stack size.

      What are your compiler and your OS?

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mark.eastonregenersis.com
        wrote on 14 May 2012, 11:50 last edited by
        #3

        Spotted a silly error in my code:

        char tmp[5] where tmp was exceeding 5 characters..

        Please close/remove this thread.

        Thanks
        Mark

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Sam
          wrote on 14 May 2012, 12:01 last edited by
          #4

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

          1 Reply Last reply
          0

          1/4

          14 May 2012, 11:41

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved