Bug 42822 - [3.3.0-rc3][uvcvideo][regression] oops - uvc_video_clock_update
Summary: [3.3.0-rc3][uvcvideo][regression] oops - uvc_video_clock_update
Status: NEW
Alias: None
Product: v4l-dvb
Classification: Unclassified
Component: webcam (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: webcam
URL:
Keywords:
Depends on:
Blocks: 42644
  Show dependency tree
 
Reported: 2012-02-26 09:35 UTC by Maciej Rutecki
Modified: 2012-04-22 10:56 UTC (History)
7 users (show)

See Also:
Kernel Version: 3.3-rc3
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
crash log (4.43 KB, text/plain)
2012-04-12 13:30 UTC, Biru Ionut
Details

Description Maciej Rutecki 2012-02-26 09:35:49 UTC
Subject    : [3.3.0-rc3][uvcvideo][regression] oops - uvc_video_clock_update
Submitter  : Shawn Starr <shawn.starr@rogers.com>
Date       : 2012-02-20 1:08
Message-ID : 5887142.ZMTDAjc4qf@segfault.sh0n.net
References : http://marc.info/?l=linux-kernel&m=132970057611642&w=2

This entry is being used for tracking a regression from 3.2. Please don't
close it until the problem is fixed in the mainline.
Comment 1 jacobkorf 2012-03-20 18:24:30 UTC
Hi, 

I'm using version 3.3.0 final of the kernel and this bug is still in there, here is some output when using my webcam in the browser with Flash. It looks like the same problem to me, here you go:

Mar 20 13:33:07 fdesk kernel: [  936.170961] BUG: unable to handle kernel NULL pointer dereference at 0000000000000020
Mar 20 13:33:07 fdesk kernel: [  936.170991] IP: [<ffffffffa03c632f>] uvc_video_clock_update+0x7f/0x400 [uvcvideo]
Mar 20 13:33:07 fdesk kernel: [  936.171014] PGD 3018a3067 PUD 1e07c9067 PMD 0 
Mar 20 13:33:07 fdesk kernel: [  936.171030] Oops: 0000 [#1] SMP 
Mar 20 13:33:07 fdesk kernel: [  936.171042] CPU 1 
Mar 20 13:33:07 fdesk kernel: [  936.171047] Modules linked in: vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) fuse lockd ip6t_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables xfs snd_usb_audio snd_usbmidi_lib binfmt_misc snd_rawmidi uvcvideo videobuf2_core videodev media v4l2_compat_ioctl32 videobuf2_vmalloc videobuf2_memops ppdev snd_hda_codec_realtek microcode serio_raw snd_hda_intel snd_hda_codec i2c_i801 i7core_edac edac_core snd_hwdep snd_seq snd_seq_device iTCO_wdt iTCO_vendor_support snd_pcm r8169 mii vhost_net macvtap macvlan tun virtio_net snd_timer snd kvm_intel soundcore parport_pc parport kvm snd_page_alloc uinput sunrpc ata_generic pata_acpi pata_marvell pata_jmicron usb_storage nouveau ttm drm_kms_helper drm i2c_core mxm_wmi video wmi [last unloaded: scsi_wait_scan]
Mar 20 13:33:07 fdesk kernel: [  936.171313] 
Mar 20 13:33:07 fdesk kernel: [  936.171320] Pid: 5203, comm: plugin-containe Tainted: G         C O 3.3.0-2.fc16.x86_64 #1 MSI MS-7586/P55-CD53 (MS-7586)  
Mar 20 13:33:07 fdesk kernel: [  936.171343] RIP: 0010:[<ffffffffa03c632f>]  [<ffffffffa03c632f>] uvc_video_clock_update+0x7f/0x400 [uvcvideo]
Mar 20 13:33:07 fdesk kernel: [  936.171366] RSP: 0018:ffff8801e05a9ac8  EFLAGS: 00010002
Mar 20 13:33:07 fdesk kernel: [  936.171376] RAX: 00000000b1f9d862 RBX: ffff88032ae03000 RCX: 0000000000000000
Mar 20 13:33:07 fdesk kernel: [  936.171388] RDX: 0000000000000000 RSI: 0000000000000020 RDI: ffff88032ae03550
Mar 20 13:33:07 fdesk kernel: [  936.171400] RBP: ffff8801e05a9b98 R08: ffff8801bb443e78 R09: 0000000000001453
Mar 20 13:33:07 fdesk kernel: [  936.171411] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000020
Mar 20 13:33:07 fdesk kernel: [  936.171423] R13: ffff8801bb443e78 R14: ffff88032ae03550 R15: 0000000031f9d862
Mar 20 13:33:07 fdesk kernel: [  936.171436] FS:  00007f0e9fe49700(0000) GS:ffff88033fc40000(0000) knlGS:0000000000000000
Mar 20 13:33:07 fdesk kernel: [  936.171449] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 20 13:33:07 fdesk kernel: [  936.171459] CR2: 0000000000000020 CR3: 00000001e061d000 CR4: 00000000000026e0
Mar 20 13:33:07 fdesk kernel: [  936.171471] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Mar 20 13:33:07 fdesk kernel: [  936.171483] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Mar 20 13:33:07 fdesk kernel: [  936.171496] Process plugin-containe (pid: 5203, threadinfo ffff8801e05a8000, task ffff88030c33dcc0)
Mar 20 13:33:07 fdesk kernel: [  936.171509] Stack:
Mar 20 13:33:07 fdesk kernel: [  936.171515]  0000000000000000 ffff88030c33dcc0 0000000000000000 00007f8700000001
Mar 20 13:33:07 fdesk kernel: [  936.171536]  ffff8801b83c4300 00000000000000db ffff880100000000 ffff8801e05a9ab8
Mar 20 13:33:07 fdesk kernel: [  936.171557]  ffffffff811943b0 dead000000100100 dead000000200200 ffff88032ae03230
Mar 20 13:33:07 fdesk kernel: [  936.171580] Call Trace:
Mar 20 13:33:07 fdesk kernel: [  936.171592]  [<ffffffff811943b0>] ? __pollwait+0xf0/0xf0
Mar 20 13:33:07 fdesk kernel: [  936.171606]  [<ffffffffa03c1f66>] uvc_buffer_finish+0x26/0x30 [uvcvideo]
Mar 20 13:33:07 fdesk kernel: [  936.171621]  [<ffffffffa03b773a>] vb2_dqbuf+0x23a/0x3c0 [videobuf2_core]
Mar 20 13:33:07 fdesk kernel: [  936.171636]  [<ffffffffa03b6e47>] ? __fill_v4l2_buffer+0xe7/0x1a0 [videobuf2_core]
Mar 20 13:33:07 fdesk kernel: [  936.171652]  [<ffffffffa03b70ce>] ? vb2_qbuf+0x1ce/0x2c0 [videobuf2_core]
Mar 20 13:33:07 fdesk kernel: [  936.171667]  [<ffffffffa03c22c8>] uvc_dequeue_buffer+0x48/0x70 [uvcvideo]
Mar 20 13:33:07 fdesk kernel: [  936.171683]  [<ffffffffa03c3df4>] uvc_v4l2_do_ioctl+0xd64/0x1290 [uvcvideo]
Mar 20 13:33:07 fdesk kernel: [  936.171698]  [<ffffffff810b0290>] ? do_futex+0xf0/0xa80
Mar 20 13:33:07 fdesk kernel: [  936.171713]  [<ffffffffa0397430>] video_usercopy+0x120/0x550 [videodev]
Mar 20 13:33:07 fdesk kernel: [  936.171728]  [<ffffffffa03c3090>] ? uvc_v4l2_open+0x130/0x130 [uvcvideo]
Mar 20 13:33:07 fdesk kernel: [  936.171744]  [<ffffffffa03c27e9>] uvc_v4l2_ioctl+0x29/0x70 [uvcvideo]
Mar 20 13:33:07 fdesk kernel: [  936.171759]  [<ffffffffa03963db>] v4l2_ioctl+0xcb/0x160 [videodev]
Mar 20 13:33:07 fdesk kernel: [  936.171772]  [<ffffffff8101b6c9>] ? read_tsc+0x9/0x20
Mar 20 13:33:07 fdesk kernel: [  936.171783]  [<ffffffff811934b8>] do_vfs_ioctl+0x98/0x550
Mar 20 13:33:07 fdesk kernel: [  936.171795]  [<ffffffff81194122>] ? poll_select_copy_remaining+0xf2/0x140
Mar 20 13:33:07 fdesk kernel: [  936.171808]  [<ffffffff81193a01>] sys_ioctl+0x91/0xa0
Mar 20 13:33:07 fdesk kernel: [  936.171820]  [<ffffffff815fc069>] system_call_fastpath+0x16/0x1b
Mar 20 13:33:07 fdesk kernel: [  936.171831] Code: 83 40 05 00 00 31 d2 48 8b 8b 38 05 00 00 45 8b bf f0 02 00 00 41 89 c4 83 e8 01 f7 f6 49 c1 e4 05 41 8d 87 00 00 00 80 49 01 cc <41> 8b 34 24 41 89 d5 29 c6 49 c1 e5 05 49 01 cd 41 8b 7d 00 29 
Mar 20 13:33:07 fdesk kernel: [  936.172003] RIP  [<ffffffffa03c632f>] uvc_video_clock_update+0x7f/0x400 [uvcvideo]
Mar 20 13:33:07 fdesk kernel: [  936.172021]  RSP <ffff8801e05a9ac8>
Mar 20 13:33:07 fdesk kernel: [  936.172029] CR2: 0000000000000020
Mar 20 13:33:07 fdesk kernel: [  936.185537] ---[ end trace 831ea6ebf1dc35b2 ]---
Comment 2 Biru Ionut 2012-04-12 13:29:53 UTC
Here is my crash log using 3.3.1. This bug is also present in 3.4-rc2
Comment 3 Biru Ionut 2012-04-12 13:30:14 UTC
Created attachment 72900 [details]
crash log
Comment 4 carasin 2012-04-22 10:56:42 UTC
I have a similar problem with kernel-3.3.
More information here:
https://bugzilla.redhat.com/show_bug.cgi?id=808188

The work around is:
$ su -c 'echo "options uvcvideo nodrop=1" > /etc/modprobe.d/uvcvideo.conf'
$ su -c 'modprobe -r uvcvideo'
$ su -c 'modprobe uvcvideo'

Is it the same regression?

Note You need to log in before you can comment on or make changes to this bug.