Package: newsboat Version: 2.11.1-1 Severity: important Dear Maintainer,
I've noticed apparently random what appear to be segfaults with newsboat (which I didn't see with newsbeuter, so presumably a recent change). I've finally managed to get a crash when running gdb, the backtrace is below (I have the core file that this was generated from if that helps). These segfaults don't seem to have a pattern (different urls). The message (which may also help) printed was "corrupted double-linked list". #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x00007f77b258c231 in __GI_abort () at abort.c:79 #2 0x00007f77b25cd7b7 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f77b26d60f3 "%s\n") at ../sysdeps/posix/libc_fatal.c:181 #3 0x00007f77b25d3d5a in malloc_printerr (str=str@entry=0x7f77b26d4256 "corrupted double-linked list") at malloc.c:5350 #4 0x00007f77b25d72d6 in _int_malloc (av=av@entry=0x7f77b290ac40 <main_arena>, bytes=bytes@entry=31) at malloc.c:3926 #5 0x00007f77b25d872d in __GI___libc_malloc (bytes=31) at malloc.c:3065 #6 0x00007f77b2f4de48 in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007f77b2fd8e6b in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #8 0x00007f77b2fd9bdb in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #9 0x000055f2f8561af9 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign (__s=0x55f2fa313728 "'180504125859164'", this=0x7ffd2d32acb0) at /usr/include/c++/7/bits/basic_string.h:1420 #10 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator= (__s=0x55f2fa313728 "'180504125859164'", this=0x7ffd2d32acb0) at /usr/include/c++/7/bits/basic_string.h:694 #11 newsboat::cache::prepare_query<char const*> (this=this@entry=0x55f2f9c18bf0, format="'%q'", argument=@0x7ffd2d32ad90: 0x7f7765852e98 "180504125859164") at src/cache.cpp:818 #12 0x000055f2f855c293 in newsboat::cache::prepare_query<>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (argument=..., format="'%q'", this=0x55f2f9c18bf0) at src/cache.cpp:805 #13 newsboat::cache::fetch_descriptions (this=0x55f2f9c18bf0, feed=feed@entry=0x7f777123bec0) at src/cache.cpp:921 #14 0x000055f2f85c7142 in newsboat::rss_feed::load (this=0x7f777123bec0) at src/rss.cpp:626 #15 0x000055f2f8602cbd in newsboat::itemlist_formaction::set_feed (this=this@entry=0x55f2fa833d60, fd=std::shared_ptr<newsboat::rss_feed> (use count 4, weak count 1292) = {...}) at src/itemlist_formaction.cpp:1072 #16 0x000055f2f858d355 in newsboat::view::get_next_unread (this=0x7ffd2d32c880, itemlist=itemlist@entry=0x55f2fa833d60, itemview=itemview@entry=0x0) at src/view.cpp:720 #17 0x000055f2f85fced9 in newsboat::itemlist_formaction::process_operation (this=0x55f2fa833d60, op=<optimized out>, automatic=<optimized out>, args=0x0) at src/itemlist_formaction.cpp:284 #18 0x000055f2f85e964d in newsboat::formaction::process_op (this=0x55f2fa833d60, op=op@entry=newsboat::OP_NEXTUNREAD, automatic=automatic@entry=false, args=args@entry=0x0) at src/formaction.cpp:139 #19 0x000055f2f85925ff in newsboat::view::run (this=0x7ffd2d32c880) at src/view.cpp:253 #20 0x000055f2f85b45cb in newsboat::controller::run (this=0x7ffd2d32c9e0, argc=<optimized out>, argv=0x7ffd2d32ced8) at src/controller.cpp:806 #21 0x000055f2f8555721 in main (argc=1, argv=0x7ffd2d32ced8) at newsboat.cpp:30 -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.16.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_AU.UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8) (ignored: LC_ALL set to en_AU.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages newsboat depends on: ii libc6 2.27-3 ii libcurl3-gnutls 7.58.0-2 ii libgcc1 1:8.1.0-2 ii libjson-c3 0.12.1-1.3 ii libncursesw5 6.1+20180210-3 ii libsqlite3-0 3.23.1-1 ii libstdc++6 8.1.0-2 ii libstfl0 0.22-1.3+b9 ii libtinfo5 6.1+20180210-3 ii libxml2 2.9.4+dfsg1-6.1+b1 newsboat recommends no packages. newsboat suggests no packages. -- no debconf information