sssd process crashes with the dbus error "assertion '_dbus_check_is_valid_utf8 (*string_p)"'

Solution Verified - Updated -

Issue

  • sssd process(e.g. sssd_be) crashes with the following error:

    sssd[1161]: dbus[44470]: arguments to dbus_message_iter_append_basic() were incorrect, assertion "_dbus_check_is_valid_utf8 (*string_p)" failed in file ../../dbus/dbus-message.c line 2754.
    sssd[1161]: This is normally a bug in some application using the D-Bus library.
    sssd[1161]:  D-Bus not built with -rdynamic so unable to print a backtrace
    systemd[1]: Started Process Core Dump (PID 44587/UID 0).
    
  • We set the system locale to non-UTF-8(e.g. ja_JP.eucjp).

    $ localectl
     System Locale: LANG=ja_JP.eucjp
         VC Keymap: n/a
        X11 Layout: n/a
    

Environment

  • Red Hat Enterprise Linux 8
  • sssd
  • non-UTF-8 encoding locale

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content