You are not logged in.

#1 2011-10-22 20:03:17

janvaletin
Member
Registered: 2011-07-30
Posts: 39

segfault when using sane to scanimage

Howdy, y'all.

Just wanted to try and see if I could get some help with an issue that I haven't been able to work out so far.

My scanner is found with sane-find-scanner, and it shows up fine with scanimage -L. But when I try and scan anything, I get this:

$ scanimage -d hpaio:/usb/Deskjet_1050_J410_series?serial=CN15O3N3DJ05NG --format=png > image.png
[sanei_debug] Setting debug level of dll to 255.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.22
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `hpaio'
[dll] sane_open: trying to open `hpaio:/usb/Deskjet_1050_J410_series?serial=CN15O3N3DJ05NG'
[dll] load: searching backend `hpaio' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hpaio.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hpaio.so.1'
[dll] init: initializing backend `hpaio'
[dll] init: backend `hpaio' is version 1.0.0
Segmentation fault

And when I just try "scanimage > image.png" I get "scanimage: sane_start: Invalid argument"

When I try

$ scanimage --format=jpg >image.jpg
process 5845: arguments to dbus_connection_send() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3248.
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
Aborted



No idea what's going on. Has anybody seen this / know how to fix it?

Offline

#2 2011-10-22 20:53:40

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: segfault when using sane to scanimage

Looks like dbus isn't running.

Offline

#3 2011-10-23 01:09:25

janvaletin
Member
Registered: 2011-07-30
Posts: 39

Re: segfault when using sane to scanimage

Okay, so I started dbus and now the terminal just hangs indefinitely.

Offline

Board footer

Powered by FluxBB