[Bug 1698388] Re: Assertion failure in journal-remote-parse.c
Dan Streetman
1698388 at bugs.launchpad.net
Thu Sep 10 17:06:39 UTC 2020
I at least verified the update doesn't appear to cause any obvious
regression:
start server:
ubuntu at lp1698388-x:~$ dpkg -l |grep systemd-journal-remote
ii systemd-journal-remote 229-4ubuntu21.29 amd64 tools for sending and receiving remote journal logs
ubuntu at lp1698388-x:~$ mkdir /tmp/journal-test
ubuntu at lp1698388-x:~$ /lib/systemd/systemd-journal-remote -o /tmp/journal-test --listen-http=127.0.0.1:7000
then in separate terminal:
ubuntu at lp1698388-x:~$ /lib/systemd/systemd-journal-upload -u
http://127.0.0.1:7000
then check if uploaded:
ubuntu at lp1698388-x:~$ ls -l /tmp/journal-test/
total 8196
-rw-r----- 1 ubuntu ubuntu 8388608 Sep 10 17:03 remote-127.0.0.1.journal
ubuntu at lp1698388-x:~$ journalctl --file /tmp/journal-test/remote-127.0.0.1.journal | wc -l
1842
** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done verification-done-xenial
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1698388
Title:
Assertion failure in journal-remote-parse.c
Status in systemd package in Ubuntu:
Fix Released
Status in systemd source package in Xenial:
Fix Committed
Bug description:
[impact]
assertion failure in systemd-journal-remote
[test case]
only happens under specific circumstances, which is unclear exactly
how to reproduce it
[regression potential]
any regression would likely result in the failure/crash of systemd-
journal-remote program while processing data from a remote source.
[scope]
this is needed only for x.
this is fixed by commit 9ba37525d0ef3d144a50ed5fd4710573e92b7ec1 which
is included upstream starting in v230, so this is already included in
b and later.
[original description]
I am observing the following assertion failure in systemd-journal-
remote:
Assertion 'source->filled <= source->size' failed at ../src/journal-
remote/journal-remote-parse.c:95, function get_line(). Aborting.
Systemd version:
systemd 229
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN
Ubuntu release:
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Package version:
systemd:
Installed: 229-4ubuntu13
Candidate: 229-4ubuntu17
It looks like this issue has been fixed upstream in v230, specifically
in commit 9ba37525d0ef3d144a50ed5fd4710573e92b7ec1. Could this
particular commit be backported?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1698388/+subscriptions
More information about the foundations-bugs
mailing list