The problem, in my case, is that g_udev_client_query_by_subsystem
(mgr->client, video4linux_subsystem)[1] is returning devices that are
not video devices (webcams). I have a PCTV board instaled in my system,
and this method is returning (wrongly) /dev/radio0 as a video4linux
device.

The crash is happening in udev_mgr_handle_webcam, because both 'vendor'
and 'product' are null (again, because the device is not a webcam).

The attached patch solves the crash in my system.

[1] this call is in udev_mgr_new method, in udev-mgr.c

** Patch added: "Patch that ignores unknown webcams"
   
https://bugs.launchpad.net/ubuntu/+source/indicator-session/+bug/824243/+attachment/2327216/+files/bug824243.patch

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/824243

Title:
  indicator-session-service crashed with SIGSEGV in g_str_hash()

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-session/+bug/824243/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to