[sane-devel] Segmentation Fault Encountered when Using FrontEnds with my Backend

Frank Zago fzago@austin.rr.com
Fri, 27 Feb 2004 09:41:58 -0600


> 
> 
> I am trying to develop an all-in-one driver for a
> Lexmark X5150 AIO machine. The folks from Lexmark
> hasn't developed a SANE backend for any of their
> scanner yet that is why I am working on it. Setting
> debug level to 128 still has the output of
> segmentation fault.
> 

The technique I use to develop new backends is to use scanimage, linked staticly 
only with my backend, and everything compiled with -g3. It doesn't take long to 
compile/link; I don't have to install anything and I know it's using the correct 
code. And if it crashes, I get a nice core I can analyze with gdb.

Frank.