https://bugzilla.redhat.com/show_bug.cgi?id=1867692
Petr Pisar <ppisar(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Petr Pisar <ppisar(a)redhat.com> ---
This happens only in mock tool (and in Koji). It does not happen in a virtual
machine. The test crashes like this:
# perl -Iblib/{lib,arch} t/options.t
ok 1 - use Image::Sane;
ok 2 - get_version
file airscan-wsdd.c: line 1696 (wsdd_cleanup): assertion failed:
(ll_empty(&wsdd_finding_list))
Aborted (core dumped)
While it should continue like this:
$ perl -Iblib/{lib,arch} t/options.t
ok 1 - use Image::Sane;
ok 2 - get_version
ok 3 - get_devices
[...]
I suspect a new mock behavior regarding a network isolation (e.g. getaddrinfo()
started to return EAI_AGAIN instead of EAI_NONAME|EAI_NODATA) that manifests in
the new airscan driver.
strace output:
[...]
openat(AT_FDCWD, "/etc/sane.d/airscan.d/",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or
directory)
[...]
socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC, NETLINK_ROUTE) = 137
bind(137, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 0
getsockname(137, {sa_family=AF_NETLINK, nl_pid=-1837056385,
nl_groups=00000000}, [12]) = 0
sendto(137, {{len=20, type=RTM_GETLINK, flags=NLM_F_REQUEST|NLM_F_DUMP,
seq=1597070627, pid=0}, {ifi_family=AF_UNSPEC, ...}}, 20, 0,
{sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 20
[...]
recvmsg(137, {msg_name={sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000},
msg_namelen=12, msg_iov=[{iov_base={{len=72, type=RTM_NEWADDR,
flags=NLM_F_MULTI, seq=1597070628, pid=2457910911}, {ifa_family=AF_INET6,
ifa_prefixlen=128, ifa_flags=IFA_F_PERMANENT, ifa_scope=RT_SCOPE_HOST,
ifa_index=if_nametoindex("lo")}, [{{nla_len=20, nla_type=IFA_ADDRESS},
inet_pton(AF_INET6, "::1")}, {{nla_len=20, nla_type=IFA_CACHEINFO},
{ifa_prefered=4294967295, ifa_valid=4294967295, cstamp=2491564,
tstamp=2491564}}, {{nla_len=8, nla_type=IFA_FLAGS}, IFA_F_PERMANENT}]},
iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 72
recvmsg(137, {msg_name={sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000},
msg_namelen=12, msg_iov=[{iov_base={{len=20, type=NLMSG_DONE,
flags=NLM_F_MULTI, seq=1597070628, pid=2457910911}, 0}, iov_len=4096}],
msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
close(137) = 0
write(134, "W", 1) = 1
getresuid([0], [0], [0]) = 0
getresgid([0], [0], [0]) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 137
connect(137, {sa_family=AF_UNIX, sun_path="/run/dbus/system_bus_socket"}, 29) =
-1 ENOENT (No such file or directory)
close(137) = 0
write(134, "W", 1) = 1
write(1, "file airscan-wsdd.c: line 1696 (wsdd_cleanup): assertion failed:
(ll_empty(&wsdd_finding_list))\n", 96file airscan-wsdd.c: line 1696
(wsdd_cleanup): assertion failed: (ll_empty(&wsdd_finding_list))
) = 96
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
getpid() = 432
gettid() = 432
tgkill(432, 432, SIGABRT) = 0
--
You are receiving this mail because:
You are on the CC list for the bug.