Project

General

Profile

Bug #1178

Core crash

Added by davr almost 12 years ago. Updated almost 12 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Quassel Core
Target version:
-
Start date:
07/11/2012
Due date:
% Done:

0%

Estimated time:
Version:
0.8-pre
OS:
Linux

Description

I recently upgraded my core to 0.8.0 and it has been crashing after running an hour or two. Here's a crash log:

Quassel IRC: 0.8.0 5988f4cd56e54fbe02e668fd48bf430e80f33f55
#  0 quasselcore          0x000000000055225f Quassel::logBacktrace(QString const&)
#  1 quasselcore          0x0000000000539aaf Quassel::handleSignal(int)
#  2 libc.so.6            0x00007fd379aa04f0 0x0000000000000000
#  3 libc.so.6            0x00007fd379aa0475 gsignal
#  4 libc.so.6            0x00007fd379aa36f0 abort
#  5 libglib-2.0.so.0     0x00007fd3793d65d1 g_assertion_message
#  6 libglib-2.0.so.0     0x00007fd3793d6b50 g_test_timer_start
#  7 libglib-2.0.so.0     0x00007fd3793b172b g_main_context_dispatch
#  8 libglib-2.0.so.0     0x00007fd3793b5568 0x0000000000000000
#  9 libglib-2.0.so.0     0x00007fd3793b571c g_main_context_iteration
# 10 libQtCore.so.4       0x00007fd37b897306 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
# 11 libQtCore.so.4       0x00007fd37b86792f QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
# 12 libQtCore.so.4       0x00007fd37b867bb8 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
# 13 libQtCore.so.4       0x00007fd37b86cd78 QCoreApplication::exec()
# 14 quasselcore          0x0000000000449c45 main
# 15 libc.so.6            0x00007fd379a8cead __libc_start_main
# 16 quasselcore          0x000000000044a8c5 0x0000000000000000


My OS: Debian squeeze
Linux 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 GNU/Linux
quassel-core version 0.8.0-1

I turned on debug logging, and I don't know if it's related, but I am seeing this error message repeatedly:

2012-07-11 13:35:45 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)
2012-07-11 13:35:45 Error:               executed Query: INSERT INTO backlog (time, bufferid, type, flags, senderid, message)VALUES (?, ?, ?, ?, (SELECT senderid FROM sender WHERE sender = ?), ?)
2012-07-11 13:35:45 Error:                 bound Values: :bufferid=9, :flags=0, :message='**some message**', :sender='**some sender**', :time=1342038945, :type=16
2012-07-11 13:35:45 Error:                 Error Number: -1
2012-07-11 13:35:45 Error:                Error Message:
2012-07-11 13:35:45 Error:               Driver Message:
2012-07-11 13:35:45 Error:                   DB Message:

History

#1 Updated by davr almost 12 years ago

I ran the quassel core under gdb...but I'm just using the debian package, which I guess is missing debug symbols and so on, so I don't know how useful this info is:

(gdb) run -c /var/lib/quassel -d -L Debug -l q.log
Starting program: /usr/bin/quasselcore -c /var/lib/quassel -d -L Debug -l q.log
[Thread debugging using libthread_db enabled]
("QSQLITE")
[New Thread 0x7ffff46bf700 (LWP 5168)]
[New Thread 0x7ffff3ebe700 (LWP 5169)]
[New Thread 0x7ffff2908700 (LWP 5170)]
[New Thread 0x7ffff2107700 (LWP 5171)]
[New Thread 0x7ffff1906700 (LWP 5172)]
[New Thread 0x7ffff0eef700 (LWP 5173)]
[Thread 0x7ffff0eef700 (LWP 5173) exited]

(process:5163): GLib-CRITICAL **: g_main_context_pop_thread_default: assertion `g_queue_peek_head (stack) == context' failed
[Thread 0x7ffff2107700 (LWP 5171) exited]
[Thread 0x7ffff1906700 (LWP 5172) exited]

(process:5163): GLib-CRITICAL **: g_main_context_pop_thread_default: assertion `g_queue_peek_head (stack) == context' failed
[Thread 0x7ffff2908700 (LWP 5170) exited]
**
GLib:ERROR:/scratch/build-area/glib2.0-2.24.2/glib/gmain.c:1963:g_main_dispatch: assertion failed: (current->dispatching_sources == &current_source_link)

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff46bf700 (LWP 5168)]
0x00007ffff5cbc475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) thread apply all bt full

Thread 3 (Thread 0x7ffff3ebe700 (LWP 5169)):
#0  0x00007ffff76f72d4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1  0x00007ffff70911c7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
No symbol table info available.
#2  0x00007ffff70911f9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
No symbol table info available.
#3  0x00007ffff76f2b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#4  0x00007ffff5d626dd in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 0x7ffff46bf700 (LWP 5168)):
#0  0x00007ffff5cbc475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x00007ffff5cbf6f0 in abort () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2  0x00007ffff55f25d1 in g_assertion_message () from /lib/libglib-2.0.so.0
No symbol table info available.
#3  0x00007ffff55f2b50 in g_assertion_message_expr () from /lib/libglib-2.0.so.0
No symbol table info available.
#4  0x00007ffff55cd72b in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#5  0x00007ffff55d1568 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#6  0x00007ffff55d171c in g_main_context_iteration () from /lib/libglib-2.0.so.0
No symbol table info available.
#7  0x00007ffff7ab32e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#8  0x00007ffff7a8392f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#9  0x00007ffff7a83bb8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#10 0x00007ffff7986d70 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#11 0x000000000047cb9a in SessionThread::run() ()
No symbol table info available.
#12 0x00007ffff7989d0b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#13 0x00007ffff76f2b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#14 0x00007ffff5d626dd in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#15 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 1 (Thread 0x7ffff7fe8720 (LWP 5163)):
#0  0x00007ffff5d57a93 in poll () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x00007ffff55d1363 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#2  0x00007ffff55d171c in g_main_context_iteration () from /lib/libglib-2.0.so.0
No symbol table info available.
#3  0x00007ffff7ab32e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#4  0x00007ffff7a8392f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#5  0x00007ffff7a83bb8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#6  0x00007ffff7a88d78 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#7  0x0000000000449c45 in main ()
No symbol table info available.
(gdb)

#2 Updated by johu almost 12 years ago

  • Target version deleted (33)

Also available in: Atom PDF