sane crashes

Vlad D. Markov dvoich at aim.com
Sun Mar 22 13:30:43 UTC 2020


On Sat, 21 Mar 2020 18:43:07 -0400
"Vlad D. Markov via freebsd-questions" <freebsd-questions at freebsd.org> wrote:

> On Sat, 21 Mar 2020 18:37:03 -0400
> "Vlad D. Markov via freebsd-questions" <freebsd-questions at freebsd.org> wrote:
> 
> > 
> > I am having some problems using sane for scanning.
> > 
> > My version of FreeBSD:
> > FreeBSD happy 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC  amd64
> > 
> > My version of sane:
> > happy$ scanimage -V
> > scanimage (sane-backends) 1.0.29; backend version 1.0.29
> > 
> > I have tried multiple approaches to get things working:
> > 
> > The scanner is an HP so I set the URI and tried:
> > 
> > happy$ xsane "hpaio:/net/OfficeJet_Pro_6970?ip=192.168.1.37"
> > Assertion failed: (p), function avahi_threaded_poll_lock, file thread-watch.c, line 171.
> > Abort trap (core dumped)
> > 
> > Next try:
> > 
> > happy$ scanimage -L
> > Assertion failed: (p), function avahi_threaded_poll_lock, file thread-watch.c, line 171.
> > Abort trap
> > 
> > Recompile minus Avahi:
> > happy$ scanimage -L
> > device `hpaio:/net/OfficeJet_Pro_6970?ip=192.168.1.37' is a Hewlett-Packard OfficeJet_Pro_6970 all-in-one
> > 
> > Maybe this will help the next person.
> > 
> > Vlad
> > 
> Jumped the gun here. The last method also has an issue when doing a scan:
> 
> happy$ dbus[8796]: 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
> 
> 
> 
> 
avahi-daemon and dbusd weren't running. For some reason they didn't start via rc.conf.




More information about the freebsd-questions mailing list