Bug 836742 - skype video crashes kernel
Summary: skype video crashes kernel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 17
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-30 19:21 UTC by clift.brando
Modified: 2012-08-10 17:12 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-05 21:24:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
uvcvideo queue freeze fix (1.19 KB, patch)
2012-07-15 14:03 UTC, Laurent Pinchart
no flags Details | Diff

Description clift.brando 2012-06-30 19:21:30 UTC
Description of problem:
Skype video crashes kernel

Version-Release number of selected component (if applicable):
3.4.3-1.fc17.x86_64 #1 SMP on Dell Precision M6500 with built-in camera and Nouveau driver

How reproducible:
Make video call using Skype

Additional info:
/var/log/messages:

Jun 30 21:34:15 oshri kernel: [189822.718540] ------------[ cut here ]------------
Jun 30 21:34:15 oshri kernel: [189822.718565] WARNING: at kernel/watchdog.c:241 watchdog_overflow_callback+0x9a/0xc0()
Jun 30 21:34:15 oshri kernel: [189822.718569] Hardware name: Precision M6500                 
Jun 30 21:34:15 oshri kernel: [189822.718572] Watchdog detected hard LOCKUP on cpu 2
Jun 30 21:34:15 oshri kernel: [189822.718575] Modules linked in: usb_storage fuse ipt_MASQUERADE nf_conntrack_netbios_ns nf_conntrack_broadcast lockd sunrpc bnep bluetooth ip6table_mangle ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6t
able_filter ip6_tables iptable_nat nf_nat iptable_mangle nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack tpm_bios arc4 iwlwifi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_timer snd uvcvid
eo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media iTCO_wdt iTCO_vendor_support soundcore tg3 tifm_7xx1 tifm_core i2c_i801 coretemp dell_laptop i7core_edac dcdbas edac_core mac80211 cfg80211 rfkill dell_wmi sparse_keymap
 microcode binfmt_misc uinput crc32c_intel yenta_socket sdhci_pci sdhci firewire_ohci mmc_core firewire_core crc_itu_t nouveau mxm_wmi wmi video i2c_algo_bit drm_kms_helper ttm drm i2c_core [last unloaded: scsi_wait_scan]
Jun 30 21:34:15 oshri kernel: [189822.718667] Pid: 0, comm: swapper/2 Not tainted 3.4.3-1.fc17.x86_64 #1
Jun 30 21:34:15 oshri kernel: [189822.718670] Call Trace:
Jun 30 21:34:15 oshri kernel: [189822.718673]  <NMI>  [<ffffffff8105681f>] warn_slowpath_common+0x7f/0xc0
Jun 30 21:34:15 oshri kernel: [189822.718686]  [<ffffffff81056916>] warn_slowpath_fmt+0x46/0x50
Jun 30 21:34:15 oshri kernel: [189822.718691]  [<ffffffff810dea30>] ? touch_nmi_watchdog+0x80/0x80
Jun 30 21:34:15 oshri kernel: [189822.718697]  [<ffffffff810deaca>] watchdog_overflow_callback+0x9a/0xc0
Jun 30 21:34:15 oshri kernel: [189822.718703]  [<ffffffff8111624d>] __perf_event_overflow+0x9d/0x230
Jun 30 21:34:15 oshri kernel: [189822.718710]  [<ffffffff810240e7>] ? x86_perf_event_set_period+0xd7/0x160
Jun 30 21:34:15 oshri kernel: [189822.718715]  [<ffffffff81116c44>] perf_event_overflow+0x14/0x20
Jun 30 21:34:15 oshri kernel: [189822.718721]  [<ffffffff810292a7>] intel_pmu_handle_irq+0x197/0x320
Jun 30 21:34:15 oshri kernel: [189822.718729]  [<ffffffff815f24cd>] perf_event_nmi_handler+0x1d/0x20
Jun 30 21:34:15 oshri kernel: [189822.718734]  [<ffffffff815f1ca9>] nmi_handle.isra.0+0x49/0x80
Jun 30 21:34:15 oshri kernel: [189822.718739]  [<ffffffff815f1dc8>] do_nmi+0xe8/0x320
Jun 30 21:34:15 oshri kernel: [189822.718745]  [<ffffffff815f12fc>] end_repeat_nmi+0x1a/0x1e
Jun 30 21:34:15 oshri kernel: [189822.718753]  [<ffffffff810a3757>] ? ktime_get_ts+0x27/0xf0
Jun 30 21:34:15 oshri kernel: [189822.718758]  [<ffffffff810a3757>] ? ktime_get_ts+0x27/0xf0
Jun 30 21:34:15 oshri kernel: [189822.718763]  [<ffffffff810a3757>] ? ktime_get_ts+0x27/0xf0
Jun 30 21:34:15 oshri kernel: [189822.718766]  <<EOE>>  <IRQ>  [<ffffffffa032ee1d>] uvc_video_decode_start+0x5bd/0x800 [uvcvideo]
Jun 30 21:34:15 oshri kernel: [189822.718783]  [<ffffffffa0252494>] ? vb2_buffer_done+0xc4/0xc30 [videobuf2_core]
Jun 30 21:34:15 oshri kernel: [189822.718792]  [<ffffffffa032fdb7>] uvc_video_decode_isoc+0x107/0x1b0 [uvcvideo]
Jun 30 21:34:15 oshri kernel: [189822.718800]  [<ffffffffa0330476>] uvc_video_complete+0xd6/0x100 [uvcvideo]
Jun 30 21:34:15 oshri kernel: [189822.718807]  [<ffffffff814135e5>] usb_hcd_giveback_urb+0x65/0xf0
Jun 30 21:34:15 oshri kernel: [189822.718814]  [<ffffffff8142a492>] ehci_urb_done+0x82/0xc0
Jun 30 21:34:15 oshri kernel: [189822.718820]  [<ffffffff8142d163>] ehci_work+0x993/0xa70
Jun 30 21:34:15 oshri kernel: [189822.718825]  [<ffffffff8142d4e4>] ehci_irq+0x234/0x460
Jun 30 21:34:15 oshri kernel: [189822.718830]  [<ffffffff810a3884>] ? ktime_get+0x64/0xe0
Jun 30 21:34:15 oshri kernel: [189822.718836]  [<ffffffff810a9596>] ? clockevents_program_event+0x76/0x120
Jun 30 21:34:15 oshri kernel: [189822.718842]  [<ffffffff810aaa04>] ? tick_program_event+0x24/0x30
Jun 30 21:34:15 oshri kernel: [189822.718847]  [<ffffffff8107ca70>] ? hrtimer_interrupt+0x110/0x1f0
Jun 30 21:34:15 oshri kernel: [189822.718853]  [<ffffffff8141260c>] usb_hcd_irq+0x3c/0x60
Jun 30 21:34:15 oshri kernel: [189822.718859]  [<ffffffff810df8b4>] handle_irq_event_percpu+0x54/0x200
Jun 30 21:34:15 oshri kernel: [189822.718890]  [<ffffffff810dfaa1>] handle_irq_event+0x41/0x70
Jun 30 21:34:15 oshri kernel: [189822.718900]  [<ffffffff810e2c79>] handle_fasteoi_irq+0x59/0x100
Jun 30 21:34:15 oshri kernel: [189822.718907]  [<ffffffff810150ef>] handle_irq+0xbf/0x150
Jun 30 21:34:15 oshri kernel: [189822.718913]  [<ffffffff815f4782>] ? __atomic_notifier_call_chain+0x12/0x20
Jun 30 21:34:15 oshri kernel: [189822.718919]  [<ffffffff815f47a6>] ? atomic_notifier_call_chain+0x16/0x20
Jun 30 21:34:15 oshri kernel: [189822.718926]  [<ffffffff815fa5aa>] do_IRQ+0x5a/0xe0
Jun 30 21:34:15 oshri kernel: [189822.718931]  [<ffffffff815f0cea>] common_interrupt+0x6a/0x6a
Jun 30 21:34:15 oshri kernel: [189822.718933]  <EOI>  [<ffffffff8131840a>] ? intel_idle+0xea/0x150
Jun 30 21:34:15 oshri kernel: [189822.718944]  [<ffffffff813183eb>] ? intel_idle+0xcb/0x150
Jun 30 21:34:15 oshri kernel: [189822.718951]  [<ffffffff814a1db9>] cpuidle_enter+0x19/0x20
Jun 30 21:34:15 oshri kernel: [189822.718956]  [<ffffffff814a23d9>] cpuidle_idle_call+0xa9/0x240
Jun 30 21:34:15 oshri kernel: [189822.718961]  [<ffffffff8101c4bf>] cpu_idle+0xaf/0x120
Jun 30 21:34:15 oshri kernel: [189822.718967]  [<ffffffff815df84b>] start_secondary+0x248/0x24a
Jun 30 21:34:15 oshri kernel: [189822.718972] ---[ end trace bd832da806ec377e ]---
Jun 30 21:34:15 oshri kernel: [189863.172758] INFO: rcu_sched detected stalls on CPUs/tasks: { 2} (detected by 0, t=60002 jiffies)
Jun 30 21:34:15 oshri kernel: [189863.172771] INFO: Stall ended before state dump start
Jun 30 21:34:16 oshri kernel: [189863.940504] INFO: rcu_bh detected stalls on CPUs/tasks: { 2} (detected by 7, t=60002 jiffies)
Jun 30 21:34:16 oshri kernel: [189863.940516] INFO: Stall ended before state dump start

Comment 1 Josh Boyer 2012-07-05 19:09:07 UTC
Laurent, have you seen uvcvideo do this before with 3.4?

Comment 2 Laurent Pinchart 2012-07-15 14:03:06 UTC
Created attachment 598309 [details]
uvcvideo queue freeze fix

This patch should fix the bug. I'll push it to mainline after receiving the SoB line from the original author to keep commit attribution correct.

Comment 3 Josh Boyer 2012-07-26 13:12:27 UTC
I believe this wound up being http://git.linuxtv.org/pinchartl/uvcvideo.git/commitdiff/3771973542a4807b251352253ed22c50e688e573 right Laurent?

Comment 4 Laurent Pinchart 2012-07-26 13:21:06 UTC
(In reply to comment #3)
> I believe this wound up being
> http://git.linuxtv.org/pinchartl/uvcvideo.git/commitdiff/
> 3771973542a4807b251352253ed22c50e688e573 right Laurent?

That's right.

Comment 5 Josh Boyer 2012-07-26 15:12:45 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > I believe this wound up being
> > http://git.linuxtv.org/pinchartl/uvcvideo.git/commitdiff/
> > 3771973542a4807b251352253ed22c50e688e573 right Laurent?
> 
> That's right.

OK, thanks.  Your help is much appreciated.

I've added that patch to all Fedora branches.  Will be in the next builds.

Comment 6 Fedora Update System 2012-07-31 14:15:37 UTC
kernel-3.4.7-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/kernel-3.4.7-1.fc16

Comment 7 Fedora Update System 2012-08-01 18:23:21 UTC
Package kernel-3.4.7-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-3.4.7-1.fc16'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-11348/kernel-3.4.7-1.fc16
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2012-08-05 21:24:29 UTC
kernel-3.4.7-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Brian J. Murrell 2012-08-10 17:12:45 UTC
Will this be pushed to the FC17 kernel also?  I am seeing this problem on 3.3.4-5.fc17.x86_64.


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