Bug#944368: libdbus-1-3 printing issues

2019-11-09 Thread Luca Leprini
On Fri, 8 Nov 2019 16:34:13 + Simon McVittie  wrote:
> Control: tags -1 + moreinfo
> 
.
> 
> # 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
> 
> 

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
 


signature.asc
Description: PGP signature


Bug#944368: libdbus-1-3 printing issues

2019-11-08 Thread Simon McVittie
Control: tags -1 + moreinfo

On Fri, 08 Nov 2019 at 17:15:45 +0100, l...@pcluca.galliera.it wrote:
> @pc:~$ 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.

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
. 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



Bug#944368: libdbus-1-3 printing issues

2019-11-08 Thread luca
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:

@pc:~$ 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  libc62.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


signature.asc
Description: PGP signature