Bug#841255: liferea: random crash: SIGABRT: assertion failed: (sqlite3_get_autocommit (db))

2016-10-19 Thread Paul Gevers
Control: forwarded -1 https://github.com/lwindolf/liferea/issues/424

Hi Paul

Thanks for your report.

I am not sure if it is useful as the upstream README.md¹ tells me:
"""
Often people confuses assertions with crashes. Assertions do halt the
program because of a totally unexpected situation. Creating a backtrace
in this situation will only point to the assertion line, which doesn't
help much. In case of an assertion simply post a bug report with the
assertion message.
"""

I believe your liferea failure falls in this category. But we'll see
what upstream says.

Paul

¹ https://github.com/lwindolf/liferea#debugging-crashes



signature.asc
Description: OpenPGP digital signature


Bug#841255: liferea: random crash: SIGABRT: assertion failed: (sqlite3_get_autocommit (db))

2016-10-18 Thread Paul Wise
Package: liferea
Version: 1.12~rc1-5
Severity: normal
Usertags: crash

I got a random crash (SIGABRT) in liferea. If the below gdb backtrace
isn't useful, please close this bug.

$ gdb -batch -n -ex 'set pagination off' -ex bt -ex 'thread apply all bt full' 
--core 
/var/crash/1000/31138-1000-1000-6-1476805337-chianamo--usr-bin-liferea.core 
/usr/bin/liferea
[New LWP 31138]
[New LWP 31155]
[New LWP 31150]
[New LWP 31154]
[New LWP 31156]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `liferea'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
58  ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7fb261403400 (LWP 31138))]
#0  0x7fb25b8affdf in __GI_raise (sig=sig@entry=6) at 
../sysdeps/unix/sysv/linux/raise.c:58
#1  0x7fb25b8b140a in __GI_abort () at abort.c:89
#2  0x7fb25bea94f5 in g_assertion_message (domain=domain@entry=0x0, 
file=file@entry=0x55b36b89ebb2 "db.c", line=line@entry=729, 
func=func@entry=0x55b36b89f600 <__func__.60456> "db_init", 
message=message@entry=0x55b36c6a2920 "assertion failed: (sqlite3_get_autocommit 
(db))") at ././glib/gtestutils.c:2429
#3  0x7fb25bea958a in g_assertion_message_expr (domain=domain@entry=0x0, 
file=file@entry=0x55b36b89ebb2 "db.c", line=line@entry=729, 
func=func@entry=0x55b36b89f600 <__func__.60456> "db_init", 
expr=expr@entry=0x55b36b89f032 "sqlite3_get_autocommit (db)") at 
././glib/gtestutils.c:2452
#4  0x55b36b861491 in db_init () at db.c:729
#5  0x55b36b85d185 in main (argc=, argv=) at 
main.c:240

Thread 5 (Thread 0x7fb243fff700 (LWP 31156)):
#0  0x7fb25b95c50d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x7fb25be829d6 in g_main_context_iterate (priority=, 
n_fds=2, fds=0x7fb2380010c0, timeout=, context=0x7fb244011dc0) 
at ././glib/gmain.c:4228
poll_func = 0x7fb25be92820 
max_priority = 2147483647
timeout = -1
some_ready = 
nfds = 2
allocated_nfds = 2
fds = 0x7fb2380010c0
#2  0x7fb25be829d6 in g_main_context_iterate (context=0x7fb244011dc0, 
block=block@entry=1, dispatch=dispatch@entry=1, self=) at 
././glib/gmain.c:3924
max_priority = 2147483647
timeout = -1
some_ready = 
nfds = 2
allocated_nfds = 2
fds = 0x7fb2380010c0
#3  0x7fb25be82d62 in g_main_loop_run (loop=0x7fb244011d50) at 
././glib/gmain.c:4125
__func__ = "g_main_loop_run"
#4  0x7fb25c69e4e6 in gdbus_shared_thread_func (user_data=0x7fb244011d90) 
at ././gio/gdbusprivate.c:247
data = 0x7fb244011d90
#5  0x7fb25beaa325 in g_thread_proxy (data=0x55b36c560720) at 
././glib/gthread.c:784
thread = 0x55b36c560720
#6  0x7fb25bc22464 in start_thread (arg=0x7fb243fff700) at 
pthread_create.c:333
__res = 
pd = 0x7fb243fff700
now = 
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140403621754624, 
1729578137496448398, 0, 140403711854591, 0, 140404113477696, 
-1773233147832308338, -1773286154421146226}, mask_was_saved = 0}}, priv = {pad 
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 
pagesize_m1 = 
sp = 
freesize = 
__PRETTY_FUNCTION__ = "start_thread"
#7  0x7fb25b96597f in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7fb2495ed700 (LWP 31154)):
#0  0x7fb25b95c50d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x7fb25be829d6 in g_main_context_iterate (priority=, 
n_fds=1, fds=0x7fb2440010e0, timeout=, context=0x55b36c565be0) 
at ././glib/gmain.c:4228
poll_func = 0x7fb25be92820 
max_priority = 2147483647
timeout = -1
some_ready = 
nfds = 1
allocated_nfds = 1
fds = 0x7fb2440010e0
#2  0x7fb25be829d6 in g_main_context_iterate 
(context=context@entry=0x55b36c565be0, block=block@entry=1, 
dispatch=dispatch@entry=1, self=) at ././glib/gmain.c:3924
max_priority = 2147483647
timeout = -1
some_ready = 
nfds = 1
allocated_nfds = 1
fds = 0x7fb2440010e0
#3  0x7fb25be82aec in g_main_context_iteration 
(context=context@entry=0x55b36c565be0, may_block=may_block@entry=1) at 
././glib/gmain.c:3990
retval = 
#4  0x7fb2495f546d in dconf_gdbus_worker_thread (user_data=0x55b36c565be0) 
at dconf-gdbus-thread.c:82
context = 0x55b36c565be0
#5  0x7fb25beaa325 in g_thread_proxy (data=0x55b36c560140) at 
././glib/gthread.c:784
thread = 0x55b36c560140
#6  0x7fb25bc22464 in start_thread (arg=0x7fb2495ed700) at 
pthread_create.c:333
__res = 
pd = 0x7fb2495ed700
now = 
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140403711858432, 
1729578137496448398, 0, 140735576066847, 0, 140404113477696, 
-177