← Back to team overview

simple-scan-team team mailing list archive

[Bug 664608] Re: simple-scan crashes when saving to PDF

 

Hi everyone,

I brought this bug to Robert Ancell's attention. Good thing: he looked
into it. Bad thing: he could not reproduce/debug the issue.

Robert believes this  happens due to a corrupted adress space, caused by a bad scanner driver running in the same adress space as Simple Scan. I do not think Robert is right, and that maybe some size control information (image size or the like) returned by the scanner is incorrect, but the adress space itself is intact, because
a) the pixel data is good enough to be displayed, so it should be good enough to be saved
b) there are not random crashes, but it happens deterministically when saving a PDF

So, to see who is right we need the following:
- A description in your own words what exacly you do to recreate (not: "me too") and if it happens in 100% of the cases or just sometimes/most of the times/rarely/...
- Make, Model and ID (as listed by lsusb) of the scanner
- An apport report might be useful. Enable apport: https://wiki.ubuntu.com/Apport then make the problem happen and report the issue via apport. Include make, model and id in the description and CLEARLY STATE that is a reproduction of this bug, #664608 You might need to change the issue from "private" to "public" visibility so we can see it.
- If someone who can recreate -- and has the necessary skills -- could poke around a bit with gdb that might help...

Best Regards
Michael

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

Title:
  simple-scan crashes when saving to PDF

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

Bug description:
  Binary package hint: simple-scan

  I can not save a scanned image or textfile. Simple-Scan crashes
  immediatly after i choose a filename and click "save". When i try to
  start simple-scan with through command line, this errormessage appears
  after the crash:

  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.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: simple-scan 2.32.0-0ubuntu3
  ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
  Uname: Linux 2.6.35-22-generic i686
  NonfreeKernelModules: wl
  Architecture: i386
  Date: Thu Oct 21 18:39:54 2010
  DriverPackageVersions:
   libsane 1.0.21-2ubuntu2
   libsane-extras N/A
   hplip 3.10.6-1ubuntu10
   hpoj N/A
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  MachineType: Dell Inc. Inspiron 910
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=07367db1-2dd0-4e05-b43d-3661d2acb9fc ro quiet splash
  ProcEnviron:
   LANG=de_DE.utf8
   SHELL=/bin/bash
  SimpleScanLog:
   
  SourcePackage: simple-scan
  dmi.bios.date: 03/05/2009
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A05
  dmi.board.name: CN0J14
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A05
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: A05
  dmi.modalias: dmi:bvnDellInc.:bvrA05:bd03/05/2009:svnDellInc.:pnInspiron910:pvrA05:rvnDellInc.:rnCN0J14:rvrA05:cvnDellInc.:ct8:cvrA05:
  dmi.product.name: Inspiron 910
  dmi.product.version: A05
  dmi.sys.vendor: Dell Inc.

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