Here is my kernel log for the test version I've posted above. As far as I can see, sd_start function is called each time when some application wants to access the video device, but when it is called the first time (when a usb cable was insterted), sd struct is almost empty and without null check this leads to kernel oops.
** Attachment added: "kernel log for test version of gspca_ov534" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1173723/+attachment/3665752/+files/kern.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1173723 Title: Kernel oops when connecting web camera To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1173723/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
