After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 746650 - vaapidecode and glimagesink communication error
vaapidecode and glimagesink communication error
Status: RESOLVED DUPLICATE of bug 745233
Product: gstreamer-vaapi
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gstreamer-vaapi maintainer(s)
gstreamer-vaapi maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-03-23 14:36 UTC by Jorge
Modified: 2015-03-23 15:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jorge 2015-03-23 14:36:21 UTC
Hi,

This bug is related to https://bugzilla.gnome.org/show_bug.cgi?id=746405. I've found some errors displaying videos using the pipeline vaapidecode ! glimagesink.

I have gstreamer and gstreamer-vaapi cloned from repos, the 1.5 and 0.5.11.pre1 patched to be able to use va-api 0.35.

The test cases are:

$ gst-launch-1.0 filesrc location=big_buck_bunny_480p_surround-fix.avi ! avidemux ! vaapidecode ! glimagesink

$ gst-launch-1.0 filesrc location=big_buck_bunny_480p_surround-fix.avi ! avidemux ! vaapidecode ! vaapisink

$ gst-launch-1.0 filesrc location=big_buck_bunny_480p_surround-fix.avi ! avidemux ! avdec_mpeg4 ! glimagesink

The first one produces a SIGSEGV. The others works ok. If I change to big_buck_bunny_720p_surround.avi the three test cases works ok

The gdb info is:

(gdb) info thr
  Id   Target Id         Frame 
  5    Thread 0x7fe06d32e700 (LWP 15112) "avidemux0:sink" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  4    Thread 0x7fe06cb2d700 (LWP 15113) "gmain" 0x00007fe07902acbd in poll () at ../sysdeps/unix/syscall-template.S:81
  3    Thread 0x7fe067fff700 (LWP 15114) "gstglnavigation" 0x00007fe07902acbd in poll () at ../sysdeps/unix/syscall-template.S:81
  2    Thread 0x7fe0677fe700 (LWP 15115) "gstglcontext" 0x00007fe079312b9d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
