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

Frank Zago fzago at austin.rr.com
Fri Feb 27 15:41:58 GMT 2004


> 
> 
> 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.




More information about the sane-devel mailing list