xsane and xscanimage crash on 64bit karmic with epson2 driver

Bug #481283 reported by Popolon
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
sane-backends-extras (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: libsane-extras

After upgrading to Karmic (9.10), Epson Stylus photo RX620 can't be used with xsane or xscanimage, both crash with segfault, printing still works fine.

Could be related to bug #206040 ???

I tried to force purge and reinstall, rm ~/.sane but it still crash. there are no debug symbols, even after libsane-dbg and libsane-extras-dbg package installation.

Here is the result with gdb

For Xscanimage :

(gdb) run
Starting program: /usr/bin/xscanimage
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffe5a65910 (LWP 20037)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3e1fe90 in strcpy () from /lib/libc.so.6
(gdb) bt
#0 0x00007ffff3e1fe90 in strcpy () from /lib/libc.so.6
#1 0x00007fffe86552d6 in getvalue (handle=0x76e080, option=38,
    action=<value optimized out>, value=0x788eb0, info=0xfefefefefefefeff)
    at /usr/include/bits/string3.h:106
#2 sane_epson2_control_option (handle=0x76e080, option=38,
    action=<value optimized out>, value=0x788eb0, info=0xfefefefefefefeff)
    at epson2.c:2921
#3 0x000000000040f3b0 in ?? ()
#4 0x0000000000410aaa in ?? ()
#5 0x0000000000409203 in ?? ()
#6 0x00000000004097df in ?? ()
#7 0x0000000000409eda in ?? ()
#8 0x00007ffff3dbfabd in __libc_start_main () from /lib/libc.so.6
#9 0x0000000000405bd9 in ?? ()
#10 0x00007fffffffe6f8 in ?? ()
#11 0x000000000000001c in ?? ()
#12 0x0000000000000001 in ?? ()
#13 0x00007fffffffe933 in ?? ()
#14 0x0000000000000000 in ?? ()

For Xsane :
(gdb) bt
#0 0x00007ffff3541e90 in strcpy () from /lib/libc.so.6
#1 0x00007fffe7c182d6 in getvalue (handle=0x7f50b0, option=38,
    action=<value optimized out>, value=0x820430, info=0xfefefefefefefeff)
    at /usr/include/bits/string3.h:106
#2 sane_epson2_control_option (handle=0x7f50b0, option=38,
    action=<value optimized out>, value=0x820430, info=0xfefefefefefefeff)
    at epson2.c:2921
#3 0x000000000040e313 in ?? ()
#4 0x00000000004703c8 in ?? ()
#5 0x00000000004734b4 in ?? ()
#6 0x000000000047759b in ?? ()
#7 0x0000000000477d26 in ?? ()
#8 0x00007ffff34e1abd in __libc_start_main () from /lib/libc.so.6
#9 0x0000000000409ec9 in ?? ()
#10 0x00007fffffffe6f8 in ?? ()
#11 0x000000000000001c in ?? ()
#12 0x0000000000000001 in ?? ()
#13 0x00007fffffffe93d in ?? ()
#14 0x0000000000000000 in ?? ()

lsusb -vvv :

Bus 001 Device 005: ID 04b8:0811 Seiko Epson Corp. Stylus Photo RX620 all-in-one
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x04b8 Seiko Epson Corp.
  idProduct 0x0811 Stylus Photo RX620 all-in-one
  bcdDevice 1.00
  iManufacturer 1 EPSON
  iProduct 2 USB2.0 MFP(Hi-Speed)
  iSerial 3 L72020506031515210
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 78
    bNumInterfaces 3
    bConfigurationValue 1
    iConfiguration 4 USB2.0 MFP(Hi-Speed)
    bmAttributes 0xc0
      Self Powered
    MaxPower 2mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 255 Vendor Specific Subclass
      bInterfaceProtocol 255 Vendor Specific Protocol
      iInterface 5 EPSON Scanner
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 7 Printer
      bInterfaceSubClass 1 Printer
      bInterfaceProtocol 2 Bidirectional
      iInterface 6 USB2.0 Printer
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x04 EP 4 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x85 EP 5 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 2
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 8 Mass Storage
      bInterfaceSubClass 6 SCSI
      bInterfaceProtocol 80 Bulk (Zip)
      iInterface 7 USB2.0 Mass Storage
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x07 EP 7 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x88 EP 8 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
Device Qualifier (for other device speed):
  bLength 10
  bDescriptorType 6
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  bNumConfigurations 1
Device Status: 0x0001
  Self Powered

Revision history for this message
Christophe Combelles (ccomb) wrote :

Same crash here on 9.10 with both xsane and gnome-scan, with a RX700 printer

Revision history for this message
getut (rtkluttz) wrote :

Same crash here with Epson RX500 printer and 64bit Karmic Workstation. I have deleted ~/.sane and tried running as root and still segmentation fault.

Popolon (popolon)
Changed in sane-backends-extras (Ubuntu):
status: New → Confirmed
Revision history for this message
barton (bob-barton) wrote :

I appear to have the same problem - 64bit karmic workstation, Epson Perfection V700 Photo scanner on firewire.

Revision history for this message
Kevin Moore (lockjaw) wrote :

I have both 32 and 64 bit machines running 9.10, and xsane segfaults on both when trying to talk to my Epson RX620. I don't think the problem is specific to the 64 bit architecture.

Revision history for this message
joce (jocelyn-fontaine) wrote :

I have a segmentataion fault with my 64 bits Karmic Laptop and my RX600 epson.

Revision history for this message
penalvch (penalvch) wrote :

Popolon, thank you for reporting this and helping make Ubuntu better.

As per https://wiki.ubuntu.com/Releases your release is EOL.

If you have an issue in a supported release (ex. 16.04) please file a new report, and feel free to subscribe me to it.

Changed in sane-backends-extras (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.