Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2018 19:19:21 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Yuri <yuri@rawbw.com>, Freebsd hackers list <freebsd-hackers@FreeBSD.org>
Subject:   Re: 'scanimage -L' from 'graphics/sane-backends' causes system crashes after a while
Message-ID:  <4dc31781-c6df-04bf-0158-fc09d14b3fb8@selasky.org>
In-Reply-To: <5fe20134-4b4f-4789-fa54-8ce746453130@rawbw.com>
References:  <5fe20134-4b4f-4789-fa54-8ce746453130@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/20/18 19:15, 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
> 

Try ktrac'ing the program first, or run from inside of gdb801 from ports:

gdb801
 > file scanimage
 > run -L

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4dc31781-c6df-04bf-0158-fc09d14b3fb8>