;; This buffer is for text that is not saved, and for Lisp evaluation.
;; To create a file, visit it with C-x C-f and enter text in its buffer.

==29769== Open AF_INET socket 16: 127.0.0.1:8554 <-> unbound
==29769==    at 0x566E05D: ??? (syscall-template.S:81)
==29769==    by 0x7A6FD0F: g_socket_accept (gsocket.c:2258)
==29769==    by 0x74B46DE: gst_rtsp_connection_accept (gstrtspconnection.c:446)
==29769==    by 0x728CFC6: gst_rtsp_server_io_func (rtsp-server.c:1169)
==29769==    by 0x7A6DD70: socket_source_dispatch (gsocket.c:3284)
==29769==    by 0x8036B19: g_main_dispatch (gmain.c:3154)
==29769==    by 0x8036B19: g_main_context_dispatch (gmain.c:3769)
==29769==    by 0x8036EDF: g_main_context_iterate.isra.29 (gmain.c:3840)
==29769==    by 0x8037201: g_main_loop_run (gmain.c:4034)
==29769==    by 0x4E9CD29: thread_func(void*) (RTSPViddleServer.C:374)
==29769==    by 0x56656A9: start_thread (pthread_create.c:333)
==29769==    by 0x5982EEC: clone (clone.S:109)
==29769==

#0  g_object_ref (_object=0x7fe130) at gobject.c:3041
#1  0x00007ffff7296718 in g_object_set_valist (object=object@entry=0x7fe130, first_property_name=first_property_name@entry=0x7ffff7604d0e "certificate", var_args=var_args@entry=0x7fffffffda30) at gobject.c:2115
#2  0x00007ffff729737c in g_object_set (_object=0x7fe130, first_property_name=first_property_name@entry=0x7ffff7604d0e "certificate") at gobject.c:2273
#3  0x00007ffff7566f7c in g_tls_connection_set_certificate (conn=<optimized out>, certificate=<optimized out>) at gtlsconnection.c:467
#4  0x00007ffff7b9f405 in check_connect (ctx=0x7fffffffdb60, check=<optimized out>, auth=0x619e50) at rtsp-auth.c:607
#5  default_check (auth=0x619e50, ctx=0x7fffffffdb60, check=<optimized out>) at rtsp-auth.c:718
#6  0x00007ffff7bc1a9c in gst_rtsp_server_io_func (socket=0x7f9130, condition=<optimized out>, server=0x6cb8a0) at rtsp-server.c:1177
#7  0x00007ffff754ed71 in socket_source_dispatch (source=0x7ec800, callback=0x7ffff7bc1940 <gst_rtsp_server_io_func>, user_data=0x6cb8a0) at gsocket.c:3284
#8  0x00007ffff6f80b1a in g_main_dispatch (context=0x60e080) at gmain.c:3154
#9  g_main_context_dispatch (context=context@entry=0x60e080) at gmain.c:3769
#10 0x00007ffff6f80ee0 in g_main_context_iterate (context=0x60e080, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#11 0x00007ffff6f81202 in g_main_loop_run (loop=0x60dec0) at gmain.c:4034
#12 0x0000000000401208 in main (argc=1, argv=0x7fffffffdeb8) at test-video.c:167



(gdb) bt
#0  g_object_unref (_object=0x7fe130) at gobject.c:3072
#1  0x00007ffff7296994 in g_object_set_valist (object=object@entry=0x7fe130, first_property_name=first_property_name@entry=0x7ffff7604d0e "certificate", var_args=var_args@entry=0x7fffffffda30) at gobject.c:2170
#2  0x00007ffff729737c in g_object_set (_object=0x7fe130, first_property_name=first_property_name@entry=0x7ffff7604d0e "certificate") at gobject.c:2273
#3  0x00007ffff7566f7c in g_tls_connection_set_certificate (conn=<optimized out>, certificate=<optimized out>) at gtlsconnection.c:467
#4  0x00007ffff7b9f405 in check_connect (ctx=0x7fffffffdb60, check=<optimized out>, auth=0x619e50) at rtsp-auth.c:607
#5  default_check (auth=0x619e50, ctx=0x7fffffffdb60, check=<optimized out>) at rtsp-auth.c:718
#6  0x00007ffff7bc1a9c in gst_rtsp_server_io_func (socket=0x7f9130, condition=<optimized out>, server=0x6cb8a0) at rtsp-server.c:1177
#7  0x00007ffff754ed71 in socket_source_dispatch (source=0x7ec800, callback=0x7ffff7bc1940 <gst_rtsp_server_io_func>, user_data=0x6cb8a0) at gsocket.c:3284
#8  0x00007ffff6f80b1a in g_main_dispatch (context=0x60e080) at gmain.c:3154
#9  g_main_context_dispatch (context=context@entry=0x60e080) at gmain.c:3769
#10 0x00007ffff6f80ee0 in g_main_context_iterate (context=0x60e080, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#11 0x00007ffff6f81202 in g_main_loop_run (loop=0x60dec0) at gmain.c:4034
#12 0x0000000000401208 in main (argc=1, argv=0x7fffffffdeb8) at test-video.c:167


(gdb) bt
#0  g_object_ref (_object=_object@entry=0x7fe130) at gobject.c:3041
#1  0x00007ffff467a86b in g_tls_connection_gnutls_create_source (gnutls=0x7fe130, condition=G_IO_IN, cancellable=0x0) at gtlsconnection-gnutls.c:1025
#2  0x00007ffff6517926 in gst_rtsp_watch_reset (watch=0x8053e0) at gstrtspconnection.c:3581
#3  0x00007ffff6517a57 in gst_rtsp_watch_new (conn=0x621200, funcs=funcs@entry=0x7ffff7dd8060 <watch_funcs>, user_data=0x8040e0, notify=notify@entry=0x7ffff7bc12b0 <client_watch_notify>) at gstrtspconnection.c:3542
#4  0x00007ffff7bc1026 in gst_rtsp_client_attach (client=client@entry=0x8040e0, context=context@entry=0x805000) at rtsp-client.c:3836
#5  0x00007ffff7bc177d in manage_client (server=server@entry=0x6cb8a0, client=client@entry=0x8040e0) at rtsp-server.c:1057
#6  0x00007ffff7bc1b2d in gst_rtsp_server_io_func (socket=<optimized out>, condition=<optimized out>, server=0x6cb8a0) at rtsp-server.c:1191
#7  0x00007ffff754ed71 in socket_source_dispatch (source=0x7ec800, callback=0x7ffff7bc1940 <gst_rtsp_server_io_func>, user_data=0x6cb8a0) at gsocket.c:3284
#8  0x00007ffff6f80b1a in g_main_dispatch (context=0x60e080) at gmain.c:3154
#9  g_main_context_dispatch (context=context@entry=0x60e080) at gmain.c:3769
#10 0x00007ffff6f80ee0 in g_main_context_iterate (context=0x60e080, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#11 0x00007ffff6f81202 in g_main_loop_run (loop=0x60dec0) at gmain.c:4034
#12 0x0000000000401208 in main (argc=1, argv=0x7fffffffdeb8) at test-video.c:167




(gdb) bt
#0  g_object_ref (_object=_object@entry=0x7fe130) at gobject.c:3041
#1  0x00007ffff7561047 in g_task_new (source_object=source_object@entry=0x7fe130, cancellable=0x0, callback=callback@entry=0x0, callback_data=callback_data@entry=0x0) at gtask.c:691
#2  0x00007ffff46782c2 in do_implicit_handshake (gnutls=0x7fe130, blocking=0, cancellable=<optimized out>, error=0x7ffff37d7b38) at gtlsconnection-gnutls.c:1474
#3  0x00007ffff467aeac in claim_op (op=<optimized out>, error=<optimized out>, cancellable=<optimized out>, blocking=<optimized out>, gnutls=<optimized out>) at gtlsconnection-gnutls.c:598
#4  g_tls_connection_gnutls_read (gnutls=0x7fe130, buffer=0x805450, count=1, blocking=0, cancellable=0x0, error=0x7ffff37d7b38) at gtlsconnection-gnutls.c:1533
#5  0x00007ffff7545f2a in g_pollable_input_stream_read_nonblocking (stream=0x7a1d60, buffer=0x805450, count=1, cancellable=0x7ad530, error=0x7ffff37d7b38) at gpollableinputstream.c:212
#6  0x00007ffff6512fa3 in fill_raw_bytes (conn=conn@entry=0x621200, buffer=buffer@entry=0x805450 "", size=size@entry=1, block=block@entry=0, err=err@entry=0x7ffff37d7b38) at gstrtspconnection.c:1187
#7  0x00007ffff6513282 in fill_bytes (err=0x7ffff37d7b38, block=0, size=1, buffer=0x805450 "", conn=0x621200) at gstrtspconnection.c:1243
#8  read_bytes (conn=conn@entry=0x621200, buffer=buffer@entry=0x805450 "", idx=idx@entry=0x806450, size=size@entry=1, block=block@entry=0) at gstrtspconnection.c:1263
#9  0x00007ffff6514076 in build_next (builder=builder@entry=0x805448, message=message@entry=0x806468, conn=conn@entry=0x621200, block=block@entry=0) at gstrtspconnection.c:1923
#10 0x00007ffff65181f3 in gst_rtsp_source_dispatch_read (stream=<error reading variable: value has been optimized out>, watch=0x8053e0, watch@entry=<error reading variable: value has been optimized out>) at gstrtspconnection.c:3209
#11 0x00007ffff4679077 in gnutls_source_dispatch (source=0x8065b0, callback=<optimized out>, user_data=<optimized out>) at gtlsconnection-gnutls.c:964
#12 0x00007ffff6f80b1a in g_main_dispatch (context=0x805000) at gmain.c:3154
#13 g_main_context_dispatch (context=context@entry=0x805000) at gmain.c:3769
#14 0x00007ffff6f80ee0 in g_main_context_iterate (context=0x805000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#15 0x00007ffff6f81202 in g_main_loop_run (loop=0x7c40c0) at gmain.c:4034
#16 0x00007ffff7ba2a8f in do_loop (thread=0x7fdab0) at rtsp-thread-pool.c:329
#17 0x00007ffff6fb144c in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:307
#18 0x00007ffff6fb0d35 in g_thread_proxy (data=0x7a1de0) at gthread.c:778
#19 0x00007ffff6d156aa in start_thread (arg=0x7ffff37d8700) at pthread_create.c:333
#20 0x00007ffff6a4aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109


gdb) bt
#0  g_object_ref (_object=0x7fe130) at gobject.c:3041
#1  0x00007ffff7296de8 in g_object_get_valist (object=0x7fe130, first_property_name=0x7ffff7604d0e "certificate", var_args=0x7ffff27d4e40) at gobject.c:2197
#2  0x00007ffff729747c in g_object_get (_object=_object@entry=0x7fe130, first_property_name=first_property_name@entry=0x7ffff7604d0e "certificate") at gobject.c:2320
#3  0x00007ffff7566ff6 in g_tls_connection_get_certificate (conn=0x7fe130) at gtlsconnection.c:488
#4  0x00007ffff467a792 in g_tls_connection_gnutls_get_certificate (gnutls=0x7fe130, st=0x7ffff27d4fb0) at gtlsconnection-gnutls.c:545
#5  0x00007ffff467dc64 in g_tls_server_connection_gnutls_retrieve_function (session=<optimized out>, req_ca_rdn=<optimized out>, nreqs=<optimized out>, pk_algos=<optimized out>, pk_algos_length=<optimized out>, st=0x7ffff27d4fb0) at gtlsserverconnection-gnutls.c:159
#6  0x00007ffff43f6697 in call_get_cert_callback (session=session@entry=0x800940, issuers_dn=issuers_dn@entry=0x0, issuers_dn_length=issuers_dn_length@entry=0, pk_algos=pk_algos@entry=0x0, pk_algos_length=pk_algos_length@entry=0) at cert.c:483
#7  0x00007ffff43f799b in _gnutls_server_select_cert (session=session@entry=0x800940, pk_algos=pk_algos@entry=0x7ffff27d5330, pk_algos_size=pk_algos_size@entry=3) at cert.c:2015
#8  0x00007ffff436d7c0 in remove_unwanted_ciphersuites (session=session@entry=0x800940,
    cipher_suites=cipher_suites@entry=0x7ffff27d53b0 "\300+\300,\300\206\300\207\300\t\300#\300\n\300$\300r\300s\300\b\300\a\300/\300\060\300\212\300\213\300\023\300'\300\024\300(\300v\300w\300\022\300\021", cipher_suites_size=132, pk_algos=pk_algos@entry=0x7ffff27d5330,
    pk_algos_size=pk_algos_size@entry=3) at gnutls_handshake.c:3416
#9  0x00007ffff436e765 in _gnutls_server_select_suite (session=session@entry=0x800940, data=data@entry=0x7fffe8005e65 "\300+\300,\300\206\300\207\300\t\300#\300\n\300$\300r\300s\300\b\300\a\300/\300\060\300\212\300\213\300\023\300'\300\024\300(\300v\300w\300\022\300\021",
    datalen=datalen@entry=132) at gnutls_handshake.c:957
#10 0x00007ffff437166e in read_client_hello (datalen=<optimized out>, data=0x7fffe8005e40 "\003\003V\272\222X\235\204@\272\325\317b\177O\241\210Λ4\325\372?", session=0x800940) at gnutls_handshake.c:665
#11 recv_hello (datalen=<optimized out>, data=0x7fffe8005e40 "\003\003V\272\222X\235\204@\272\325\317b\177O\241\210Λ4\325\372?", session=0x800940) at gnutls_handshake.c:2248
#12 _gnutls_recv_handshake (session=session@entry=0x800940, type=type@entry=GNUTLS_HANDSHAKE_CLIENT_HELLO, optional=optional@entry=0, buf=buf@entry=0x0) at gnutls_handshake.c:1458
#13 0x00007ffff4373833 in handshake_server (session=0x800940) at gnutls_handshake.c:3086
#14 gnutls_handshake (session=0x800940) at gnutls_handshake.c:2558
#15 0x00007ffff4678b07 in handshake_thread (task=0x6e9db0, object=object@entry=0x7fe130, task_data=<optimized out>, cancellable=<optimized out>) at gtlsconnection-gnutls.c:1235
#16 0x00007ffff4678fd9 in async_handshake_thread (task=<optimized out>, object=0x7fe130, task_data=<optimized out>, cancellable=<optimized out>) at gtlsconnection-gnutls.c:1419
#17 0x00007ffff7561659 in g_task_thread_pool_thread (thread_data=0x6e9db0, pool_data=<optimized out>) at gtask.c:1287
#18 0x00007ffff6fb144c in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:307
#19 0x00007ffff6fb0d35 in g_thread_proxy (data=0x7a1ed0) at gthread.c:778
#20 0x00007ffff6d156aa in start_thread (arg=0x7ffff27d6700) at pthread_create.c:333
#21 0x00007ffff6a4aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109



(gdb) bt
#0  g_object_unref (_object=0x7fe130) at gobject.c:3072
#1  0x00007ffff7296f78 in g_object_get_valist (object=0x7fe130, first_property_name=<optimized out>, var_args=0x7ffff27d4e40) at gobject.c:2246
#2  0x00007ffff729747c in g_object_get (_object=_object@entry=0x7fe130, first_property_name=first_property_name@entry=0x7ffff7604d0e "certificate") at gobject.c:2320
#3  0x00007ffff7566ff6 in g_tls_connection_get_certificate (conn=0x7fe130) at gtlsconnection.c:488
#4  0x00007ffff467a792 in g_tls_connection_gnutls_get_certificate (gnutls=0x7fe130, st=0x7ffff27d4fb0) at gtlsconnection-gnutls.c:545
#5  0x00007ffff467dc64 in g_tls_server_connection_gnutls_retrieve_function (session=<optimized out>, req_ca_rdn=<optimized out>, nreqs=<optimized out>, pk_algos=<optimized out>, pk_algos_length=<optimized out>, st=0x7ffff27d4fb0) at gtlsserverconnection-gnutls.c:159
#6  0x00007ffff43f6697 in call_get_cert_callback (session=session@entry=0x800940, issuers_dn=issuers_dn@entry=0x0, issuers_dn_length=issuers_dn_length@entry=0, pk_algos=pk_algos@entry=0x0, pk_algos_length=pk_algos_length@entry=0) at cert.c:483
#7  0x00007ffff43f799b in _gnutls_server_select_cert (session=session@entry=0x800940, pk_algos=pk_algos@entry=0x7ffff27d5330, pk_algos_size=pk_algos_size@entry=3) at cert.c:2015
#8  0x00007ffff436d7c0 in remove_unwanted_ciphersuites (session=session@entry=0x800940,
    cipher_suites=cipher_suites@entry=0x7ffff27d53b0 "\300+\300,\300\206\300\207\300\t\300#\300\n\300$\300r\300s\300\b\300\a\300/\300\060\300\212\300\213\300\023\300'\300\024\300(\300v\300w\300\022\300\021", cipher_suites_size=132, pk_algos=pk_algos@entry=0x7ffff27d5330,
    pk_algos_size=pk_algos_size@entry=3) at gnutls_handshake.c:3416
#9  0x00007ffff436e765 in _gnutls_server_select_suite (session=session@entry=0x800940, data=data@entry=0x7fffe8005e65 "\300+\300,\300\206\300\207\300\t\300#\300\n\300$\300r\300s\300\b\300\a\300/\300\060\300\212\300\213\300\023\300'\300\024\300(\300v\300w\300\022\300\021",
    datalen=datalen@entry=132) at gnutls_handshake.c:957
#10 0x00007ffff437166e in read_client_hello (datalen=<optimized out>, data=0x7fffe8005e40 "\003\003V\272\222X\235\204@\272\325\317b\177O\241\210Λ4\325\372?", session=0x800940) at gnutls_handshake.c:665
#11 recv_hello (datalen=<optimized out>, data=0x7fffe8005e40 "\003\003V\272\222X\235\204@\272\325\317b\177O\241\210Λ4\325\372?", session=0x800940) at gnutls_handshake.c:2248
#12 _gnutls_recv_handshake (session=session@entry=0x800940, type=type@entry=GNUTLS_HANDSHAKE_CLIENT_HELLO, optional=optional@entry=0, buf=buf@entry=0x0) at gnutls_handshake.c:1458
#13 0x00007ffff4373833 in handshake_server (session=0x800940) at gnutls_handshake.c:3086
#14 gnutls_handshake (session=0x800940) at gnutls_handshake.c:2558
#15 0x00007ffff4678b07 in handshake_thread (task=0x6e9db0, object=object@entry=0x7fe130, task_data=<optimized out>, cancellable=<optimized out>) at gtlsconnection-gnutls.c:1235
#16 0x00007ffff4678fd9 in async_handshake_thread (task=<optimized out>, object=0x7fe130, task_data=<optimized out>, cancellable=<optimized out>) at gtlsconnection-gnutls.c:1419
#17 0x00007ffff7561659 in g_task_thread_pool_thread (thread_data=0x6e9db0, pool_data=<optimized out>) at gtask.c:1287
#18 0x00007ffff6fb144c in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:307
#19 0x00007ffff6fb0d35 in g_thread_proxy (data=0x7a1ed0) at gthread.c:778
#20 0x00007ffff6d156aa in start_thread (arg=0x7ffff27d6700) at pthread_create.c:333
#21 0x00007ffff6a4aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109


3072	in gobject.c
(gdb) bt
#0  g_object_unref (_object=0x7fe130) at gobject.c:3072
#1  0x00007ffff7560b7a in g_task_finalize (object=0x6e9db0) at gtask.c:628
#2  0x00007ffff72932da in g_object_unref (_object=0x6e9db0) at gobject.c:3179
#3  0x00007ffff6f7b198 in g_source_callback_unref (cb_data=0x7fffe8002ce0) at gmain.c:1561
#4  0x00007ffff6f7d39c in g_source_destroy_internal (source=0x7fffe8002de0, context=0x60e080, have_lock=1) at gmain.c:1207
#5  0x00007ffff6f80ba3 in g_main_dispatch (context=0x60e080) at gmain.c:3177
#6  g_main_context_dispatch (context=context@entry=0x60e080) at gmain.c:3769
#7  0x00007ffff6f80ee0 in g_main_context_iterate (context=0x60e080, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#8  0x00007ffff6f81202 in g_main_loop_run (loop=0x60dec0) at gmain.c:4034
#9  0x0000000000401208 in main (argc=1, argv=0x7fffffffdeb8) at test-video.c:167


3072	in gobject.c
(gdb) bt
#0  g_object_unref (_object=0x7fe130) at gobject.c:3072
#1  0x00007ffff46776cd in gnutls_source_finalize (source=0x8065b0) at gtlsconnection-gnutls.c:976
#2  0x00007ffff6f7b2db in g_source_unref_internal (source=0x8065b0, context=0x805000, have_lock=1) at gmain.c:2048
#3  0x00007ffff6f80c80 in g_main_dispatch (context=0x805000) at gmain.c:3181
#4  g_main_context_dispatch (context=context@entry=0x805000) at gmain.c:3769
#5  0x00007ffff6f80ee0 in g_main_context_iterate (context=0x805000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#6  0x00007ffff6f81202 in g_main_loop_run (loop=0x7c40c0) at gmain.c:4034
#7  0x00007ffff7ba2a8f in do_loop (thread=0x7fdab0) at rtsp-thread-pool.c:329
#8  0x00007ffff6fb144c in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:307
#9  0x00007ffff6fb0d35 in g_thread_proxy (data=0x7a1de0) at gthread.c:778
#10 0x00007ffff6d156aa in start_thread (arg=0x7ffff37d8700) at pthread_create.c:333
#11 0x00007ffff6a4aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109


(gdb) bt
#0  g_object_unref (_object=0x7fe130) at gobject.c:3072
#1  0x00007ffff651701b in gst_rtsp_connection_close (conn=conn@entry=0x621200) at gstrtspconnection.c:2299
#2  0x00007ffff6517213 in gst_rtsp_connection_free (conn=0x621200) at gstrtspconnection.c:2358
#3  0x00007ffff7bc0215 in gst_rtsp_client_finalize (obj=0x8040e0) at rtsp-client.c:465
#4  0x00007ffff72932da in g_object_unref (_object=0x8040e0) at gobject.c:3179
#5  0x00007ffff7bc1854 in free_client_context (ctx=0x6d14e0) at rtsp-server.c:986
#6  0x00007ffff6f80b1a in g_main_dispatch (context=0x805000) at gmain.c:3154
#7  g_main_context_dispatch (context=context@entry=0x805000) at gmain.c:3769
#8  0x00007ffff6f80ee0 in g_main_context_iterate (context=0x805000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#9  0x00007ffff6f81202 in g_main_loop_run (loop=0x7c40c0) at gmain.c:4034
#10 0x00007ffff7ba2a8f in do_loop (thread=0x7fdab0) at rtsp-thread-pool.c:329
#11 0x00007ffff6fb144c in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:307
#12 0x00007ffff6fb0d35 in g_thread_proxy (data=0x7a1de0) at gthread.c:778
#13 0x00007ffff6d156aa in start_thread (arg=0x7ffff37d8700) at pthread_create.c:333
#14 0x00007ffff6a4aeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
