Discussion:
Bug#944368: libdbus-1-3 printing issues
Add Reply
l***@pcluca.galliera.it
2019-11-08 16:30:01 UTC
Reply
Permalink
Package: libdbus-1-3
Version: 1.12.16-2
Severity: important

Dear Maintainer,

Many tools or commands crash in printing.

These are output errors issuing lpstat -t:

***@pcxxxx:~$ lpstat -t
dbus[14481]: 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. This is normally a bug in
some application using the D-Bus library.

D-Bus not built with -rdynamic so unable to print a backtrace



-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libdbus-1-3 depends on:
ii libc6 2.29-2
ii libsystemd0 242-7

Versions of packages libdbus-1-3 recommends:
ii dbus 1.12.16-2

libdbus-1-3 suggests no packages.

-- no debconf information
--
Luca Leprini
Simon McVittie
2019-11-08 16:40:02 UTC
Reply
Permalink
Control: tags -1 + moreinfo
Post by l***@pcluca.galliera.it
dbus[14481]: 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. This is normally a bug in
some application using the D-Bus library.
As the message says, this is normally a bug in an application that
uses D-Bus. Something (either lpstat itself, or a library that it uses)
is passing a non-UTF-8 argument to a libdbus function that requires UTF-8.

Please get a backtrace from lpstat or some other program
that is crashing: that will tell us which layer is passing
an invalid argument to libdbus. For more information see
<https://wiki.debian.org/HowToGetABacktrace>. For example, as root:

# apt install gdb

then as an ordinary user:

$ gdb -batch -n -ex 'set pagination off' -ex run -ex bt -ex 'bt full' -ex 'thread apply all bt full' --args lpstat

To diagnose that bug report, a list of dependencies (not just libdbus)
will probably be needed, so please send the output of

reportbug --template cups-client

to this bug. If your lpstat executable is not provided by cups-client,
use the name of the package that provides it instead - it might be lprng,
depending how your system is configured.

Thanks,
smcv
Luca Leprini
2019-11-09 17:10:01 UTC
Reply
Permalink
Post by Simon McVittie
Control: tags -1 + moreinfo
.............
Post by Simon McVittie
# apt install gdb
$ gdb -batch -n -ex 'set pagination off' -ex run -ex bt -ex 'bt full' -ex 'thread apply all bt full' --args lpstat
To diagnose that bug report, a list of dependencies (not just libdbus)
will probably be needed, so please send the output of
reportbug --template cups-client
to this bug. If your lpstat executable is not provided by cups-client,
use the name of the package that provides it instead - it might be lprng,
depending how your system is configured.
Thanks,
smcv
Thx Simon,
I apologize, I have no problem with another newer testing
installation.

The issues begin from a machine that upgrades testinig for a long
time. Some cups configurations / dependencies is broken probally, I'll
reinstall it. How can I close the bug report? I'm novice contributor.

I'm sorry Luca.
--
Luca Leprini
Loading...