← Back to team overview

desktop-packages team mailing list archive

[Bug 1378748] [NEW] All scanning programs hang in pp_probe_devices()

 

Public bug reported:

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.

** Affects: hplip (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/1378748

Title:
  All scanning programs hang in pp_probe_devices()

Status in “hplip” package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1378748/+subscriptions


Follow ups

References