Unsolved qtservice and PostgreSQL crash problem
-
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: 0xc0000005I 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? -
Hi,
AFAIK, there are only warnings printed in the PostgreSQL driver. Do you have any logs about what is happening in your application ?
-
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. -
The database has got a table with 6,7 million of record but I think it shouldn't a problem.
-
What are you doing with these records ?