Skip to content

Instantly share code, notes, and snippets.

@yuwata
Created April 26, 2016 08:29
Show Gist options
  • Save yuwata/2e467f0d53eac6763589934fa72cf873 to your computer and use it in GitHub Desktop.
Save yuwata/2e467f0d53eac6763589934fa72cf873 to your computer and use it in GitHub Desktop.
systemd-resolved issue 2942
# gdb
GNU gdb (GDB) Fedora 7.11-70.fc25
Copyright (C) 2016 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-redhat-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".
(gdb) attach 2040
Attaching to process 2040
Reading symbols from target:/usr/lib/systemd/systemd-resolved...Reading symbols from /usr/lib/debug/usr/lib/systemd/systemd-resolved.debug...done.
done.
Reading symbols from target:/lib64/libselinux.so.1...Reading symbols from /usr/lib/debug/usr/lib64/libselinux.so.1.debug...done.
done.
Reading symbols from target:/lib64/libcap.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libcap.so.2.25.debug...done.
done.
Reading symbols from target:/lib64/librt.so.1...Reading symbols from /usr/lib/debug/usr/lib64/librt-2.23.90.so.debug...done.
done.
Reading symbols from target:/lib64/libm.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libm-2.23.90.so.debug...done.
done.
Reading symbols from target:/lib64/libgcrypt.so.20...Reading symbols from /usr/lib/debug/usr/lib64/libgcrypt.so.20.0.4.debug...done.
done.
Reading symbols from target:/lib64/libgpg-error.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libgpg-error.so.0.17.0.debug...done.
done.
Reading symbols from target:/lib64/libidn.so.11...Reading symbols from /usr/lib/debug/usr/lib64/libidn.so.11.6.15.debug...done.
done.
Reading symbols from target:/lib64/libgcc_s.so.1...Reading symbols from /usr/lib/debug/usr/lib64/libgcc_s-6.0.0-20160406.so.1.debug...done.
done.
Reading symbols from target:/lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpthread-2.23.90.so.debug...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Reading symbols from target:/lib64/libc.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libc-2.23.90.so.debug...done.
done.
Reading symbols from target:/lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/usr/lib64/ld-2.23.90.so.debug...done.
done.
Reading symbols from target:/lib64/libpcre.so.1...Reading symbols from /usr/lib/debug/usr/lib64/libpcre.so.1.2.6.debug...done.
done.
Reading symbols from target:/lib64/libdl.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.23.90.so.debug...done.
done.
Reading symbols from target:/lib64/libnss_files.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libnss_files-2.23.90.so.debug...done.
done.
0x00007f72d06507e3 in __epoll_wait_nocancel () at ../sysdeps/unix/syscall-template.S:84
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
(gdb) cont
Continuing.
Program received signal SIGABRT, Aborted.
0x00007f72d057dbf5 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) backtrace
#0 0x00007f72d057dbf5 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007f72d057f7fa in __GI_abort () at abort.c:89
#2 0x000055add314e765 in log_assert_failed (text=<optimized out>, file=<optimized out>, line=<optimized out>, func=<optimized out>) at src/basic/log.c:788
#3 0x000055add31195de in dns_transaction_free (t=t@entry=0x55add35bbdc0) at src/resolve/resolved-dns-transaction.c:94
#4 0x000055add31198fb in dns_transaction_gc (t=0x55add35bbdc0) at src/resolve/resolved-dns-transaction.c:148
#5 0x000055add3119a4f in dns_transaction_complete (t=t@entry=0x55add35bbdc0, state=state@entry=DNS_TRANSACTION_SUCCESS) at src/resolve/resolved-dns-transaction.c:365
#6 0x000055add311a2dd in dns_transaction_process_dnssec (t=t@entry=0x55add35bbdc0) at src/resolve/resolved-dns-transaction.c:720
#7 0x000055add3119d1c in dns_transaction_notify (source=0x55add35be630, t=0x55add35bbdc0) at src/resolve/resolved-dns-transaction.c:2088
#8 dns_transaction_complete (t=t@entry=0x55add35be630, state=state@entry=DNS_TRANSACTION_SUCCESS) at src/resolve/resolved-dns-transaction.c:361
#9 0x000055add311a2dd in dns_transaction_process_dnssec (t=t@entry=0x55add35be630) at src/resolve/resolved-dns-transaction.c:720
#10 0x000055add311b18b in dns_transaction_process_reply (t=0x55add35be630, p=<optimized out>) at src/resolve/resolved-dns-transaction.c:1002
#11 0x000055add311c07b in on_dns_packet.lto_priv.380 (s=<optimized out>, fd=<optimized out>, revents=<optimized out>, userdata=0x55add35be630) at src/resolve/resolved-dns-transaction.c:1053
#12 0x000055add315e5d7 in source_dispatch.lto_priv.480 (s=0x55add35bf770) at src/libsystemd/sd-event/sd-event.c:2268
#13 0x000055add30f447b in sd_event_dispatch (e=0x55add359c0b0) at src/libsystemd/sd-event/sd-event.c:2629
#14 sd_event_run (timeout=18446744073709551615, e=<optimized out>) at src/libsystemd/sd-event/sd-event.c:2688
#15 sd_event_loop (e=<optimized out>) at src/libsystemd/sd-event/sd-event.c:2708
#16 main (argc=<optimized out>, argv=<optimized out>) at src/resolve/resolved.c:98
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment