I think I've hit the same bug.
Pan 0.145, Debian unstable/amd64:
$ pan --debug
(article-cache.cc:171:ArticleCache) loaded 984 articles into cache from
/home/yavor/.pan2/article-cache
(queue.cc:292:process_task) in process_task with a task of type SAVE
(task-article.cc:355:use_decoder) decoder thread was free, enqueued work
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name news.pan.NZB
was not provided by any .service files
munmap_chunk(): invalid pointer
Aborted
Thread 6 "pool" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffee4f8700 (LWP 1820)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: Няма такъв файл или директория.
(gdb) bt
#0 0x00007ffff54c7f3b in __GI_raise (sig=sig@entry=6)
at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff54c92f1 in __GI_abort () at abort.c:79
#2 0x00007ffff550a867 in __libc_message (action=action@entry=
do_abort, fmt=fmt@entry=0x7ffff5614273 "%s\n")
at ../sysdeps/posix/libc_fatal.c:181
#3 0x00007ffff5510e0a in malloc_printerr (str=str@entry=0x7ffff5615b90
"munmap_chunk(): invalid pointer") at malloc.c:5350
#4 0x00007ffff551136c in munmap_chunk (p=<optimized out>) at malloc.c:2846
#5 0x00005555556b1c34 in UUCleanUp () at uulib.c:1266
#6 0x000055555567e1d4 in pan::Decoder::do_work() (this=0x7fffffffd8d8)
at decoder.cc:223
#7 0x00005555556aecba in pan::WorkerPool::Worker::worker_thread_func(void*,
void*) (g=0x7fffffffd8d8, unused=<optimized out>) at worker-pool.cc:74
#8 0x00007ffff6ed5ad3 in g_thread_pool_thread_proxy (data=<optimized out>)
at ../../../../glib/gthreadpool.c:307
#9 0x00007ffff6ed5135 in g_thread_proxy (data=0x555555a99540)
at ../../../../glib/gthread.c:784
#10 0x00007ffff5478f2a in start_thread (arg=0x7fffee4f8700)
at pthread_create.c:463
#11 0x00007ffff5589edf in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) fr 5
#5 0x00005555556b1c34 in UUCleanUp () at uulib.c:1266
1266 uulib.c: Няма такъв файл или директория.
(gdb) p aiter
$1 = (allomap *) 0x55555596b510 <toallocate+240>
(gdb) p aiter->ptr
$2 = (char **) 0x55555596f980 <uuscan_shlline>
(gdb) p *aiter->ptr
$3 = 0x7fffe4004e10 "Date: Sat, 08 Sep 2018 10:54:08 +0200"
I was reading gmane.linux.debian.devel.changes.unstable when Pan
started going offline with a message that there was no space left on
the device (which is not true).
I attach the tasks.nzb file. Removing it fixes the problem but it is
obvious that's a bug.
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE nzb PUBLIC "-//newzBin//DTD NZB 1.0//EN"
"http://www.newzbin.com/DTD/nzb/nzb-1.0.dtd">
<nzb xmlns="http://www.newzbin.com/DTD/2003/nzb">
<file poster="Andreas Henriksson <[email protected]>" date="1536398336"
subject="Accepted gdk-pixbuf 2.38.0+dfsg-3 (source) into unstable">
<path></path>
<paused>0</paused>
<groups>
<group>gmane.linux.debian.devel.changes.unstable</group>
</groups>
<segments>
<segment bytes="7657"
number="1">[email protected]</segment>
</segments>
</file>
</nzb>