[Bug 779984] SIGSEGV in rtspsrc while setting up pipeline with Sanyo VCC-HD2500P

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 14 13:44:57 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=779984

--- Comment #2 from Krisjanis Balodis <krisjanis.balodis at playgineering.com> ---
I installed glib dbg package and ran the gdb again. The results unfortunately
are the following: 
Thread 3 (Thread 0x7f14391a3700 (LWP 26325)):
#0  0x00007f143ed88c1d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f143f007228 in g_usleep (microseconds=microseconds at entry=1000000) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gtimer.c:259
#2  0x0000000000405b5a in fault_handler_sighandler () at gst-launch.c:113
#3  0x0000000000405b5a in fault_handler_sighandler (signum=11) at
gst-launch.c:94
#4  0x00007f143ed89390 in <signal handler called> () at
/lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f143ea4d9de in __strcmp_sse2_unaligned () at
../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:32
#6  0x00007f143efce759 in g_str_equal (v1=<optimized out>, v2=<optimized out>)
at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/ghash.c:1846
#7  0x00007f143d7172f4 in gst_rtspsrc_setup_streams (src=src at entry=0x12a6820
[GstRTSPSrc], async=async at entry=1) at gstrtspsrc.c:6346
#8  0x00007f143d719630 in gst_rtspsrc_open (async=1, sdp=<optimized out>,
src=0x7f142c026ab0) at gstrtspsrc.c:6681
#9  0x00007f143d719630 in gst_rtspsrc_open (src=src at entry=0x12a6820
[GstRTSPSrc], async=async at entry=1) at gstrtspsrc.c:6909
#10 0x00007f143d71d955 in gst_rtspsrc_thread (src=0x12a6820 [GstRTSPSrc]) at
gstrtspsrc.c:7698
#11 0x00007f143f59f8a1 in gst_task_func (task=0x12d0170 [GstTask]) at
gsttask.c:334
#12 0x00007f143f00654e in g_thread_pool_thread_proxy (data=<optimized out>) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthreadpool.c:307
#13 0x00007f143f005bb5 in g_thread_proxy (data=0x12d38f0) at
/build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gthread.c:780
#14 0x00007f143ed7f6ba in start_thread (arg=0x7f14391a3700) at
pthread_create.c:333
#15 0x00007f143eab582d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

It seems I have to recompile and install glib with optimization flags disabled.
I can take a shot at that if it is really necessary, but for now I can provide
simple debug logs. I added the following snippet: 
          if (stream->conninfo.location == NULL)
            printf("stream->conninfo.location == NULL\n");
          else
            printf("stream->conninfo.location != NULL\n");

          if (sskip->conninfo.location == NULL)
            printf("sskip->conninfo.location == NULL\n");
          else
            printf("sskip->conninfo.location != NULL\n");

It produced the following:
gst-launch-1.0 rtspsrc location=rtsp://192.168.1.201:554/VideoInput/1/h264/1 !
decodebin ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://192.168.1.201:554/VideoInput/1/h264/1
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0

stream->conninfo.location != NULL
sskip->conninfo.location == NULL

Caught SIGSEGV
Spinning.  Please run 'gdb gst-launch-1.0 4573' to continue debugging, Ctrl-C
to quit, or Ctrl-\ to dump core.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list