← Back to team overview

kernel-packages team mailing list archive

[Bug 1489077] Missing required logs.

 

This bug is missing log files that will aid in diagnosing the problem.
>From a terminal window please run:

apport-collect 1489077

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

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

Title:
  v4l2 can crash computer with badly written userland code

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  In my simple bit of code to grab a frame from a webcam based on the
  example code given here:

  https://gist.github.com/Circuitsoft/1126411

  I found a badly crafted version would crash the computer (dead except
  for flashing keyboard lights).

  Simply calling ioctl(cam, VIDIOC_STREAMON, &buf.type) twice without
  calling VIDIOC_STREAMOFF inbetween causes the crash. I realise this
  code is incompetent but it shouldn't require a hard reboot to recover
  from it. I guess this might be rather system specific however it
  seemed worth reporting.

   I can't recall the last time I managed to crash a linux box from
  userland...

  Kernel: Ubuntu 3.13.0-62.102-generic 3.13.11-ckt24

  Camera: Bus 001 Device 002: ID 046d:0990 Logitech, Inc. QuickCam Pro
  9000

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


References