Segfault cycling SANE handle

Bug #1023161 reported by Jeffrey Ratcliffe on 2012-07-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Undecided
Unassigned
hplip (Ubuntu)
Undecided
Unassigned

Bug Description

The ADF on my HP Deskjet 8500 only ejects the last page if the SANE handle is closed, so I have to cycle it as part of the scan process. This works once, but the second time, HPLIP segfaults.

The attached example c code demonstrates the problem. Compile with:

gcc hplip_segfault.c -o hplip_segfault -lsane

Then run with:

./hplip_segfault <device name> <number of cycles>

I should point out that I am using Ubuntu Precise:

libsane-hpaio 3.12.2-1ubuntu3

Till Kamppeter (till-kamppeter) wrote :

Can someone of the HPLIP developers at HP look into this? Thanks.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers