Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1071 Adding Tiny Tiny RSS source causes liferea to die

v1.10
pending-works-for-me
Lars Windolf
5
2015-01-14
2013-03-31
GuySoft
No

When adding a Tiny Tiny RSS source liferea dies. It seems to fail to authenticate (though other clients work fine). Using Tiny Tiny RSS v1.7.5 and Liferea from Git.

Here is a GDB backtrace:

guy@Golem2:~$ gdb liferea
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/liferea...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/local/bin/liferea 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[New Thread 0xb359eb70 (LWP 11021)]
[New Thread 0xb2bffb70 (LWP 11022)]
[New Thread 0xb23feb70 (LWP 11023)]
[New Thread 0xb1a7ab70 (LWP 11024)]
[New Thread 0x925beb70 (LWP 11027)]
[New Thread 0x91753b70 (LWP 11028)]
[Thread 0xb23feb70 (LWP 11023) exited]
**
ERROR:auth.c:78:liferea_auth_info_store_foreach: assertion failed: (subscription->node != NULL)

Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb5700941 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb5703d72 in *__GI_abort () at abort.c:92
#3  0xb58bf378 in g_assertion_message () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb58bf99f in g_assertion_message_expr () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0805f344 in _start ()
(gdb)

Discussion

  • GuySoft
    GuySoft
    2013-03-31

    Here is a backtrace with libglib2.0-0-dbg installed:

    guy@Golem2:~/tmp/liferea$ gdb liferea
    GNU gdb (GDB) 7.4.1-debian
    Copyright (C) 2012 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "i486-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/local/bin/liferea...(no debugging symbols found)...done.
    (gdb) run
    Starting program: /usr/local/bin/liferea 
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
    [New Thread 0xb359eb70 (LWP 16619)]
    [New Thread 0xb2bffb70 (LWP 16620)]
    [New Thread 0xb23feb70 (LWP 16621)]
    [New Thread 0xb1a7ab70 (LWP 16622)]
    [New Thread 0x925beb70 (LWP 16626)]
    [New Thread 0x91647b70 (LWP 16627)]
    [Thread 0xb23feb70 (LWP 16621) exited]
    **
    ERROR:auth.c:78:liferea_auth_info_store_foreach: assertion failed: (subscription->node != NULL)
    
    Program received signal SIGABRT, Aborted.
    0xb7fe1424 in __kernel_vsyscall ()
    (gdb) bt
    #0  0xb7fe1424 in __kernel_vsyscall ()
    #1  0xb5700941 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
    #2  0xb5703d72 in *__GI_abort () at abort.c:92
    #3  0xb58bf378 in g_assertion_message (domain=domain@entry=0x0, file=file@entry=0x809d5bc "auth.c", line=line@entry=78, 
        func=func@entry=0x80a45a0 "liferea_auth_info_store_foreach", message=<optimized out>)
        at /build/buildd-glib2.0_2.33.12+really2.32.4-5-i386-eISom6/glib2.0-2.33.12+really2.32.4/./glib/gtestutils.c:1861
    #4  0xb58bf99f in g_assertion_message_expr (domain=0x0, file=0x809d5bc "auth.c", line=78, func=
        0x80a45a0 "liferea_auth_info_store_foreach", expr=0x809d5c3 "subscription->node != NULL")
        at /build/buildd-glib2.0_2.33.12+really2.32.4-5-i386-eISom6/glib2.0-2.33.12+really2.32.4/./glib/gtestutils.c:1872
    #5  0x0805f344 in _start ()
    (gdb)
    
     
  • GuySoft
    GuySoft
    2013-03-31

    Update: Works fine on 1.8.12. So this is definitely something introduced after that.

     
  • I'm guessing this has to do with the gnome-keyring plugin? Try disabling that from preferences.

    Regards, Simon

     
  • Lars Windolf
    Lars Windolf
    2013-10-16

    I remember fixing this assertion. There was a race in the initialization of the TinyTinyRSS source struction (including it's subscription member) and the fetching of the credentials.

    Please retest with latest 1.8 or better with 1.10 releases!

     
  • Lars Windolf
    Lars Windolf
    2013-10-16

    • status: open --> pending-works-for-me
    • assigned_to: Lars Windolf