Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
On Tue 24 Aug 2021 at 12:34:19 +0200, Florence Birée wrote:
> Le Tue, 24 Aug 2021 10:50:19 +0100,
> Brian Potkin <claremont102@gmail.com> a écrit :
> > Can you scan with any of these?
> >
> > scanimage -d
> > "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" >
> > image.pnm
> > simple-scan
> > "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK"
> > xsane
> > "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK"
>
> With some tests, it seems the crash is not always reproducible (sometimes, it's working…),
> so I run each command 4 times to see (and add hp-scan again, in case it crash sometimes too).
>
> Without removing the slash:
>
> $ scanimage -d "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" > image.pnm
>
> -> on 4 runs, 1 give "stack smashing", 3 works well…
>
> $ simple-scan "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK"
>
> -> on 4 runs, 4 "stack smashing" crashes. I can see the top of the image appearing in simple-scan,
> and the program do no crash at the same times (sometimes more of the scan is displayed before the
> crash)
>
> $ xsane "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK"
>
> -> on 4 runs, 4 "stack smashing" crashes
>
> $ hp-scan
>
> -> on 4 runs, 4 "stack smashing" crash… (but it worked yesterday…)
>
> ** after the removal of the slash in os-release:
>
> $ scanimage -d "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" > image.pnm
>
> -> on 4 runs, 1 "stack smashing", 3 works
>
> $ simple-scan "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK"
>
> -> on 4 runs, 4 "stack smashing" crashes.
>
> $ xsane "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK"
>
> -> on 4 runs, 4 "stack smashing" crashes (but on some preliminary tests, it works sometimes…)
>
> $ hp-scan
>
> -> on 4 runs, 4 "stack smashing" crash, at various percentages of scanning
>
>
> So… it seems the problem is not 100% reproducible, even if it happens in the large majority
> of times… And I'm not sure the os-release changes really changes something, maybe the times when
> hp-scan was working was just luck…
That's a lot of work you have done, Florence! Thanks.
We have met this "stack smashing" situation before but in a printing
context. OdyX managed to fix it then. Bug #932246.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932246
There is very little more I can do now, apart from suggesting a downgrade
from HPLIP experimental packages to unstable ones. scanimage appears to
be your best bet for scanning for the present.
Good Luck,
Brian.
Reply to: