Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Win XP Embedded - "The memory could not be "read"."
Forum Updated to NodeBB v4.3 + New Features

Win XP Embedded - "The memory could not be "read"."

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 1.8k 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.
  • S Offline
    S Offline
    silent90
    wrote on last edited by
    #1

    Hello.

    I have written two small QT applications (QT4.7.4) and compiled under Windows with dynamic linking.
    The Qt DLL files has been copied to the folder with an executable and everything works fine on my Windows 7 x64 box and virtual Windows XP SP3.

    Now I am trying to run this application on my HP T5720 thin client box with windows XP Embedded SP3 and I am getting this error message:

    [code]

    mtest: mtest.exe - Application Error

    The instruction at "0x6ff5d460" referenced memory at "0x00050043". The memory could not be "read".

    Click on OK to terminate the program

    OK

    [/code]

    The second address is not constant, sometimes it's 0x0, sometimes 0x30003, etc.

    Does anyone have an idea what could be the problem or where to start looking?
    I have already tried to scan this executable with Dependency Walker and copy some DLLs from XP SP3 - no result.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to DevNet,

      I would check that all pointers are initialized at zero. If any pointer is not initialized to something in a constructor, check it each time an operation should be done on it.

      If you have memory allocated with malloc or similar, check that you don't read from it past its end.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

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