Project

General

Profile

Bug #595

core crash on insert into locked DB, assertion

Added by natlus over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Quassel Core
Target version:
Start date:
03/06/2009
Due date:
% Done:

100%

Estimated time:
Version:
0.4.0
OS:
Linux

Description

Circumstances:
right after client connect
3 users, unknown connection status
several irc nets

Since the Warning is spread all over the log, I assume this has nothing to do with the crash.
(IP Xed out)

2009-03-06 12:20:47 Info: Client XXX.XXX.XXX.XXX disconnected (UserId: 3).
2009-03-06 12:57:11 Warning: SignalProxy::handleInitRequest() received initRequest for unregistered Object: "IrcUser" "4/Alasis"
2009-03-06 13:27:49 Info: Client connected from XXX.XXX.XXX.XXX
2009-03-06 13:27:49 Info: Client XXX.XXX.XXX.XXX initialized and authenticated successfully as "loc" (UserId: 1).
2009-03-06 13:27:58 Warning: CoreBufferSyncer::removeBuffer(): invalid BufferId: 6 for User: 1
2009-03-06 13:27:58 Warning: CoreBufferSyncer::removeBuffer(): invalid BufferId: 16 for User: 1
2009-03-06 13:27:58 Warning: CoreBufferSyncer::removeBuffer(): invalid BufferId: 53 for User: 1
2009-03-06 13:27:58 Warning: CoreBufferSyncer::removeBuffer(): invalid BufferId: 56 for User: 1
2009-03-06 13:27:58 Warning: CoreBufferSyncer::removeBuffer(): invalid BufferId: 57 for User: 1
2009-03-06 13:27:58 Warning: CoreBufferSyncer::removeBuffer(): invalid BufferId: 23 for User: 1
2009-03-06 13:27:58 Warning: CoreBufferSyncer::removeBuffer(): invalid BufferId: 30 for User: 1
2009-03-06 13:28:10 Error: unhandled Error in QSqlQuery!
2009-03-06 13:28:11 Error: last Query:
"INSERT INTO backlog (time, bufferid, type, flags, senderid, message)
VALUES (:time, :bufferid, :type, :flags, (SELECT senderid FROM sender WHERE sender = :sender), :message)"
2009-03-06 13:28:11 Error: executed Query:
"INSERT INTO backlog (time, bufferid, type, flags, senderid, message)
VALUES (?, ?, ?, ?, (SELECT senderid FROM sender WHERE sender = ?), ?)"
2009-03-06 13:28:11 Error: bound Values:
2009-03-06 13:28:11 Error: 0 : 28
2009-03-06 13:28:11 Error: 1 : 0
2009-03-06 13:28:11 Error: 2 : Im starting to like u Kass!
2009-03-06 13:28:11 Error: 3 : Sinotek!~
2009-03-06 13:28:11 Error: 4 : 1236342479
2009-03-06 13:28:11 Error: 5 : 1
2009-03-06 13:28:11 Error: Error Number: 5
2009-03-06 13:28:11 Error: Error Message: "database is locked Unable to fetch row"
2009-03-06 13:28:11 Error: Driver Message: "Unable to fetch row"
2009-03-06 13:28:11 Error: DB Message: "database is locked"
2009-03-06 13:28:11 Error: ASSERT: "msgId.isValid()" in file /tmp/quassel-0.4.0/src/core/sqlitestorage.cpp, line 964


Related issues

Has duplicate Quassel IRC - Bug #558: Quasselcore crashedResolved2009-02-16

History

#1 Updated by EgS over 12 years ago

  • Status changed from New to Resolved
  • Assignee set to EgS
  • Target version set to 0.4.1
  • % Done changed from 0 to 100

Fixed in current git:
http://git.quassel-irc.org/?p=quassel.git;a=commit;h=b0cbbaffc64390db19614c65bf6af416dd55e41a

Note:
If a different app holds a lock on the backlog file (i.e. sqlite3 cli tool) this crash can still happen. But that's nothing we can fix.

Also available in: Atom PDF