[sane-devel] scanimage hangs at shutdown (Preparing for a sane-backends release)
m. allan noah
kitno455 at gmail.com
Tue Aug 18 01:31:54 UTC 2015
Good point. Rolf- any chance you could insert a sleep at the end of
main()? Also, does the backend in question use fork() on this distro?
On Mon, Aug 17, 2015 at 8:30 PM, Olaf Meeuwissen
<olaf.meeuwissen at avasys.jp> wrote:
> m. allan noah writes:
>> I don't understand. Registered atexit handlers should be called when
>> main() returns, which is after sane_cancel. What version of
>> libusb-compat is in use?
> Please remember that sane_cancel() only *initiates* cancellation. So
> cancellation may not have finished yet when main() returns. I'm not
> sure if this is causing the problem but thought I'd mention it anyway.
> Hope this helps,
> Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- EPSON AVASYS CORPORATION
> FSF Associate Member #1962 Help support software freedom
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"
More information about the sane-devel