Close the connection of RTSP from server side gracefully
Tran Tu
camtubk05 at gmail.com
Sun May 29 10:50:41 UTC 2016
Hi all,
I update the backtrace log of the crash, is there any hint, please help me
Client stop access to stream for sessionId1/
GLib (gthread-posix.c): UnexpecteERROR: v4l2 capture: mxc_v4l_dqueue()
interrupt received
d error from C library during 'pthread_mutex_lock': Invalid argument.
Aborting.
Program received signal SIGABRT, Aborted.
0x76a56d84 in __GI_raise (sig=sig at entry=6)
at ../sysdeps/unix/sysv/linux/raise.c:55
55 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) backtrace
#0 0x76a56d84 in __GI_raise (sig=sig at entry=6)
at ../sysdeps/unix/sysv/linux/raise.c:55
#1 0x76a5a884 in __GI_abort () at abort.c:89
#2 0x76c2d348 in g_thread_abort (status=<optimized out>,
function=0x2 <error: Cannot access memory at address 0x2>)
at
/usr/src/debug/glib-2.0/1_2.40.0-r0/glib-2.40.0/glib/gthread-posix.c:75
#3 0x76c2d7a4 in g_mutex_lock (mutex=mutex at entry=0x768c6000)
at
/usr/src/debug/glib-2.0/1_2.40.0-r0/glib-2.40.0/glib/gthread-posix.c:210
#4 0x76be35e8 in g_source_unref_internal (source=0x2, context=0x768c6000,
have_lock=1991618716)
at /usr/src/debug/glib-2.0/1_2.40.0-r0/glib-2.40.0/glib/gmain.c:1991
#5 0x76b86904 in gst_rtsp_client_close (client=0x59670)
at
/usr/src/debug/gstreamer1.0-rtsp-server/1.4.1-r0/gst-rtsp-server-1.4.1/gst/rtsp-server/rtsp-client.c:833
#6 0x00009e68 in STRMN_StopStreamServer (StreamVar=0x133bc
<STRMN_StreamVar>)
at ../Prog/Asw/StreamMngr/TestRtspServer.c:504
#7 0x0000a370 in STRMN_DeInit ()
at ../Prog/Asw/StreamMngr/TestRtspServer.c:687
#8 0x0000a41c in main () at ../Prog/Asw/StreamMngr/TestRtspServer.c:725
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Close-the-connection-of-RTSP-from-server-side-gracefully-tp4677785p4677787.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list