gstrtspconnection.c assersion occurred
Sooeun Jang
allmysky7 at gmail.com
Thu Apr 11 02:10:49 UTC 2019
hi,
i'm just beginner of gstreamer and I thank all gstreamer maintainers.
now I'm developing rtsp streaming server using gstreamer and
gst-rtsp-server.
my pipeline is seperated with shm, cause it should run record pipeline
parrallel to live stream.
"rtspsrc location=%s protocols=tcp latency=%d is-live=true"
" ! rtph264depay"
" ! video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal"
" ! shmsink socket-path=%s shm-size=10000000 wait-for-connection=false"
"shmsrc socket-path=%s do-timestamp=true is-live=true"
" ! video/x-h264, width=(int)1, height=(int)1, framerate=(fraction)0/1,
stream-format=(string)byte-stream, alignment=(string)nal"
" ! rtph264pay name=pay0 pt=97
The proplem is application aborted by raising gstrtspconnection assersion.
When I run my application and some hours or later going on,
It suddenly terminated with signal 11, segmentation fault.
These are gdb tracking messages.
(gdb) bt
#0 cfx::RuntimeUtils::raise_segFault () at
/home/sooeun/Dev/GiGA_Streamer/source/base/runtime_utils.cpp:810
#1 0x000000000053932d in cfx::RuntimeUtils::on_badSignal (signo=6,
info=<optimized out>, secret=<optimized out>) at
/home/sooeun/Dev/GiGA_Streamer/source/base/runtime_utils.cpp:768
#2 <signal handler called>
#3 0x00007fea66644277 in raise () from /lib64/libc.so.6
#4 0x00007fea66645968 in abort () from /lib64/libc.so.6
#5 0x00007fea67f4b645 in g_assertion_message (domain=domain at entry=0x0,
file=file at entry=0x7fea677f0ed5 "gstrtspconnection.c", line=line at entry=3969,
func=func at entry=0x7fea677f1790 <__func__.39498>
"gst_rtsp_source_dispatch_write",
message=message at entry=0x7fe9e8018de0 "assertion failed:
(watch->messages_bytes >= bytes_written)") at ../glib/gtestutils.c:2532
#6 0x00007fea67f4b6aa in g_assertion_message_expr (domain=domain at entry=0x0,
file=file at entry=0x7fea677f0ed5 "gstrtspconnection.c", line=line at entry=3969,
func=func at entry=0x7fea677f1790 <__func__.39498>
"gst_rtsp_source_dispatch_write",
expr=expr at entry=0x7fea677f13e0 "watch->messages_bytes >= bytes_written")
at ../glib/gtestutils.c:2555
#7 0x00007fea677e7c5a in gst_rtsp_source_dispatch_write (stream=<optimized
out>, watch=0x1d1c800) at gstrtspconnection.c:3969
#8 0x00007fea67f6c1cd in g_main_dispatch (context=0x1ce3760) at
../glib/gmain.c:3261
#9 g_main_context_dispatch (context=context at entry=0x1ce3760) at
../glib/gmain.c:3961
#10 0x00007fea67f6c578 in g_main_context_iterate (context=0x1ce3760,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
../glib/gmain.c:4034
#11 0x00007fea67f6c892 in g_main_loop_run (loop=0x1ce3720) at
../glib/gmain.c:4230
#12 0x00007fea67c8f15f in do_loop (thread=0x7fe960042150) at
rtsp-thread-pool.c:330
#13 0x00007fea67f4cda8 in g_thread_pool_thread_proxy (data=<optimized out>)
at ../glib/gthreadpool.c:307
#14 0x00007fea67f4c425 in g_thread_proxy (data=0x7fe968020050) at
../glib/gthread.c:784
#15 0x00007fea6a696e25 in start_thread () from /lib64/libpthread.so.0
#16 0x00007fea6670cbad in clone () from /lib64/libc.so.6
and these are pointed source codes in gstrtspconnection.c
while (drop_messages > 0) {
msg = gst_queue_array_pop_head_struct (watch->messages);
g_assert (msg);
drop_messages--;
}
*g_assert (watch->messages_bytes >= bytes_written);*
watch->messages_bytes -= bytes_written;
}
I'm using all 1.15.2 version of gstreamer and plugins.
Is there anybody have advices for checking this error?
thanks & regards
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list