Bug#903219: journald crashes

Yuri D'Elia wavexx at thregr.org
Sat Jul 7 22:42:26 BST 2018


Package: systemd
Version: 239-5
Severity: important

I noticed journald dumped core several times on this system.

Unfortunately, I didn't notice earlier as these are obviously not logged
on the journal and coredumpctl fails to report them. Nice.

[ 6840.048179] systemd-coredump[7546]: MESSAGE=Process 418 (systemd-journal) of user 0 dumped core.
[ 6840.048185] systemd-coredump[7546]: Coredump diverted to /var/lib/systemd/coredump/core.systemd-journal.0.e13febf27eb6481eb4b017aeba831de4.418.1530998547000000.lz4
[ 6840.048188] systemd-coredump[7546]: Stack trace of thread 418:
[ 6840.048190] systemd-coredump[7546]: #0  0x00007f1e5b58a420 n/a (libsystemd-shared-239.so)
[ 6840.048193] systemd-coredump[7546]: #1  0x00007f1e5b58bb42 internal_hashmap_iterate (libsystemd-shared-239.so)
[ 6840.048195] systemd-coredump[7546]: #2  0x0000558f32563812 n/a (systemd-journald)
[ 6840.048197] systemd-coredump[7546]: #3  0x00007f1e5b74aa87 __libc_start_main (libc.so.6)
[ 6840.048199] systemd-coredump[7546]: #4  0x0000558f32565a7a n/a (systemd-journald)`

backtrace:

[New LWP 418]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/lib/systemd/systemd-journald'.
Program terminated with signal SIGABRT, Aborted.
#0  storage_ptr () at ../src/basic/hashmap.c:326
#1  bucket_at () at ../src/basic/hashmap.c:374
#2  ordered_bucket_at () at ../src/basic/hashmap.c:382
#3  hashmap_iterate_in_insertion_order (i=0x7fff2163f530, h=0x558f33fc7078) at ../src/basic/hashmap.c:589
#4  hashmap_iterate_entry (h=h at entry=0x558f33fc7078, i=0x7fff2163f530) at ../src/basic/hashmap.c:703
#5  0x00007f1e5b58bb42 in internal_hashmap_iterate (h=<optimized out>, i=<optimized out>, value=<optimized out>, key=<optimized out>, key=<optimized out>,
    value=<optimized out>) at ../src/basic/hashmap.c:711
#6  0x0000558f32563812 in ordered_hashmap_iterate () at ../src/basic/hashmap.h:259
#7  server_maybe_append_tags (s=0x7fff2163f5d0) at ../src/journal/journald-server.c:1891
#8  main (argc=<optimized out>, argv=<optimized out>) at ../src/journal/journald.c:98

-- Package-specific info:

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (800, 'experimental'), (500, 'unstable-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 4.17.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd depends on:
ii  adduser          3.117
ii  libacl1          2.2.52-3+b1
ii  libapparmor1     2.12-4+b1
ii  libaudit1        1:2.8.3-1+b1
ii  libblkid1        2.32-0.1
ii  libc6            2.27-3
ii  libcap2          1:2.25-1.2
ii  libcryptsetup12  2:2.0.3-5
ii  libgcrypt20      1.8.3-1
ii  libgnutls30      3.5.18-1
ii  libgpg-error0    1.31-1
ii  libidn11         1.33-2.2
ii  libip4tc0        1.6.2-1
ii  libkmod2         25-1
ii  liblz4-1         1.8.2-1
ii  liblzma5         5.2.2-1.3
ii  libmount1        2.32-0.1
ii  libpam0g         1.1.8-3.7
ii  libseccomp2      2.3.3-3
ii  libselinux1      2.8-1+b1
ii  libsystemd0      239-5
ii  mount            2.32-0.1
ii  procps           2:3.3.15-2
ii  util-linux       2.32-0.1

Versions of packages systemd recommends:
ii  dbus            1.12.8-3
ii  libpam-systemd  239-5

Versions of packages systemd suggests:
ii  policykit-1        0.105-20
ii  systemd-container  239-5

Versions of packages systemd is related to:
pn  dracut           <none>
ii  initramfs-tools  0.130
ii  udev             239-5

-- Configuration Files:
/etc/systemd/journald.conf changed:
[Journal]
Storage=persistent
MaxRetentionSec=3month
MaxFileSec=1week

/etc/systemd/logind.conf changed:
[Login]
KillUserProcesses=no



More information about the Pkg-systemd-maintainers mailing list