hp deskjet, photosmart crashes on interaction during scanning

Bug #555209 reported by catchmeifyoutry
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
simple-scan (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: simple-scan

I believe i clicked to quickly on buttons / images, while it was scanning, not sure how I did it. But I just wanted to delete a half-scanned page from the list while it was scanning another page.

ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: simple-scan 0.9.10-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
AssertionMessage: *** glibc detected *** simple-scan: double free or corruption (!prev): 0x09e62128 ***
Date: Sun Apr 4 17:01:05 2010
ExecutablePath: /usr/bin/simple-scan
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
MachineType: System manufacturer System Product Name
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-19-generic root=UUID=7d639a83-b44e-40ca-925f-30cd2c3d318e ro quiet splash
ProcCmdline: simple-scan
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
Signal: 6
SourcePackage: simple-scan
StacktraceTop:
 __kernel_vsyscall ()
 raise () from /lib/tls/i686/cmov/libc.so.6
 abort () from /lib/tls/i686/cmov/libc.so.6
 ?? () from /lib/tls/i686/cmov/libc.so.6
 ?? () from /lib/tls/i686/cmov/libc.so.6
Title: simple-scan assert failure: *** glibc detected *** simple-scan: double free or corruption (!prev): 0x09e62128 ***
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 10/26/2007
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: ASUS M2A-VM HDMI ACPI BIOS Revision 1501
dmi.board.name: M2A-VM HDMI
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: 1.XX
dmi.chassis.asset.tag: 123456789000
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvrASUSM2A-VMHDMIACPIBIOSRevision1501:bd10/26/2007:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM2A-VMHDMI:rvr1.XX:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
catchmeifyoutry (catchmeifyoutry) wrote :
Revision history for this message
bojo42 (bojo42) wrote :

I just got a similar error just after saving and trying to return to scanning by pressing the save button.

Revision history for this message
bojo42 (bojo42) wrote :

better use:

simple-scan --debug > simple-scan_$(date +%Y-%m-%d_%H:%M:%S).log 2>&1

for also fetching stderr to the log next time :)

Revision history for this message
Alessandro Lavezzo (lavezzo-alessandro) wrote :

I have the same bug!
I tried to scan 3 pages from a document,
with the first and the second i had no problem, but when i click another time to acquire the last page it got me this error!

P.S: for the first and second pages i interrupted scan pressing the ESC button.

Revision history for this message
Michael Nagel (nailor) wrote :

Please provide this information:
Always explicitly mention the full make and model of your scanner, e.g. "HP Deskjet F4580".

Always provide the id, that might be determined by running lsusb and pasting the corresponding line, that might look like "Bus 001 Device 004: ID 062a:900d Creative Labs". Do not paste the full list of all other USB devices. Adapt for SCSI scanners.

All of you were triggering new operations with the scanner when another operation was still pending, right?

Changed in simple-scan (Ubuntu):
status: New → Incomplete
Revision history for this message
Alessandro Lavezzo (lavezzo-alessandro) wrote : Re: [Bug 555209] Re: simple-scan assert failure: *** glibc detected *** simple-scan: double free or corruption (!prev): 0x09e62128 ***
Download full text (3.4 KiB)

My printer is HP PSC 1210c, the problem happens when i start to scan the
third page, the last two scans were interrupted by pressing the Esc key.

2011/12/26 Michael Nagel <email address hidden>

> Please provide this information:
> Always explicitly mention the full make and model of your scanner, e.g.
> "HP Deskjet F4580".
>
> Always provide the id, that might be determined by running lsusb and
> pasting the corresponding line, that might look like "Bus 001 Device
> 004: ID 062a:900d Creative Labs". Do not paste the full list of all
> other USB devices. Adapt for SCSI scanners.
>
>
> All of you were triggering new operations with the scanner when another
> operation was still pending, right?
>
> ** Changed in: simple-scan (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/555209
>
> Title:
> simple-scan assert failure: *** glibc detected *** simple-scan: double
> free or corruption (!prev): 0x09e62128 ***
>
> Status in “simple-scan” package in Ubuntu:
> Incomplete
>
> Bug description:
> Binary package hint: simple-scan
>
> I believe i clicked to quickly on buttons / images, while it was
> scanning, not sure how I did it. But I just wanted to delete a half-
> scanned page from the list while it was scanning another page.
>
> ProblemType: Crash
> DistroRelease: Ubuntu 10.04
> Package: simple-scan 0.9.10-0ubuntu4
> ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
> Uname: Linux 2.6.32-19-generic i686
> NonfreeKernelModules: nvidia
> Architecture: i386
> AssertionMessage: *** glibc detected *** simple-scan: double free or
> corruption (!prev): 0x09e62128 ***
> Date: Sun Apr 4 17:01:05 2010
> ExecutablePath: /usr/bin/simple-scan
> InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
> MachineType: System manufacturer System Product Name
> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-19-generic
> root=UUID=7d639a83-b44e-40ca-925f-30cd2c3d318e ro quiet splash
> ProcCmdline: simple-scan
> ProcEnviron:
> LANG=en_US.utf8
> SHELL=/bin/bash
> Signal: 6
> SourcePackage: simple-scan
> StacktraceTop:
> __kernel_vsyscall ()
> raise () from /lib/tls/i686/cmov/libc.so.6
> abort () from /lib/tls/i686/cmov/libc.so.6
> ?? () from /lib/tls/i686/cmov/libc.so.6
> ?? () from /lib/tls/i686/cmov/libc.so.6
> Title: simple-scan assert failure: *** glibc detected *** simple-scan:
> double free or corruption (!prev): 0x09e62128 ***
> UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
> dmi.bios.date: 10/26/2007
> dmi.bios.vendor: Phoenix Technologies, LTD
> dmi.bios.version: ASUS M2A-VM HDMI ACPI BIOS Revision 1501
> dmi.board.name: M2A-VM HDMI
> dmi.board.vendor: ASUSTeK Computer INC.
> dmi.board.version: 1.XX
> dmi.chassis.asset.tag: 123456789000
> dmi.chassis.type: 3
> dmi.chassis.vendor: Chassis Manufacture
> dmi.chassis.version: Chassis Version
> dmi.modalias:
> dmi:bvnPhoenixTechnologies,LTD:bvrASUSM2A-VMHDMIACPIBIOSRevision1501:bd10/26/2007:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM2A-VMHDMI:rvr1.XX:cvnCh...

Read more...

Revision history for this message
catchmeifyoutry (catchmeifyoutry) wrote : Re: simple-scan assert failure: *** glibc detected *** simple-scan: double free or corruption (!prev): 0x09e62128 ***

Hi, here is some updated info:

My printer/scanner model: HP DeskJet F4172

lsusb printer listing:
Bus 003 Device 004: ID 03f0:7e04 Hewlett-Packard DeskJet F4100 Printer series

Thanks

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

Just tested 3.2.1-0ubuntu2 under precise with "04a9:220d Canon, Inc. CanoScan N670U/N676U/LiDE 20" and misusing all available buttons i am not able to reproduce this bug anymore.

If we could confirm this for the HP modells i would vote for "invalid", as it seems fixed in current releases.

Revision history for this message
bojo42 (bojo42) wrote :

Trying to confirm with "03f0:5d11 Hewlett-Packard PhotoSmart C5200 series" on latest precise there are quite some crashes.

To reproduce: do a scan, quit in the middle of it and try to push scan again. So yes it seems like it's about interferring with pending jobs.

I got errors like:

** WARNING **: scanner.vala:1098: Unable to start device: Device busy
*** glibc detected *** simple-scan: free(): invalid pointer: 0x00007f302df159a0 ***

and

** WARNING **: scanner.vala:1098: Unable to start device: Device busy
GLib-GObject-WARNING **: cannot create new instance of invalid (non-instantiatable) type `configure_event'

Awaiting instructions for further debugging ;)

summary: - simple-scan assert failure: *** glibc detected *** simple-scan: double
- free or corruption (!prev): 0x09e62128 ***
+ Crashes on interaction during scanning
Michael Nagel (nailor)
summary: - Crashes on interaction during scanning
+ hp deskjet, photosmart crashes on interaction during scanning
Michael Nagel (nailor)
Changed in simple-scan:
importance: Undecided → Low
Revision history for this message
AJenbo (ajenbo) wrote :
Download full text (10.9 KiB)

I can confirm this for both Oneiric (3.2.1) and Percese (3.4.0) using a HP PSC 1210c:

Last bit of the debug log:

** (simple-scan:11206): DEBUG: scanner.vala:1195: sane_read (15295) -> (SANE_STATUS_GOOD, 7647)
** (simple-scan:11206): DEBUG: scanner.vala:733: Processing request
** (simple-scan:11206): DEBUG: scanner.vala:696: sane_cancel ()
** (simple-scan:11206): DEBUG: scanner.vala:699: sane_close ()
** (simple-scan:11206): DEBUG: simple-scan.vala:296: Requesting scan at 300 dpi from device 'hpaio:/usb/psc_1200_series?serial=HU336BQ1CY5H'
** (simple-scan:11206): DEBUG: scanner.vala:1441: Scanner.scan ("hpaio:/usb/psc_1200_series?serial=HU336BQ1CY5H", dpi=300, scan_mode=ScanMode.COLOR, depth=8, type=ScanType.SINGLE, paper_width=0, paper_height=0)
** (simple-scan:11206): DEBUG: scanner.vala:733: Processing request
** (simple-scan:11206): DEBUG: scanner.vala:795: sane_open ("hpaio:/usb/psc_1200_series?serial=HU336BQ1CY5H") -> SANE_STATUS_GOOD
** (simple-scan:11206): DEBUG: scanner.vala:816: sane_get_option_descriptor (0)
** (simple-scan:11206): DEBUG: scanner.vala:666: Option 0: title='Number of options' type=int size=4 cap=,soft-detect
** (simple-scan:11206): DEBUG: scanner.vala:669: Description: Read-only option that specifies how many options a specific devices supports.
** (simple-scan:11206): DEBUG: scanner.vala:816: sane_get_option_descriptor (1)
** (simple-scan:11206): DEBUG: scanner.vala:666: Option 1: name='(null)' title='Scan mode' type=group size=0
** (simple-scan:11206): DEBUG: scanner.vala:816: sane_get_option_descriptor (2)
** (simple-scan:11206): DEBUG: scanner.vala:666: Option 2: name='mode' title='Scan mode' type=string size=20 values=["Lineart", "Gray", "Color"] cap=,soft-select,soft-detect
** (simple-scan:11206): DEBUG: scanner.vala:669: Description: Selects the scan mode (e.g., lineart, monochrome, or color).
** (simple-scan:11206): DEBUG: scanner.vala:479: sane_control_option (2, SANE_ACTION_SET_VALUE, "Color") -> (SANE_STATUS_GOOD, "Color")
** (simple-scan:11206): DEBUG: scanner.vala:816: sane_get_option_descriptor (3)
** (simple-scan:11206): DEBUG: scanner.vala:666: Option 3: name='resolution' title='Scan resolution' type=int size=4 unit=dpi min=75, max=600, quant=0 cap=,soft-select,soft-detect
** (simple-scan:11206): DEBUG: scanner.vala:669: Description: Sets the resolution of the scanned image.
** (simple-scan:11206): DEBUG: scanner.vala:423: sane_control_option (3, SANE_ACTION_SET_VALUE, 300) -> (SANE_STATUS_GOOD, 300)
** (simple-scan:11206): DEBUG: scanner.vala:816: sane_get_option_descriptor (4)
** (simple-scan:11206): DEBUG: scanner.vala:666: Option 4: name='(null)' title='Advanced' type=group size=0 cap=,advanced
** (simple-scan:11206): DEBUG: scanner.vala:816: sane_get_option_descriptor (5)
** (simple-scan:11206): DEBUG: scanner.vala:666: Option 5: name='contrast' title='Contrast' type=int size=4 min=0, max=100, quant=0 cap=,soft-select,soft-detect,inactive,advanced
** (simple-scan:11206): DEBUG: scanner.vala:669: Description: Controls the contrast of the acquired image.
** (simple-scan:11206): DEBUG: scanner.vala:816: sane_get_option_descriptor (6)
** (simple-scan:11206): DEBUG: scanner.vala:666: Option ...

Revision history for this message
AJenbo (ajenbo) wrote :

P.s. this does does not seam to have any thing to do with the scanner being in progress or not.

Revision history for this message
Zaphod BIII (maheinmuc) wrote :

Ubuntu 12.10, Linux rama 3.5.0-18-generic #29-Ubuntu SMP Fri Oct 19 10:26:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
System freeze while scanning (approx. 30% of a document), reproducible.
DMI: Gigabyte Technology Co., Z77X-UD3H, BIOS F18 10/24/2012

Revision history for this message
Zaphod BIII (maheinmuc) wrote :

Linux rama 3.5.0-19-generic #30-Ubuntu SMP Tue Nov 13 17:48:01 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

============================================================

Last logs until system freeze while scanning:

Dec 4 19:51:58 rama rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="584" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
Dec 4 19:52:10 rama kernel: [ 343.775549] usb 5-1.2: new high-speed USB device number 6 using xhci_hcd
Dec 4 19:52:10 rama kernel: [ 343.792374] usb 5-1.2: New USB device found, idVendor=04a9, idProduct=1901
Dec 4 19:52:10 rama kernel: [ 343.792378] usb 5-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Dec 4 19:52:10 rama kernel: [ 343.792380] usb 5-1.2: Product: CanoScan
Dec 4 19:52:10 rama kernel: [ 343.792382] usb 5-1.2: Manufacturer: Canon
Dec 4 19:52:10 rama kernel: [ 343.792586] usb 5-1.2: ep 0x7 - rounding interval to 32768 microframes, ep desc says 0 microframes
Dec 4 19:52:10 rama kernel: [ 343.792591] usb 5-1.2: ep 0x88 - rounding interval to 32768 microframes, ep desc says 0 microframes

============================================================

The system freeze has been reproducible on Ubuntu 12.10 and Mint Mate 14.1 on a a desktop PC with USB 3.0 while Laptop with USB 2.0 works fine.

The following worked for me:

I repuild package simple-scan from source (simple-scan-3.6.0.tar.gz) and because configure indicates some missing files I installed

libgudev-1.0-dev:amd64
ibudev-dev:amd64
libgtk-3-dev:amd64
gnome-colors
libcolord-gtk1
gnome-colors:amd64
gnome-color-manager
gnome-color-chooser:amd64
libcolord-gtk1:amd64
libcolord-gtk-dev:amd64
libcolord-dev:amd64

Revision history for this message
Billard Gates (btothegizzard) wrote :

Similar problem, if I delete a previously scanned page then scan or save simple scan crashes.

Revision history for this message
penalvch (penalvch) wrote :

catchmeifyoutry, thank you for reporting this and helping make Ubuntu better.

As per https://wiki.ubuntu.com/Releases your release is EOL.

If you have an issue in a supported release (ex. 16.04) please file a new report, and feel free to subscribe me to it.

no longer affects: simple-scan (Ubuntu)
affects: simple-scan → simple-scan (Ubuntu)
Changed in simple-scan (Ubuntu):
status: Triaged → Invalid
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.