* 1    Thread 0x7fe079f8b740 (LWP 15111) "gst-launch-1.0" 0x00007fe07902acbd in poll () at ../sysdeps/unix/syscall-template.S:81
(gdb) bt
  • #0 poll
    at ../sysdeps/unix/syscall-template.S line 81
  • #1 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #2 g_main_loop_run
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #3 gst_bus_poll
    at gstbus.c line 1145
  • #4 event_loop
    at gst-launch.c line 531
  • #5 main
    at gst-launch.c line 1071
  • #0 nanosleep
    at ../sysdeps/unix/syscall-template.S line 81
  • #0 nanosleep
    at ../sysdeps/unix/syscall-template.S line 81
  • #1 g_usleep
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #2 fault_spin
    at gst-launch.c line 112
  • #3 fault_handler_sighandler
    at gst-launch.c line 93
  • #4 <signal handler called>
  • #5 ??
    from /usr/lib/nvidia-331/libnvidia-glcore.so.331.113
  • #6 ??
    from /usr/lib/nvidia-331/libnvidia-glcore.so.331.113
  • #7 ??
    from /usr/lib/nvidia-331/libnvidia-glcore.so.331.113
  • #8 ??
    from /usr/lib/nvidia-331/libnvidia-glcore.so.331.113
  • #9 ??
    from /usr/lib/nvidia-331/libnvidia-glcore.so.331.113
  • #10 ??
    from /usr/lib/nvidia-331/libnvidia-glcore.so.331.113
  • #11 ??
    from /usr/lib/nvidia-331/libnvidia-glcore.so.331.113
  • #12 _upload_memory
    at gstglmemory.c line 481
  • #13 _run_message_sync
    at gstglwindow.c line 522
  • #14 _run_message
    at gstglwindow_x11.c line 699
  • #15 g_main_context_invoke_full
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #16 gst_gl_window_default_send_message
    at gstglwindow.c line 541
  • #17 gst_gl_context_thread_add
    at gstglcontext.c line 1598
  • #18 _gl_mem_map
  • #19 gst_memory_map
  • #20 _do_convert
    at gstglcolorconvert.c line 1501
  • #21 _run_message_sync
    at gstglwindow.c line 522
  • #22 _run_message
    at gstglwindow_x11.c line 699
  • #23 g_main_context_dispatch
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #24 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #25 g_main_loop_run
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #26 gst_gl_context_create_thread
    at gstglcontext.c line 1342
  • #27 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #28 start_thread
    at pthread_create.c line 312
  • #29 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 111
  • #0 poll
    at ../sysdeps/unix/syscall-template.S line 81
  • #0 poll
    at ../sysdeps/unix/syscall-template.S line 81
  • #1 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #2 g_main_loop_run
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #3 gst_gl_window_navigation_thread
    at gstglwindow.c line 863
  • #4 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #5 start_thread
    at pthread_create.c line 312
  • #6 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 111
  • #0 poll
    at ../sysdeps/unix/syscall-template.S line 81
  • #0 poll
    at ../sysdeps/unix/syscall-template.S line 81
  • #1 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #2 g_main_context_iteration
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #3 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #4 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #5 start_thread
    at pthread_create.c line 312
  • #6 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 111
  • #0 pthread_cond_wait
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S line 185
  • #0 pthread_cond_wait
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S line 185
  • #1 g_cond_wait
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #2 gst_gl_window_default_send_message
    at gstglwindow.c line 548
  • #3 gst_gl_context_thread_add
    at gstglcontext.c line 1598
  • #4 _gst_gl_color_convert_perform_unlocked
    at gstglcolorconvert.c line 740
  • #5 gst_gl_color_convert_perform
    at gstglcolorconvert.c line 722
  • #6 gst_gl_color_convert_element_prepare_output_buffer
    at gstglcolorconvertelement.c line 191
  • #7 gst_base_transform_handle_buffer
    at gstbasetransform.c line 2109
  • #8 gst_base_transform_chain
    at gstbasetransform.c line 2245
  • #9 gst_pad_chain_data_unchecked
    at gstpad.c line 3977
  • #10 gst_pad_push_data
    at gstpad.c line 4210
  • #11 gst_pad_push
    at gstpad.c line 4321
  • #12 gst_base_transform_chain
    at gstbasetransform.c line 2281
  • #13 gst_pad_chain_data_unchecked
    at gstpad.c line 3977
  • #14 gst_pad_push_data
    at gstpad.c line 4210
  • #15 gst_pad_push
    at gstpad.c line 4321
  • #16 gst_proxy_pad_chain_default
    at gstghostpad.c line 126
  • #17 gst_pad_chain_data_unchecked
    at gstpad.c line 3977
  • #18 gst_pad_push_data
    at gstpad.c line 4210
  • #19 gst_pad_push
    at gstpad.c line 4321
  • #20 gst_video_decoder_clip_and_push_buf
    at gstvideodecoder.c line 2890
  • #21 gst_video_decoder_finish_frame
    at gstvideodecoder.c line 2792
  • #22 gst_vaapidecode_push_decoded_frame
    at gstvaapidecode.c line 323
  • #23 gst_vaapidecode_push_all_decoded_frames
    at gstvaapidecode.c line 378
  • #24 gst_vaapidecode_handle_frame
    at gstvaapidecode.c line 445
  • #25 gst_video_decoder_decode_frame
    at gstvideodecoder.c line 3092
  • #26 gst_video_decoder_have_frame
    at gstvideodecoder.c line 3024
  • #27 gst_vaapidecode_parse_frame
    at gstvaapidecode.c line 803
  • #28 gst_vaapidecode_parse
    at gstvaapidecode.c line 834
  • #29 gst_video_decoder_parse_available
    at gstvideodecoder.c line 947
  • #30 gst_video_decoder_chain_forward
    at gstvideodecoder.c line 1969
  • #31 gst_video_decoder_chain
    at gstvideodecoder.c line 2265
  • #32 gst_pad_chain_data_unchecked
    at gstpad.c line 3977
  • #33 gst_pad_push_data
    at gstpad.c line 4210
  • #34 gst_pad_push
    at gstpad.c line 4321
  • #35 gst_avi_demux_loop_data
    at gstavidemux.c line 5239
  • #36 gst_avi_demux_loop
    at gstavidemux.c line 5618
  • #37 gst_task_func
    at gsttask.c line 331
  • #38 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #39 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #40 start_thread
    at pthread_create.c line 312
  • #41 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 111

Comment 1 Víctor Manuel Jáquez Leal 2015-03-23 15:23:49 UTC

*** This bug has been marked as a duplicate of bug 745233 ***