[MacPorts] #26194: Segmentation violation in scanimage

MacPorts noreply at macports.org
Sat Aug 21 09:15:44 PDT 2010


#26194: Segmentation violation in scanimage
---------------------------------+------------------------------------------
 Reporter:  hanche@…             |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.9.1                                
 Keywords:                       |        Port:  sane-backends                        
---------------------------------+------------------------------------------
 The command output speaks for itself:


 {{{
 ; scanimage -L
 device `genesys:libusb:038:003' is a Pentax DSmobile 600 flatbed scanner
 ; scanimage -d genesys:libusb:038:003 --mode Lineart -x 57 -y 100 > foo
 segmentation violation
 }}}

 Again, under the debugger:


 {{{
 ; gdb scanimage
 (gdb) run -d genesys:libusb:038:003 --mode Lineart -x 57 -y 100
 Starting program: /opt/local/bin/scanimage -d genesys:libusb:038:003
 --mode Lineart  -x 57 -y 100
 Reading symbols for shared libraries .+++++++++...... done
 Reading symbols for shared libraries . done
 Reading symbols for shared libraries . done

 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: KERN_INVALID_ADDRESS at address: 0x000000000025d274
 0x000000010014438f in sane_genesys_open ()
 (gdb) back
 #0  0x000000010014438f in sane_genesys_open ()
 #1  0x0000000100018491 in sane_dll_open ()
 #2  0x00000001000043c6 in main ()
 (gdb)
 }}}


 So the problem appears to be in the genesys module.

 FWIW, I am on 10.6.4 (MacBook Pro 13 inch). I installed macports, ran port
 selfupdate and built all my ports from the bottom within the past week.

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


More information about the macports-tickets mailing list