All scanning programs hang in pp_probe_devices()

Bug #1378748 reported by Dmitry Shachnev
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hplip (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hi,

I have HP PhotoSmart C4283 and a (mostly) fresh Ubuntu 14.10 amd64 installation.

Any scanning program, like simple-scan or xsane, hangs when trying to do anything with this printer (the process becomes defunct/zombie).

The backtrace is:

#0 ioctl () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007fffecd80b40 in pp_probe_devices (lst=0xb <error: Cannot access memory at address 0xb>, lst@entry=0x7fffffff5790 "", lst_size=-2147192681, lst_size@entry=16144,
    cnt=0x7fffffff4d9c, cnt@entry=0x7fffffff5468) at io/hpmud/pp.c:1228
#2 0x00007fffecd78661 in hpmud_probe_devices (bus=bus@entry=HPMUD_BUS_ALL,
    buf=buf@entry=0x7fffffff56a0 "direct hp:/usb/Photosmart_C4200_series?serial=MY798KP16D04VP \"HP Photosmart C4200 series\" \"HP Photosmart C4200 series USB MY798KP16D04VP HPLIP\" \"MFG:HP;MDL:Photosmart C4200 series;CLS:PRINTER;DES:Phot"..., buf_size=buf_size@entry=16384, cnt=cnt@entry=0x7fffffff5468, bytes_read=bytes_read@entry=0x7fffffff546c)
    at io/hpmud/hpmud.c:600
#3 0x00007fffed3796c5 in DevDiscovery (localOnly=localOnly@entry=0) at scan/sane/hpaio.c:278
#4 0x00007fffed379cd9 in sane_hpaio_get_devices (deviceList=0x7fffffff9758, localOnly=0) at scan/sane/hpaio.c:359
#5 0x00007ffff7bd6427 in sane_dll_get_devices (device_list=0x69fb80, local_only=0) at dll.c:1058

According to strace, the last two syscalls are:

open("/dev/parport0", O_RDONLY|O_NOCTTY) = 11
ioctl(11, PPGETMODES, 0x7fffbe27f54c)

... and the last one (ioctl) hangs (i.e. strace didn't print even the closing bracket).

This happens even when the device is NOT plugged via USB.

Revision history for this message
gf (gf-interlinks-deactivatedaccount) wrote :

Hello Dmitry,
Thank you for submitting this bug and reporting a problem with hplip. You made this bug report some time ago and Ubuntu and hplip have been updated since then.

Could you confirm that this is no longer a problem and that we can close the ticket?
If it is still a problem, are you still interested in finding a solution to this bug?
If you are, could you let us know and, in the current version, could you run the following (only once):
apport-collect 1378748
and upload the updated logs and and any other logs that are relevant for this particular issue.

Thank you again for helping make Ubuntu and hplip better.
G
[Ubuntu Bug Squad volunteer triager]

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

It is no longer a problem.

Changed in hplip (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
gf (gf-interlinks-deactivatedaccount) wrote :

Thanks for the update, Dmitry. I will close the report now.
:)
G

Closed per reporter's feedback.

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.