[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: 'scanimage -L' from 'graphics/sane-backends' causes system crashes after a while
From:       Yuri <yuri () rawbw ! com>
Date:       2018-07-26 18:55:52
Message-ID: 4d7eff74-b657-ab35-c025-4aabbe53cc2f () rawbw ! com
[Download RAW message or body]

On 2/20/18 10:15 AM, Yuri wrote:
> For my system this works with a 100% reliability: run 'scanimage -L' 
> (or just scan something), and system will crash after a few hours or so.
>
> '-L' option calls the function 'sane_get_devices', which has about 90 
> implementations there. It calls all of them trying to find a scanner. 
> Some of them cause system to crash later.
>
> My real scanner is on the wifi network. I'm not sure if the real 
> scanner is what causes the problem, or maybe it's some other test 
> among these 90 'sane_get_devices' functions that causes this problem.
>
> What is the easiest way to troubleshoot this? The problem is that the 
> crash doesn't come right away.
>
> 11.1-STABLE 


For the record: I never found the reason why this command crashes the 
system.

But there is a workaround: in the file /usr/local/etc/sane.d/dll.conf 
comment out all scanners except the one that you have. This prevents 
sane from scanning all possible scanners, and avoids system crashes.


Yuri


_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic