Bug#959840: dbus-daemon: random crash (SIGABRT)

Simon McVittie smcv at debian.org
Wed May 6 08:35:13 BST 2020


Control: reassign -1 libnss-systemd
Control: affects -1 dbus

On Wed, 06 May 2020 at 10:06:54 +0800, Paul Wise wrote:
> The last few days I have been getting dbus-daemon crashing randomly
> with SIGABRT.
...
> #2  0x00007f1d485d17ea in log_assert_failed_realm (realm=<optimized out>, text=0x7f1d485fa7be "fclose_nointr(f) != -EBADF", file=0x7f1d485fa3e9 "src/basic/fd-util.c", line=121, func=0x7f1d485faff8 <__PRETTY_FUNCTION__.10669> "safe_fclose") at ../src/basic/log.c:809
> #3  0x00007f1d485f0c79 in safe_fclose (f=<optimized out>) at ../src/basic/fd-util.c:121
> #4  safe_fclose (f=0x55c3577d4610) at ../src/basic/fd-util.c:114
> #5  0x00007f1d485db359 in fclosep (f=<synthetic pointer>) at ../src/basic/fd-util.h:41
> #6  json_variant_format (ret=<synthetic pointer>, flags=(unknown: 0), v=<optimized out>) at ../src/shared/json.c:1732
> #7  varlink_enqueue_json (v=0x55c3577d34e0, m=<optimized out>) at ../src/shared/varlink.c:1233
> #8  0x00007f1d485e08f6 in varlink_observe (parameters=<optimized out>, method=0x7f1d485f92f0 "io.systemd.UserDatabase.GetMemberships", v=0x55c3577d34e0) at ../src/shared/varlink.c:1404
> #9  userdb_connect (iterator=iterator at entry=0x55c3577c2a70, path=path at entry=0x55c3577cb210 "/run/systemd/userdb/io.systemd.DynamicUser", method=method at entry=0x7f1d485f92f0 "io.systemd.UserDatabase.GetMemberships", more=more at entry=true, query=<optimized out>) at ../src/shared/userdb.c:356
> #10 0x00007f1d485e6a5e in userdb_start_query (iterator=0x55c3577c2a70, method=0x7f1d485f92f0 "io.systemd.UserDatabase.GetMemberships", more=true, query=0x55c3577cb250, flags=USERDB_AVOID_NSS) at ../src/shared/userdb.c:469
> #11 0x00007f1d485f29d5 in membershipdb_by_user (ret=<synthetic pointer>, flags=<optimized out>, name=0x55c3577ca660 "pabs") at ../src/shared/userdb.c:997
> #12 _nss_systemd_initgroups_dyn (user_name=user_name at entry=0x55c3577ca660 "pabs", gid=gid at entry=1000, start=start at entry=0x7fffd3dcba20, size=size at entry=0x7fffd3dcba78, groupsp=groupsp at entry=0x7fffd3dcba80, limit=limit at entry=-1, errnop=0x7f1d4864d6a0) at ../src/nss-systemd/nss-systemd.c:561
> #13 0x00007f1d48946056 in internal_getgrouplist (user=user at entry=0x55c3577ca660 "pabs", group=group at entry=1000, size=size at entry=0x7fffd3dcba78, groupsp=groupsp at entry=0x7fffd3dcba80, limit=limit at entry=-1) at initgroups.c:111
> #14 0x00007f1d489462b9 in getgrouplist (user=user at entry=0x55c3577ca660 "pabs", group=group at entry=1000, groups=groups at entry=0x55c3577ca6a0, ngroups=ngroups at entry=0x7fffd3dcbaf0) at initgroups.c:169
> #15 0x00007f1d48be7eae in fill_user_info (info=info at entry=0x55c3577c8120, uid=uid at entry=1000, username=username at entry=0x0, error=error at entry=0x7fffd3dcbbe0) at ../../../dbus/dbus-sysdeps-unix.c:2548

This looks like an assertion failure in libnss-systemd.

    smcv



More information about the Pkg-systemd-maintainers mailing list