[Bug 257034] graphics/sane-backends: dbus abort in libsane-hpaio

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 Jul 2021 00:02:18 UTC

            Bug ID: 257034
           Summary: graphics/sane-backends: dbus abort in libsane-hpaio
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: emaste@freebsd.org
                CC: vvd@unislabs.com
             Flags: maintainer-feedback?(vvd@unislabs.com)
                CC: vvd@unislabs.com

Attempting to run `scanimage -L` produced:

Process 12178 launched: '/usr/local/bin/scanimage' (x86_64)
dbus[12178]: arguments to dbus_connection_send() were incorrect, assertion
"connection != NULL" failed in file dbus-connection.c line 3311.
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

Backtrace shows:

(lldb) bt
* thread #1, name = 'scanimage', stop reason = signal SIGABRT
  * frame #0: 0x0000000806dd3c5a libc.so.7`__sys_thr_kill at thr_kill.S:4
    frame #1: 0x0000000806d489d4 libc.so.7`__raise(s=6) at raise.c:52:10
    frame #2: 0x0000000806dfd899 libc.so.7`abort at abort.c:67:8
    frame #3: 0x0000000825e2abbc libdbus-1.so.3`_dbus_abort + 92
    frame #4: 0x0000000825e1f90f libdbus-1.so.3`_dbus_warn_check_failed + 335
    frame #5: 0x0000000825e02761 libdbus-1.so.3`dbus_connection_send + 177
    frame #6: 0x000000085fd37764
libsane-hpaio.so.1`___lldb_unnamed_symbol57$$libsane-hpaio.so.1 + 324
    frame #7: 0x000000085fd31d46
libsane-hpaio.so.1`___lldb_unnamed_symbol2$$libsane-hpaio.so.1 + 566
    frame #8: 0x000000085fd31ad9 libsane-hpaio.so.1`sane_hpaio_get_devices + 73
    frame #9: 0x0000000801b89a3d libsane.so.1`sane_dll_get_devices + 221
    frame #10: 0x00000000002079dd scanimage`___lldb_unnamed_symbol1$$scanimage
+ 7965
    frame #11: 0x00000000002058d0 scanimage`___lldb_unnamed_symbol21$$scanimage
+ 256

I don't have an hp scanner so just deleted
/usr/local/lib/sane/libsane-hpaio.so* for now but will try to come back and
investigate further later on.

You are receiving this mail because:
You are the assignee for the bug.