mythbackend silently fails with QSqlQuery::exec: empty query
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MythTV |
Unknown
|
Unknown
|
|||
mythtv (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mythtv-backend
Hi,
Randomly and without warning, mythbackend will silently fail without actually exiting. From the moment of failure onwards, it is unable to perform any database queries, but will continue to serve data to some functions.
The log will switch from normal logging, to errors pertaining to QSqlQuery::exec: failures, and Query failures. Such as -
2009-01-23 20:40:14.676 Scheduled 76 items in 0.4 = 0.02 match + 0.40 place
2009-01-23 20:42:15.071 MainServer:
2009-01-23 20:42:15.075 adding: flat as a client (events: 0)
QSqlQuery::exec: empty query
QSqlQuery::exec: empty query
QSqlQuery::exec: empty query
I have been unable to ascertain the source of the problem, as it appears to happen whilst the system is not in use (ie, whilst at work, or late at night). I have aattached a more comprehensive log in case it may be useful.
Regards
Kyle
The following information may apply...
ii libmyth-0.21-0 0.21.0+
ii libmyth-perl 0.21.0+
ii mythtv-backend 0.21.0+
ii mythtv-
ii mythtv-common 0.21.0+
ii mythtv-database 0.21.0+
ii mythtv-
ii mythweb 0.21.0+
Linux flat 2.6.24-23-generic #1 SMP Mon Jan 26 00:13:11 UTC 2009 i686 GNU/Linux
Description: Ubuntu 8.04.2
Release: 8.04
ii libdbd-mysql-perl 4.005-1 A Perl5 database interface to the MySQL data
ii libmysqlclient15off 5.0.51a-3ubuntu5.4 MySQL database client library
ii libqt3-mt-mysql 3:3.3.8-b-0ubuntu3 MySQL database driver for Qt3 (Threaded)
ii mysql-client 5.0.51a-3ubuntu5.4 MySQL database client (meta package dependin
ii mysql-client-5.0 5.0.51a-3ubuntu5.4 MySQL database client binaries
ii mysql-common 5.0.51a-3ubuntu5.4 MySQL database common files
ii mysql-server 5.0.51a-3ubuntu5.4 MySQL database server (meta package dependin
ii mysql-server-5.0 5.0.51a-3ubuntu5.4 MySQL database server binaries
Changed in mythtv: | |
status: | Unknown → New |
Changed in mythtv (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in mythtv: | |
status: | New → Confirmed |
Changed in mythtv: | |
status: | Confirmed → Unknown |
Hi,
I've just come home, and haven't used MythTV since last night. The system has fallen over and mythbackend.log contains the following info...
222yyyy-22MM-22dd 22hh:22mm: 22ss.22zzz decodeLongLong() called with the iterator too close to the end of the list. 22ss.22zzz decodeLongLong() called with the iterator too close to the end of the list. 22ss.22zzz AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min 22ss.22zzz decodeLongLong() called with the iterator too close to the end of the list. 22ss.22zzz decodeLongLong() called with the iterator too close to the end of the list. 22ss.22zzz 2Reschedule requested for id -1. 22ss.22zzz DB Error (UpdateMatches):
222yyyy-22MM-22dd 22hh:22mm:
222yyyy-22MM-22dd 22hh:22mm:
222yyyy-22MM-22dd 22hh:22mm:
222yyyy-22MM-22dd 22hh:22mm:
222yyyy-22MM-22dd 22hh:22mm:
222yyyy-22MM-22dd 22hh:22mm:
Query was:
SELECT NULL from record WHERE type = :FINDONE AND findid <= 0;
Driver error was [2/1064]:
QMYSQL3: Unable to execute query
Database error was:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':FINDONE AND findid <= 0' at line 1
222yyyy-22MM-22dd 22hh:22mm: 22ss.22zzz DB Error (Update next_record): 00T00:00: 00' WHERE recordid = :RECORDID;
Query was:
UPDATE record SET next_record = '0000-00-
Driver error was [2/1064]:
QMYSQL3: Unable to execute query
Database error was:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':RECORDID' at line 1
222yyyy-22MM-22dd 22hh:22mm: 22ss.22zzz DB Error (Update next_record): 00T00:00: 00' WHERE recordid = :RECORDID;
Query was:
UPDATE record SET next_record = '0000-00-
Driver error was [2/1064]:
QMYSQL3: Unable to execute query
Database error was:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':RECORDID' at line 1
222yyyy-22MM-22dd 22hh:22mm: 22ss.22zzz DB Error (Update next_record):
Query was:
UPDATE record SET next_record = :NEXTREC WHERE recordid = :RECORDID;
Driver error was [2/1064]:
QMYSQL3: Unable to execute query
Database error was:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':NEXTREC WHERE recordid = :RECORDID' at line 1
222yyyy-22MM-22dd 22hh:22mm: 22ss.22zzz DB Error (Update next_record):
Query was:
UPDATE record SET next_record = :NEXTREC WHERE recordid = :RECORDID;
Driver error was [2/1064]:
QMYSQL3: Unable to execute query
Database error was:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':NEXTREC WHERE recordid = :RECORDID' at line 1
222yyyy-22MM-22dd 22hh:22mm: 22ss.22zzz DB Error (Update next_record):
Query was:
UPDATE record SET next_record = :NEXTREC WHERE recordid = :RECORDID;
Driver error was [2/1064]:
QMYSQL3: Unable to execute query
Database error was:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':NEXTREC WHERE recordid = :...