Segfault cycling SANE handle
Bug #1023161 reported by
Jeffrey Ratcliffe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Incomplete
|
Undecided
|
Unassigned | ||
hplip (Ubuntu) |
Fix Released
|
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>
To post a comment you must log in.
I should point out that I am using Ubuntu Precise:
libsane-hpaio 3.12.2-1ubuntu3