Project

General

Profile

Bug #1211

Quasselcore dies if the PostgreSQL Database is restarted

Added by brot over 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Quassel Core
Target version:
-
Start date:
04/05/2013
Due date:
% Done:

0%

Estimated time:
Version:
0.9-pre
OS:
Any

Description

According to the commit 85c5d43cd1a1f6b4e9fe41fe533c743517017d37 the core should survive a database restart. However, multiple records (even from earlier versions) state that it does not. See backtrace:

2013-04-05 10:42:01 Warning: PostgreSqlStorage::bufferInfo(): cannot start read only transaction!  
2013-04-05 10:42:01 Warning:  - FATAL:  terminating connection due to administrator commandFATAL:  terminating connection due to administrator commandQPSQL: Could not begin transaction  
2013-04-05 10:42:01 Error: ASSERT: "!createBuffer" in file /var/tmp/portage/net-irc/quassel-9999/work/quassel-9999/src/core/coresession.cpp, line 320 
2013-04-05 10:42:01 Debug: Quassel IRC:  "0.9-beta1"   "a41481e9260de128d7f68e525c855d4a75dbe6fd"  
2013-04-05 10:42:01 Debug: #  0 quasselcore          0x0000000000576edf Quassel::logBacktrace(QString const&)  
2013-04-05 10:42:01 Debug: #  1 quasselcore          0x0000000000557b8f Quassel::handleSignal(int)  
2013-04-05 10:42:01 Debug: #  2 libc.so.6            0x00007f78ed40b1f0 0x0000000000000000  
2013-04-05 10:42:01 Debug: #  3 libc.so.6            0x00007f78ed40b155 gsignal  
2013-04-05 10:42:01 Debug: #  4 libc.so.6            0x00007f78ed40c625 abort  
2013-04-05 10:42:01 Debug: #  5 libQtCore.so.4       0x00007f78eec16044 qt_message_output(QtMsgType, char const*)  
2013-04-05 10:42:01 Debug: #  6 libQtCore.so.4       0x00007f78eec161b9 0x0000000000000000  
2013-04-05 10:42:01 Debug: #  7 libQtCore.so.4       0x00007f78eec16375 qFatal(char const*, ...)  
2013-04-05 10:42:01 Debug: #  8 quasselcore          0x00000000004b6d22 CoreSession::processMessages()  
2013-04-05 10:42:01 Debug: #  9 quasselcore          0x00000000004b71e2 CoreSession::customEvent(QEvent*)  
2013-04-05 10:42:01 Debug: # 10 libQtCore.so.4       0x00007f78eed345fc QObject::event(QEvent*)  
2013-04-05 10:42:01 Debug: # 11 libQtCore.so.4       0x00007f78eed205eb QCoreApplication::notifyInternal(QObject*, QEvent*)  
2013-04-05 10:42:01 Debug: # 12 libQtCore.so.4       0x00007f78eed23ee7 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)  
2013-04-05 10:42:01 Debug: # 13 libQtCore.so.4       0x00007f78eed4e393 0x0000000000000000  
2013-04-05 10:42:01 Debug: # 14 libglib-2.0.so.0     0x00007f78eceed87a g_main_context_dispatch  
2013-04-05 10:42:01 Debug: # 15 libglib-2.0.so.0     0x00007f78eceedbd8 0x0000000000000000  
2013-04-05 10:42:01 Debug: # 16 libglib-2.0.so.0     0x00007f78eceedc8c g_main_context_iteration  
2013-04-05 10:42:01 Debug: # 17 libQtCore.so.4       0x00007f78eed4e4fa QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)  
2013-04-05 10:42:01 Debug: # 18 libQtCore.so.4       0x00007f78eed1f352 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)  
2013-04-05 10:42:01 Debug: # 19 libQtCore.so.4       0x00007f78eed1f645 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)  
2013-04-05 10:42:01 Debug: # 20 libQtCore.so.4       0x00007f78eec1d6c8 QThread::exec()  
2013-04-05 10:42:01 Debug: # 21 quasselcore          0x000000000047f44f SessionThread::run()  
2013-04-05 10:42:01 Debug: # 22 libQtCore.so.4       0x00007f78eec1fdee 0x0000000000000000  
2013-04-05 10:42:01 Debug: # 23 libpthread.so.0      0x00007f78ecc8efc7 0x0000000000000000  
2013-04-05 10:42:01 Debug: # 24 libc.so.6            0x00007f78ed4beb4d clone  

Also available in: Atom PDF