not sure if this gives helpful information, but here is a backtrace:

# gdb --pid=26353
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 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 "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 26353
Reading symbols from target:/lib/systemd/systemd-resolved...(no debugging 
symbols found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/libc.so.6...Reading symbols 
from /usr/lib/debug/lib/x86_64-linux-gnu//libc-2.27.so...done.
done.
Reading symbols from target:/lib/systemd/libsystemd-shared-237.so...(no 
debugging symbols found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/libgpg-error.so.0...(no 
debugging symbols found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/libm.so.6...Reading symbols 
from /usr/lib/debug/lib/x86_64-linux-gnu//libm-2.27.so...done.
done.
Reading symbols from target:/lib/x86_64-linux-gnu/libgcrypt.so.20...(no 
debugging symbols found)...done.
Reading symbols from target:/lib64/ld-linux-x86-64.so.2...(no debugging symbols 
found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/librt.so.1...Reading symbols 
from /usr/lib/debug/lib/x86_64-linux-gnu//librt-2.27.so...done.
done.
Reading symbols from target:/lib/x86_64-linux-gnu/libcap.so.2...(no debugging 
symbols found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/libacl.so.1...(no debugging 
symbols found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/libcryptsetup.so.12...(no 
debugging symbols found)...done.
Reading symbols from target:/usr/lib/x86_64-linux-gnu/libip4tc.so.0...(no 
debugging symbols found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/libseccomp.so.2...(no 
debugging symbols found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/libselinux.so.1...(no 
debugging symbols found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/libidn.so.11...(no debugging 
symbols found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/liblzma.so.5...(no debugging 
symbols found)...done.
Reading symbols from target:/usr/lib/x86_64-linux-gnu/liblz4.so.1...(no 
debugging symbols found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/libblkid.so.1...(no debugging 
symbols found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/libpthread.so.0...Reading 
symbols from 
/usr/lib/debug/.build-id/28/c6aade70b2d40d1f0f3d0a1a0cad1ab816448f.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Reading symbols from target:/lib/x86_64-linux-gnu/libattr.so.1...(no debugging 
symbols found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/libuuid.so.1...(no debugging 
symbols found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/libdevmapper.so.1.02.1...(no 
debugging symbols found)...done.
Reading symbols from target:/usr/lib/x86_64-linux-gnu/libargon2.so.0...(no 
debugging symbols found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/libjson-c.so.3...(no 
debugging symbols found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/libpcre.so.3...(no debugging 
symbols found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/libdl.so.2...Reading symbols 
from /usr/lib/debug/lib/x86_64-linux-gnu//libdl-2.27.so...done.
done.
Reading symbols from target:/lib/x86_64-linux-gnu/libudev.so.1...(no debugging 
symbols found)...done.
Reading symbols from target:/lib/x86_64-linux-gnu/libnss_compat.so.2...Reading 
symbols from /usr/lib/debug/lib/x86_64-linux-gnu//libnss_compat-2.27.so...done.
done.
Reading symbols from target:/lib/x86_64-linux-gnu/libnss_nis.so.2...Reading 
symbols from /usr/lib/debug/lib/x86_64-linux-gnu//libnss_nis-2.27.so...done.
done.
Reading symbols from target:/lib/x86_64-linux-gnu/libnsl.so.1...Reading symbols 
from /usr/lib/debug/lib/x86_64-linux-gnu//libnsl-2.27.so...done.
done.
Reading symbols from target:/lib/x86_64-linux-gnu/libnss_files.so.2...Reading 
symbols from /usr/lib/debug/lib/x86_64-linux-gnu//libnss_files-2.27.so...done.
done.
0x00007f7016940b77 in epoll_wait (epfd=4, events=0x7fffaadc3100, maxevents=14, 
timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
30      ../sysdeps/unix/sysv/linux/epoll_wait.c: No such file or directory.
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) n
Program not restarted.
(gdb) c
Continuing.

Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007f701685f801 in __GI_abort () at abort.c:79
#2  0x00007f7016428676 in log_assert_failed_realm () from 
target:/lib/systemd/libsystemd-shared-237.so
#3  0x000055dfa6e93af1 in ?? ()
#4  0x000055dfa6e93c0b in ?? ()
#5  0x00007f701644441e in ?? () from 
target:/lib/systemd/libsystemd-shared-237.so
#6  0x00007f701644469a in sd_event_dispatch () from 
target:/lib/systemd/libsystemd-shared-237.so
#7  0x00007f7016444829 in sd_event_run () from 
target:/lib/systemd/libsystemd-shared-237.so
#8  0x00007f7016444a6b in sd_event_loop () from 
target:/lib/systemd/libsystemd-shared-237.so
#9  0x000055dfa6e8e72b in ?? ()
#10 0x00007f7016840b97 in __libc_start_main (main=0x55dfa6e8d300, argc=1, 
argv=0x7fffaadc34f8, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffaadc34e8) at 
../csu/libc-start.c:310
#11 0x000055dfa6e8edfa in ?? ()

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1809438

Title:
  systemd-resolved segfaults

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  I regularly (once almost every hour) get segfaults resported in
  systemd-resolved. The syslog is not always the same:

  Dec 21 06:59:21 marshall kernel: [988042.071003] systemd-resolve[15794]: 
segfault at e60e8ad514 ip 000000e60e8ad514 sp 00007ffe0376e748 error 14 in 
systemd-resolved[556f74bcf000+59000]
  Dec 21 06:59:21 marshall systemd[1]: systemd-resolved.service: Main process 
exited, code=dumped, status=11/SEGV
  Dec 21 06:59:21 marshall systemd[1]: systemd-resolved.service: Failed with 
result 'core-dump'.

  Dec 21 08:17:47 marshall kernel: [992748.334333] systemd-resolve[16943]: 
segfault at 2a11d9b0 ip 00007f4810f5ad26 sp 00007fff544db0f0 error 4 in 
libsystemd-shared-237.so[7f4810e1f000+1b5000]
  Dec 21 08:17:47 marshall systemd[1]: systemd-resolved.service: Main process 
exited, code=dumped, status=11/SEGV
  Dec 21 08:17:47 marshall systemd[1]: systemd-resolved.service: Failed with 
result 'core-dump'.

  Dec 21 06:22:45 marshall systemd-resolved[15727]: Assertion 'p->n_ref > 0' 
failed at ../src/resolve/resolved-dns-packet.c:210, function 
dns_packet_unref(). Aborting.
  Dec 21 06:22:45 marshall systemd[1]: systemd-resolved.service: Main process 
exited, code=dumped, status=6/ABRT
  Dec 21 06:22:45 marshall systemd[1]: systemd-resolved.service: Failed with 
result 'core-dump'.

  Dec 21 06:17:46 marshall systemd-resolved[15662]: Assertion 
'DNS_TRANSACTION_IS_LIVE(q->state)' failed at 
../src/resolve/resolved-dns-query.c:540, function dns_query_complete(). 
Aborting.
  Dec 21 06:17:46 marshall systemd[1]: systemd-resolved.service: Main process 
exited, code=dumped, status=6/ABRT
  Dec 21 06:17:46 marshall systemd[1]: systemd-resolved.service: Failed with 
result 'core-dump'.

  The system in question uses dnsmasq as local DNS server. Logging that is 
probably unrelated, but often seen (possibly due to the setup with dnsmasq) is:
  dec 21 10:22:00 marshall systemd-resolved[3183]: Server returned error 
NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying 
transaction with reduced feature level UDP.
  dec 21 10:17:15 marshall systemd-resolved[3183]: Using degraded feature set 
(TCP) for DNS server 127.0.0.1.

  
  # dpkg --status systemd
  Package: systemd
  Installed-Size: 12444
  Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
  Architecture: amd64
  Multi-Arch: foreign
  Version: 237-3ubuntu10.9

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1809438/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to