[Bug 765132] New: rtsp-server crash after last client is disconnected when media is shared
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Apr 16 05:11:14 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=765132
Bug ID: 765132
Summary: rtsp-server crash after last client is disconnected
when media is shared
Classification: Platform
Product: GStreamer
Version: 1.8.0
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-rtsp-server
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: aconchillo at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 326147
--> https://bugzilla.gnome.org/attachment.cgi?id=326147&action=edit
enabled media share
When the last client is disconnected when media is shared, a crash occurs. The
attached patch modifies examples/test-launch.c to enable media share.
These is the gdb session:
(lt-test-launch:12678): GStreamer-CRITICAL **:
Trying to dispose element udpsrc1, but it is in PLAYING (locked) instead of the
NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7fffee9e4700 (LWP 12686)]
0x00007ffff731a830 in _g_log_abort (breakpoint=1) at gmessages.c:324
324 gmessages.c: No such file or directory.
(gdb) bt
#0 0x00007ffff731a830 in _g_log_abort (breakpoint=1) at gmessages.c:324
#1 g_logv (log_domain=0x7ffff7930260 <g_log_domain_gstreamer> "GStreamer",
log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>,
args=args at entry=0x7fffee9e3a10) at gmessages.c:1081
#2 0x00007ffff731a99f in g_log (log_domain=<optimized out>,
log_level=<optimized out>, format=<optimized out>) at gmessages.c:1119
#3 0x00007ffff7625265 in g_object_unref (_object=0x7ffff0038e20) at
gobject.c:3142
#4 0x00007ffff789369e in gst_object_unref (object=<optimized out>) at
gstobject.c:282
#5 0x00007ffff7897a42 in gst_bin_remove_func (bin=0x7ffff00301c0,
element=<optimized out>) at gstbin.c:1638
#6 0x00007ffff789c997 in gst_bin_remove (bin=bin at entry=0x7ffff00301c0,
element=0x7ffff0038e20) at gstbin.c:1700
#7 0x00007ffff789cc13 in gst_bin_dispose (object=0x7ffff00301c0) at
gstbin.c:527
#8 0x00007ffff7625265 in g_object_unref (_object=0x7ffff00301c0) at
gobject.c:3142
#9 0x00007ffff789369e in gst_object_unref (object=<optimized out>) at
gstobject.c:282
#10 0x00007ffff7ba6686 in gst_rtsp_media_finalize (obj=0x7ffff0028200) at
rtsp-media.c:438
#11 0x00007ffff76252da in g_object_unref (_object=0x7ffff0028200) at
gobject.c:3179
#12 0x00007ffff730d198 in g_source_callback_unref (cb_data=0x7ffff0036310) at
gmain.c:1561
#13 0x00007ffff7312b39 in g_main_dispatch (context=0x7ffff00292e0) at
gmain.c:3161
#14 g_main_context_dispatch (context=context at entry=0x7ffff00292e0) at
gmain.c:3769
#15 0x00007ffff7312ee0 in g_main_context_iterate (context=0x7ffff00292e0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>)
at gmain.c:3840
#16 0x00007ffff7313202 in g_main_loop_run (loop=0x7ffff0029420) at gmain.c:4034
#17 0x00007ffff7ba297f in do_loop (thread=0x7ffff0013560) at
rtsp-thread-pool.c:329
#18 0x00007ffff734344c in g_thread_pool_thread_proxy (data=<optimized out>) at
gthreadpool.c:307
#19 0x00007ffff7342d35 in g_thread_proxy (data=0x7ffff0007c00) at gthread.c:778
#20 0x00007ffff70a76aa in start_thread (arg=0x7fffee9e4700) at
pthread_create.c:333
#21 0x00007ffff6ddce9d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
--
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