Skip to content

Instantly share code, notes, and snippets.

@topimiettinen
Created May 18, 2019 21:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save topimiettinen/7eb221e115577ae2c4c76afa6edf023c to your computer and use it in GitHub Desktop.
Save topimiettinen/7eb221e115577ae2c4c76afa6edf023c to your computer and use it in GitHub Desktop.
shutdown problem
Script started on 2019-05-19 00:45:20+03:00 [TERM="linux" TTY="/dev/tty9" COLUMNS="240" LINES="67"]
\[\e[1m\]\h \A (testing)\[\e[m\] \w $ ps faxuwwww
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 2 0.0 0.0 0 0 ? S 00:34 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [rcu_gp]
root 4 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [rcu_par_gp]
root 6 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kworker/0:0H-kblockd]
root 7 0.0 0.0 0 0 ? I 00:34 0:00 \_ [kworker/u16:0-btrfs-endio-write]
root 8 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [mm_percpu_wq]
root 9 0.0 0.0 0 0 ? S 00:34 0:00 \_ [ksoftirqd/0]
root 10 0.0 0.0 0 0 ? I 00:34 0:00 \_ [rcu_sched]
root 11 0.0 0.0 0 0 ? I 00:34 0:00 \_ [rcu_bh]
root 12 0.0 0.0 0 0 ? S 00:34 0:00 \_ [migration/0]
root 13 0.0 0.0 0 0 ? I 00:34 0:00 \_ [kworker/0:1-events]
root 14 0.0 0.0 0 0 ? S 00:34 0:00 \_ [cpuhp/0]
root 15 0.0 0.0 0 0 ? S 00:34 0:00 \_ [cpuhp/1]
root 16 0.0 0.0 0 0 ? S 00:34 0:00 \_ [migration/1]
root 17 0.0 0.0 0 0 ? S 00:34 0:00 \_ [ksoftirqd/1]
root 19 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kworker/1:0H-kblockd]
root 20 0.0 0.0 0 0 ? S 00:34 0:00 \_ [cpuhp/2]
root 21 0.0 0.0 0 0 ? S 00:34 0:00 \_ [migration/2]
root 22 0.0 0.0 0 0 ? S 00:34 0:00 \_ [ksoftirqd/2]
root 24 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kworker/2:0H-kblockd]
root 25 0.0 0.0 0 0 ? S 00:34 0:00 \_ [cpuhp/3]
root 26 0.0 0.0 0 0 ? S 00:34 0:00 \_ [migration/3]
root 27 0.0 0.0 0 0 ? S 00:34 0:00 \_ [ksoftirqd/3]
root 29 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kworker/3:0H-kblockd]
root 30 0.0 0.0 0 0 ? P 00:34 0:00 \_ [cpuhp/4]
root 31 0.0 0.0 0 0 ? P 00:34 0:00 \_ [migration/4]
root 32 0.0 0.0 0 0 ? P 00:34 0:00 \_ [ksoftirqd/4]
root 33 0.0 0.0 0 0 ? I 00:34 0:00 \_ [kworker/4:0]
root 34 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kworker/4:0H]
root 35 0.0 0.0 0 0 ? P 00:34 0:00 \_ [cpuhp/5]
root 36 0.0 0.0 0 0 ? P 00:34 0:00 \_ [migration/5]
root 37 0.0 0.0 0 0 ? P 00:34 0:00 \_ [ksoftirqd/5]
root 38 0.0 0.0 0 0 ? I 00:34 0:00 \_ [kworker/5:0]
root 39 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kworker/5:0H]
root 40 0.0 0.0 0 0 ? P 00:34 0:00 \_ [cpuhp/6]
root 41 0.0 0.0 0 0 ? P 00:34 0:00 \_ [migration/6]
root 42 0.0 0.0 0 0 ? P 00:34 0:00 \_ [ksoftirqd/6]
root 43 0.0 0.0 0 0 ? I 00:34 0:00 \_ [kworker/6:0]
root 44 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kworker/6:0H]
root 45 0.0 0.0 0 0 ? P 00:34 0:00 \_ [cpuhp/7]
root 46 0.0 0.0 0 0 ? P 00:34 0:00 \_ [migration/7]
root 47 0.0 0.0 0 0 ? P 00:34 0:00 \_ [ksoftirqd/7]
root 48 0.0 0.0 0 0 ? I 00:34 0:00 \_ [kworker/7:0]
root 49 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kworker/7:0H]
root 50 0.0 0.0 0 0 ? S 00:34 0:00 \_ [kdevtmpfs]
root 51 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [netns]
root 52 0.0 0.0 0 0 ? S 00:34 0:00 \_ [kauditd]
root 53 0.0 0.0 0 0 ? S 00:34 0:00 \_ [khungtaskd]
root 54 0.0 0.0 0 0 ? S 00:34 0:00 \_ [oom_reaper]
root 55 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [writeback]
root 56 0.0 0.0 0 0 ? S 00:34 0:00 \_ [kcompactd0]
root 57 0.0 0.0 0 0 ? SN 00:34 0:00 \_ [ksmd]
root 58 0.0 0.0 0 0 ? SN 00:34 0:00 \_ [khugepaged]
root 59 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [crypto]
root 60 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kintegrityd]
root 61 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kblockd]
root 62 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [edac-poller]
root 63 0.0 0.0 0 0 ? I 00:34 0:00 \_ [kworker/u16:1-events_unbound]
root 64 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [devfreq_wq]
root 65 0.0 0.0 0 0 ? I 00:34 0:00 \_ [kworker/0:2-events]
root 66 0.0 0.0 0 0 ? S 00:34 0:00 \_ [watchdogd]
root 67 0.0 0.0 0 0 ? S 00:34 0:00 \_ [kswapd0]
root 85 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kthrotld]
root 86 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [ipv6_addrconf]
root 95 0.0 0.0 0 0 ? I 00:34 0:00 \_ [kworker/3:1-events]
root 96 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kstrp]
root 102 0.0 0.0 0 0 ? I 00:34 0:00 \_ [kworker/2:1-events]
root 164 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [acpi_thermal_pm]
root 167 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [ata_sff]
root 178 0.0 0.0 0 0 ? I 00:34 0:00 \_ [kworker/3:2-events]
root 212 0.0 0.0 0 0 ? S 00:34 0:00 \_ [scsi_eh_0]
root 213 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [scsi_tmf_0]
root 218 0.0 0.0 0 0 ? S 00:34 0:00 \_ [scsi_eh_1]
root 219 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [scsi_tmf_1]
root 220 0.0 0.0 0 0 ? S 00:34 0:00 \_ [scsi_eh_2]
root 221 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [scsi_tmf_2]
root 223 0.0 0.0 0 0 ? S 00:34 0:00 \_ [scsi_eh_3]
root 224 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [scsi_tmf_3]
root 230 0.0 0.0 0 0 ? I 00:34 0:00 \_ [kworker/u16:3-btrfs-endio-write]
root 231 0.0 0.0 0 0 ? I 00:34 0:00 \_ [kworker/u16:4-btrfs-endio-write]
root 247 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kworker/2:1H-kblockd]
root 248 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kworker/0:1H-kblockd]
root 249 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kworker/3:1H-kblockd]
root 290 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kworker/u17:0-hci0]
root 327 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [md]
root 336 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [raid5wq]
root 349 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kdmflush]
root 367 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-worker]
root 368 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-worker-hi]
root 369 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-delalloc]
root 370 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-flush_del]
root 371 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-cache]
root 372 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-submit]
root 373 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-fixup]
root 374 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-endio]
root 375 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-endio-met]
root 376 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-endio-met]
root 377 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-endio-rai]
root 378 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-endio-rep]
root 379 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-rmw]
root 380 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-endio-wri]
root 381 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-freespace]
root 382 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-delayed-m]
root 383 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-readahead]
root 384 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-qgroup-re]
root 385 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [btrfs-extent-re]
root 386 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kworker/1:1H-kblockd]
root 387 0.0 0.0 0 0 ? S 00:34 0:00 \_ [btrfs-cleaner]
root 388 0.0 0.0 0 0 ? S 00:34 0:00 \_ [btrfs-transacti]
root 432 0.0 0.0 0 0 ? I 00:34 0:00 \_ [kworker/2:2-events]
root 449 0.0 0.0 0 0 ? S 00:34 0:00 \_ [nvidia-modeset]
root 554 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [asus_wireless_w]
root 560 0.0 0.0 0 0 ? S 00:34 0:00 \_ [irq/26-mei_me]
root 561 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [cfg80211]
root 565 0.0 0.0 0 0 ? S 00:34 0:00 \_ [irq/30-iwlwifi]
root 593 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [led_workqueue]
root 608 0.0 0.0 0 0 ? I 00:34 0:00 \_ [kworker/1:3-events_power_efficient]
root 621 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kdmflush]
root 622 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kdmflush]
root 624 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kdmflush]
root 626 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kdmflush]
root 627 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kdmflush]
root 632 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kdmflush]
root 661 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kdmflush]
root 664 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kcryptd_io]
root 665 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kcryptd]
root 666 0.0 0.0 0 0 ? S 00:34 0:00 \_ [dmcrypt_write]
root 670 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [kworker/u17:2-kcryptd]
root 673 0.0 0.0 0 0 ? S 00:34 0:00 \_ [jbd2/dm-4-8]
root 674 0.0 0.0 0 0 ? I< 00:34 0:00 \_ [ext4-rsv-conver]
root 718 0.0 0.0 0 0 ? S 00:34 0:00 \_ [audit_prune_tre]
root 1455 0.0 0.0 0 0 ? I 00:35 0:00 \_ [kworker/u16:6-events_unbound]
root 1602 0.0 0.0 0 0 ? I 00:39 0:00 \_ [kworker/1:0]
root 1668 0.0 0.0 0 0 ? I 00:41 0:00 \_ [kworker/3:0-mm_percpu_wq]
root 1685 0.0 0.0 0 0 ? I 00:43 0:00 \_ [kworker/u16:2-events_unbound]
root 1923 0.0 0.0 0 0 ? I 00:44 0:00 \_ [kworker/u16:5-btrfs-endio]
root 1924 0.0 0.0 0 0 ? I 00:44 0:00 \_ [kworker/u16:7]
root 1938 0.0 0.0 0 0 ? I 00:44 0:00 \_ [kworker/0:0-events]
root 1942 0.0 0.0 0 0 ? I 00:44 0:00 \_ [kworker/3:3-events]
root 1943 0.0 0.0 0 0 ? I 00:44 0:00 \_ [kworker/3:4-events]
root 1944 0.0 0.0 0 0 ? I 00:44 0:00 \_ [kworker/3:5-cgroup_destroy]
root 1958 0.0 0.0 0 0 ? I 00:44 0:00 \_ [kworker/2:0-cgroup_destroy]
root 1960 0.0 0.0 0 0 ? I 00:44 0:00 \_ [kworker/2:3-memcg_kmem_cache]
root 1980 0.0 0.0 0 0 ? I 00:44 0:00 \_ [kworker/0:3-events]
root 1981 0.0 0.0 0 0 ? I 00:44 0:00 \_ [kworker/0:4-events]
root 1982 0.0 0.0 0 0 ? I 00:44 0:00 \_ [kworker/0:5-rcu_gp]
root 1983 0.0 0.0 0 0 ? I 00:44 0:00 \_ [kworker/0:6-events]
root 1984 0.0 0.0 0 0 ? I 00:44 0:00 \_ [kworker/0:7-events]
root 1987 0.0 0.0 0 0 ? I 00:44 0:00 \_ [kworker/0:8-cgroup_destroy]
root 1988 0.0 0.0 0 0 ? I 00:44 0:00 \_ [kworker/0:9]
root 2012 0.0 0.0 0 0 ? I 00:45 0:00 \_ [kworker/2:4-rcu_gp]
root 1 0.3 0.0 179200 11760 ? Ss 00:34 0:02 /sbin/init
root 417 0.0 0.0 8448 5128 tty9 Ss 00:34 0:00 /bin/bash
root 2013 0.0 0.0 5520 2256 tty9 S+ 00:45 0:00 \_ script
root 2014 0.0 0.0 2388 764 pts/0 Ss 00:45 0:00 \_ sh -i
root 2015 0.0 0.0 14744 3696 pts/0 R+ 00:45 0:00 \_ ps faxuwwww
root 487 0.0 0.0 22904 5536 ? Ss 00:34 0:00 /lib/systemd/systemd-udevd
systemd+ 613 0.0 0.0 22064 6688 ? Ss 00:34 0:00 /lib/systemd/systemd-networkd
root 638 1.1 0.8 212104 132888 ? Ss 00:34 0:07 /lib/systemd/systemd-journald
systemd+ 699 0.0 0.0 28548 11276 ? Ss 00:34 0:00 /lib/systemd/systemd-resolved
root 700 19.8 0.0 2464 804 ? Ss 00:34 2:10 /usr/sbin/jitterentropy-rngd
tomoyo-+ 706 0.3 0.0 4408 108 ? R 00:34 0:02 /usr/sbin/tomoyo-auditd
root 707 0.2 0.0 70648 2784 ? S<sl 00:34 0:01 /sbin/auditd
systemd+ 719 0.0 0.0 151132 6588 ? Ssl 00:34 0:00 /lib/systemd/systemd-timesyncd
wpa_sup+ 724 0.0 0.0 23768 9240 ? Ss 00:34 0:00 /sbin/wpa_supplicant -c/etc/wpa_supplicant.conf -Dnl80211,wext -iwlan0
message+ 729 0.0 0.0 10608 5432 ? Ss 00:34 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --nosyslog
topi 1946 0.3 0.0 0 0 ? Zl 00:44 0:00 [kdeconnectd] <defunct>
\[\e[1m\]\h \A (testing)\[\e[m\] \w $ pstack 1
1: /sbin/init
pstack: Input/output error
failed to read target.
\[\e[1m\]\h \A (testing)\[\e[m\] \w $ gdb -p 1
GNU gdb (Debian 8.2.1-2) 8.2.1
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 1
Reading symbols from /usr/lib/systemd/systemd...done.
Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols from /usr/lib/debug/.build-id/18/b9a9a8c523e5cfe5b5d946d605d09242f09798.debug...done.
done.
Reading symbols from /lib/systemd/libsystemd-shared-241.so...done.
Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...Reading symbols from /usr/lib/debug/.build-id/5d/cf98ad684962be494af28a1051793fd39e4ebc.debug...done.
done.
Reading symbols from /lib/x86_64-linux-gnu/libseccomp.so.2...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libselinux.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libmount.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libpam.so.0...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libaudit.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libkmod.so.2...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libapparmor.so.1...(no debugging symbols found)...done.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/.build-id/f2/5dfd7b95be4ba386fd71080accae8c0732b711.debug...done.
done.
Reading symbols from /lib/x86_64-linux-gnu/libcap.so.2...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libacl.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libcryptsetup.so.12...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libgcrypt.so.20...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libip4tc.so.0...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libidn.so.11...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/liblzma.so.5...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/liblz4.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libblkid.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols from /usr/lib/debug/.build-id/88/5dda4b4a5cea600e7b5b98c1ad86996c8d2299.debug...done.
done.
Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading symbols from /usr/lib/debug/.build-id/e9/1114987a0147bd050addbd591eb8994b29f4b3.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 /lib/x86_64-linux-gnu/libpcre.so.3...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...Reading symbols from /usr/lib/debug/.build-id/d3/583c742dd47aaa860c5ae0c0c5bdbcd2d54f61.debug...done.
done.
Reading symbols from /lib/x86_64-linux-gnu/libcap-ng.so.0...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libssl.so.1.1...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libcrypto.so.1.1...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libattr.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libuuid.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libdevmapper.so.1.02.1...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libargon2.so.1...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libjson-c.so.3...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libgpg-error.so.0...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libudev.so.1...(no debugging symbols found)...done.
0x00007f9b657bd7ef in epoll_wait (epfd=4, events=0x7fff4ec8f9c0, maxevents=58, 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) cd /home/topi/d/systemd
Working directory /home/topi/d/systemd
(canonically /home/topi-nobackup/d/systemd).
(gdb) bt full
#0 0x00007f9b657bd7ef in epoll_wait (epfd=4, events=0x7fff4ec8f9c0, maxevents=58, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
resultvar = 18446744073709551612
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007f9b65583941 in sd_event_wait (e=0x55a889beabb0, timeout=18446744073709551615) at ../src/libsystemd/sd-event/sd-event.c:3118
ev_queue = 0x7fff4ec8f9c0
ev_queue_max = 58
r = 1321794752
m = 32767
i = 32767
__PRETTY_FUNCTION__ = "sd_event_wait"
#2 0x00007f9b65584459 in sd_event_run (e=0x55a889beabb0, timeout=18446744073709551615) at ../src/libsystemd/sd-event/sd-event.c:3284
r = 0
__PRETTY_FUNCTION__ = "sd_event_run"
#3 0x000055a887b15218 in manager_loop (m=0x55a889bea5c0) at ../src/core/manager.c:2906
wait_usec = 18446744073709551615
r = 1
rl = {interval = 1000000, begin = 689205775, burst = 50000, num = 2}
__PRETTY_FUNCTION__ = "manager_loop"
__func__ = "manager_loop"
#4 0x000055a887ab5aa7 in invoke_main_loop (m=0x55a889bea5c0, ret_reexecute=0x7fff4ec8fe4d, ret_retval=0x7fff4ec8fe54, ret_shutdown_verb=0x7fff4ec8feb0, ret_fds=0x7fff4ec8fe98, ret_switch_root_dir=0x7fff4ec8fec0,
ret_switch_root_init=0x7fff4ec8feb8, ret_error_message=0x7fff4ec8fea8) at ../src/core/main.c:1837
r = 100000
__PRETTY_FUNCTION__ = "invoke_main_loop"
__func__ = "invoke_main_loop"
#5 0x000055a887ab846c in main (argc=1, argv=0x7fff4ec900c8) at ../src/core/main.c:2620
initrd_timestamp = {realtime = 0, monotonic = 0}
userspace_timestamp = {realtime = 1558215263653493, monotonic = 5329387}
kernel_timestamp = {realtime = 1558215258324107, monotonic = 0}
security_start_timestamp = {realtime = 1558215263653952, monotonic = 5329846}
security_finish_timestamp = {realtime = 1558215263654266, monotonic = 5330159}
saved_rlimit_nofile = {rlim_cur = 1024, rlim_max = 4096}
saved_rlimit_memlock = {rlim_cur = 65536, rlim_max = 65536}
skip_setup = false
loaded_policy = false
queue_default_job = true
first_boot = false
reexecute = false
switch_root_dir = 0x0
switch_root_init = 0x0
before_startup = 5462049
after_startup = 5707163
systemd = "systemd"
timespan = "245ms", '\000' <repeats 35 times>, "\325\036\274\207\250U\000\000\060\345\214e\233\177\000\000\000\000\000\000\000\000\000"
shutdown_verb = 0x0
error_message = 0x0
r = 0
retval = 1
m = 0x55a889bea5c0
fds = 0x0
__func__ = "main"
__PRETTY_FUNCTION__ = "main"
(gdb) up
#1 0x00007f9b65583941 in sd_event_wait (e=0x55a889beabb0, timeout=18446744073709551615) at ../src/libsystemd/sd-event/sd-event.c:3118
warning: Source file is more recent than executable.
3118 m = epoll_wait(e->epoll_fd, ev_queue, ev_queue_max,
(gdb) p *e
$1 = {n_ref = 61, epoll_fd = 4, watchdog_fd = -1, pending = 0x55a889be7490, prepare = 0x55a889c4ab30, realtime = {wakeup = WAKEUP_CLOCK_DATA, fd = 351, earliest = 0x55a889c22410, latest = 0x55a889cb5560, next = 18446744073709551615,
needs_rearm = false}, boottime = {wakeup = WAKEUP_CLOCK_DATA, fd = -1, earliest = 0x0, latest = 0x0, next = 18446744073709551615, needs_rearm = false}, monotonic = {wakeup = WAKEUP_CLOCK_DATA, fd = 33, earliest = 0x55a889bf41f0,
latest = 0x55a889bf4520, next = 690205442, needs_rearm = false}, realtime_alarm = {wakeup = WAKEUP_CLOCK_DATA, fd = -1, earliest = 0x0, latest = 0x0, next = 18446744073709551615, needs_rearm = false}, boottime_alarm = {
wakeup = WAKEUP_CLOCK_DATA, fd = -1, earliest = 0x0, latest = 0x0, next = 18446744073709551615, needs_rearm = false}, perturb = 57705442, signal_sources = 0x0, signal_data = 0x0, child_sources = 0x0, n_enabled_child_sources = 0,
post_sources = 0x0, exit = 0x55a889d084f0, inotify_data = 0x55a889be93a0, inode_data_to_close = 0x0, inotify_data_buffered = 0x0, original_pid = 1, iteration = 1086, timestamp = {realtime = 1558215948566061, monotonic = 689705529,
boottime = 689705531}, state = 1, exit_requested = false, need_process_child = false, watchdog = false, profile_delays = false, exit_code = 0, tid = 1, default_event_ptr = 0x7f9b645748a8, watchdog_last = 0, watchdog_period = 0,
n_sources = 58, sources = 0x55a889d6bac0, last_run = 0, last_log = 0, delays = {0 <repeats 64 times>}}
(gdb) up
#2 0x00007f9b65584459 in sd_event_run (e=0x55a889beabb0, timeout=18446744073709551615) at ../src/libsystemd/sd-event/sd-event.c:3284
3284 r = sd_event_wait(e, timeout);
(gdb) up
#3 0x000055a887b15218 in manager_loop (m=0x55a889bea5c0) at ../src/core/manager.c:2906
warning: Source file is more recent than executable.
2906 r = sd_event_run(m->event, wait_usec);
(gdb) p *m
$2 = {units = 0x55a889be92c0, units_by_invocation_id = 0x55a889ccb2d8, jobs = 0x55a889be92f8, units_by_type = {0x55a889d1bd90, 0x55a889cb8ff0, 0x55a889d73770, 0x55a889d395a0, 0x55a889d81410, 0x55a889c2cdb0, 0x55a889d16650, 0x55a889cb5e40,
0x55a889c974b0, 0x55a889d5aa30, 0x55a889bee380}, load_queue = 0x0, run_queue = 0x0, dbus_unit_queue = 0x0, dbus_job_queue = 0x0, cleanup_queue = 0x0, gc_unit_queue = 0x0, gc_job_queue = 0x0, cgroup_realize_queue = 0x0,
cgroup_empty_queue = 0x0, target_deps_queue = 0x0, stop_when_unneeded_queue = 0x0, event = 0x55a889beabb0, watch_pids = 0x55a889cca2a8, startup_units = 0x0, failed_units = 0x0, run_queue_event_source = 0x55a889beae60,
notify_socket = 0x55a889bf46e0 "/run/systemd/notify", notify_fd = 16, notify_event_source = 0x55a889c73b20, cgroups_agent_fd = -1, cgroups_agent_event_source = 0x0, signal_fd = 5, signal_event_source = 0x55a889beaf60,
sigchld_event_source = 0x55a889bec770, time_change_fd = 8, time_change_event_source = 0x55a889cf8ed0, timezone_change_event_source = 0x55a889bec510, jobs_in_progress_event_source = 0x55a889d6bac0, user_lookup_fds = {17, 18},
user_lookup_event_source = 0x55a889c6d8d0, sync_bus_names_event_source = 0x0, unit_file_scope = UNIT_FILE_SYSTEM, lookup_paths = {search_path = 0x55a889bec890, persistent_config = 0x55a889becb90 "/etc/systemd/system",
runtime_config = 0x55a889be8900 "/run/systemd/system", persistent_attached = 0x55a889be7250 "/etc/systemd/system.attached", runtime_attached = 0x55a889be7e20 "/run/systemd/system.attached",
generator = 0x55a889be9190 "/run/systemd/generator", generator_early = 0x55a889becbb0 "/run/systemd/generator.early", generator_late = 0x55a889bec110 "/run/systemd/generator.late", transient = 0x55a889bec290 "/run/systemd/transient",
persistent_control = 0x55a889be7ff0 "/etc/systemd/system.control", runtime_control = 0x55a889be7340 "/run/systemd/system.control", root_dir = 0x0, temporary_dir = 0x0}, unit_path_cache = 0x0, transient_environment = 0x55a889be89b0,
client_environment = 0x0, runtime_watchdog = 0, shutdown_watchdog = 600000000, timestamps = {{realtime = 0, monotonic = 9204423}, {realtime = 0, monotonic = 4587029}, {realtime = 1558215258324107, monotonic = 0}, {realtime = 0,
monotonic = 0}, {realtime = 1558215263653493, monotonic = 5329387}, {realtime = 1558215273662189, monotonic = 14801657}, {realtime = 1558215263653952, monotonic = 5329846}, {realtime = 1558215263654266, monotonic = 5330159}, {
realtime = 1558215263786162, monotonic = 5462056}, {realtime = 1558215263903776, monotonic = 5579671}, {realtime = 1558215263907134, monotonic = 5583028}, {realtime = 1558215264027945, monotonic = 5703839}, {realtime = 0,
monotonic = 0}, {realtime = 0, monotonic = 0}, {realtime = 0, monotonic = 0}, {realtime = 0, monotonic = 0}, {realtime = 0, monotonic = 0}, {realtime = 0, monotonic = 0}}, device_monitor = 0x55a889be8b60,
devices_by_sysfs = 0x55a889be95d0, mount_monitor = 0x55a889bf97f0, mount_event_source = 0x55a889bee940, proc_swaps = 0x55a889be6290, swap_event_source = 0x55a889c7d920, swaps_by_devnode = 0x55a889cce560, api_bus = 0x55a889d3db80,
system_bus = 0x55a889d3db80, private_buses = 0x55a889ccec60, private_listen_fd = 19, private_listen_event_source = 0x55a889c51f80, subscribed = 0x55a889cf7ee0, deserialized_subscribed = 0x0, pending_reload_message = 0x0,
watch_bus = 0x55a889be9368, send_reloading_done = false, current_job_id = 1352, default_unit_job_id = 1, dev_autofs_fd = -1, cgroup_unit = 0x55a889be9330, cgroup_supported = 507, cgroup_root = 0x55a889be8870 "", cgroup_inotify_fd = 6,
cgroup_inotify_event_source = 0x55a889beb180, cgroup_inotify_wd_unit = 0x55a889ccac80, cgroup_empty_event_source = 0x55a889beb060, pin_cgroupfs_fd = 7, gc_marker = 5472, etc_localtime_mtime = 1553840774857300,
etc_localtime_accessible = true, objective = MANAGER_OK, dispatching_load_queue = false, taint_usr = false, ready_sent = true, taint_logged = true, sysctl_pid_max_changed = false, test_run_flags = MANAGER_TEST_NORMAL,
return_value = 0 '\000', show_status = SHOW_STATUS_YES, confirm_spawn = 0x0, no_console_output = false, service_watchdogs = true, default_std_output = EXEC_OUTPUT_JOURNAL, default_std_error = EXEC_OUTPUT_INHERIT,
default_restart_usec = 100000, default_timeout_start_usec = 10000000, default_timeout_stop_usec = 10000000, default_start_limit_interval = 10000000, default_start_limit_burst = 5, default_cpu_accounting = true,
default_memory_accounting = true, default_io_accounting = true, default_blockio_accounting = true, default_tasks_accounting = true, default_ip_accounting = true, default_tasks_max = 4915, default_timer_accuracy_usec = 60000000,
original_log_level = -1, original_log_target = _LOG_TARGET_INVALID, log_level_overridden = false, log_target_overridden = false, rlimit = {0x0, 0x0, 0x0, 0x55a889bea470, 0x0, 0x0, 0x0, 0x55a889bea490, 0x55a889bec0f0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0}, n_reloading = 0, n_installed_jobs = 262, n_failed_jobs = 0, n_running_jobs = 1, n_on_console = 0, jobs_in_progress_iteration = 91, have_ask_password = 0, ask_password_inotify_fd = 436,
ask_password_event_source = 0x55a889d654e0, idle_pipe = {422, 423, 429, 430}, idle_pipe_event_source = 0x0, switch_root = 0x0, switch_root_init = 0x0, units_requiring_mounts_for = 0x55a889be98e0, polkit_registry = 0x0,
dynamic_users = 0x55a889ccea68, uid_refs = 0x55a889ccd648, gid_refs = 0x55a889ccd680, exec_runtime_by_id = 0x55a889ccd840, ctrl_alt_del_ratelimit = {interval = 2000000, begin = 0, burst = 7, num = 0},
cad_burst_action = EMERGENCY_ACTION_REBOOT_FORCE, unit_log_field = 0x55a887bc5e36 "UNIT=", unit_log_format_string = 0x55a887bc5e41 "UNIT=%s", invocation_log_field = 0x55a887bc5e4e "INVOCATION_ID=",
invocation_log_format_string = 0x55a887bc5e62 "INVOCATION_ID=%s", first_boot = 0, prefix = {0x55a889be6990 "/run", 0x55a889bec2f0 "/var/lib", 0x55a889beb870 "/var/cache", 0x55a889be9040 "/var/log", 0x55a889bec220 "/etc"},
sigchldgen = 98, notifygen = 180}
(gdb) up
#4 0x000055a887ab5aa7 in invoke_main_loop (m=0x55a889bea5c0, ret_reexecute=0x7fff4ec8fe4d, ret_retval=0x7fff4ec8fe54, ret_shutdown_verb=0x7fff4ec8feb0, ret_fds=0x7fff4ec8fe98, ret_switch_root_dir=0x7fff4ec8fec0,
ret_switch_root_init=0x7fff4ec8feb8, ret_error_message=0x7fff4ec8fea8) at ../src/core/main.c:1837
warning: Source file is more recent than executable.
1837 r = manager_loop(m);
(gdb) quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment