[Libva] Segfault on playback of h264 together vc1

Josep Torra n770galaxy at gmail.com
Tue Jul 3 02:30:51 PDT 2012


Dear libva,

In a SNB system running updated ubuntu 12.04 plus git/master of libva,
intel-vaapi and gstreamer-vaapi I've observed the following.

Running multiple gst-launch-0.10 pipelines with mixed formats seems to
work without problems when clips are h264 and mpeg2 or vc1 and mpeg2.

When the clips are h264 and vc1 the screen start to blink and a crash
occur, unity also dies and sometimes I get a complete halt of system.

To reproduce run the following in different terminals at same time.

gst-launch-0.10 filesrc location=big_buck_bunny_720p_h264.mov !
qtdemux ! vaapidecode ! queue ! vaapisink

gst-launch-0.10 filesrc location=The_Magic_of_Flight_720.wmv !
asfdemux ! vaapidecode ! queue ! vaapisink

Sometimes I could capture the following in dmesg:

[  159.189175] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
elapsed... GPU hung
[  159.189197] [drm] capturing error event; look for more information
in /debug/dri/0/i915_error_state
[  159.208377] [drm:i915_wait_request] *ERROR* i915_wait_request
returns -11 (awaiting 10827 at 10774, next 11026)
[  161.233401] ------------[ cut here ]------------
[  161.233408] WARNING: at
/build/buildd/linux-3.2.0/mm/page_alloc.c:2095
__alloc_pages_nodemask+0x1f3/0x6e0()
[  161.233410] Hardware name: SandyBridge Platform
[  161.233411] Modules linked in: bnep parport_pc ppdev rfcomm
bluetooth arc4 snd_usb_audio snd_pcm snd_page_alloc snd_hwdep
snd_usbmidi_lib snd_seq_midi snd_rawmidi snd_seq_midi_event
snd_seq snd_timer snd_seq_device snd iwlwifi soundcore mac_hid
mac80211 uvcvideo videodev i915 psmouse serio_raw drm_kms_helper
cfg80211 drm i2c_algo_bit mei(C) video lp parport usbhid
hid e1000e
[  161.233433] Pid: 2412, comm: apport-gpu-erro Tainted: G         C
3.2.0-26-generic-pae #41-Ubuntu
[  161.233435] Call Trace:
[  161.233440]  [<c158f6ca>] ? printk+0x2d/0x2f
[  161.233444]  [<c105a682>] warn_slowpath_common+0x72/0xa0
[  161.233446]  [<c10fd9c3>] ? __alloc_pages_nodemask+0x1f3/0x6e0
[  161.233448]  [<c10fd9c3>] ? __alloc_pages_nodemask+0x1f3/0x6e0
[  161.233450]  [<c105a6d2>] warn_slowpath_null+0x22/0x30
[  161.233452]  [<c10fd9c3>] __alloc_pages_nodemask+0x1f3/0x6e0
[  161.233455]  [<c107e700>] ? hrtimer_interrupt+0x160/0x260
[  161.233457]  [<c10fc652>] ? free_one_page+0x122/0x290
[  161.233459]  [<c10fdf2c>] __get_free_pages+0x1c/0x30
[  161.233463]  [<c11330e7>] kmalloc_order_trace+0x27/0xa0
[  161.233465]  [<c10fceb9>] ? free_compound_page+0x19/0x20
[  161.233467]  [<c1133ed1>] __kmalloc+0x1c1/0x1e0
[  161.233470]  [<c110078c>] ? put_page+0x2c/0x40
[  161.233472]  [<c1133085>] ? kfree+0x105/0x120
[  161.233475]  [<c11625b9>] seq_read+0x139/0x380
[  161.233477]  [<c1144c9c>] vfs_read+0x8c/0x160
[  161.233480]  [<c1162480>] ? seq_lseek+0x170/0x170
[  161.233481]  [<c1144dad>] sys_read+0x3d/0x70
[  161.233484]  [<c15ac69f>] sysenter_do_call+0x12/0x28
[  161.233486] ---[ end trace 30ac6d599defbbee ]---

Thanks in advance

Josep Torra
FLUENDO, S.A.


More information about the Libva mailing list