[MacPorts] #26194: Segmentation violation in scanimage

MacPorts noreply at macports.org
Fri Aug 27 16:04:40 PDT 2010


#26194: Segmentation violation in scanimage
---------------------------------+------------------------------------------
 Reporter:  hanche@…             |       Owner:  aguynamedryan+sane@…        
     Type:  defect               |      Status:  new                         
 Priority:  Normal               |   Milestone:                              
Component:  ports                |     Version:  1.9.1                       
 Keywords:                       |        Port:  sane-backends               
---------------------------------+------------------------------------------

Comment(by aguynamedryan+macports@…):

 Replying to [comment:7 hanche@…]:

 I double-checked and the AppleUSBCardReaderUMC message appears even if the
 scanner successfully scanned in some images.

 Bottom line is I can't debug this issue because I don't have the right
 scanner.

 From what I'm seeing my gut tells me that this is an upstream problem.
 Here is how I would go about tracking down the cause of this problem:
   * Hit the SANE mailing lists and forums and see if anyone else has a
 DSMobile
     * If they do, see if they are having the same issue
   * If you have access to a Linux box, throw SANE on it and try your
 scanner there
     * If it works then we'll have to figure out what causes the failure on
 Mac and not Linux
     * If it doesn't work, it might be easier to try patching/recompiling
 the source under Linux
   * As I mentioned above, the init_options function in genesys.c is where
 the problem occurs.  Start your debugging journey in that function.

 If you'd like you're welcome to email me for some offline guidance on
 debugging SANE.  I've done a bit of contribution to SANE before so I know
 a bit about how it works.  That said, I'm not nearly the expert some of
 the upstream developers are.

 If/when you do have a patch, send it my way and I'll throw it into the
 port ASAP so you don't have to wait for the next release from the SANE
 developers.

 I'll also keep my eye out and release an update to the port as soon as
 sane-backends 1.0.22 is out in the hopes that there's a fix in there
 somewhere.

-- 
Ticket URL: <http://trac.macports.org/ticket/26194#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list