simple-scan crashed with SIGSEGV in hpaioPmlDeallocateObjects()

Bug #934194 reported by Dmitry Shachnev
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned
hplip (Ubuntu)
New
Medium
Unassigned

Bug Description

I'm quite sure that it's a duplicate of bug 902830.

I can for sure reproduce it with the following steps:

 - Click Scan button and wait for ~5s while the scanner is initialized
 - Unplug and plug back the cable
 - A "Failed to scan" message appears
 - Ignore it, click the Scan button again
 - ... it crashes!

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: simple-scan 3.2.1-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-16.25-generic 3.2.6
Uname: Linux 3.2.0-16-generic i686
ApportVersion: 1.91-0ubuntu1
Architecture: i386
CrashCounter: 1
Date: Fri Feb 17 17:27:01 2012
DriverPackageVersions:
 libsane 1.0.22-7ubuntu1
 libsane-extras N/A
 hplip 3.12.2-0ubuntu1
 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.2.0-16-generic root=UUID=2e8fd81a-2a9c-4223-b8cb-19c24f99764e ro quiet splash vt.handoff=7
SegvAnalysis:
 Segfault happened at: 0x57141a2 <sane_hpaio_close+178>: mov 0x4(%eax),%esi
 PC (0x057141a2) ok
 source "0x4(%eax)" (0x303a6277) not located in a known VMA region (needed readable region)!
 destination "%esi" ok
 Stack memory exhausted (SP below stack segment)
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: simple-scan
StacktraceTop:
 sane_hpaio_close () from /usr/lib/sane/libsane-hpaio.so.1
 sane_dll_close () from /usr/lib/i386-linux-gnu/libsane.so.1
 sane_close () from /usr/lib/i386-linux-gnu/libsane.so.1
 ?? ()
 ?? ()
Title: simple-scan crashed with SIGSEGV in sane_hpaio_close()
UpgradeStatus: Upgraded to precise on 2012-02-10 (6 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:
 hpaioPmlDeallocateObjects (hpaio=<optimized out>) at scan/sane/hpaio.c:602
 sane_hpaio_close (handle=0xb5f5f138) at scan/sane/hpaio.c:2432
 sane_dll_close (handle=0xb5f45de0) at dll.c:1220
 sane_close (h=0xb5f45de0) at dll-s.c:78
 scanner_close_device (self=0x8bf5eb8) at scanner.c:5346

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
summary: - simple-scan crashed with SIGSEGV in sane_hpaio_close()
+ simple-scan crashed with SIGSEGV in hpaioPmlDeallocateObjects()
tags: removed: need-i386-retrace
Revision history for this message
Michael Nagel (nailor) wrote :

The backtrace once again suggest this is an issue with the hplip driver.

affects: simple-scan (Ubuntu) → hplip (Ubuntu)
Revision history for this message
Robert Ancell (robert-ancell) wrote :

This seems to be related to bug 930914 which is the top detected problem for Ubuntu 12.04 users with simple-scan (see https://errors.ubuntu.com/?release=Ubuntu%2012.04&package=simple-scan&period=month)

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.