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 687668 - Gst-launch pipeline with vp8 crashing
Gst-launch pipeline with vp8 crashing
Status: RESOLVED DUPLICATE of bug 687793
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-11-05 16:32 UTC by Christian Fredrik Kalager Schaller
Modified: 2012-11-07 12:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GSt-debug log (218.01 KB, application/x-bzip2)
2012-11-07 12:23 UTC, Christian Fredrik Kalager Schaller
Details

Description Christian Fredrik Kalager Schaller 2012-11-05 16:32:42 UTC
gst-launch-1.0 v4l2src ! vp8enc ! vp8dec ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:00.070079535 23018       0x9d0990 ERROR                 vp8enc gstvp8enc.c:1841:gst_vp8_enc_finish:<vp8enc0> encode returned 1 error
Caught SIGSEGV accessing address 0x88
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2781): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 784558 ns.
Setting pipeline to PAUSED ...
  • #0 __lll_lock_wait
  • #1 _L_lock_1024
    from /lib64/libpthread.so.0
  • #2 __pthread_mutex_lock
  • #3 g_mutex_lock
  • #4 gst_base_src_set_playing
  • #5 gst_base_src_change_state
  • #6 gst_v4l2src_change_state
  • #7 gst_element_change_state
  • #8 gst_element_set_state_func
  • #9 gst_bin_element_set_state
  • #10 gst_bin_change_state_func
  • #11 gst_pipeline_change_state
  • #12 gst_element_change_state
  • #13 gst_element_set_state_func
  • #14 main

Comment 1 Tim-Philipp Müller 2012-11-06 23:21:28 UTC
Can you reproduce this crash?

The stack trace is not very useful unfortunately. Please do what it tells you to do and attach with gdb next time you run into this crash.

Please also provide a *:6 debug log, thanks.
Comment 2 Christian Fredrik Kalager Schaller 2012-11-07 10:31:17 UTC


Thread 2 (Thread 0x7eff5f224700 (LWP 14111))

  • #0 nanosleep
    at ../sysdeps/unix/syscall-template.S line 82
  • #1 g_usleep
    at gtimer.c line 259
  • #2 fault_spin
    at gst-launch.c line 149
  • #3 fault_handler_sigaction
    at gst-launch.c line 129
  • #4 <signal handler called>
  • #5 gst_v4l2_buffer_pool_process
    at gstv4l2bufferpool.c line 1035
  • #6 gst_v4l2src_fill
    at gstv4l2src.c line 771
  • #7 gst_base_src_default_create
    at gstbasesrc.c line 1422
  • #8 gst_base_src_get_range
    at gstbasesrc.c line 2345
  • #9 gst_base_src_loop
    at gstbasesrc.c line 2590
  • #10 gst_task_func
    at gsttask.c line 316
  • #11 g_thread_pool_thread_proxy
    at gthreadpool.c line 309
  • #12 g_thread_proxy
    at gthread.c line 801
  • #13 start_thread
    at pthread_create.c line 309
  • #14 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 115
  • #1 _L_lock_1024
    from /lib64/libpthread.so.0
  • #2 __pthread_mutex_lock
    at pthread_mutex_lock.c line 105
  • #3 g_mutex_lock
    at gthread-posix.c line 208
  • #4 gst_base_src_set_playing
    at gstbasesrc.c line 3433
  • #5 gst_base_src_change_state
    at gstbasesrc.c line 3606
  • #6 gst_v4l2src_change_state
    at gstv4l2src.c line 741
  • #7 gst_element_change_state
    at gstelement.c line 2576
  • #8 gst_element_set_state_func
    at gstelement.c line 2532
  • #9 gst_bin_element_set_state
    at gstbin.c line 2306
  • #10 gst_bin_change_state_func
    at gstbin.c line 2608
  • #11 gst_pipeline_change_state
    at gstpipeline.c line 468
  • #12 gst_element_change_state
    at gstelement.c line 2576
  • #13 gst_element_set_state_func
    at gstelement.c line 2532
  • #14 main
    at gst-launch.c line 1156

Comment 3 Tim-Philipp Müller 2012-11-07 10:46:23 UTC
Looks like what Debarshi ran into as well.

*** This bug has been marked as a duplicate of bug 687793 ***
Comment 4 Christian Fredrik Kalager Schaller 2012-11-07 12:23:24 UTC
Created attachment 228358 [details]
GSt-debug log

Added the GST_DEBUG log, but it seems the crash does not trigger when I run it with gst-debug, so maybe some kind or race condition?
Comment 5 Christian Fredrik Kalager Schaller 2012-11-07 12:25:28 UTC
Also adding a videoconvert element to the pipeline makes it work:
gst-launch-1.0 v4l2src ! videoconvert ! vp8enc ! vp8dec ! xvimagesink