Core was generated by `dhcpcd -U enp1s0'. Program terminated with signal SIGSYS, Bad system call. #0 __GI___fstatat64 (fd=1, file=0x7fd73f14d073 "", buf=0x7fff9001b440, flag=4096) at ../sysdeps/unix/sysv/linux/fstatat64.c:166 Downloading 0.01 MB source file /usr/src/debug/glibc/io/../sysdeps/unix/sysv/linux/fstatat64.c 166 return INTERNAL_SYSCALL_ERROR_P (r) (gdb) bt #0 __GI___fstatat64 (fd=1, file=0x7fd73f14d073 "", buf=0x7fff9001b440, flag=4096) at ../sysdeps/unix/sysv/linux/fstatat64.c:166 #1 0x00007fd73f008543 in __GI__IO_file_doallocate (fp=0x7fd73f18f6c0 <_IO_2_1_stdout_>) at /usr/src/debug/glibc/libio/libioP.h:947 #2 0x00007fd73f016240 in __GI__IO_doallocbuf (fp=0x7fd73f18f6c0 <_IO_2_1_stdout_>) at /usr/src/debug/glibc/libio/libioP.h:947 #3 __GI__IO_doallocbuf (fp=fp@entry=0x7fd73f18f6c0 <_IO_2_1_stdout_>) at genops.c:342 #4 0x00007fd73f0155c8 in _IO_new_file_overflow (f=0x7fd73f18f6c0 <_IO_2_1_stdout_>, ch=-1) at fileops.c:744 #5 0x00007fd73f01476e in _IO_new_file_xsputn (n=14, data=, f=0x7fd73f18f6c0 <_IO_2_1_stdout_>) at /usr/src/debug/glibc/libio/libioP.h:947 #6 _IO_new_file_xsputn (f=0x7fd73f18f6c0 <_IO_2_1_stdout_>, data=, n=14) at fileops.c:1196 #7 0x00007fd73f000f3f in outstring_func (done=0, length=14, string=0x55d10f1ba930 "reason=CARRIER", s=0x7fd73f18f6c0 <_IO_2_1_stdout_>) at ../libio/libioP.h:947 #8 __vfprintf_internal (s=0x7fd73f18f6c0 <_IO_2_1_stdout_>, format=0x55d10f04641e "%s\n", ap=ap@entry=0x7fff9001bac0, mode_flags=mode_flags@entry=2) at vfprintf-internal.c:1517 #9 0x00007fd73f0afc8b in ___printf_chk (flag=flag@entry=1, format=format@entry=0x55d10f04641e "%s\n") at printf_chk.c:33 #10 0x000055d10f022f12 in printf (__fmt=0x55d10f04641e "%s\n") at /usr/include/bits/stdio2.h:112 #11 script_dump (env=0x55d10f1ba930 "reason=CARRIER", len=) at script.c:730 #12 0x000055d10f0123d0 in dhcpcd_readdump2 (arg=0x7fff9001bc70) at dhcpcd.c:1674 #13 0x000055d10f016f6c in eloop_start (eloop=0x55d10f1d0790, signals=signals@entry=0x7fff9001beb8) at eloop.c:779 #14 0x000055d10f014eba in main (argc=, argv=0x7fff9001c238, envp=) at dhcpcd.c:2553 (gdb) bt full #0 __GI___fstatat64 (fd=1, file=0x7fd73f14d073 "", buf=0x7fff9001b440, flag=4096) at ../sysdeps/unix/sysv/linux/fstatat64.c:166 r = 262 #1 0x00007fd73f008543 in __GI__IO_file_doallocate (fp=0x7fd73f18f6c0 <_IO_2_1_stdout_>) at /usr/src/debug/glibc/libio/libioP.h:947 size = 8192 p = st = {st_dev = 832, st_ino = 140735609419984, st_nlink = 0, st_mode = 4063235, st_uid = 1, st_gid = 169040, __pad0 = 0, st_rdev = 206158430248, st_size = 140735609420592, st_blksize = 140735609420400, st_blocks = 18296156958228494, st_atim = {tv_sec = 17179869190, tv_nsec = 64}, st_mtim = {tv_sec = 64, tv_nsec = 64}, st_ctim = {tv_sec = 784, tv_nsec = 784}, __glibc_reserved = {8, 17179869187, 1870096}} #2 0x00007fd73f016240 in __GI__IO_doallocbuf (fp=0x7fd73f18f6c0 <_IO_2_1_stdout_>) at /usr/src/debug/glibc/libio/libioP.h:947 No locals. #3 __GI__IO_doallocbuf (fp=fp@entry=0x7fd73f18f6c0 <_IO_2_1_stdout_>) at genops.c:342 No locals. #4 0x00007fd73f0155c8 in _IO_new_file_overflow (f=0x7fd73f18f6c0 <_IO_2_1_stdout_>, ch=-1) at fileops.c:744 No locals. #5 0x00007fd73f01476e in _IO_new_file_xsputn (n=14, data=, f=0x7fd73f18f6c0 <_IO_2_1_stdout_>) at /usr/src/debug/glibc/libio/libioP.h:947 block_size = do_write = s = to_do = must_flush = count = s = to_do = must_flush = count = p = block_size = do_write = #6 _IO_new_file_xsputn (f=0x7fd73f18f6c0 <_IO_2_1_stdout_>, data=, n=14) at fileops.c:1196 s = to_do = 14 must_flush = 0 count = 0 p = block_size = do_write = #7 0x00007fd73f000f3f in outstring_func (done=0, length=14, string=0x55d10f1ba930 "reason=CARRIER", s=0x7fd73f18f6c0 <_IO_2_1_stdout_>) at ../libio/libioP.h:947 __PRETTY_FUNCTION__ = "outstring_func" #8 __vfprintf_internal (s=0x7fd73f18f6c0 <_IO_2_1_stdout_>, format=0x55d10f04641e "%s\n", ap=ap@entry=0x7fff9001bac0, mode_flags=mode_flags@entry=2) at vfprintf-internal.c:1517 string_ = 0x55d10f1ba930 len = 14 ptrptr = 0x106 signed_number = step0_jumps = {0, 1147, 3635, 3523, 3419, 3307, 3187, 2955, 2843, 4443, 4339, 4131, 4019, 3915, 2787, 2691, 2667, 2643, 2619, 483, 1243, 1795, 2011, 1883, 1451, 731, 487, 3843, 3739, 3083, 2099} space = 0 is_short = use_outdigits = 0 step1_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 4443, 4339, 4131, 4019, 3915, 2787, 2691, 2667, 2643, 2619, 483, 1243, 1795, 2011, 1883, 1451, 731, 487, 3843, 3739, 0, 2099} group = prec = step2_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4339, 4131, 4019, 3915, 2787, 2691, 2667, 2643, 2619, 483, 1243, 1795, 2011, 1883, 1451, 731, 487, 3843, 3739, 0, 2099} string = 0x55d10f1ba930 "reason=CARRIER" left = 0 is_long_double = width = step3a_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4235, 0, 0, 0, 2787, 2691, 2667, 2643, 2619, 0, 0, 0, 0, 1883, 0, 0, 0, 0, 0, 0, 2099} alt = 0 showsign = 0 is_long = is_char = pad = step3b_jumps = {0 , 4019, 0, 0, 2787, 2691, 2667, 2643, 2619, 483, 1243, 1795, 2011, 1883, 1451, 731, 487, 0, 0, 0, 2099} step4_jumps = {0 , 2787, 2691, 2667, 2643, 2619, 483, 1243, 1795, 2011, 1883, 1451, 731, 487, 0, 0, 0, 2099} is_negative = number = base = the_arg = {pa_wchar = 4 L'\004', pa_int = 4, pa_long_int = 17179869188, pa_long_long_int = 17179869188, pa_u_int = 4, pa_u_long_int = 17179869188, pa_u_long_long_int = 17179869188, pa_double = 8.4879831658373518e-314, pa_long_double = , pa_float128 = 1.01290121725205981415273220724128035e-4943, pa_string = 0x400000004 , pa_wstring = 0x400000004 , pa_pointer = 0x400000004, pa_user = 0x400000004} spec = _cleanup_start_doit = _buffer = {__routine = 0x7fd73efebbd0 <__funlockfile>, __arg = 0x7fd73f18f6c0 <_IO_2_1_stdout_>, __canceltype = 0, __prev = 0x0} _cleanup_routine = thousands_sep = 0x0 grouping = 0xffffffffffffffff done = 0 f = 0x55d10f04641f "s\n" lead_str_end = 0x55d10f04641e "%s\n" end_of_spec = work_buffer = " \243\035\017\321U\000\000\002\000\000\000\000\000\000\000\360\240\035\017\321U\000\000!\000\000\000\000\000\000\000#\000\000\000\321U\000\000\300\353\030?\327\177\000\000\002\000\000\000\000\000\000\000\270\377\377\377\377\377\377\377p\021\035\017\321U\000\000\360,\035\017\321U\000\000\060\000\000\000\000\000\000\000z\304\002?\327\177\000\000\300\265\024?\327\177\000\000z\304\002?\327\177\000\000\210\267\001\220\377\177\000\000\002\000\000\000\000\000\000\000 \a\035\017\321U\000\000H\336\f?\327\177\000\000s\016\025?\327\177\000\000v\016\025?\327\177\000\000\230\377\377\377\377\377\377\377\220\270\001\220\377\177\000\000\000\261\033\017\321U\000\000\360,\035\017\321U\000\000@\001\000\000\001\000\000\000"... workend = 0x7fff9001ba78 "" ap_save = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fff9001bba0, reg_save_area = 0x7fff9001bae0}} nspecs_done = 0 save_errno = 0 readonly_format = 0 do_longlong_number = __result = #9 0x00007fd73f0afc8b in ___printf_chk (flag=flag@entry=1, format=format@entry=0x55d10f04641e "%s\n") at printf_chk.c:33 mode = 2 ap = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fff9001bba0, reg_save_area = 0x7fff9001bae0}} ret = #10 0x000055d10f022f12 in printf (__fmt=0x55d10f04641e "%s\n") at /usr/include/bits/stdio2.h:112 No locals. #11 script_dump (env=0x55d10f1ba930 "reason=CARRIER", len=) at script.c:730 ep = 0x55d10f1ba9b2 "" #12 0x000055d10f0123d0 in dhcpcd_readdump2 (arg=0x7fff9001bc70) at dhcpcd.c:1674 ctx = 0x7fff9001bc70 len = exit_code = 1 __func__ = "dhcpcd_readdump2" #13 0x000055d10f016f6c in eloop_start (eloop=0x55d10f1d0790, signals=signals@entry=0x7fff9001beb8) at eloop.c:779 n = 0 e = 0x55d10f1d8860 t = ts = {tv_sec = 4, tv_nsec = 999444280} tsp = #14 0x000055d10f014eba in main (argc=, argv=0x7fff9001c238, envp=) at dhcpcd.c:2553 ctx = {pidfile = '\000' , vendor = '\000' , stdin_valid = true, stdout_valid = true, stderr_valid = true, stderr_fd = 0, fork_fd = -1, cffile = 0x55d10f046422 "/etc/dhcpcd.conf", options = 310326435696351241, logfile = 0x0, argc = 3, argv = 0x7fff9001c238, ifac = 0, ifav = 0x0, ifdc = 0, ifdv = 0x0, ifc = 1, ifv = 0x7fff9001c248, ifcc = 1, ifcv = 0x55d10f1d0750, duid_type = 0 '\000', duid = 0x0, duid_len = 0, ifaces = 0x0, ctl_buf = 0x55d10f1ba930 "reason=CARRIER", ctl_buflen = 130, ctl_bufpos = 0, ctl_extra = 2, routes = {rbt_root = 0x0, rbt_ops = 0x55d10f05b5e0 , rbt_minmax = {0x0, 0x0}}, froutes = {rbt_root = 0x0, rbt_ops = 0x55d10f05b580 , rbt_minmax = {0x0, 0x0}}, rt_order = 0, pf_inet_fd = -1, priv = 0x0, link_fd = -1, link_rcvbuf = 0, seq = 0, sseq = 0, sigset = {__val = {0 }}, eloop = 0x55d10f1d0790, script = 0x55d10f046e98 "/usr/lib/dhcpcd/dhcpcd-run-hooks", script_fp = 0x0, script_buf = 0x0, script_buflen = 0, script_env = 0x0, script_envlen = 0, control_fd = 3, control_unpriv_fd = -1, control_fds = {tqh_first = 0x0, tqh_last = 0x7fff9001bf78}, control_sock = '\000' , control_sock_unpriv = '\000' , control_group = 0, vivso = 0x0, vivso_len = 0, randomstate = 0x0, ps_user = 0x7fd73f195960 , ps_root_pid = 0, ps_root_fd = -1, ps_log_fd = -1, ps_data_fd = -1, ps_eloop = 0x0, ps_processes = {tqh_first = 0x0, tqh_last = 0x7fff9001c020}, ps_inet_pid = 0, ps_inet_fd = -1, ps_control_pid = 0, ps_control_fd = -1, ps_control_data_fd = 0, ps_control = 0x0, ps_control_client = 0x0, dhcp_opts = 0x55d10f1cdb70, dhcp_opts_len = 125, udp_rfd = -1, udp_wfd = -1, opt_buffer = 0x0, opt_buffer_len = 0, secret = 0x0, secret_len = 0, nd_fd = -1, ra_routers = 0x0, nd_opts = 0x55d10f1bb340, nd_opts_len = 7, dhcp6_rfd = -1, dhcp6_wfd = -1, dhcp6_opts = 0x55d10f1d71e0, dhcp6_opts_len = 79, dev_load = 0x0, dev_fd = -1, dev = 0x0, dev_handle = 0x0} ifaddrs = 0x0 ifo = 0x55d10f1bd440 ifp = family = 0 opt = oi = 0 i = 0 logopts = t = len = pid = fork_fd = {4, 0} stderr_fd = {1058986672, 32727} sig = 0 siga = si = __func__ = "main" (gdb) p $_siginfo $1 = {si_signo = 31, si_errno = 0, si_code = 1, _sifields = {_pad = {1057559694, 32727, 262, -1073741762, 0 }, _kill = {si_pid = 1057559694, si_uid = 32727}, _timer = { si_tid = 1057559694, si_overrun = 32727, si_sigval = {sival_int = 262, sival_ptr = 0xc000003e00000106}}, _rt = {si_pid = 1057559694, si_uid = 32727, si_sigval = { sival_int = 262, sival_ptr = 0xc000003e00000106}}, _sigchld = {si_pid = 1057559694, si_uid = 32727, si_status = 262, si_utime = 3221225534, si_stime = 0}, _sigfault = { si_addr = 0x7fd73f09148e <__GI___fstatat64+14>, _addr_lsb = -4611685752139415290, _addr_bnd = { _lower = 0x0, _upper = 0x0}}, _sigpoll = {si_band = 140562452255886, si_fd = 262}, _sigsys = { _call_addr = 0x7fd73f09148e <__GI___fstatat64+14>, _syscall = 262, _arch = 3221225534}}}