[Bug 663555] New: segfault removing a stream with a connected client
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Nov 7 04:55:02 PST 2011
https://bugzilla.gnome.org/show_bug.cgi?id=663555
GStreamer | gst-rtsp-server | git
Summary: segfault removing a stream with a connected client
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-rtsp-server
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: lists at svrinformatica.it
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Here is the segfault
#0 0x00007ffff5ee43a5 in __GI_raise (sig=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff5ee7b0b in __GI_abort () at abort.c:92
#2 0x00007ffff5f1c113 in __libc_message (do_abort=2,
fmt=0x7ffff600d0d8 "*** glibc detected *** %s: %s: 0x%s ***\n")
at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#3 0x00007ffff5f26a96 in malloc_printerr (action=3,
str=0x7ffff600a0ef "free(): invalid pointer", ptr=<optimized out>) at
malloc.c:6283
#4 0x00007ffff5f2ad7c in __GI___libc_free (mem=<optimized out>) at
malloc.c:3738
#5 0x00007ffff73b91e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6 0x00007ffff73b97c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7 0x00007ffff78ded33 in media_unprepared (media=<optimized out>,
factory=0x6ed360)
at rtsp-media-factory.c:572
#8 0x00007ffff768c0a4 in g_closure_invoke ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9 0x00007ffff769e02a in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff76a76b1 in g_signal_emit_valist ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff76a7852 in g_signal_emit ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007ffff78dd786 in gst_rtsp_media_unprepare (media=0x77f320)
at rtsp-media.c:1854
#13 gst_rtsp_media_unprepare (media=0x77f320) at rtsp-media.c:1832
#14 0x00007ffff78de4f2 in gst_rtsp_media_set_state (media=0x77f320,
state=GST_STATE_NULL, transports=0x88f480) at rtsp-media.c:2024
#15 0x00007ffff78e5419 in handle_teardown_request (state=0x7ffff3d0ab00,
client=0x660600) at rtsp-client.c:540
---Type <return> to continue, or q <return> to quit---
#16 handle_request (request=<optimized out>, client=0x660600) at
rtsp-client.c:1377
#17 message_received (watch=<optimized out>, message=<optimized out>,
user_data=<optimized out>) at rtsp-client.c:1660
#18 0x00007ffff4eaf08e in gst_rtsp_source_dispatch (source=0x6f3000,
callback=<optimized out>, user_data=<optimized out>) at
gstrtspconnection.c:3189
#19 0x00007ffff73cba5d in g_main_context_dispatch ()
and here is the code:
GstRTSPMediaMapping *mapping;
mapping=gst_rtsp_server_get_media_mapping(rtspserver);
gst_rtsp_media_mapping_remove_factory(mapping,streamurl.constData());
g_object_unref(mapping);
gst-rtsp-server crash if I remove a media_mapping and a client is still
connected
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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