Hello, there is a problem with the usual SELECT

SQL: SELECT ctrl_id, ctrl_node FROM list_ctrl WHERE ctrl_devnum='357803046039299'\n QSqlError("", "QPSQL: Unable to create query", "потеряна синхронизация с сервером: получено сообщение типа \" \", длина -308675026\n()") 

Falling out and falling.

  • Does the error precede the long non-connection time? - alexis031182
  • No, it arises in different situations, from scratch, requests go and the figak goes, I thought somewhere I’ve done something, I removed all the code before the select and everything died on the very first test. double free or corruption takes off periodically, on the same PSqlQuery - Dmitriy Klimov
  • one
    double free or corruption ... probably in the code somewhere there are problems with memory, and this is manifested in the glitch from the database. That's why he undefined behavior . Try running under valgrind . - αλεχολυτ
  • one
    The appearance of the mentioned double free or corruption clearly indicates problems when working with memory, so it’s impossible to say that everything is fine. I admit that in the code of the Sql driver itself there is a problem. But it is most likely that it is in the user part. - αλεχολυτ
  • one
    What you consider a "problem with the database" may not be so. You can spoil the memory in one place, and everything will break in another. Not at all related. - αλεχολυτ

0