simple-scan crashed with SIGSEGV in __GI___libc_free()

Bug #902830 reported by Dmitry Shachnev
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned
Simple Scan
Won't Fix
Undecided
Unassigned
hplip (Ubuntu)
New
Medium
Unassigned

Bug Description

Simple scan crashed when I tried to scan another page.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: simple-scan 3.2.1-0ubuntu1~oneiric1
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Sun Dec 11 20:36:10 2011
DriverPackageVersions:
 libsane 1.0.22-2ubuntu2
 libsane-extras N/A
 hplip 3.11.7-1ubuntu3.1
 hpoj N/A
ExecutablePath: /usr/bin/simple-scan
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
MachineType: FUJITSU SIEMENS AMILO Li 1818
ProcCmdline: simple-scan
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-14-generic root=UUID=2e8fd81a-2a9c-4223-b8cb-19c24f99764e ro quiet splash vt.handoff=7
SegvAnalysis:
 Segfault happened at: 0xa8d93c <__GI___libc_free+92>: lock cmpxchg %ecx,(%esi)
 PC (0x00a8d93c) ok
 source "%ecx" ok
 destination "(%esi)" (0x0e410285) not located in a known VMA region (needed writable region)!
 Stack memory exhausted (SP below stack segment)
SegvReason: writing unknown VMA
Signal: 11
SourcePackage: simple-scan
StacktraceTop:
 __GI___libc_free (mem=0x648c7c) at malloc.c:3736
 sane_hpaio_close () from /usr/lib/sane/libsane-hpaio.so.1
 sane_dll_close () from /usr/lib/libsane.so.1
 sane_close () from /usr/lib/libsane.so.1
 ?? ()
Title: simple-scan crashed with SIGSEGV in __GI___libc_free()
UpgradeStatus: Upgraded to oneiric on 2011-12-10 (1 days ago)
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev nopasswdlogin plugdev sambashare tape video
dmi.bios.date: 07/30/2007
dmi.bios.vendor: FUJITSU SIEMENS
dmi.bios.version: 1.14C
dmi.board.name: AMILO Li 1818
dmi.board.vendor: FUJITSU SIEMENS
dmi.chassis.type: 10
dmi.chassis.vendor: FUJITSU SIEMENS
dmi.modalias: dmi:bvnFUJITSUSIEMENS:bvr1.14C:bd07/30/2007:svnFUJITSUSIEMENS:pnAMILOLi1818:pvr:rvnFUJITSUSIEMENS:rnAMILOLi1818:rvr:cvnFUJITSUSIEMENS:ct10:cvr:
dmi.product.name: AMILO Li 1818
dmi.sys.vendor: FUJITSU SIEMENS

Revision history for this message
Dmitry Shachnev (mitya57) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __GI___libc_free (mem=0x648c7c) at malloc.c:3736
 hpaioPmlDeallocateObjects (hpaio=<optimized out>) at scan/sane/hpaio.c:604
 sane_hpaio_close (handle=0x9ee4400) at scan/sane/hpaio.c:2347
 sane_dll_close (handle=0x9e0bda0) at dll.c:1221
 sane_close (h=0x9e0bda0) at dll-s.c:78

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in simple-scan (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
Michael Nagel (nailor) wrote :

Hi there,

thank you for filing this bug and showing your interest in Simple Scan!

This seems to be a Hardware Issue, i.e. Simple Scan does not support your scanner perfectly -- or possibly not at all.

Unfortunately such problems happen more often then they should, and while it might indeed be a problem with Simple Scan, in our experience, most of the time it is not.
This is why we prepared a check-list at [1] that will let you find out whether or not it really is a problem with Simple Scan and what your options are in either case.

Please read that list and tell us how you decided to proceed. I will set this bug to "Incomplete", so a friendly robot will expire this bug in 60 days if you do not respond. However, we would really prefer to hear back from you!

Best Regards
Michael

[1] https://help.ubuntu.com/community/SimpleScanHardwareIssues

Changed in simple-scan (Ubuntu):
status: New → Incomplete
Changed in simple-scan:
status: New → Incomplete
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

@Michael: I've been using Simple Scan / XSane for 2 years with this device, and I got such a crash only once. All required information about this device should be present in UdevDb.txt. Also, I can't reproduce this crash.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

I also marked it as affecting hplip, because "libsane-hpaio" package which contains /usr/lib/sane/libsane-hpaio.so.1 is built from "hplip" source.

Changed in simple-scan:
status: Incomplete → New
Changed in simple-scan (Ubuntu):
status: Incomplete → New
Revision history for this message
Michael Nagel (nailor) wrote :

Considering the fact that this is most likely an issue with the sane backend / hplip and simple-scan is really lacking manpower I am going to close the tasks against simple-scan. This does not imply that there is no problem, but rather that nobody is going to look into it because it happens only seldom to a few users and there are no clear instructions how to recreate it.

Changed in simple-scan:
status: New → Won't Fix
Changed in simple-scan (Ubuntu):
status: New → Invalid
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

OK, I'll reassign it to hplip.

affects: simple-scan (Ubuntu) → hplip (Ubuntu)
Changed in hplip (Ubuntu):
status: Invalid → New
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

To the HPLIP developers at HP: Can you have a look into this? Looks like a double free in the scanner driver.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

same as bug 560894?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.