← Back to team overview

simple-scan-team team mailing list archive

[Bug 789906] Re: crash when saving PDF

 

I can confirm this on 11.10 (simple-scan 3.2.1). When saving as PDF,
this occurs at the end of the "simple-scan -d" output:

<snip>
** (simple-scan:4987): DEBUG: scanner.vala:1195: sane_read (24592) -> (SANE_STATUS_GOOD, 8479)
** (simple-scan:4987): DEBUG: scanner.vala:1195: sane_read (24593) -> (SANE_STATUS_GOOD, 24593)
** (simple-scan:4987): DEBUG: scanner.vala:1195: sane_read (25440) -> (SANE_STATUS_GOOD, 7631)
** (simple-scan:4987): DEBUG: scanner.vala:1195: sane_read (25441) -> (SANE_STATUS_GOOD, 25441)
** (simple-scan:4987): DEBUG: scanner.vala:1195: sane_read (26288) -> (SANE_STATUS_GOOD, 6783)
** (simple-scan:4987): DEBUG: scanner.vala:1195: sane_read (26289) -> (SANE_STATUS_GOOD, 24592)
** (simple-scan:4987): DEBUG: scanner.vala:1195: sane_read (26289) -> (SANE_STATUS_EOF, 0)
** (simple-scan:4987): DEBUG: scanner.vala:1180: sane_cancel ()

(simple-scan:4987): Gtk-WARNING **: Unable to retrieve the file info for `file:///home/xxx/Documents/Scanned%20Document.pdf': Error stating file '/home/linstead/Documents/Scanned Document.pdf': No such file or directory
** (simple-scan:4987): DEBUG: ui.vala:445: Saving to 'file:///home/xxx/Documents/Scanned%20Document.pdf'
simple-scan: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
Aborted

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

Title:
  crash when saving PDF

Status in Simple Scan:
  Incomplete
Status in “simple-scan” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: simple-scan

  I had been copying a book since last night, using simple scan, and
  several times I have encountered the following problem.

  When I attempt to save the scanned pages as a PDF file, the file is
  not created properly. The worst part though, is that Simple scan
  closed automatically when this problem occurs, and then all scanned
  pages are lost.

  As I mentioned, this problem does not occur all the time. In most
  cases, the PDF file saves normally. Furthermore, when a file saves
  normally, simple scan stays open. Only when a file does not save
  properly Simple scan closes automatically and the data is lost.

  I noticed that this problem occurs when there are a larger number of
  pages to be saved. The latest time this problem occurred, I had
  attempted to save exactly 41 pages - all were lost. I am attaching the
  improperly saved PDF file, which cannot be opened by evince.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: simple-scan 2.32.0.1-0ubuntu2
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic i686
  Architecture: i386
  Date: Sun May 29 11:28:55 2011
  DriverPackageVersions:
   libsane 1.0.22-2ubuntu1
   libsane-extras N/A
   hplip 3.11.1-2ubuntu2
   hpoj N/A
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
  MachineType: Gateway PROFILE 6
  ProcEnviron:
   LANGUAGE=en_US:en
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=80492a61-33e0-49f1-af57-f22ae68a9068 ro quiet splash vt.handoff=7
  SimpleScanLog:
   
  SourcePackage: simple-scan
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/07/2006
  dmi.bios.vendor: Phoenix Technologies, LTD
  dmi.bios.version: P03D.P945G
  dmi.board.name: Desktop System
  dmi.board.vendor: Gateway
  dmi.board.version: PROFILE6
  dmi.chassis.asset.tag: 000000000000000000
  dmi.chassis.type: 13
  dmi.chassis.vendor: Gateway
  dmi.chassis.version: WTN01A01
  dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvrP03D.P945G:bd11/07/2006:svnGateway:pnPROFILE6:pvr3402644:rvnGateway:rnDesktopSystem:rvrPROFILE6:cvnGateway:ct13:cvrWTN01A01:
  dmi.product.name: PROFILE 6
  dmi.product.version: 3402644
  dmi.sys.vendor: Gateway

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