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. QT Appcrash on Windows Server 2012 R2
Forum Updated to NodeBB v4.3 + New Features

QT Appcrash on Windows Server 2012 R2

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 962 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.
  • A Offline
    A Offline
    AIBologna
    wrote on last edited by
    #1

    Our Company use a software made with QT. We buyed a cloud server with Windows Server 2012 R2 installed because the qt program runs always 24 hours for day and 7 days for week.

    Sometimes the program crash with these errors

    0_1539592284932_ErroreAntitac.png

    We recompile the program with QT Creator Community 4.7.1 with MinGW 5.11.2 (32bit) we can't use the MinGW 64bit because the C++ code is not compatible with 64 bit version.

    Also we installed Qt on the Windows Server to run the program.

    Any Solutions to prevent the appcrash?

    Best Regards

    Antitaccheggio Italia Bologna

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

      Hi
      The only way to prevent the crash is to find the reason why it crashes.
      It could very well just be plain bug in program code.
      I would create a defualt GUI project and run on server to make sure its not related to some DLL issue.
      If that dont crashes, it means you have a normal bug an the debugger could be used to find it.

      1 Reply Last reply
      4
      • A Offline
        A Offline
        AIBologna
        wrote on last edited by
        #3

        Thanks. We try this approach. Sometimes this problem occurs when the program is running for many days. My client tells me this application crashes also on different PC Desktop (i don't write the code)

        mrjjM 1 Reply Last reply
        0
        • A AIBologna

          Thanks. We try this approach. Sometimes this problem occurs when the program is running for many days. My client tells me this application crashes also on different PC Desktop (i don't write the code)

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @AIBologna
          if it also crashes on Desktop pc, i would assume a regular error.
          Do you have access to the source code?

          1 Reply Last reply
          0
          • A Offline
            A Offline
            AIBologna
            wrote on last edited by
            #5

            Yes. The code is written in C++. I suppose it's a resource consume problem. The application connects to hardware device to dowload data. The crash is random. Sometimes the app crashes after some days but sometimes after months

            mrjjM 1 Reply Last reply
            0
            • A AIBologna

              Yes. The code is written in C++. I suppose it's a resource consume problem. The application connects to hardware device to dowload data. The crash is random. Sometimes the app crashes after some days but sometimes after months

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @AIBologna
              It could be buffer overrun or a sometimes dangling pointer.
              I would add some logging to the app in key places to get some more info.

              alternatively, if u have extra hardware, set up an extra pc
              and run the app with debugger on.
              At some point, it should crash and give away the location.
              I understand waiting for months is not viable. :)

              1 Reply Last reply
              1

              • Login

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