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. qtservice and PostgreSQL crash problem
Forum Updated to NodeBB v4.3 + New Features

qtservice and PostgreSQL crash problem

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 681 Views 2 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.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    Hi. I have a problem with a Windows service that uses PostgreSQL as database.
    The software, if runned as service and not in a console, sometimes goes to crash. If runned in a console the software works without any problem.
    In the Windows event viewer I have an event related to the crash.
    This is the Windows event:

    Nome dell'applicazione che ha generato l'errore: DomusBossX.exe, versione: 0.0.43.0, timestamp: 0x5b14d3fe
    Nome del modulo che ha generato l'errore: qsqlpsql.dll, versione: 5.9.1.0, timestamp: 0x59533093
    Codice eccezione: 0xc0000005

    I am thinking that sometimes the PostgreSQL dll, when there is a problem, it prints to the standard output something causing the application crash because a Windows service can't print someting in the standard output.
    Is there a way to disable the plugins output?

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

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

      Hi,

      AFAIK, there are only warnings printed in the PostgreSQL driver. Do you have any logs about what is happening in your application ?

      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
      • mrdebugM Offline
        mrdebugM Offline
        mrdebug
        wrote on last edited by
        #3

        No, I haven't got.
        The problem is that this behaviour occurs rarely and only in one plant.
        So to debug it it is very hard.
        The only thing that I see is the problem related to the dll in the event viewer and the app crash.

        Need programmers to hire?
        www.labcsp.com
        www.denisgottardello.it
        GMT+1
        Skype: mrdebug

        1 Reply Last reply
        0
        • mrdebugM Offline
          mrdebugM Offline
          mrdebug
          wrote on last edited by
          #4

          The database has got a table with 6,7 million of record but I think it shouldn't a problem.

          Need programmers to hire?
          www.labcsp.com
          www.denisgottardello.it
          GMT+1
          Skype: mrdebug

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

            What are you doing with these records ?

            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