Bug 1251282 - xsane segfault with memory exceeded error
Summary: xsane segfault with memory exceeded error
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: xsane
Version: 22
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-06 21:54 UTC by Leek Soup
Modified: 2016-07-19 19:16 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-19 19:16:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Leek Soup 2015-08-06 21:54:29 UTC
Description of problem:
I am attempting to get my Canon ImageFormula P-150 scanner to work under 32-bit Fedora 22.

The first problem I got was it wouldn't find the scanner at all. Then I was able to get sane-find-scanner and scanimage -L to find it, but then xsane crashes with memory exceed error.

Version-Release number of selected component (if applicable):
0.999

How reproducible:
always

Steps to Reproduce:
1. plug scanner above into USB ports
2. run sane-find-scanner, scanimage -L to verify scanner is there, connected
3. run xsane

Actual results:
$ sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
found USB scanner (vendor=0x1083, product=0x162c) at libusb:004:006
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.
...
$ scanimage -L
device `canondr:libusb:004:006' is a Canon P-150 sheetfed scanner

$ xsane
[sanei_wire] sanei_w_array: DECODE: maximum amount of allocated memory exceeded (limit: 1048576, new allocation: 3712802500, total: 3713851076 bytes)
Segmentation fault (core dumped)


Expected results:
xsane finds scanner and can scan documents with scanner.


Additional info:
Xsane with this scanner used to work under F17-x86_64 using setarch i686 xsane. This no longer works with the F22 as I am unable to install 32-bit xsane under 64-bit F22. So I am trying with 32-bit F22 under Boxes.

Comment 1 Fedora End Of Life 2016-07-19 19:16:24 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.