← Back to team overview

simple-scan-team team mailing list archive

[Bug 572246] Re: Sane lib crashes with "buffer overflow detected"

 

xsane and simple scan were running perfectly when using my HP 2840
multifunction printer.

After I added an USB Epson printer I was unable to again scan files from
the HP multifunction printer. I also had the same buffer overflow, etc.

As previously noted by Shurick Daryin (daryin) on 2010-05-18:  I also
commented the "net autodiscovery" line of /etc/sane.d/epson2.conf.

It is again working perfectly.

Thanks to all and congratulations to Shurick for having found this very
difficult to find source of error (I spent hours before making such a
link between the 2 printers).

Yves

-- 
You received this bug notification because you are a member of Simple
Scan Development Team, which is the registrant for Simple Scan.
https://bugs.launchpad.net/bugs/572246

Title:
  Sane lib crashes with "buffer overflow detected"

Status in Simple Scan:
  Invalid
Status in “sane-backends” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: simple-scan

  derosa@bowman:~$ simple-scan 
  *** buffer overflow detected ***: simple-scan terminated
  ======= Backtrace: =========
  /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x50)[0xfc6350]
  /lib/tls/i686/cmov/libc.so.6(+0xe128a)[0xfc528a]
  /lib/tls/i686/cmov/libc.so.6(+0xe05ba)[0xfc45ba]
  /usr/lib/sane/libsane-epson2.so.1(+0x121ad)[0x45571ad]
  /usr/lib/sane/libsane-epson2.so.1(+0x1257a)[0x455757a]
  /usr/lib/sane/libsane-epson2.so.1(sanei_configure_attach+0x495)[0x454a785]
  /usr/lib/sane/libsane-epson2.so.1(+0x103b7)[0x45553b7]
  /usr/lib/sane/libsane-epson2.so.1(sane_epson2_get_devices+0x39)[0x4556f59]
  /usr/lib/libsane.so.1(sane_dll_get_devices+0xb2)[0xca8ea2]
  /usr/lib/libsane.so.1(sane_get_devices+0x24)[0xca69b4]
  simple-scan[0x805a774]
  /lib/libglib-2.0.so.0(+0x65dcf)[0x8a4dcf]
  /lib/tls/i686/cmov/libpthread.so.0(+0x596e)[0x18996e]
  /lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xfb1a0e]
  ======= Memory map: ========
  00110000-00159000 r-xp 00000000 08:05 824342     /usr/lib/libORBit-2.so.0.1.0
  00159000-00161000 r--p 00049000 08:05 824342     /usr/lib/libORBit-2.so.0.1.0
  00161000-00163000 rw-p 00051000 08:05 824342     /usr/lib/libORBit-2.so.0.1.0
  00163000-0016a000 r-xp 00000000 08:05 1835047    /lib/tls/i686/cmov/librt-2.11.1.so
  0016a000-0016b000 r--p 00006000 08:05 1835047    /lib/tls/i686/cmov/librt-2.11.1.so
  0016b000-0016c000 rw-p 00007000 08:05 1835047    /lib/tls/i686/cmov/librt-2.11.1.so
  0016c000-00176000 r-xp 00000000 08:05 1835127    /lib/libudev.so.0.6.1
  00176000-00177000 r--p 00009000 08:05 1835127    /lib/libudev.so.0.6.1
  00177000-00178000 rw-p 0000a000 08:05 1835127    /lib/libudev.so.0.6.1
  00178000-00182000 r-xp 00000000 08:05 824631     /usr/lib/libpangocairo-1.0.so.0.2800.0
  00182000-00183000 r--p 00009000 08:05 824631     /usr/lib/libpangocairo-1.0.so.0.2800.0
  00183000-00184000 rw-p 0000a000 08:05 824631     /usr/lib/libpangocairo-1.0.so.0.2800.0
  00184000-00199000 r-xp 00000000 08:05 1835045    /lib/tls/i686/cmov/libpthread-2.11.1.so
  00199000-0019a000 r--p 00014000 08:05 1835045    /lib/tls/i686/cmov/libpthread-2.11.1.so
  0019a000-0019b000 rw-p 00015000 08:05 1835045    /lib/tls/i686/cmov/libpthread-2.11.1.so
  0019b000-0019d000 rw-p 00000000 00:00 0 
  0019d000-00230000 r-xp 00000000 08:05 824756     /usr/lib/libgdk-x11-2.0.so.0.2000.0
  00230000-00232000 r--p 00093000 08:05 824756     /usr/lib/libgdk-x11-2.0.so.0.2000.0
  00232000-00233000 rw-p 00095000 08:05 824756     /usr/lib/libgdk-x11-2.0.so.0.2000.0
  00233000-002aa000 r-xp 00000000 08:05 824482     /usr/lib/libcairo.so.2.10800.10
  002aa000-002ac000 r--p 00076000 08:05 824482     /usr/lib/libcairo.so.2.10800.10
  002ac000-002ad000 rw-p 00078000 08:05 824482     /usr/lib/libcairo.so.2.10800.10
  002ad000-002af000 r-xp 00000000 08:05 824663     /usr/lib/libXcomposite.so.1.0.0
  002af000-002b0000 r--p 00001000 08:05 824663     /usr/lib/libXcomposite.so.1.0.0
  002b0000-002b1000 rw-p 00002000 08:05 824663     /usr/lib/libXcomposite.so.1.0.0
  002b1000-002b3000 r-xp 00000000 08:05 824674     /usr/lib/libXdamage.so.1.1.0
  002b3000-002b4000 r--p 00001000 08:05 824674     /usr/lib/libXdamage.so.1.1.0
  002b4000-002b5000 rw-p 00002000 08:05 824674     /usr/lib/libXdamage.so.1.1.0
  002b5000-002b9000 r-xp 00000000 08:05 817026     /usr/lib/libXfixes.so.3.1.0
  002b9000-002ba000 r--p 00003000 08:05 817026     /usr/lib/libXfixes.so.3.1.0
  002ba000-002bb000 rw-p 00004000 08:05 817026     /usr/lib/libXfixes.so.3.1.0
  002bb000-002bd000 r-xp 00000000 08:05 1835034    /lib/tls/i686/cmov/libdl-2.11.1.so
  002bd000-002be000 r--p 00001000 08:05 1835034    /lib/tls/i686/cmov/libdl-2.11.1.so
  002be000-002bf000 rw-p 00002000 08:05 1835034    /lib/tls/i686/cmov/libdl-2.11.1.so
  002bf000-002c4000 r-xp 00000000 08:05 825107     /usr/lib/libgudev-1.0.so.0.0.1
  002c4000-002c5000 r--p 00005000 08:05 825107     /usr/lib/libgudev-1.0.so.0.0.1
  002c5000-002c6000 rw-p 00006000 08:05 825107     /usr/lib/libgudev-1.0.so.0.0.1
  002c6000-002fd000 r-xp 00000000 08:05 1835070    /lib/libdbus-1.so.3.4.0
  002fd000-002fe000 r--p 00036000 08:05 1835070    /lib/libdbus-1.so.3.4.0
  002fe000-002ff000 rw-p 00037000 08:05 1835070    /lib/libdbus-1.so.3.4.0
  002ff000-00318000 r-xp 00000000 08:05 824272     /usr/lib/libatk-1.0.so.0.3009.1
  00318000-00319000 ---p 00019000 08:05 824272     /usr/lib/libatk-1.0.so.0.3009.1
  00319000-0031a000 r--p 00019000 08:05 824272     /usr/lib/libatk-1.0.so.0.3009.1
  0031a000-0031b000 rw-p 0001a000 08:05 824272     /usr/lib/libatk-1.0.so.0.3009.1
  0031b000-00340000 r-xp 00000000 08:05 824632     /usr/lib/libpangoft2-1.0.so.0.2800.0
  00340000-00341000 r--p 00024000 08:05 824632     /usr/lib/libpangoft2-1.0.so.0.2800.0
  00341000-00342000 rw-p 00025000 08:05 824632     /usr/lib/libpangoft2-1.0.so.0.2800.0
  00342000-00350000 r-xp 00000000 08:05 816847     /usr/lib/libXext.so.6.4.0
  00350000-00351000 r--p 0000d000 08:05 816847     /usr/lib/libXext.so.6.4.0
  00351000-00352000 rw-p 0000e000 08:05 816847     /usr/lib/libXext.so.6.4.0
  00352000-0035a000 r-xp 00000000 08:05 824480     /usr/lib/libXrender.so.1.3.0
  0035a000-0035b000 r--p 00007000 08:05 824480     /usr/lib/libXrender.so.1.3.0
  0035b000-0035c000 rw-p 00008000 08:05 824480     /usr/lib/libXrender.so.1.3.0
  0035c000-00377000 r-xp 00000000 08:05 1839434    /lib/ld-2.11.1.so
  00377000-00378000 r--p 0001a000 08:05 1839434    /lib/ld-2.11.1.so
  00378000-00379000 rw-p 0001b000 08:05 1839434    /lib/ld-2.11.1.so
  00379000-00746000 r-xp 00000000 08:05 824755     /usr/lib/libgtk-x11-2.0.so.0.2000.0
  00746000-0074a000 r--p 003cd000 08:05 824755     /usr/lib/libgtk-x11-2.0.so.0.2000.0
  0074a000-0074c000 rw-p 003d1000 08:05 824755     /usr/lib/libgtk-x11-2.0.so.0.2000.0
  0074c000-0074e000 rw-p 00000000 00:00 0 
  0074e000-00751000 r-xp 00000000 08:05 824474     /usr/lib/libxcb-render-util.so.0.0.0
  00751000-00752000 r--p 00002000 08:05 824474     /usr/lib/libxcb-render-util.so.0.0.0
  00752000-00753000 rw-p 00003000 08:05 824474     /usr/lib/libxcb-render-util.so.0.0.0
  00754000-00794000 r-xp 00000000 08:05 824630     /usr/lib/libpango-1.0.so.0.2800.0
  00794000-00795000 ---p 00040000 08:05 824630     /usr/lib/libpango-1.0.so.0.2800.0
  00795000-00796000 r--p 00040000 08:05 824630     /usr/lib/libpango-1.0.so.0.2800.0
  00796000-00797000 rw-p 00041000 08:05 824630     /usr/lib/libpango-1.0.so.0.2800.0
  00797000-007c5000 r-xp 00000000 08:05 818589     /usr/lib/libfontconfig.so.1.4.4
  007c5000-007c6000 r--p 0002d000 08:05 818589     /usr/lib/libfontconfig.so.1.4.4
  007c6000-007c7000 rw-p 0002e000 08:05 818589     /usr/lib/libfontconfig.so.1.4.4
  007c7000-007d3000 r-xp 00000000 08:05 817038     /usr/lib/libXi.so.6.1.0
  007d3000-007d4000 r--p 0000c000 08:05 817038     /usr/lib/libXi.so.6.1.0
  007d4000-007d5000 rw-p 0000d000 08:05 817038     /usr/lib/libXi.so.6.1.0
  007d5000-007db000 r-xp 00000000 08:05 824686     /usr/lib/libXrandr.so.2.2.0
  007db000-007dc000 r--p 00005000 08:05 824686     /usr/lib/libXrandr.so.2.2.0
  007dc000-007dd000 rw-p 00006000 08:05 824686     /usr/lib/libXrandr.so.2.2.0
  007dd000-007e5000 r-xp 00000000 08:05 824449     /usr/lib/libfusion-1.2.so.0.8.0
  007e5000-007e6000 r--p 00007000 08:05 824449     /usr/lib/libfusion-1.2.so.0.8.0
  007e6000-007e7000 rw-p 00008000 08:05 824449     /usr/lib/libfusion-1.2.so.0.8.0
  007e7000-007fb000 r-xp 00000000 08:05 824447     /usr/lib/libdirect-1.2.so.0.8.0Cancelado
  derosa@bowman:~$

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: simple-scan 1.0.2-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-21-generic i686
  Architecture: i386
  Date: Fri Apr 30 13:36:36 2010
  DriverPackageVersions:
   libsane 1.0.20-13ubuntu2
   libsane-extras N/A
   hplip 3.10.2-2ubuntu2
   hpoj N/A
  MachineType: Acer Veriton M670G/M670
  ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-21-generic root=UUID=40237d0b-a9a4-43b2-a01c-f8a8511c9192 ro quiet splash
  ProcEnviron:
   PATH=(custom, user)
   LANG=es_ES.utf8
   SHELL=/bin/bash
  SourcePackage: simple-scan
  dmi.bios.date: 11/20/2008
  dmi.bios.vendor: Acer
  dmi.bios.version: R01-A2
  dmi.board.name: EQ45M
  dmi.board.vendor: Acer
  dmi.chassis.type: 3
  dmi.chassis.vendor: Acer
  dmi.modalias: dmi:bvnAcer:bvrR01-A2:bd11/20/2008:svnAcer:pnVeritonM670G/M670:pvr:rvnAcer:rnEQ45M:rvr:cvnAcer:ct3:cvr:
  dmi.product.name: Veriton M670G/M670
  dmi.sys.vendor: Acer

To manage notifications about this bug go to:
https://bugs.launchpad.net/simple-scan/+bug/572246/+subscriptions