[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash



Am 21.09.21 um 18:36 schrieb Florence Birée:
Hi,

I applied the patch and try it on hplip 3.21.6+dfsg0-1.

No more stack smashing. But at a random point during the scan,
simple-scan stop and display a message : « Failed to scan - Error
communicating with scanner ».
Nothing in the terminal nor in journald.

The random point where it failed is random in the sense of when I scan,
I can show the beginning of the scanned picture appear in simple-scan,
and at one point (sometimes at the begining, sometimes near the end),
the error message appear.

Cheers,
Florence



Hello Florence,
so the patch helps for the stack smashing, but the
error message might have other reasons.

The message itself is located in one of these lines [1] in simple-scan.

You could try to run simple-scan with some environment variables,
to active some more verbose debugging output.
I think these in [2] coult already be quite verbose.


[1]
  https://sources.debian.org/src/simple-scan/40.5-1/src/scanner.vala/#L1368
  https://sources.debian.org/src/simple-scan/40.5-1/src/scanner.vala/#L1479

[2]
  script -c "SANE_DEBUG_DLL=255 SANE_DEBUG_ESCL=255 SANE_DEBUG_SANEI_TCP=255 simple-scan" -a ~/simple-scan-debug-output.txt


Reply to: