[sane-devel] scanimage hangs at shutdown (Preparing for a sane-backends release)

Olaf Meeuwissen olaf.meeuwissen at avasys.jp
Tue Aug 18 00:30:51 UTC 2015

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

More information about the sane-devel mailing list