← Back to team overview

simple-scan-team team mailing list archive

[Bug 738360] Re: Simple-scan exits/crashes instead of new scan

 

[Expired for Simple Scan because there has been no activity for 60
days.]

** Changed in: simple-scan
       Status: Incomplete => Expired

-- 
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/738360

Title:
  Simple-scan exits/crashes instead of new scan

Status in Simple Scan:
  Expired

Bug description:
  To duplicate:

  1. Press Ctrl+1 to scan page
  2. Make simple-scan window passive
  3. Switch back to simple-scan window
  4. Press Ctrl+1 to scan another page
  Repeat steps.

  Alternative to duplicate:
  1. Ctrl+1 to scan page
  2. Press Est to abort scan
  Repeat steps.

  Problem: simple-scan disappears without even prompting whether to save
  document before quitting (crash), so if multiple pages have been
  scanned, all scans are lost.

  Ubuntu 10.10
  Simple-scan 2.32.0
  HP Officejet 5510 all-in-one

  1. This was in simple-scan.log when simple-scan was opened,  ctrl+1 pressed to scan, and crash/exit was immediate: 
  ** (simple-scan:21566): DEBUG: Starting Simple Scan 2.32.0, PID=21566
  ** (simple-scan:21566): DEBUG: Restoring window to 600x400 pixels
  ** (simple-scan:21566): DEBUG: Restoring window to maximized
  ** (simple-scan:21566): DEBUG: sane_init () -> SANE_STATUS_GOOD
  ** (simple-scan:21566): DEBUG: SANE version 1.0.21
  ** (simple-scan:21566): DEBUG: Requesting redetection of scan devices
  ** (simple-scan:21566): DEBUG: Processing request
  ** (simple-scan:21566): DEBUG: sane_get_devices () -> SANE_STATUS_GOOD
  ** (simple-scan:21566): DEBUG: Device: name="hpaio:/usb/officejet_5500_series?serial=MY3CJF30ND96" vendor="Hewlett-Packard" model="officejet_5500_series" type="all-in-one"
  ** (simple-scan:21566): DEBUG: Stopping scan thread
  ** (simple-scan:21566): DEBUG: Processing request
  ** (simple-scan:21566): DEBUG: sane_exit ()


  
  2. This log is when started simple scan pressed Ctrl+1 to scan, pressed Esc to abort scan half way, pressed Ctrl+1 to scan again, pressed Esc to abort scan half way, pressed Ctrl+1 again:

  In terminal it reports (simple-scan.log for this occurrence is also
  attached):

  user1@ubuntu:~$ simple-scan --debug >simple-scan.log

  ** (simple-scan:21575): WARNING **: Unable to start device: Device busy
  *** glibc detected *** simple-scan: double free or corruption (!prev): 0x0000000000a00c00 ***
  ======= Backtrace: =========
  /lib/libc.so.6(+0x774b6)[0x7f700ff464b6]
  /lib/libc.so.6(cfree+0x73)[0x7f700ff4cc83]
  /usr/lib/sane/libsane-hpaio.so.1(sane_hpaio_close+0x8c)[0x7f6ff8361acc]
  /usr/lib/libsane.so.1(sane_dll_close+0x24)[0x7f70104797c4]
  simple-scan[0x4130c9]
  simple-scan[0x413330]
  simple-scan[0x4152e9]
  /lib/libglib-2.0.so.0(+0x697e4)[0x7f70106e77e4]
  /lib/libpthread.so.0(+0x7971)[0x7f70124f7971]
  /lib/libc.so.6(clone+0x6d)[0x7f700ffb592d]
  ======= Memory map: ========
  00400000-00421000 r-xp 00000000 fc:01 2496234                            /usr/bin/simple-scan
  00620000-00621000 r--p 00020000 fc:01 2496234                            /usr/bin/simple-scan
  00621000-00622000 rw-p 00021000 fc:01 2496234                            /usr/bin/simple-scan
  007a4000-00ccb000 rw-p 00000000 00:00 0                                  [heap]
  7f6ff0b74000-7f6ff0b89000 r-xp 00000000 fc:01 131135                     /lib/libgcc_s.so.1
  7f6ff0b89000-7f6ff0d88000 ---p 00015000 fc:01 131135                     /lib/libgcc_s.so.1
  7f6ff0d88000-7f6ff0d89000 r--p 00014000 fc:01 131135                     /lib/libgcc_s.so.1
  7f6ff0d89000-7f6ff0d8a000 rw-p 00015000 fc:01 131135                     /lib/libgcc_s.so.1
  7f6ff0da8000-7f6ff4f4c000 rw-p 00000000 00:00 0 
  7f6ff4f4c000-7f6ff4f4d000 ---p 00000000 00:00 0 
  7f6ff4f4d000-7f6ff574d000 rw-p 00000000 00:00 0 
  7f6ff574d000-7f6ff574e000 ---p 00000000 00:00 0 
  7f6ff574e000-7f6ff5f4e000 rw-p 00000000 00:00 0 
  7f6ff5f4e000-7f6ff5f51000 r-xp 00000000 fc:01 131338                     /lib/libgpg-error.so.0.4.0
  7f6ff5f51000-7f6ff6150000 ---p 00003000 fc:01 131338                     /lib/libgpg-error.so.0.4.0
  7f6ff6150000-7f6ff6151000 r--p 00002000 fc:01 131338                     /lib/libgpg-error.so.0.4.0
  7f6ff6151000-7f6ff6152000 rw-p 00003000 fc:01 131338                     /lib/libgpg-error.so.0.4.0
  7f6ff6152000-7f6ff6162000 r-xp 00000000 fc:01 2491355                    /usr/lib/libtasn1.so.3.1.9
  7f6ff6162000-7f6ff6361000 ---p 00010000 fc:01 2491355                    /usr/lib/libtasn1.so.3.1.9
  7f6ff6361000-7f6ff6362000 r--p 0000f000 fc:01 2491355                    /usr/lib/libtasn1.so.3.1.9
  7f6ff6362000-7f6ff6363000 rw-p 00010000 fc:01 2491355                    /usr/lib/libtasn1.so.3.1.9
  7f6ff6363000-7f6ff6365000 r-xp 00000000 fc:01 131182                     /lib/libkeyutils.so.1.3
  7f6ff6365000-7f6ff6564000 ---p 00002000 fc:01 131182                     /lib/libkeyutils.so.1.3
  7f6ff6564000-7f6ff6565000 r--p 00001000 fc:01 131182                     /lib/libkeyutils.so.1.3
  7f6ff6565000-7f6ff6566000 rw-p 00002000 fc:01 131182                     /lib/libkeyutils.so.1.3
  7f6ff6566000-7f6ff656d000 r-xp 00000000 fc:01 2496324                    /usr/lib/libkrb5support.so.0.1
  7f6ff656d000-7f6ff676c000 ---p 00007000 fc:01 2496324                    /usr/lib/libkrb5support.so.0.1
  7f6ff676c000-7f6ff676d000 r--p 00006000 fc:01 2496324                    /usr/lib/libkrb5support.so.0.1
  7f6ff676d000-7f6ff676e000 rw-p 00007000 fc:01 2496324                    /usr/lib/libkrb5support.so.0.1
  7f6ff676e000-7f6ff6771000 r-xp 00000000 fc:01 131105                     /lib/libcom_err.so.2.1
  7f6ff6771000-7f6ff6970000 ---p 00003000 fc:01 131105                     /lib/libcom_err.so.2.1
  7f6ff6970000-7f6ff6971000 r--p 00002000 fc:01 131105                     /lib/libcom_err.so.2.1
  7f6ff6971000-7f6ff6972000 rw-p 00003000 fc:01 131105                     /lib/libcom_err.so.2.1
  7f6ff6972000-7f6ff6996000 r-xp 00000000 fc:01 2493769                    /usr/lib/libk5crypto.so.3.1
  7f6ff6996000-7f6ff6b96000 ---p 00024000 fc:01 2493769                    /usr/lib/libk5crypto.so.3.1
  7f6ff6b96000-7f6ff6b97000 r--p 00024000 fc:01 2493769                    /usr/lib/libk5crypto.so.3.1
  7f6ff6b97000-7f6ff6b98000 rw-p 00025000 fc:01 2493769                    /usr/lib/libk5crypto.so.3.1
  7f6ff6b98000-7f6ff6c51000 r-xp 00000000 fc:01 2494151                    /usr/lib/libkrb5.so.3.3
  7f6ff6c51000-7f6ff6e50000 ---p 000b9000 fc:01 2494151                    /usr/lib/libkrb5.so.3.3
  7f6ff6e50000-7f6ff6e59000 r--p 000b8000 fc:01 2494151                    /usr/lib/libkrb5.so.3.3
  7f6ff6e59000-7f6ff6e5a000 rw-p 000c1000 fc:01 2494151                    /usr/lib/libkrb5.so.3.3
  7f6ff6e5a000-7f6ff6ece000 r-xp 00000000 fc:01 131084                     /lib/libgcrypt.so.11.5.3
  7f6ff6ece000-7f6ff70ce000 ---p 00074000 fc:01 131084                     /lib/libgcrypt.so.11.5.3
  7f6ff70ce000-7f6ff70cf000 r--p 00074000 fc:01 131084                     /lib/libgcrypt.so.11.5.3
  7f6ff70cf000-7f6ff70d2000 rw-p 00075000 fc:01 131084                     /lib/libgcrypt.so.11.5.3
  7f6ff70d2000-7f6ff716d000 r-xp 00000000 fc:01 2491364                    /usr/lib/libgnutls.so.26.14.12
  7f6ff716d000-7f6ff736d000 ---p 0009b000 fc:01 2491364                    /usr/lib/libgnutls.so.26.14.12
  7f6ff736d000-7f6ff7373000 r--p 0009b000 fc:01 2491364                    /usr/lib/libgnutls.so.26.14.12
  7f6ff7373000-7f6ff7374000 rw-p 000a1000 fc:01 2491364                    /usr/lib/libgnutls.so.26.14.12
  7f6ff7374000-7f6ff73a6000 r-xp 00000000 fc:01 2490698                    /usr/lib/libgssapi_krb5.so.2.2
  7f6ff73a6000-7f6ff75a6000 ---p 00032000 fc:01 2490698                    /usr/lib/libgssapi_krb5.so.2.2
  7f6ff75a6000-7f6ff75a7000 r--p 00032000 fc:01 2490698                    /usr/lib/libgssapi_krb5.so.2.2
  7f6ff75a7000-7f6ff75a8000 rw-p 00033000 fc:01 2490698                    /usr/lib/libgssapi_krb5.so.2.2
  7f6ff75a8000-7f6ff763a000 r-xp 00000000 fc:01 2499335                    /usr/lib/libnetsnmp.so.15.1.2
  7f6ff763a000-7f6ff7839000 ---p 00092000 fc:01 2499335                    /usr/lib/libnetsnmp.so.15.1.2
  7f6ff7839000-7f6ff783a000 r--p 00091000 fc:01 2499335                    /usr/lib/libnetsnmp.so.15.1.2
  7f6ff783a000-7f6ff783c000 rw-p 00092000 fc:01 2499335                    /usr/lib/libnetsnmp.so.15.1.2
  7f6ff783c000-7f6ff7871000 rw-p 00000000 00:00 0 
  7f6ff7871000-7f6ff79d4000 r-xp 00000000 fc:01 131243                     /lib/libcrypto.so.0.9.8
  7f6ff79d4000-7f6ff7bd4000 ---p 00163000 fc:01 131243                     /lib/libcrypto.so.0.9.8
  7f6ff7bd4000-7f6ff7be1000 r--p 00163000 fc:01 131243                     /lib/libcrypto.so.0.9.8
  7f6ff7be1000-7f6ff7bfa000 rw-p 00170000 fc:01 131243                     /lib/libcrypto.so.0.9.8Aborted

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