heap corruption in gstreamer when IP camera with an rtp stream disconnects (losses network)
Matthew Waters
ystreet00 at gmail.com
Mon Feb 20 05:03:22 UTC 2017
All of the crashes have this in common:
#0 0x100515992 in wrap_memset (libclang_rt.asan_osx_dynamic.dylib+0x3e992)
#1 0x1016ec73a in g_slice_free1 (libglib-2.0.0.dylib+0x5373a)
#2 0x119c7407c in gst_gl_window_cocoa_send_message_async
(libgstgl-1.0.0.dylib+0x2e07c)
#3 0x119c68db0 in gst_gl_window_default_send_message
(libgstgl-1.0.0.dylib+0x22db0)
#4 0x119c4f0c4 in gst_gl_context_thread_add (libgstgl-1.0.0.dylib+0x90c4)
#5 0x119c61d04 in gst_gl_color_convert_perform
(libgstgl-1.0.0.dylib+0x1bd04)
#6 0x119de6e90 in gst_gl_color_convert_element_prepare_output_buffer
(libgstopengl.so+0xae90)
Working backwards trying to find the callsite of g_slice_free1(), in
gst_gl_window_cocoa_send_message_async() we have a couple of options:
1. a free inside callback, glcolorconvert doesn't seem to do this at
all. extremely unlikely
2. glwindow destroy notify handler - which isn't used here so it's not that.
3. g_thread_unref() - most likely.
Unfortunately, there may be numerous things that could cause the
g_thread_unref() to cause the bad write.
1. The GThread/pthread could be disappearing when a thread is destroyed
but we still hold a reference to it. This may be a bug in GLib or
pthread. Try moving the g_thread_unref() up into both conditions of the
if before any dispatch is called.
2. Some kind of race condition from above, or from something else.
In any case, this looks very much like a bug somewhere.
Cheers
-Matt
On 20/02/17 11:35, Frank VanZile wrote:
> I am writing a OSX app that views an IP camera with an rtp stream.
> Everything works works well until I lose network connectivity to the
> my IP camera. When I lose connectivity I get heap corruption in
> gstreamer. See stack below and the attached file. This is 100%
> reproducible. The stack is always the same and I can reproducible
> this by disconnecting the ethernet wire to my IP camera.
>
> Any help would be appreciated. I can also include you my gstreamer code.
>
> thank you
> Frank
>
> Gstreamer Version: 1.10.3
> OS: MAC (OSX)
> Pipeline: rtspsrc debug=false timeout=0 location=%@ latency=%d
> ntp-sync=false drop-on-latency=true udp-reconnect=true
> do-retransmission=false max-rtcp-rtp-time-diff=-1 name=rtsp !
> rtph264depay name=x2 ! h264parse name=x3 ! vtdec name=x4 !
> autovideosink name=prim
>
>
>
>
> Attached File of several stacks.
> One Stack Below:
>
> =================================================================
> ==7030==ERROR: AddressSanitizer: heap-use-after-free on address
> 0x60400007e690 at pc 0x000100515993 bp 0x70000d8df860 sp 0x70000d8df020
> WRITE of size 48 at 0x60400007e690 thread T38
> #0 0x100515992 in wrap_memset
> (libclang_rt.asan_osx_dynamic.dylib+0x3e992)
> #1 0x1016ec73a in g_slice_free1 (libglib-2.0.0.dylib+0x5373a)
> #2 0x119c7407c in gst_gl_window_cocoa_send_message_async
> (libgstgl-1.0.0.dylib+0x2e07c)
> #3 0x119c68db0 in gst_gl_window_default_send_message
> (libgstgl-1.0.0.dylib+0x22db0)
> #4 0x119c4f0c4 in gst_gl_context_thread_add
> (libgstgl-1.0.0.dylib+0x90c4)
> #5 0x119c61d04 in gst_gl_color_convert_perform
> (libgstgl-1.0.0.dylib+0x1bd04)
> #6 0x119de6e90 in
> gst_gl_color_convert_element_prepare_output_buffer
> (libgstopengl.so+0xae90)
> #7 0x102321b75 in default_generate_output
> (libgstbase-1.0.0.dylib+0x2db75)
> #8 0x102323bb6 in gst_base_transform_chain
> (libgstbase-1.0.0.dylib+0x2fbb6)
> #9 0x1018a4f10 in gst_pad_chain_data_unchecked
> (libgstreamer-1.0.0.dylib+0x4ef10)
> #10 0x1018a5aca in gst_pad_push_data
> (libgstreamer-1.0.0.dylib+0x4faca)
> #11 0x1018a590a in gst_pad_push (libgstreamer-1.0.0.dylib+0x4f90a)
> #12 0x102323afb in gst_base_transform_chain
> (libgstbase-1.0.0.dylib+0x2fafb)
> #13 0x1018a4f10 in gst_pad_chain_data_unchecked
> (libgstreamer-1.0.0.dylib+0x4ef10)
> #14 0x1018a5aca in gst_pad_push_data
> (libgstreamer-1.0.0.dylib+0x4faca)
> #15 0x1018a590a in gst_pad_push (libgstreamer-1.0.0.dylib+0x4f90a)
> #16 0x101890826 in gst_proxy_pad_chain_default
> (libgstreamer-1.0.0.dylib+0x3a826)
> #17 0x1018a4f10 in gst_pad_chain_data_unchecked
> (libgstreamer-1.0.0.dylib+0x4ef10)
> #18 0x1018a5aca in gst_pad_push_data
> (libgstreamer-1.0.0.dylib+0x4faca)
> #19 0x1018a590a in gst_pad_push (libgstreamer-1.0.0.dylib+0x4f90a)
> #20 0x101890826 in gst_proxy_pad_chain_default
> (libgstreamer-1.0.0.dylib+0x3a826)
> #21 0x1018a4f10 in gst_pad_chain_data_unchecked
> (libgstreamer-1.0.0.dylib+0x4ef10)
> #22 0x1018a5aca in gst_pad_push_data
> (libgstreamer-1.0.0.dylib+0x4faca)
> #23 0x1018a590a in gst_pad_push (libgstreamer-1.0.0.dylib+0x4f90a)
> #24 0x1015fcbf6 in gst_video_decoder_clip_and_push_buf
> (libgstvideo-1.0.0.dylib+0x2ebf6)
> #25 0x1015fc3e4 in gst_video_decoder_finish_frame
> (libgstvideo-1.0.0.dylib+0x2e3e4)
> #26 0x119c254cd in gst_vtdec_push_frames_if_needed
> (libgstapplemedia.so+0x1c4cd)
> #27 0x1016004c7 in gst_video_decoder_sink_event_default
> (libgstvideo-1.0.0.dylib+0x324c7)
> #28 0x1018a9002 in gst_pad_send_event_unchecked
> (libgstreamer-1.0.0.dylib+0x53002)
> #29 0x1018a84bf in gst_pad_push_event_unchecked
> (libgstreamer-1.0.0.dylib+0x524bf)
> #30 0x1018ab2d9 in push_sticky (libgstreamer-1.0.0.dylib+0x552d9)
> #31 0x1018a3e95 in events_foreach (libgstreamer-1.0.0.dylib+0x4de95)
> #32 0x1018a4cba in check_sticky (libgstreamer-1.0.0.dylib+0x4ecba)
> #33 0x1018a7ed7 in gst_pad_push_event
> (libgstreamer-1.0.0.dylib+0x51ed7)
> #34 0x1023001fd in gst_base_parse_sink_event_default
> (libgstbase-1.0.0.dylib+0xc1fd)
> #35 0x1018a9002 in gst_pad_send_event_unchecked
> (libgstreamer-1.0.0.dylib+0x53002)
> #36 0x1018a84bf in gst_pad_push_event_unchecked
> (libgstreamer-1.0.0.dylib+0x524bf)
> #37 0x1018ab2d9 in push_sticky (libgstreamer-1.0.0.dylib+0x552d9)
> #38 0x1018a3e95 in events_foreach (libgstreamer-1.0.0.dylib+0x4de95)
> #39 0x1018a4cba in check_sticky (libgstreamer-1.0.0.dylib+0x4ecba)
> #40 0x1018a7ed7 in gst_pad_push_event
> (libgstreamer-1.0.0.dylib+0x51ed7)
> #41 0x1018a9002 in gst_pad_send_event_unchecked
> (libgstreamer-1.0.0.dylib+0x53002)
> #42 0x1018a84bf in gst_pad_push_event_unchecked
> (libgstreamer-1.0.0.dylib+0x524bf)
> #43 0x1018ab2d9 in push_sticky (libgstreamer-1.0.0.dylib+0x552d9)
> #44 0x1018a3e95 in events_foreach (libgstreamer-1.0.0.dylib+0x4de95)
> #45 0x1018a4cba in check_sticky (libgstreamer-1.0.0.dylib+0x4ecba)
> #46 0x1018a7ed7 in gst_pad_push_event
> (libgstreamer-1.0.0.dylib+0x51ed7)
> #47 0x119a08d27 in gst_capsfilter_sink_event
> (libgstcoreelements.so+0x4d27)
> #48 0x1018a9002 in gst_pad_send_event_unchecked
> (libgstreamer-1.0.0.dylib+0x53002)
> #49 0x1018a84bf in gst_pad_push_event_unchecked
> (libgstreamer-1.0.0.dylib+0x524bf)
> #50 0x1018ab2d9 in push_sticky (libgstreamer-1.0.0.dylib+0x552d9)
> #51 0x1018a3e95 in events_foreach (libgstreamer-1.0.0.dylib+0x4de95)
> #52 0x1018a4cba in check_sticky (libgstreamer-1.0.0.dylib+0x4ecba)
> #53 0x1018a7ed7 in gst_pad_push_event
> (libgstreamer-1.0.0.dylib+0x51ed7)
> #54 0x1018a2f03 in event_forward_func
> (libgstreamer-1.0.0.dylib+0x4cf03)
> #55 0x1018a2c76 in gst_pad_forward (libgstreamer-1.0.0.dylib+0x4cc76)
> #56 0x1018a2e2a in gst_pad_event_default
> (libgstreamer-1.0.0.dylib+0x4ce2a)
> #57 0x1018a9002 in gst_pad_send_event_unchecked
> (libgstreamer-1.0.0.dylib+0x53002)
> #58 0x1018a84bf in gst_pad_push_event_unchecked
> (libgstreamer-1.0.0.dylib+0x524bf)
> #59 0x1018ab2d9 in push_sticky (libgstreamer-1.0.0.dylib+0x552d9)
> #60 0x1018a3e95 in events_foreach (libgstreamer-1.0.0.dylib+0x4de95)
> #61 0x1018a4cba in check_sticky (libgstreamer-1.0.0.dylib+0x4ecba)
> #62 0x1018a7ed7 in gst_pad_push_event
> (libgstreamer-1.0.0.dylib+0x51ed7)
> #63 0x1018a2f03 in event_forward_func
> (libgstreamer-1.0.0.dylib+0x4cf03)
> #64 0x1018a2c76 in gst_pad_forward (libgstreamer-1.0.0.dylib+0x4cc76)
> #65 0x1018a2e2a in gst_pad_event_default
> (libgstreamer-1.0.0.dylib+0x4ce2a)
> #66 0x1018a9002 in gst_pad_send_event_unchecked
> (libgstreamer-1.0.0.dylib+0x53002)
> #67 0x1018a84bf in gst_pad_push_event_unchecked
> (libgstreamer-1.0.0.dylib+0x524bf)
> #68 0x1018ab2d9 in push_sticky (libgstreamer-1.0.0.dylib+0x552d9)
> #69 0x1018a3e95 in events_foreach (libgstreamer-1.0.0.dylib+0x4de95)
> #70 0x1018a4cba in check_sticky (libgstreamer-1.0.0.dylib+0x4ecba)
> #71 0x1018a7ed7 in gst_pad_push_event
> (libgstreamer-1.0.0.dylib+0x51ed7)
> #72 0x1018a2f03 in event_forward_func
> (libgstreamer-1.0.0.dylib+0x4cf03)
> #73 0x1018a2c76 in gst_pad_forward (libgstreamer-1.0.0.dylib+0x4cc76)
> #74 0x1018a2e2a in gst_pad_event_default
> (libgstreamer-1.0.0.dylib+0x4ce2a)
> #75 0x1018a9002 in gst_pad_send_event_unchecked
> (libgstreamer-1.0.0.dylib+0x53002)
> #76 0x1018a84bf in gst_pad_push_event_unchecked
> (libgstreamer-1.0.0.dylib+0x524bf)
> #77 0x1018ab2d9 in push_sticky (libgstreamer-1.0.0.dylib+0x552d9)
> #78 0x1018a3e95 in events_foreach (libgstreamer-1.0.0.dylib+0x4de95)
> #79 0x1018a4cba in check_sticky (libgstreamer-1.0.0.dylib+0x4ecba)
> #80 0x1018a7ed7 in gst_pad_push_event
> (libgstreamer-1.0.0.dylib+0x51ed7)
> #81 0x109501aca in pop_and_push_next (libgstrtpmanager.so+0x1baca)
> #82 0x109500f4b in gst_rtp_jitter_buffer_loop
> (libgstrtpmanager.so+0x1af4b)
> #83 0x1018d6152 in gst_task_func (libgstreamer-1.0.0.dylib+0x80152)
> #84 0x1016f84a1 in g_thread_pool_thread_proxy
> (libglib-2.0.0.dylib+0x5f4a1)
> #85 0x1016f7519 in g_thread_proxy (libglib-2.0.0.dylib+0x5e519)
> #86 0x1022e1c4f in _pthread_body (libsystem_pthread.dylib+0x3c4f)
> #87 0x1022e1b9b in _pthread_start (libsystem_pthread.dylib+0x3b9b)
> #88 0x1022e1384 in thread_start (libsystem_pthread.dylib+0x3384)
>
> 0x60400007e690 is located 0 bytes inside of 48-byte region
> [0x60400007e690,0x60400007e6c0)
> freed by thread T48 here:
> #0 0x100521db9 in wrap_free
> (libclang_rt.asan_osx_dynamic.dylib+0x4adb9)
> #1 0x1022e3703 in _pthread_tsd_cleanup
> (libsystem_pthread.dylib+0x5703)
> #2 0x1022e3487 in _pthread_exit (libsystem_pthread.dylib+0x5487)
> #3 0x1022e1954 in _pthread_wqthread (libsystem_pthread.dylib+0x3954)
> #4 0x1022e1374 in start_wqthread (libsystem_pthread.dylib+0x3374)
>
> previously allocated by thread T48 here:
> #0 0x100521bf0 in wrap_malloc
> (libclang_rt.asan_osx_dynamic.dylib+0x4abf0)
> #1 0x1016d6847 in g_malloc (libglib-2.0.0.dylib+0x3d847)
> #2 0x1016eb9c7 in g_slice_alloc (libglib-2.0.0.dylib+0x529c7)
> #3 0x1016ec42e in g_slice_alloc0 (libglib-2.0.0.dylib+0x5342e)
> #4 0x1016f7833 in g_thread_self (libglib-2.0.0.dylib+0x5e833)
> #5 0x119c4d723 in gst_gl_context_activate
> (libgstgl-1.0.0.dylib+0x7723)
> #6 0x119c74266 in
> __gst_gl_window_cocoa_send_message_async_block_invoke
> (libgstgl-1.0.0.dylib+0x2e266)
> #7 0x100520e73 in __wrap_dispatch_async_block_invoke
> (libclang_rt.asan_osx_dynamic.dylib+0x49e73)
> #8 0x1022736e4 in _dispatch_call_block_and_release
> (libdispatch.dylib+0xb6e4)
> #9 0x102269f5b in _dispatch_client_callout (libdispatch.dylib+0x1f5b)
> #10 0x102281a58 in _dispatch_queue_serial_drain
> (libdispatch.dylib+0x19a58)
> #11 0x102273488 in _dispatch_queue_invoke (libdispatch.dylib+0xb488)
> #12 0x10226c1d6 in _dispatch_root_queue_drain
> (libdispatch.dylib+0x41d6)
> #13 0x10226bee7 in _dispatch_worker_thread3
> (libdispatch.dylib+0x3ee7)
> #14 0x1022e1899 in _pthread_wqthread (libsystem_pthread.dylib+0x3899)
> #15 0x1022e1374 in start_wqthread (libsystem_pthread.dylib+0x3374)
>
> Thread T38 created by T31 here:
> #0 0x100518379 in wrap_pthread_create
> (libclang_rt.asan_osx_dynamic.dylib+0x41379)
> #1 0x101718fc3 in g_system_thread_new (libglib-2.0.0.dylib+0x7ffc3)
> #2 0x1016f7728 in g_thread_try_new (libglib-2.0.0.dylib+0x5e728)
> #3 0x1016f7b3f in g_thread_pool_start_thread
> (libglib-2.0.0.dylib+0x5eb3f)
> #4 0x1016f7bda in g_thread_pool_push (libglib-2.0.0.dylib+0x5ebda)
> #5 0x1018d685d in default_push (libgstreamer-1.0.0.dylib+0x8085d)
> #6 0x1018d5ba0 in gst_task_set_state
> (libgstreamer-1.0.0.dylib+0x7fba0)
> #7 0x1018a9c8d in gst_pad_start_task
> (libgstreamer-1.0.0.dylib+0x53c8d)
> #8 0x10189e5b2 in activate_mode_internal
> (libgstreamer-1.0.0.dylib+0x485b2)
> #9 0x10189df32 in gst_pad_set_active
> (libgstreamer-1.0.0.dylib+0x47f32)
> #10 0x10188a9e2 in activate_pads (libgstreamer-1.0.0.dylib+0x349e2)
> #11 0x10189619c in gst_iterator_fold
> (libgstreamer-1.0.0.dylib+0x4019c)
> #12 0x10188a995 in iterator_activate_fold_with_resync
> (libgstreamer-1.0.0.dylib+0x34995)
> #13 0x10188a769 in gst_element_pads_activate
> (libgstreamer-1.0.0.dylib+0x34769)
> #14 0x10188970e in gst_element_change_state_func
> (libgstreamer-1.0.0.dylib+0x3370e)
> #15 0x1094f6c2e in gst_rtp_jitter_buffer_change_state
> (libgstrtpmanager.so+0x10c2e)
> #16 0x101888291 in gst_element_change_state
> (libgstreamer-1.0.0.dylib+0x32291)
> #17 0x10188848b in gst_element_change_state
> (libgstreamer-1.0.0.dylib+0x3248b)
> #18 0x1018899c8 in gst_element_set_state_func
> (libgstreamer-1.0.0.dylib+0x339c8)
> #19 0x1094f000e in new_ssrc_pad_found (libgstrtpmanager.so+0xa00e)
> #20 0x10236a883 in ffi_call_unix64 (libffi.6.dylib+0x5883)
> #21 0x70000d5cef0f (<unknown module>)
>
> Thread T31 created by T23 here:
> #0 0x100518379 in wrap_pthread_create
> (libclang_rt.asan_osx_dynamic.dylib+0x41379)
> #1 0x101718fc3 in g_system_thread_new (libglib-2.0.0.dylib+0x7ffc3)
> #2 0x1016f7728 in g_thread_try_new (libglib-2.0.0.dylib+0x5e728)
> #3 0x1016f7b3f in g_thread_pool_start_thread
> (libglib-2.0.0.dylib+0x5eb3f)
> #4 0x1016f7bda in g_thread_pool_push (libglib-2.0.0.dylib+0x5ebda)
> #5 0x1018d685d in default_push (libgstreamer-1.0.0.dylib+0x8085d)
> #6 0x1018d5ba0 in gst_task_set_state
> (libgstreamer-1.0.0.dylib+0x7fba0)
> #7 0x1018a9c8d in gst_pad_start_task
> (libgstreamer-1.0.0.dylib+0x53c8d)
> #8 0x1023178f3 in gst_base_src_perform_seek
> (libgstbase-1.0.0.dylib+0x238f3)
> #9 0x102316f73 in gst_base_src_start_complete
> (libgstbase-1.0.0.dylib+0x22f73)
> #10 0x10231da79 in gst_base_src_start
> (libgstbase-1.0.0.dylib+0x29a79)
> #11 0x10231a6cd in gst_base_src_activate_mode
> (libgstbase-1.0.0.dylib+0x266cd)
> #12 0x10189e5b2 in activate_mode_internal
> (libgstreamer-1.0.0.dylib+0x485b2)
> #13 0x10189df32 in gst_pad_set_active
> (libgstreamer-1.0.0.dylib+0x47f32)
> #14 0x10188a9e2 in activate_pads (libgstreamer-1.0.0.dylib+0x349e2)
> #15 0x10189619c in gst_iterator_fold
> (libgstreamer-1.0.0.dylib+0x4019c)
> #16 0x10188a995 in iterator_activate_fold_with_resync
> (libgstreamer-1.0.0.dylib+0x34995)
> #17 0x10188a769 in gst_element_pads_activate
> (libgstreamer-1.0.0.dylib+0x34769)
> #18 0x10188970e in gst_element_change_state_func
> (libgstreamer-1.0.0.dylib+0x3370e)
> #19 0x102318278 in gst_base_src_change_state
> (libgstbase-1.0.0.dylib+0x24278)
> #20 0x11bb13504 in gst_udpsrc_change_state (libgstudp.so+0x6504)
> #21 0x101888291 in gst_element_change_state
> (libgstreamer-1.0.0.dylib+0x32291)
> #22 0x1018899c8 in gst_element_set_state_func
> (libgstreamer-1.0.0.dylib+0x339c8)
> #23 0x1195e01ee in gst_rtspsrc_play (libgstrtsp.so+0xd1ee)
> #24 0x1195dbb1f in gst_rtspsrc_thread (libgstrtsp.so+0x8b1f)
> #25 0x1018d6152 in gst_task_func (libgstreamer-1.0.0.dylib+0x80152)
> #26 0x1016f84a1 in g_thread_pool_thread_proxy
> (libglib-2.0.0.dylib+0x5f4a1)
> #27 0x1016f7519 in g_thread_proxy (libglib-2.0.0.dylib+0x5e519)
> #28 0x1022e1c4f in _pthread_body (libsystem_pthread.dylib+0x3c4f)
> #29 0x1022e1b9b in _pthread_start (libsystem_pthread.dylib+0x3b9b)
> #30 0x1022e1384 in thread_start (libsystem_pthread.dylib+0x3384)
>
> Thread T23 created by T19 here:
> #0 0x100518379 in wrap_pthread_create
> (libclang_rt.asan_osx_dynamic.dylib+0x41379)
> #1 0x101718fc3 in g_system_thread_new (libglib-2.0.0.dylib+0x7ffc3)
> #2 0x1016f7728 in g_thread_try_new (libglib-2.0.0.dylib+0x5e728)
> #3 0x1016f7b3f in g_thread_pool_start_thread
> (libglib-2.0.0.dylib+0x5eb3f)
> #4 0x1016f7bda in g_thread_pool_push (libglib-2.0.0.dylib+0x5ebda)
> #5 0x1018d685d in default_push (libgstreamer-1.0.0.dylib+0x8085d)
> #6 0x1018d5ba0 in gst_task_set_state
> (libgstreamer-1.0.0.dylib+0x7fba0)
> #7 0x1195dade2 in gst_rtspsrc_loop_send_cmd (libgstrtsp.so+0x7de2)
> #8 0x1195da231 in gst_rtspsrc_change_state (libgstrtsp.so+0x7231)
> #9 0x101888291 in gst_element_change_state
> (libgstreamer-1.0.0.dylib+0x32291)
> #10 0x1018899c8 in gst_element_set_state_func
> (libgstreamer-1.0.0.dylib+0x339c8)
> #11 0x1018613fb in gst_bin_change_state_func
> (libgstreamer-1.0.0.dylib+0xb3fb)
> #12 0x101888291 in gst_element_change_state
> (libgstreamer-1.0.0.dylib+0x32291)
> #13 0x1018899c8 in gst_element_set_state_func
> (libgstreamer-1.0.0.dylib+0x339c8)
> #14 0x1001523a9 in -[GStreamerBackend play:] GStreamerBackend.m:246
> #15 0x10015104d in state_changed_cb GStreamerBackend.m:429
> #16 0x101804fe7 in g_cclosure_marshal_VOID__BOXEDv
> (libgobject-2.0.0.dylib+0xafe7)
> #17 0x101801c28 in _g_closure_invoke_va
> (libgobject-2.0.0.dylib+0x7c28)
> #18 0x10181768d in g_signal_emit_valist
> (libgobject-2.0.0.dylib+0x1d68d)
> #19 0x1018180a5 in g_signal_emit (libgobject-2.0.0.dylib+0x1e0a5)
> #20 0x101870c57 in gst_bus_async_signal_func
> (libgstreamer-1.0.0.dylib+0x1ac57)
> #21 0x101871145 in gst_bus_source_dispatch
> (libgstreamer-1.0.0.dylib+0x1b145)
> #22 0x1016cfa1f in g_main_context_dispatch
> (libglib-2.0.0.dylib+0x36a1f)
> #23 0x1016cfd43 in g_main_context_iterate
> (libglib-2.0.0.dylib+0x36d43)
> #24 0x1016d006e in g_main_loop_run (libglib-2.0.0.dylib+0x3706e)
> #25 0x100154ab5 in -[GStreamerBackend runApp] GStreamerBackend.m:606
> #26 0x1001519bd in thread_func GStreamerBackend.m:672
> #27 0x1016f7519 in g_thread_proxy (libglib-2.0.0.dylib+0x5e519)
> #28 0x1022e1c4f in _pthread_body (libsystem_pthread.dylib+0x3c4f)
> #29 0x1022e1b9b in _pthread_start (libsystem_pthread.dylib+0x3b9b)
> #30 0x1022e1384 in thread_start (libsystem_pthread.dylib+0x3384)
>
> Thread T19 created by T0 here:
> #0 0x100518379 in wrap_pthread_create
> (libclang_rt.asan_osx_dynamic.dylib+0x41379)
> #1 0x101718fc3 in g_system_thread_new (libglib-2.0.0.dylib+0x7ffc3)
> #2 0x1016f7596 in g_thread_new (libglib-2.0.0.dylib+0x5e596)
> #3 0x10014f900 in -[GStreamerBackend start:] GStreamerBackend.m:215
> #4 0x10007d22a in -[CameraWindowController windowDidLoad]
> CameraWindowController.m:47
> #5 0x7fffb006d7ff in -[NSWindowController _windowDidLoad]
> (AppKit+0xb77ff)
> #6 0x7fffb000d862 in -[NSWindowController window] (AppKit+0x57862)
> #7 0x7fffb01e930b in -[NSWindowController showWindow:]
> (AppKit+0x23330b)
> #8 0x1001b401d in -[AppDelegate selectCamera:] AppDelegate.m:693
> #9 0x7fffc7c55c3c in _os_activity_initiate
> (libsystem_trace.dylib+0x5c3c)
> #10 0x7fffb0779c9b in -[NSApplication(NSResponder)
> sendAction:to:from:] (AppKit+0x7c3c9b)
> #11 0x7fffb024de05 in -[NSMenuItem _corePerformAction]
> (AppKit+0x297e05)
> #12 0x7fffb024db71 in -[NSCarbonMenuImpl
> performActionWithHighlightingForItemAtIndex:] (AppKit+0x297b71)
> #13 0x7fffc7c55c3c in _os_activity_initiate
> (libsystem_trace.dylib+0x5c3c)
> #14 0x7fffb02d70f0 in -[NSMenu performActionForItemAtIndex:]
> (AppKit+0x3210f0)
> #15 0x7fffb02d7067 in -[NSMenu
> _internalPerformActionForItemAtIndex:] (AppKit+0x321067)
> #16 0x7fffb02d6e94 in -[NSCarbonMenuImpl
> _carbonCommandProcessEvent:handlerCallRef:] (AppKit+0x320e94)
> #17 0x7fffb018e0ff in NSSLMMenuEventHandler (AppKit+0x1d80ff)
> #18 0x7fffb1a2fb14 in DispatchEventToHandlers(EventTargetRec*,
> OpaqueEventRef*, HandlerCallRec*) (HIToolbox+0x8b14)
> #19 0x7fffb1a2ed85 in
> SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
> HandlerCallRec*) (HIToolbox+0x7d85)
> #20 0x7fffb1a448b3 in SendEventToEventTarget (HIToolbox+0x1d8b3)
> #21 0x7fffb1a90d35 in SendHICommandEvent(unsigned int, HICommand
> const*, unsigned int, unsigned int, unsigned char, void const*,
> OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**)
> (HIToolbox+0x69d35)
> #22 0x7fffb1abc34a in SendMenuCommandWithContextAndModifiers
> (HIToolbox+0x9534a)
> #23 0x7fffb1abc2f9 in SendMenuItemSelectedEvent (HIToolbox+0x952f9)
> #24 0x7fffb1abc1cc in FinishMenuSelection(SelectionData*,
> MenuResult*, MenuResult*) (HIToolbox+0x951cc)
> #25 0x7fffb1abcc06 in MenuSelectCore(MenuData*, Point, double,
> unsigned int, OpaqueMenuRef**, unsigned short*) (HIToolbox+0x95c06)
> #26 0x7fffb1abc8b5 in _HandleMenuSelection2 (HIToolbox+0x958b5)
> #27 0x7fffb017dec9 in _NSHandleCarbonMenuEvent (AppKit+0x1c7ec9)
> #28 0x7fffb03f7dbd in _DPSEventHandledByCarbon (AppKit+0x441dbd)
> #29 0x7fffb0777641 in -[NSApplication(NSEvent)
> _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (AppKit+0x7c1641)
> #30 0x7fffafff1f34 in -[NSApplication run] (AppKit+0x3bf34)
> #31 0x7fffaffbc84f in NSApplicationMain (AppKit+0x684f)
> #32 0x100156b01 in main main.m:12
> #33 0x7fffc7a23254 in start (libdyld.dylib+0x5254)
>
> Thread T48 created by T6 here:
> <empty stack>
>
> Thread T6 created by T4 here:
> #0 0x100518379 in wrap_pthread_create
> (libclang_rt.asan_osx_dynamic.dylib+0x41379)
> #1 0x7fffb3ef075a in -[NSThread start] (Foundation+0x3275a)
> #2 0x7fffb163b4f4 in __48+[NSURLConnection(Loader)
> resourceLoaderRunLoop]_block_invoke (CFNetwork+0x64f4)
> #3 0x102269f5b in _dispatch_client_callout (libdispatch.dylib+0x1f5b)
> #4 0x102269f3b in dispatch_once_f (libdispatch.dylib+0x1f3b)
> #5 0x7fffb163b3f8 in +[NSURLConnection(Loader)
> resourceLoaderRunLoop] (CFNetwork+0x63f8)
> #6 0x7fffb165c68e in ___ZL22_coreSchedulingSet_RLMv_block_invoke
> (CFNetwork+0x2768e)
> #7 0x102269f5b in _dispatch_client_callout (libdispatch.dylib+0x1f5b)
> #8 0x102269f3b in dispatch_once_f (libdispatch.dylib+0x1f3b)
> #9 0x7fffb165c630 in _coreSchedulingSet_RLM() (CFNetwork+0x27630)
> #10 0x7fffb165c792 in
> ___ZN17CoreSchedulingSet23copyRunloopEmulationSetEv_block_invoke
> (CFNetwork+0x27792)
> #11 0x102269f5b in _dispatch_client_callout
> (libdispatch.dylib+0x1f5b)
> #12 0x102269f3b in dispatch_once_f (libdispatch.dylib+0x1f3b)
> #13 0x7fffb165c77e in CoreSchedulingSet::copyRunloopEmulationSet()
> (CFNetwork+0x2777e)
> #14 0x7fffb1660c50 in
> URLConnectionLoader::_private_ScheduleOriginLoad(NSURLRequest const*,
> _CFCachedURLResponse const*) (CFNetwork+0x2bc50)
> #15 0x7fffb1652ac5 in
> URLConnectionLoader::loadWithWhatToDo(NSURLRequest const*,
> _CFCachedURLResponse const*, long, URLConnectionLoader::WhatToDo)
> (CFNetwork+0x1dac5)
> #16 0x7fffb16525da in
> ___ZN19URLConnectionLoader22_loaderEvent_StartLoadEPK16NSURLSessionTask_block_invoke_6
> (CFNetwork+0x1d5da)
> #17 0x7fffb164caa2 in
> ___ZNK25URLConnectionInstanceData18withWorkQueueAsyncEU13block_pointerFvvE_block_invoke
> (CFNetwork+0x17aa2)
> #18 0x100520e73 in __wrap_dispatch_async_block_invoke
> (libclang_rt.asan_osx_dynamic.dylib+0x49e73)
> #19 0x1022736e4 in _dispatch_call_block_and_release
> (libdispatch.dylib+0xb6e4)
> #20 0x102269f5b in _dispatch_client_callout
> (libdispatch.dylib+0x1f5b)
> #21 0x102281a58 in _dispatch_queue_serial_drain
> (libdispatch.dylib+0x19a58)
> #22 0x102273488 in _dispatch_queue_invoke (libdispatch.dylib+0xb488)
> #23 0x10227a706 in _dispatch_queue_override_invoke
> (libdispatch.dylib+0x12706)
> #24 0x10226c1d6 in _dispatch_root_queue_drain
> (libdispatch.dylib+0x41d6)
> #25 0x10226bee7 in _dispatch_worker_thread3
> (libdispatch.dylib+0x3ee7)
> #26 0x1022e1899 in _pthread_wqthread (libsystem_pthread.dylib+0x3899)
> #27 0x1022e1374 in start_wqthread (libsystem_pthread.dylib+0x3374)
>
> Thread T4 created by T0 here:
> <empty stack>
>
> SUMMARY: AddressSanitizer: heap-use-after-free
> (libclang_rt.asan_osx_dynamic.dylib+0x3e992) in wrap_memset
> Shadow bytes around the buggy address:
> 0x1c080000fc80: fa fa fa fa fa fa fa fa fa fa 00 00 00 00 00 00
> 0x1c080000fc90: fa fa 00 00 00 00 00 00 fa fa fa fa fa fa fa fa
> 0x1c080000fca0: fa fa 00 00 00 00 00 00 fa fa fa fa fa fa fa fa
> 0x1c080000fcb0: fa fa 00 00 00 00 00 00 fa fa 00 00 00 00 00 00
> 0x1c080000fcc0: fa fa fa fa fa fa fa fa fa fa 00 00 00 00 00 00
> =>0x1c080000fcd0: fa fa[fd]fd fd fd fd fd fa fa 00 00 00 00 00 00
> 0x1c080000fce0: fa fa 00 00 00 00 00 00 fa fa fa fa fa fa fa fa
> 0x1c080000fcf0: fa fa 00 00 00 00 00 00 fa fa fa fa fa fa fa fa
> 0x1c080000fd00: fa fa 00 00 00 00 00 00 fa fa 00 00 00 00 00 00
> 0x1c080000fd10: fa fa fa fa fa fa fa fa fa fa 00 00 00 00 00 00
> 0x1c080000fd20: fa fa fa fa fa fa fa fa fa fa 00 00 00 00 00 00
> Shadow byte legend (one shadow byte represents 8 application bytes):
> Addressable: 00
> Partially addressable: 01 02 03 04 05 06 07
> Heap left redzone: fa
> Heap right redzone: fb
> Freed heap region: fd
> Stack left redzone: f1
> Stack mid redzone: f2
> Stack right redzone: f3
> Stack partial redzone: f4
> Stack after return: f5
> Stack use after scope: f8
> Global redzone: f9
> Global init order: f6
> Poisoned by user: f7
> Container overflow: fc
> Array cookie: ac
> Intra object redzone: bb
> ASan internal: fe
> Left alloca redzone: ca
> Right alloca redzone: cb
> 2017-02-19 16:12:54.143015 WingWarpMac[7030:123279]
> =================================================================
> 2017-02-19 16:12:54.143078 WingWarpMac[7030:123279] ==7030==ERROR:
> AddressSanitizer: heap-use-after-free on address 0x60400007e690 at pc
> 0x000100515993 bp 0x70000d8df860 sp 0x70000d8df020
> 2017-02-19 16:12:54.143164 WingWarpMac[7030:123279] WRITE of size 48
> at 0x60400007e690 thread T38
> 2017-02-19 16:12:54.143205 WingWarpMac[7030:123279] #0 0x100515992
> in wrap_memset (libclang_rt.asan_osx_dynamic.dylib+0x3e992)
> 2017-02-19 16:12:54.143260 WingWarpMac[7030:123279] #1 0x1016ec73a
> in g_slice_free1 (libglib-2.0.0.dylib+0x5373a)
> 2017-02-19 16:12:54.143300 WingWarpMac[7030:123279] #2 0x119c7407c
> in gst_gl_window_cocoa_send_message_async (libgstgl-1.0.0.dylib+0x2e07c)
> 2017-02-19 16:12:54.143335 WingWarpMac[7030:123279] #3 0x119c68db0
> in gst_gl_window_default_send_message (libgstgl-1.0.0.dylib+0x22db0)
> 2017-02-19 16:12:54.143358 WingWarpMac[7030:123279] #4 0x119c4f0c4
> in gst_gl_context_thread_add (libgstgl-1.0.0.dylib+0x90c4)
> 2017-02-19 16:12:54.143403 WingWarpMac[7030:123279] #5 0x119c61d04
> in gst_gl_color_convert_perform (libgstgl-1.0.0.dylib+0x1bd04)
> 2017-02-19 16:12:54.143441 WingWarpMac[7030:123279] #6 0x119de6e90
> in gst_gl_color_convert_element_prepare_output_buffer
> (libgstopengl.so+0xae90)
> 2017-02-19 16:12:54.143468 WingWarpMac[7030:123279] #7 0x102321b75
> in default_generate_output (libgstbase-1.0.0.dylib+0x2db75)
> 2017-02-19 16:12:54.143483 WingWarpMac[7030:123279] #8 0x102323bb6
> in gst_base_transform_chain (libgstbase-1.0.0.dylib+0x2fbb6)
> 2017-02-19 16:12:54.143506 WingWarpMac[7030:123279] #9 0x1018a4f10
> in gst_pad_chain_data_unchecked (libgstreamer-1.0.0.dylib+0x4ef10)
> 2017-02-19 16:12:54.143523 WingWarpMac[7030:123279] #10
> 0x1018a5aca in gst_pad_push_data (libgstreamer-1.0.0.dylib+0x4faca)
> 2017-02-19 16:12:54.143542 WingWarpMac[7030:123279] #11
> 0x1018a590a in gst_pad_push (libgstreamer-1.0.0.dylib+0x4f90a)
> 2017-02-19 16:12:54.143610 WingWarpMac[7030:123279] #12
> 0x102323afb in gst_base_transform_chain (libgstbase-1.0.0.dylib+0x2fafb)
> 2017-02-19 16:12:54.143643 WingWarpMac[7030:123279] #13
> 0x1018a4f10 in gst_pad_chain_data_unchecked
> (libgstreamer-1.0.0.dylib+0x4ef10)
> 2017-02-19 16:12:54.143663 WingWarpMac[7030:123279] #14
> 0x1018a5aca in gst_pad_push_data (libgstreamer-1.0.0.dylib+0x4faca)
> 2017-02-19 16:12:54.143688 WingWarpMac[7030:123279] #15
> 0x1018a590a in gst_pad_push (libgstreamer-1.0.0.dylib+0x4f90a)
> 2017-02-19 16:12:54.143706 WingWarpMac[7030:123279] #16
> 0x101890826 in gst_proxy_pad_chain_default
> (libgstreamer-1.0.0.dylib+0x3a826)
> 2017-02-19 16:12:54.143725 WingWarpMac[7030:123279] #17
> 0x1018a4f10 in gst_pad_chain_data_unchecked
> (libgstreamer-1.0.0.dylib+0x4ef10)
> 2017-02-19 16:12:54.143787 WingWarpMac[7030:123279] #18
> 0x1018a5aca in gst_pad_push_data (libgstreamer-1.0.0.dylib+0x4faca)
> 2017-02-19 16:12:54.143817 WingWarpMac[7030:123279] #19
> 0x1018a590a in gst_pad_push (libgstreamer-1.0.0.dylib+0x4f90a)
> 2017-02-19 16:12:54.143901 WingWarpMac[7030:123279] #20
> 0x101890826 in gst_proxy_pad_chain_default
> (libgstreamer-1.0.0.dylib+0x3a826)
> 2017-02-19 16:12:54.143945 WingWarpMac[7030:123279] #21
> 0x1018a4f10 in gst_pad_chain_data_unchecked
> (libgstreamer-1.0.0.dylib+0x4ef10)
> 2017-02-19 16:12:54.143973 WingWarpMac[7030:123279] #22
> 0x1018a5aca in gst_pad_push_data (libgstreamer-1.0.0.dylib+0x4faca)
> 2017-02-19 16:12:54.143994 WingWarpMac[7030:123279] #23
> 0x1018a590a in gst_pad_push (libgstreamer-1.0.0.dylib+0x4f90a)
> 2017-02-19 16:12:54.144014 WingWarpMac[7030:123279] #24
> 0x1015fcbf6 in gst_video_decoder_clip_and_push_buf
> (libgstvideo-1.0.0.dylib+0x2ebf6)
> 2017-02-19 16:12:54.144054 WingWarpMac[7030:123279] #25
> 0x1015fc3e4 in gst_video_decoder_finish_frame
> (libgstvideo-1.0.0.dylib+0x2e3e4)
> 2017-02-19 16:12:54.144079 WingWarpMac[7030:123279] #26
> 0x119c254cd in gst_vtdec_push_frames_if_needed
> (libgstapplemedia.so+0x1c4cd)
> 2017-02-19 16:12:54.144099 WingWarpMac[7030:123279] #27
> 0x1016004c7 in gst_video_decoder_sink_event_default
> (libgstvideo-1.0.0.dylib+0x324c7)
> 2017-02-19 16:12:54.144147 WingWarpMac[7030:123279] #28
> 0x1018a9002 in gst_pad_send_event_unchecked
> (libgstreamer-1.0.0.dylib+0x53002)
> 2017-02-19 16:12:54.144217 WingWarpMac[7030:123279] #29
> 0x1018a84bf in gst_pad_push_event_unchecked
> (libgstreamer-1.0.0.dylib+0x524bf)
> 2017-02-19 16:12:54.144244 WingWarpMac[7030:123279] #30
> 0x1018ab2d9 in push_sticky (libgstreamer-1.0.0.dylib+0x552d9)
> 2017-02-19 16:12:54.144267 WingWarpMac[7030:123279] #31
> 0x1018a3e95 in events_foreach (libgstreamer-1.0.0.dylib+0x4de95)
> 2017-02-19 16:12:54.144290 WingWarpMac[7030:123279] #32
> 0x1018a4cba in check_sticky (libgstreamer-1.0.0.dylib+0x4ecba)
> 2017-02-19 16:12:54.144308 WingWarpMac[7030:123279] #33
> 0x1018a7ed7 in gst_pad_push_event (libgstreamer-1.0.0.dylib+0x51ed7)
> 2017-02-19 16:12:54.144366 WingWarpMac[7030:123279] #34
> 0x1023001fd in gst_base_parse_sink_event_default
> (libgstbase-1.0.0.dylib+0xc1fd)
> 2017-02-19 16:12:54.144391 WingWarpMac[7030:123279] #35
> 0x1018a9002 in gst_pad_send_event_unchecked
> (libgstreamer-1.0.0.dylib+0x53002)
> 2017-02-19 16:12:54.144409 WingWarpMac[7030:123279] #36
> 0x1018a84bf in gst_pad_push_event_unchecked
> (libgstreamer-1.0.0.dylib+0x524bf)
> 2017-02-19 16:12:54.144427 WingWarpMac[7030:123279] #37
> 0x1018ab2d9 in push_sticky (libgstreamer-1.0.0.dylib+0x552d9)
> 2017-02-19 16:12:54.144445 WingWarpMac[7030:123279] #38
> 0x1018a3e95 in events_foreach (libgstreamer-1.0.0.dylib+0x4de95)
> 2017-02-19 16:12:54.144462 WingWarpMac[7030:123279] #39
> 0x1018a4cba in check_sticky (libgstreamer-1.0.0.dylib+0x4ecba)
> 2017-02-19 16:12:54.144476 WingWarpMac[7030:123279] #40
> 0x1018a7ed7 in gst_pad_push_event (libgstreamer-1.0.0.dylib+0x51ed7)
> 2017-02-19 16:12:54.144533 WingWarpMac[7030:123279] #41
> 0x1018a9002 in gst_pad_send_event_unchecked
> (libgstreamer-1.0.0.dylib+0x53002)
> 2017-02-19 16:12:54.144557 WingWarpMac[7030:123279] #42
> 0x1018a84bf in gst_pad_push_event_unchecked
> (libgstreamer-1.0.0.dylib+0x524bf)
> 2017-02-19 16:12:54.144575 WingWarpMac[7030:123279] #43
> 0x1018ab2d9 in push_sticky (libgstreamer-1.0.0.dylib+0x552d9)
> 2017-02-19 16:12:54.144594 WingWarpMac[7030:123279] #44
> 0x1018a3e95 in events_foreach (libgstreamer-1.0.0.dylib+0x4de95)
> 2017-02-19 16:12:54.144613 WingWarpMac[7030:123279] #45
> 0x1018a4cba in check_sticky (libgstreamer-1.0.0.dylib+0x4ecba)
> 2017-02-19 16:12:54.144630 WingWarpMac[7030:123279] #46
> 0x1018a7ed7 in gst_pad_push_event (libgstreamer-1.0.0.dylib+0x51ed7)
> 2017-02-19 16:12:54.144648 WingWarpMac[7030:123279] #47
> 0x119a08d27 in gst_capsfilter_sink_event (libgstcoreelements.so+0x4d27)
> 2017-02-19 16:12:54.144719 WingWarpMac[7030:123279] #48
> 0x1018a9002 in gst_pad_send_event_unchecked
> (libgstreamer-1.0.0.dylib+0x53002)
> 2017-02-19 16:12:54.144740 WingWarpMac[7030:123279] #49
> 0x1018a84bf in gst_pad_push_event_unchecked
> (libgstreamer-1.0.0.dylib+0x524bf)
> 2017-02-19 16:12:54.144762 WingWarpMac[7030:123279] #50
> 0x1018ab2d9 in push_sticky (libgstreamer-1.0.0.dylib+0x552d9)
> 2017-02-19 16:12:54.144803 WingWarpMac[7030:123279] #51
> 0x1018a3e95 in events_foreach (libgstreamer-1.0.0.dylib+0x4de95)
> 2017-02-19 16:12:54.144850 WingWarpMac[7030:123279] #52
> 0x1018a4cba in check_sticky (libgstreamer-1.0.0.dylib+0x4ecba)
> 2017-02-19 16:12:54.144873 WingWarpMac[7030:123279] #53
> 0x1018a7ed7 in gst_pad_push_event (libgstreamer-1.0.0.dylib+0x51ed7)
> 2017-02-19 16:12:54.144888 WingWarpMac[7030:123279] #54
> 0x1018a2f03 in event_forward_func (libgstreamer-1.0.0.dylib+0x4cf03)
> 2017-02-19 16:12:54.144904 WingWarpMac[7030:123279] #55
> 0x1018a2c76 in gst_pad_forward (libgstreamer-1.0.0.dylib+0x4cc76)
> 2017-02-19 16:12:54.144918 WingWarpMac[7030:123279] #56
> 0x1018a2e2a in gst_pad_event_default (libgstreamer-1.0.0.dylib+0x4ce2a)
> 2017-02-19 16:12:54.144936 WingWarpMac[7030:123279] #57
> 0x1018a9002 in gst_pad_send_event_unchecked
> (libgstreamer-1.0.0.dylib+0x53002)
> 2017-02-19 16:12:54.145003 WingWarpMac[7030:123279] #58
> 0x1018a84bf in gst_pad_push_event_unchecked
> (libgstreamer-1.0.0.dylib+0x524bf)
> 2017-02-19 16:12:54.145032 WingWarpMac[7030:123279] #59
> 0x1018ab2d9 in push_sticky (libgstreamer-1.0.0.dylib+0x552d9)
> 2017-02-19 16:12:54.145050 WingWarpMac[7030:123279] #60
> 0x1018a3e95 in events_foreach (libgstreamer-1.0.0.dylib+0x4de95)
> 2017-02-19 16:12:54.145116 WingWarpMac[7030:123279] #61
> 0x1018a4cba in check_sticky (libgstreamer-1.0.0.dylib+0x4ecba)
> 2017-02-19 16:12:54.145162 WingWarpMac[7030:123279] #62
> 0x1018a7ed7 in gst_pad_push_event (libgstreamer-1.0.0.dylib+0x51ed7)
> 2017-02-19 16:12:54.145205 WingWarpMac[7030:123279] #63
> 0x1018a2f03 in event_forward_func (libgstreamer-1.0.0.dylib+0x4cf03)
> 2017-02-19 16:12:54.145224 WingWarpMac[7030:123279] #64
> 0x1018a2c76 in gst_pad_forward (libgstreamer-1.0.0.dylib+0x4cc76)
> 2017-02-19 16:12:54.145241 WingWarpMac[7030:123279] #65
> 0x1018a2e2a in gst_pad_event_default (libgstreamer-1.0.0.dylib+0x4ce2a)
> 2017-02-19 16:12:54.145258 WingWarpMac[7030:123279] #66
> 0x1018a9002 in gst_pad_send_event_unchecked
> (libgstreamer-1.0.0.dylib+0x53002)
> 2017-02-19 16:12:54.145275 WingWarpMac[7030:123279] #67
> 0x1018a84bf in gst_pad_push_event_unchecked
> (libgstreamer-1.0.0.dylib+0x524bf)
> 2017-02-19 16:12:54.145332 WingWarpMac[7030:123279] #68
> 0x1018ab2d9 in push_sticky (libgstreamer-1.0.0.dylib+0x552d9)
> 2017-02-19 16:12:54.145364 WingWarpMac[7030:123279] #69
> 0x1018a3e95 in events_foreach (libgstreamer-1.0.0.dylib+0x4de95)
> 2017-02-19 16:12:54.145381 WingWarpMac[7030:123279] #70
> 0x1018a4cba in check_sticky (libgstreamer-1.0.0.dylib+0x4ecba)
> 2017-02-19 16:12:54.145398 WingWarpMac[7030:123279] #71
> 0x1018a7ed7 in gst_pad_push_event (libgstreamer-1.0.0.dylib+0x51ed7)
> 2017-02-19 16:12:54.145414 WingWarpMac[7030:123279] #72
> 0x1018a2f03 in event_forward_func (libgstreamer-1.0.0.dylib+0x4cf03)
> 2017-02-19 16:12:54.145432 WingWarpMac[7030:123279] #73
> 0x1018a2c76 in gst_pad_forward (libgstreamer-1.0.0.dylib+0x4cc76)
> 2017-02-19 16:12:54.145449 WingWarpMac[7030:123279] #74
> 0x1018a2e2a in gst_pad_event_default (libgstreamer-1.0.0.dylib+0x4ce2a)
> 2017-02-19 16:12:54.145500 WingWarpMac[7030:123279] #75
> 0x1018a9002 in gst_pad_send_event_unchecked
> (libgstreamer-1.0.0.dylib+0x53002)
> 2017-02-19 16:12:54.145529 WingWarpMac[7030:123279] #76
> 0x1018a84bf in gst_pad_push_event_unchecked
> (libgstreamer-1.0.0.dylib+0x524bf)
> 2017-02-19 16:12:54.145546 WingWarpMac[7030:123279] #77
> 0x1018ab2d9 in push_sticky (libgstreamer-1.0.0.dylib+0x552d9)
> 2017-02-19 16:12:54.145562 WingWarpMac[7030:123279] #78
> 0x1018a3e95 in events_foreach (libgstreamer-1.0.0.dylib+0x4de95)
> 2017-02-19 16:12:54.145581 WingWarpMac[7030:123279] #79
> 0x1018a4cba in check_sticky (libgstreamer-1.0.0.dylib+0x4ecba)
> 2017-02-19 16:12:54.145597 WingWarpMac[7030:123279] #80
> 0x1018a7ed7 in gst_pad_push_event (libgstreamer-1.0.0.dylib+0x51ed7)
> 2017-02-19 16:12:54.145613 WingWarpMac[7030:123279] #81
> 0x109501aca in pop_and_push_next (libgstrtpmanager.so+0x1baca)
> 2017-02-19 16:12:54.145651 WingWarpMac[7030:123279] #82
> 0x109500f4b in gst_rtp_jitter_buffer_loop (libgstrtpmanager.so+0x1af4b)
> 2017-02-19 16:12:54.145727 WingWarpMac[7030:123279] #83
> 0x1018d6152 in gst_task_func (libgstreamer-1.0.0.dylib+0x80152)
> 2017-02-19 16:12:54.145754 WingWarpMac[7030:123279] #84
> 0x1016f84a1 in g_thread_pool_thread_proxy (libglib-2.0.0.dylib+0x5f4a1)
> 2017-02-19 16:12:54.145799 WingWarpMac[7030:123279] #85
> 0x1016f7519 in g_thread_proxy (libglib-2.0.0.dylib+0x5e519)
> 2017-02-19 16:12:54.145821 WingWarpMac[7030:123279] #86
> 0x1022e1c4f in _pthread_body (libsystem_pthread.dylib+0x3c4f)
> 2017-02-19 16:12:54.145841 WingWarpMac[7030:123279] #87
> 0x1022e1b9b in _pthread_start (libsystem_pthread.dylib+0x3b9b)
> 2017-02-19 16:12:54.145857 WingWarpMac[7030:123279] #88
> 0x1022e1384 in thread_start (libsystem_pthread.dylib+0x3384)
> 2017-02-19 16:12:54.145883 WingWarpMac[7030:123279]
> 2017-02-19 16:12:54.145904 WingWarpMac[7030:123279] 0x60400007e690 is
> located 0 bytes inside of 48-byte region [0x60400007e690,0x60400007e6c0)
> 2017-02-19 16:12:54.145921 WingWarpMac[7030:123279] freed by thread
> T48 here:
> 2017-02-19 16:12:54.145937 WingWarpMac[7030:123279] #0 0x100521db9
> in wrap_free (libclang_rt.asan_osx_dynamic.dylib+0x4adb9)
> 2017-02-19 16:12:54.145961 WingWarpMac[7030:123279] #1 0x1022e3703
> in _pthread_tsd_cleanup (libsystem_pthread.dylib+0x5703)
> 2017-02-19 16:12:54.145984 WingWarpMac[7030:123279] #2 0x1022e3487
> in _pthread_exit (libsystem_pthread.dylib+0x5487)
> 2017-02-19 16:12:54.146033 WingWarpMac[7030:123279] #3 0x1022e1954
> in _pthread_wqthread (libsystem_pthread.dylib+0x3954)
> 2017-02-19 16:12:54.146075 WingWarpMac[7030:123279] #4 0x1022e1374
> in start_wqthread (libsystem_pthread.dylib+0x3374)
> 2017-02-19 16:12:54.146102 WingWarpMac[7030:123279]
> 2017-02-19 16:12:54.146125 WingWarpMac[7030:123279] previously
> allocated by thread T48 here:
> 2017-02-19 16:12:54.146178 WingWarpMac[7030:123279] #0 0x100521bf0
> in wrap_malloc (libclang_rt.asan_osx_dynamic.dylib+0x4abf0)
> 2017-02-19 16:12:54.146216 WingWarpMac[7030:123279] #1 0x1016d6847
> in g_malloc (libglib-2.0.0.dylib+0x3d847)
> 2017-02-19 16:12:54.146238 WingWarpMac[7030:123279] #2 0x1016eb9c7
> in g_slice_alloc (libglib-2.0.0.dylib+0x529c7)
> 2017-02-19 16:12:54.146256 WingWarpMac[7030:123279] #3 0x1016ec42e
> in g_slice_alloc0 (libglib-2.0.0.dylib+0x5342e)
> 2017-02-19 16:12:54.146270 WingWarpMac[7030:123279] #4 0x1016f7833
> in g_thread_self (libglib-2.0.0.dylib+0x5e833)
> 2017-02-19 16:12:54.146285 WingWarpMac[7030:123279] #5 0x119c4d723
> in gst_gl_context_activate (libgstgl-1.0.0.dylib+0x7723)
> 2017-02-19 16:12:54.146312 WingWarpMac[7030:123279] #6 0x119c74266
> in __gst_gl_window_cocoa_send_message_async_block_invoke
> (libgstgl-1.0.0.dylib+0x2e266)
> 2017-02-19 16:12:54.146374 WingWarpMac[7030:123279] #7 0x100520e73
> in __wrap_dispatch_async_block_invoke
> (libclang_rt.asan_osx_dynamic.dylib+0x49e73)
> 2017-02-19 16:12:54.146395 WingWarpMac[7030:123279] #8 0x1022736e4
> in _dispatch_call_block_and_release (libdispatch.dylib+0xb6e4)
> 2017-02-19 16:12:54.146410 WingWarpMac[7030:123279] #9 0x102269f5b
> in _dispatch_client_callout (libdispatch.dylib+0x1f5b)
> 2017-02-19 16:12:54.146427 WingWarpMac[7030:123279] #10
> 0x102281a58 in _dispatch_queue_serial_drain (libdispatch.dylib+0x19a58)
> 2017-02-19 16:12:54.146443 WingWarpMac[7030:123279] #11
> 0x102273488 in _dispatch_queue_invoke (libdispatch.dylib+0xb488)
> 2017-02-19 16:12:54.146461 WingWarpMac[7030:123279] #12
> 0x10226c1d6 in _dispatch_root_queue_drain (libdispatch.dylib+0x41d6)
> 2017-02-19 16:12:54.146488 WingWarpMac[7030:123279] #13
> 0x10226bee7 in _dispatch_worker_thread3 (libdispatch.dylib+0x3ee7)
> 2017-02-19 16:12:54.146538 WingWarpMac[7030:123279] #14
> 0x1022e1899 in _pthread_wqthread (libsystem_pthread.dylib+0x3899)
> 2017-02-19 16:12:54.146558 WingWarpMac[7030:123279] #15
> 0x1022e1374 in start_wqthread (libsystem_pthread.dylib+0x3374)
> 2017-02-19 16:12:54.146576 WingWarpMac[7030:123279]
> 2017-02-19 16:12:54.146590 WingWarpMac[7030:123279] Thread T38 created
> by T31 here:
> 2017-02-19 16:12:54.146607 WingWarpMac[7030:123279] #0 0x100518379
> in wrap_pthread_create (libclang_rt.asan_osx_dynamic.dylib+0x41379)
> 2017-02-19 16:12:54.146672 WingWarpMac[7030:123279] #1 0x101718fc3
> in g_system_thread_new (libglib-2.0.0.dylib+0x7ffc3)
> 2017-02-19 16:12:54.146703 WingWarpMac[7030:123279] #2 0x1016f7728
> in g_thread_try_new (libglib-2.0.0.dylib+0x5e728)
> 2017-02-19 16:12:54.146721 WingWarpMac[7030:123279] #3 0x1016f7b3f
> in g_thread_pool_start_thread (libglib-2.0.0.dylib+0x5eb3f)
> 2017-02-19 16:12:54.146739 WingWarpMac[7030:123279] #4 0x1016f7bda
> in g_thread_pool_push (libglib-2.0.0.dylib+0x5ebda)
> 2017-02-19 16:12:54.146754 WingWarpMac[7030:123279] #5 0x1018d685d
> in default_push (libgstreamer-1.0.0.dylib+0x8085d)
> 2017-02-19 16:12:54.146780 WingWarpMac[7030:123279] #6 0x1018d5ba0
> in gst_task_set_state (libgstreamer-1.0.0.dylib+0x7fba0)
> 2017-02-19 16:12:54.146835 WingWarpMac[7030:123279] #7 0x1018a9c8d
> in gst_pad_start_task (libgstreamer-1.0.0.dylib+0x53c8d)
> 2017-02-19 16:12:54.146860 WingWarpMac[7030:123279] #8 0x10189e5b2
> in activate_mode_internal (libgstreamer-1.0.0.dylib+0x485b2)
> 2017-02-19 16:12:54.146880 WingWarpMac[7030:123279] #9 0x10189df32
> in gst_pad_set_active (libgstreamer-1.0.0.dylib+0x47f32)
> 2017-02-19 16:12:54.146932 WingWarpMac[7030:123279] #10
> 0x10188a9e2 in activate_pads (libgstreamer-1.0.0.dylib+0x349e2)
> 2017-02-19 16:12:54.146976 WingWarpMac[7030:123279] #11
> 0x10189619c in gst_iterator_fold (libgstreamer-1.0.0.dylib+0x4019c)
> 2017-02-19 16:12:54.147023 WingWarpMac[7030:123279] #12
> 0x10188a995 in iterator_activate_fold_with_resync
> (libgstreamer-1.0.0.dylib+0x34995)
> 2017-02-19 16:12:54.147097 WingWarpMac[7030:123279] #13
> 0x10188a769 in gst_element_pads_activate
> (libgstreamer-1.0.0.dylib+0x34769)
> 2017-02-19 16:12:54.147126 WingWarpMac[7030:123279] #14
> 0x10188970e in gst_element_change_state_func
> (libgstreamer-1.0.0.dylib+0x3370e)
> 2017-02-19 16:12:54.147145 WingWarpMac[7030:123279] #15
> 0x1094f6c2e in gst_rtp_jitter_buffer_change_state
> (libgstrtpmanager.so+0x10c2e)
> 2017-02-19 16:12:54.147160 WingWarpMac[7030:123279] #16
> 0x101888291 in gst_element_change_state
> (libgstreamer-1.0.0.dylib+0x32291)
> 2017-02-19 16:12:54.147176 WingWarpMac[7030:123279] #17
> 0x10188848b in gst_element_change_state
> (libgstreamer-1.0.0.dylib+0x3248b)
> 2017-02-19 16:12:54.147193 WingWarpMac[7030:123279] #18
> 0x1018899c8 in gst_element_set_state_func
> (libgstreamer-1.0.0.dylib+0x339c8)
> 2017-02-19 16:12:54.147246 WingWarpMac[7030:123279] #19
> 0x1094f000e in new_ssrc_pad_found (libgstrtpmanager.so+0xa00e)
> 2017-02-19 16:12:54.147300 WingWarpMac[7030:123279] #20
> 0x10236a883 in ffi_call_unix64 (libffi.6.dylib+0x5883)
> 2017-02-19 16:12:54.147337 WingWarpMac[7030:123279] #21
> 0x70000d5cef0f (<unknown module>)
> 2017-02-19 16:12:54.147379 WingWarpMac[7030:123279]
> 2017-02-19 16:12:54.147427 WingWarpMac[7030:123279] Thread T31 created
> by T23 here:
> 2017-02-19 16:12:54.147455 WingWarpMac[7030:123279] #0 0x100518379
> in wrap_pthread_create (libclang_rt.asan_osx_dynamic.dylib+0x41379)
> 2017-02-19 16:12:54.147485 WingWarpMac[7030:123279] #1 0x101718fc3
> in g_system_thread_new (libglib-2.0.0.dylib+0x7ffc3)
> 2017-02-19 16:12:54.147541 WingWarpMac[7030:123279] #2 0x1016f7728
> in g_thread_try_new (libglib-2.0.0.dylib+0x5e728)
> 2017-02-19 16:12:54.147562 WingWarpMac[7030:123279] #3 0x1016f7b3f
> in g_thread_pool_start_thread (libglib-2.0.0.dylib+0x5eb3f)
> 2017-02-19 16:12:54.147583 WingWarpMac[7030:123279] #4 0x1016f7bda
> in g_thread_pool_push (libglib-2.0.0.dylib+0x5ebda)
> 2017-02-19 16:12:54.147600 WingWarpMac[7030:123279] #5 0x1018d685d
> in default_push (libgstreamer-1.0.0.dylib+0x8085d)
> 2017-02-19 16:12:54.147616 WingWarpMac[7030:123279] #6 0x1018d5ba0
> in gst_task_set_state (libgstreamer-1.0.0.dylib+0x7fba0)
> 2017-02-19 16:12:54.147655 WingWarpMac[7030:123279] #7 0x1018a9c8d
> in gst_pad_start_task (libgstreamer-1.0.0.dylib+0x53c8d)
> 2017-02-19 16:12:54.147694 WingWarpMac[7030:123279] #8 0x1023178f3
> in gst_base_src_perform_seek (libgstbase-1.0.0.dylib+0x238f3)
> 2017-02-19 16:12:54.147715 WingWarpMac[7030:123279] #9 0x102316f73
> in gst_base_src_start_complete (libgstbase-1.0.0.dylib+0x22f73)
> 2017-02-19 16:12:54.147732 WingWarpMac[7030:123279] #10
> 0x10231da79 in gst_base_src_start (libgstbase-1.0.0.dylib+0x29a79)
> 2017-02-19 16:12:54.147749 WingWarpMac[7030:123279] #11
> 0x10231a6cd in gst_base_src_activate_mode
> (libgstbase-1.0.0.dylib+0x266cd)
> 2017-02-19 16:12:54.147765 WingWarpMac[7030:123279] #12
> 0x10189e5b2 in activate_mode_internal (libgstreamer-1.0.0.dylib+0x485b2)
> 2017-02-19 16:12:54.147781 WingWarpMac[7030:123279] #13
> 0x10189df32 in gst_pad_set_active (libgstreamer-1.0.0.dylib+0x47f32)
> 2017-02-19 16:12:54.147837 WingWarpMac[7030:123279] #14
> 0x10188a9e2 in activate_pads (libgstreamer-1.0.0.dylib+0x349e2)
> 2017-02-19 16:12:54.147874 WingWarpMac[7030:123279] #15
> 0x10189619c in gst_iterator_fold (libgstreamer-1.0.0.dylib+0x4019c)
> 2017-02-19 16:12:54.147893 WingWarpMac[7030:123279] #16
> 0x10188a995 in iterator_activate_fold_with_resync
> (libgstreamer-1.0.0.dylib+0x34995)
> 2017-02-19 16:12:54.147909 WingWarpMac[7030:123279] #17
> 0x10188a769 in gst_element_pads_activate
> (libgstreamer-1.0.0.dylib+0x34769)
> 2017-02-19 16:12:54.147934 WingWarpMac[7030:123279] #18
> 0x10188970e in gst_element_change_state_func
> (libgstreamer-1.0.0.dylib+0x3370e)
> 2017-02-19 16:12:54.147998 WingWarpMac[7030:123279] #19
> 0x102318278 in gst_base_src_change_state (libgstbase-1.0.0.dylib+0x24278)
> 2017-02-19 16:12:54.148045 WingWarpMac[7030:123279] #20
> 0x11bb13504 in gst_udpsrc_change_state (libgstudp.so+0x6504)
> 2017-02-19 16:12:54.148105 WingWarpMac[7030:123279] #21
> 0x101888291 in gst_element_change_state
> (libgstreamer-1.0.0.dylib+0x32291)
> 2017-02-19 16:12:54.148131 WingWarpMac[7030:123279] #22
> 0x1018899c8 in gst_element_set_state_func
> (libgstreamer-1.0.0.dylib+0x339c8)
> 2017-02-19 16:12:54.148147 WingWarpMac[7030:123279] #23
> 0x1195e01ee in gst_rtspsrc_play (libgstrtsp.so+0xd1ee)
> 2017-02-19 16:12:54.148163 WingWarpMac[7030:123279] #24
> 0x1195dbb1f in gst_rtspsrc_thread (libgstrtsp.so+0x8b1f)
> 2017-02-19 16:12:54.148182 WingWarpMac[7030:123279] #25
> 0x1018d6152 in gst_task_func (libgstreamer-1.0.0.dylib+0x80152)
> 2017-02-19 16:12:54.148199 WingWarpMac[7030:123279] #26
> 0x1016f84a1 in g_thread_pool_thread_proxy (libglib-2.0.0.dylib+0x5f4a1)
> 2017-02-19 16:12:54.148265 WingWarpMac[7030:123279] #27
> 0x1016f7519 in g_thread_proxy (libglib-2.0.0.dylib+0x5e519)
> 2017-02-19 16:12:54.148308 WingWarpMac[7030:123279] #28
> 0x1022e1c4f in _pthread_body (libsystem_pthread.dylib+0x3c4f)
> 2017-02-19 16:12:54.148411 WingWarpMac[7030:123279] #29
> 0x1022e1b9b in _pthread_start (libsystem_pthread.dylib+0x3b9b)
> 2017-02-19 16:12:54.148473 WingWarpMac[7030:123279] #30
> 0x1022e1384 in thread_start (libsystem_pthread.dylib+0x3384)
> 2017-02-19 16:12:54.148509 WingWarpMac[7030:123279]
> 2017-02-19 16:12:54.148575 WingWarpMac[7030:123279] Thread T23 created
> by T19 here:
> 2017-02-19 16:12:54.148632 WingWarpMac[7030:123279] #0 0x100518379
> in wrap_pthread_create (libclang_rt.asan_osx_dynamic.dylib+0x41379)
> 2017-02-19 16:12:54.148694 WingWarpMac[7030:123279] #1 0x101718fc3
> in g_system_thread_new (libglib-2.0.0.dylib+0x7ffc3)
> 2017-02-19 16:12:54.148744 WingWarpMac[7030:123279] #2 0x1016f7728
> in g_thread_try_new (libglib-2.0.0.dylib+0x5e728)
> 2017-02-19 16:12:54.148771 WingWarpMac[7030:123279] #3 0x1016f7b3f
> in g_thread_pool_start_thread (libglib-2.0.0.dylib+0x5eb3f)
> 2017-02-19 16:12:54.148789 WingWarpMac[7030:123279] #4 0x1016f7bda
> in g_thread_pool_push (libglib-2.0.0.dylib+0x5ebda)
> 2017-02-19 16:12:54.148806 WingWarpMac[7030:123279] #5 0x1018d685d
> in default_push (libgstreamer-1.0.0.dylib+0x8085d)
> 2017-02-19 16:12:54.148839 WingWarpMac[7030:123279] #6 0x1018d5ba0
> in gst_task_set_state (libgstreamer-1.0.0.dylib+0x7fba0)
> 2017-02-19 16:12:54.148857 WingWarpMac[7030:123279] #7 0x1195dade2
> in gst_rtspsrc_loop_send_cmd (libgstrtsp.so+0x7de2)
> 2017-02-19 16:12:54.148876 WingWarpMac[7030:123279] #8 0x1195da231
> in gst_rtspsrc_change_state (libgstrtsp.so+0x7231)
> 2017-02-19 16:12:54.148890 WingWarpMac[7030:123279] #9 0x101888291
> in gst_element_change_state (libgstreamer-1.0.0.dylib+0x32291)
> 2017-02-19 16:12:54.148906 WingWarpMac[7030:123279] #10
> 0x1018899c8 in gst_element_set_state_func
> (libgstreamer-1.0.0.dylib+0x339c8)
> 2017-02-19 16:12:54.148923 WingWarpMac[7030:123279] #11
> 0x1018613fb in gst_bin_change_state_func
> (libgstreamer-1.0.0.dylib+0xb3fb)
> 2017-02-19 16:12:54.148979 WingWarpMac[7030:123279] #12
> 0x101888291 in gst_element_change_state
> (libgstreamer-1.0.0.dylib+0x32291)
> 2017-02-19 16:12:54.149002 WingWarpMac[7030:123279] #13
> 0x1018899c8 in gst_element_set_state_func
> (libgstreamer-1.0.0.dylib+0x339c8)
> 2017-02-19 16:12:54.149019 WingWarpMac[7030:123279] #14
> 0x1001523a9 in -[GStreamerBackend play:] GStreamerBackend.m:246
> 2017-02-19 16:12:54.149037 WingWarpMac[7030:123279] #15
> 0x10015104d in state_changed_cb GStreamerBackend.m:429
> 2017-02-19 16:12:54.149053 WingWarpMac[7030:123279] #16
> 0x101804fe7 in g_cclosure_marshal_VOID__BOXEDv
> (libgobject-2.0.0.dylib+0xafe7)
> 2017-02-19 16:12:54.149071 WingWarpMac[7030:123279] #17
> 0x101801c28 in _g_closure_invoke_va (libgobject-2.0.0.dylib+0x7c28)
> 2017-02-19 16:12:54.149088 WingWarpMac[7030:123279] #18
> 0x10181768d in g_signal_emit_valist (libgobject-2.0.0.dylib+0x1d68d)
> 2017-02-19 16:12:54.149129 WingWarpMac[7030:123279] #19
> 0x1018180a5 in g_signal_emit (libgobject-2.0.0.dylib+0x1e0a5)
> 2017-02-19 16:12:54.149187 WingWarpMac[7030:123279] #20
> 0x101870c57 in gst_bus_async_signal_func
> (libgstreamer-1.0.0.dylib+0x1ac57)
> 2017-02-19 16:12:54.149248 WingWarpMac[7030:123279] #21
> 0x101871145 in gst_bus_source_dispatch (libgstreamer-1.0.0.dylib+0x1b145)
> 2017-02-19 16:12:54.149288 WingWarpMac[7030:123279] #22
> 0x1016cfa1f in g_main_context_dispatch (libglib-2.0.0.dylib+0x36a1f)
> 2017-02-19 16:12:54.149310 WingWarpMac[7030:123279] #23
> 0x1016cfd43 in g_main_context_iterate (libglib-2.0.0.dylib+0x36d43)
> 2017-02-19 16:12:54.149330 WingWarpMac[7030:123279] #24
> 0x1016d006e in g_main_loop_run (libglib-2.0.0.dylib+0x3706e)
> 2017-02-19 16:12:54.149347 WingWarpMac[7030:123279] #25
> 0x100154ab5 in -[GStreamerBackend runApp] GStreamerBackend.m:606
> 2017-02-19 16:12:54.149409 WingWarpMac[7030:123279] #26
> 0x1001519bd in thread_func GStreamerBackend.m:672
> 2017-02-19 16:12:54.149436 WingWarpMac[7030:123279] #27
> 0x1016f7519 in g_thread_proxy (libglib-2.0.0.dylib+0x5e519)
> 2017-02-19 16:12:54.149454 WingWarpMac[7030:123279] #28
> 0x1022e1c4f in _pthread_body (libsystem_pthread.dylib+0x3c4f)
> 2017-02-19 16:12:54.149473 WingWarpMac[7030:123279] #29
> 0x1022e1b9b in _pthread_start (libsystem_pthread.dylib+0x3b9b)
> 2017-02-19 16:12:54.149488 WingWarpMac[7030:123279] #30
> 0x1022e1384 in thread_start (libsystem_pthread.dylib+0x3384)
> 2017-02-19 16:12:54.149504 WingWarpMac[7030:123279]
> 2017-02-19 16:12:54.149555 WingWarpMac[7030:123279] Thread T19 created
> by T0 here:
> 2017-02-19 16:12:54.149576 WingWarpMac[7030:123279] #0 0x100518379
> in wrap_pthread_create (libclang_rt.asan_osx_dynamic.dylib+0x41379)
> 2017-02-19 16:12:54.149592 WingWarpMac[7030:123279] #1 0x101718fc3
> in g_system_thread_new (libglib-2.0.0.dylib+0x7ffc3)
> 2017-02-19 16:12:54.149608 WingWarpMac[7030:123279] #2 0x1016f7596
> in g_thread_new (libglib-2.0.0.dylib+0x5e596)
> 2017-02-19 16:12:54.149624 WingWarpMac[7030:123279] #3 0x10014f900
> in -[GStreamerBackend start:] GStreamerBackend.m:215
> 2017-02-19 16:12:54.149641 WingWarpMac[7030:123279] #4 0x10007d22a
> in -[CameraWindowController windowDidLoad] CameraWindowController.m:47
> 2017-02-19 16:12:54.149657 WingWarpMac[7030:123279] #5
> 0x7fffb006d7ff in -[NSWindowController _windowDidLoad] (AppKit+0xb77ff)
> 2017-02-19 16:12:54.149695 WingWarpMac[7030:123279] #6
> 0x7fffb000d862 in -[NSWindowController window] (AppKit+0x57862)
> 2017-02-19 16:12:54.149749 WingWarpMac[7030:123279] #7
> 0x7fffb01e930b in -[NSWindowController showWindow:] (AppKit+0x23330b)
> 2017-02-19 16:12:54.149773 WingWarpMac[7030:123279] #8 0x1001b401d
> in -[AppDelegate selectCamera:] AppDelegate.m:693
> 2017-02-19 16:12:54.149789 WingWarpMac[7030:123279] #9
> 0x7fffc7c55c3c in _os_activity_initiate (libsystem_trace.dylib+0x5c3c)
> 2017-02-19 16:12:54.149811 WingWarpMac[7030:123279] #10
> 0x7fffb0779c9b in -[NSApplication(NSResponder) sendAction:to:from:]
> (AppKit+0x7c3c9b)
> 2017-02-19 16:12:54.149827 WingWarpMac[7030:123279] #11
> 0x7fffb024de05 in -[NSMenuItem _corePerformAction] (AppKit+0x297e05)
> 2017-02-19 16:12:54.149846 WingWarpMac[7030:123279] #12
> 0x7fffb024db71 in -[NSCarbonMenuImpl
> performActionWithHighlightingForItemAtIndex:] (AppKit+0x297b71)
> 2017-02-19 16:12:54.149905 WingWarpMac[7030:123279] #13
> 0x7fffc7c55c3c in _os_activity_initiate (libsystem_trace.dylib+0x5c3c)
> 2017-02-19 16:12:54.149933 WingWarpMac[7030:123279] #14
> 0x7fffb02d70f0 in -[NSMenu performActionForItemAtIndex:]
> (AppKit+0x3210f0)
> 2017-02-19 16:12:54.149949 WingWarpMac[7030:123279] #15
> 0x7fffb02d7067 in -[NSMenu _internalPerformActionForItemAtIndex:]
> (AppKit+0x321067)
> 2017-02-19 16:12:54.149968 WingWarpMac[7030:123279] #16
> 0x7fffb02d6e94 in -[NSCarbonMenuImpl
> _carbonCommandProcessEvent:handlerCallRef:] (AppKit+0x320e94)
> 2017-02-19 16:12:54.149985 WingWarpMac[7030:123279] #17
> 0x7fffb018e0ff in NSSLMMenuEventHandler (AppKit+0x1d80ff)
> 2017-02-19 16:12:54.150021 WingWarpMac[7030:123279] #18
> 0x7fffb1a2fb14 in DispatchEventToHandlers(EventTargetRec*,
> OpaqueEventRef*, HandlerCallRec*) (HIToolbox+0x8b14)
> 2017-02-19 16:12:54.150080 WingWarpMac[7030:123279] #19
> 0x7fffb1a2ed85 in SendEventToEventTargetInternal(OpaqueEventRef*,
> OpaqueEventTargetRef*, HandlerCallRec*) (HIToolbox+0x7d85)
> 2017-02-19 16:12:54.150111 WingWarpMac[7030:123279] #20
> 0x7fffb1a448b3 in SendEventToEventTarget (HIToolbox+0x1d8b3)
> 2017-02-19 16:12:54.150177 WingWarpMac[7030:123279] #21
> 0x7fffb1a90d35 in SendHICommandEvent(unsigned int, HICommand const*,
> unsigned int, unsigned int, unsigned char, void const*,
> OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**)
> (HIToolbox+0x69d35)
> 2017-02-19 16:12:54.150220 WingWarpMac[7030:123279] #22
> 0x7fffb1abc34a in SendMenuCommandWithContextAndModifiers
> (HIToolbox+0x9534a)
> 2017-02-19 16:12:54.150254 WingWarpMac[7030:123279] #23
> 0x7fffb1abc2f9 in SendMenuItemSelectedEvent (HIToolbox+0x952f9)
> 2017-02-19 16:12:54.150275 WingWarpMac[7030:123279] #24
> 0x7fffb1abc1cc in FinishMenuSelection(SelectionData*, MenuResult*,
> MenuResult*) (HIToolbox+0x951cc)
> 2017-02-19 16:12:54.150296 WingWarpMac[7030:123279] #25
> 0x7fffb1abcc06 in MenuSelectCore(MenuData*, Point, double, unsigned
> int, OpaqueMenuRef**, unsigned short*) (HIToolbox+0x95c06)
> 2017-02-19 16:12:54.150333 WingWarpMac[7030:123279] #26
> 0x7fffb1abc8b5 in _HandleMenuSelection2 (HIToolbox+0x958b5)
> 2017-02-19 16:12:54.150377 WingWarpMac[7030:123279] #27
> 0x7fffb017dec9 in _NSHandleCarbonMenuEvent (AppKit+0x1c7ec9)
> 2017-02-19 16:12:54.150395 WingWarpMac[7030:123279] #28
> 0x7fffb03f7dbd in _DPSEventHandledByCarbon (AppKit+0x441dbd)
> 2017-02-19 16:12:54.150418 WingWarpMac[7030:123279] #29
> 0x7fffb0777641 in -[NSApplication(NSEvent)
> _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (AppKit+0x7c1641)
> 2017-02-19 16:12:54.150439 WingWarpMac[7030:123279] #30
> 0x7fffafff1f34 in -[NSApplication run] (AppKit+0x3bf34)
> 2017-02-19 16:12:54.150458 WingWarpMac[7030:123279] #31
> 0x7fffaffbc84f in NSApplicationMain (AppKit+0x684f)
> 2017-02-19 16:12:54.150517 WingWarpMac[7030:123279] #32
> 0x100156b01 in main main.m:12
> 2017-02-19 16:12:54.150552 WingWarpMac[7030:123279] #33
> 0x7fffc7a23254 in start (libdyld.dylib+0x5254)
> 2017-02-19 16:12:54.150570 WingWarpMac[7030:123279]
> 2017-02-19 16:12:54.150589 WingWarpMac[7030:123279] Thread T48 created
> by T6 here:
> 2017-02-19 16:12:54.150605 WingWarpMac[7030:123279] <empty stack>
> 2017-02-19 16:12:54.150660 WingWarpMac[7030:123279]
> 2017-02-19 16:12:54.150690 WingWarpMac[7030:123279] Thread T6 created
> by T4 here:
> 2017-02-19 16:12:54.150709 WingWarpMac[7030:123279] #0 0x100518379
> in wrap_pthread_create (libclang_rt.asan_osx_dynamic.dylib+0x41379)
> 2017-02-19 16:12:54.150730 WingWarpMac[7030:123279] #1
> 0x7fffb3ef075a in -[NSThread start] (Foundation+0x3275a)
> 2017-02-19 16:12:54.150793 WingWarpMac[7030:123279] #2
> 0x7fffb163b4f4 in __48+[NSURLConnection(Loader)
> resourceLoaderRunLoop]_block_invoke (CFNetwork+0x64f4)
> 2017-02-19 16:12:54.150813 WingWarpMac[7030:123279] #3 0x102269f5b
> in _dispatch_client_callout (libdispatch.dylib+0x1f5b)
> 2017-02-19 16:12:54.150829 WingWarpMac[7030:123279] #4 0x102269f3b
> in dispatch_once_f (libdispatch.dylib+0x1f3b)
> 2017-02-19 16:12:54.150847 WingWarpMac[7030:123279] #5
> 0x7fffb163b3f8 in +[NSURLConnection(Loader) resourceLoaderRunLoop]
> (CFNetwork+0x63f8)
> 2017-02-19 16:12:54.150863 WingWarpMac[7030:123279] #6
> 0x7fffb165c68e in ___ZL22_coreSchedulingSet_RLMv_block_invoke
> (CFNetwork+0x2768e)
> 2017-02-19 16:12:54.150879 WingWarpMac[7030:123279] #7 0x102269f5b
> in _dispatch_client_callout (libdispatch.dylib+0x1f5b)
> 2017-02-19 16:12:54.150909 WingWarpMac[7030:123279] #8 0x102269f3b
> in dispatch_once_f (libdispatch.dylib+0x1f3b)
> 2017-02-19 16:12:54.150983 WingWarpMac[7030:123279] #9
> 0x7fffb165c630 in _coreSchedulingSet_RLM() (CFNetwork+0x27630)
> 2017-02-19 16:12:54.151007 WingWarpMac[7030:123279] #10
> 0x7fffb165c792 in
> ___ZN17CoreSchedulingSet23copyRunloopEmulationSetEv_block_invoke
> (CFNetwork+0x27792)
> 2017-02-19 16:12:54.151025 WingWarpMac[7030:123279] #11
> 0x102269f5b in _dispatch_client_callout (libdispatch.dylib+0x1f5b)
> 2017-02-19 16:12:54.151042 WingWarpMac[7030:123279] #12
> 0x102269f3b in dispatch_once_f (libdispatch.dylib+0x1f3b)
> 2017-02-19 16:12:54.151059 WingWarpMac[7030:123279] #13
> 0x7fffb165c77e in CoreSchedulingSet::copyRunloopEmulationSet()
> (CFNetwork+0x2777e)
> 2017-02-19 16:12:54.151141 WingWarpMac[7030:123279] #14
> 0x7fffb1660c50 in
> URLConnectionLoader::_private_ScheduleOriginLoad(NSURLRequest const*,
> _CFCachedURLResponse const*) (CFNetwork+0x2bc50)
> 2017-02-19 16:12:54.151194 WingWarpMac[7030:123279] #15
> 0x7fffb1652ac5 in URLConnectionLoader::loadWithWhatToDo(NSURLRequest
> const*, _CFCachedURLResponse const*, long,
> URLConnectionLoader::WhatToDo) (CFNetwork+0x1dac5)
> 2017-02-19 16:12:54.151224 WingWarpMac[7030:123279] #16
> 0x7fffb16525da in
> ___ZN19URLConnectionLoader22_loaderEvent_StartLoadEPK16NSURLSessionTask_block_invoke_6
> (CFNetwork+0x1d5da)
> 2017-02-19 16:12:54.151246 WingWarpMac[7030:123279] #17
> 0x7fffb164caa2 in
> ___ZNK25URLConnectionInstanceData18withWorkQueueAsyncEU13block_pointerFvvE_block_invoke
> (CFNetwork+0x17aa2)
> 2017-02-19 16:12:54.151263 WingWarpMac[7030:123279] #18
> 0x100520e73 in __wrap_dispatch_async_block_invoke
> (libclang_rt.asan_osx_dynamic.dylib+0x49e73)
> 2017-02-19 16:12:54.151279 WingWarpMac[7030:123279] #19
> 0x1022736e4 in _dispatch_call_block_and_release
> (libdispatch.dylib+0xb6e4)
> 2017-02-19 16:12:54.151310 WingWarpMac[7030:123279] #20
> 0x102269f5b in _dispatch_client_callout (libdispatch.dylib+0x1f5b)
> 2017-02-19 16:12:54.151327 WingWarpMac[7030:123279] #21
> 0x102281a58 in _dispatch_queue_serial_drain (libdispatch.dylib+0x19a58)
> 2017-02-19 16:12:54.151345 WingWarpMac[7030:123279] #22
> 0x102273488 in _dispatch_queue_invoke (libdispatch.dylib+0xb488)
> 2017-02-19 16:12:54.151360 WingWarpMac[7030:123279] #23
> 0x10227a706 in _dispatch_queue_override_invoke
> (libdispatch.dylib+0x12706)
> 2017-02-19 16:12:54.151376 WingWarpMac[7030:123279] #24
> 0x10226c1d6 in _dispatch_root_queue_drain (libdispatch.dylib+0x41d6)
> 2017-02-19 16:12:54.151394 WingWarpMac[7030:123279] #25
> 0x10226bee7 in _dispatch_worker_thread3 (libdispatch.dylib+0x3ee7)
> 2017-02-19 16:12:54.151412 WingWarpMac[7030:123279] #26
> 0x1022e1899 in _pthread_wqthread (libsystem_pthread.dylib+0x3899)
> 2017-02-19 16:12:54.151508 WingWarpMac[7030:123279] #27
> 0x1022e1374 in start_wqthread (libsystem_pthread.dylib+0x3374)
> 2017-02-19 16:12:54.151532 WingWarpMac[7030:123279]
> 2017-02-19 16:12:54.151549 WingWarpMac[7030:123279] Thread T4 created
> by T0 here:
> 2017-02-19 16:12:54.151563 WingWarpMac[7030:123279] <empty stack>
> 2017-02-19 16:12:54.151577 WingWarpMac[7030:123279]
> 2017-02-19 16:12:54.151646 WingWarpMac[7030:123279] SUMMARY:
> AddressSanitizer: heap-use-after-free
> (libclang_rt.asan_osx_dynamic.dylib+0x3e992) in wrap_memset
> 2017-02-19 16:12:54.151672 WingWarpMac[7030:123279] Shadow bytes
> around the buggy address:
> 2017-02-19 16:12:54.151690 WingWarpMac[7030:123279] 0x1c080000fc80: fa
> fa fa fa fa fa fa fa fa fa 00 00 00 00 00 00
> 2017-02-19 16:12:54.151706 WingWarpMac[7030:123279] 0x1c080000fc90: fa
> fa 00 00 00 00 00 00 fa fa fa fa fa fa fa fa
> 2017-02-19 16:12:54.151733 WingWarpMac[7030:123279] 0x1c080000fca0: fa
> fa 00 00 00 00 00 00 fa fa fa fa fa fa fa fa
> 2017-02-19 16:12:54.151800 WingWarpMac[7030:123279] 0x1c080000fcb0: fa
> fa 00 00 00 00 00 00 fa fa 00 00 00 00 00 00
> 2017-02-19 16:12:54.151823 WingWarpMac[7030:123279] 0x1c080000fcc0: fa
> fa fa fa fa fa fa fa fa fa 00 00 00 00 00 00
> 2017-02-19 16:12:54.151843 WingWarpMac[7030:123279] =>0x1c080000fcd0:
> fa fa[fd]fd fd fd fd fd fa fa 00 00 00 00 00 00
> 2017-02-19 16:12:54.151861 WingWarpMac[7030:123279] 0x1c080000fce0: fa
> fa 00 00 00 00 00 00 fa fa fa fa fa fa fa fa
> 2017-02-19 16:12:54.151881 WingWarpMac[7030:123279] 0x1c080000fcf0: fa
> fa 00 00 00 00 00 00 fa fa fa fa fa fa fa fa
> 2017-02-19 16:12:54.151920 WingWarpMac[7030:123279] 0x1c080000fd00: fa
> fa 00 00 00 00 00 00 fa fa 00 00 00 00 00 00
> 2017-02-19 16:12:54.151969 WingWarpMac[7030:123279] 0x1c080000fd10: fa
> fa fa fa fa fa fa fa fa fa 00 00 00 00 00 00
> 2017-02-19 16:12:54.152005 WingWarpMac[7030:123279] 0x1c080000fd20: fa
> fa fa fa fa fa fa fa fa fa 00 00 00 00 00 00
> 2017-02-19 16:12:54.152021 WingWarpMac[7030:123279] Shadow byte legend
> (one shadow byte represents 8 application bytes):
> 2017-02-19 16:12:54.152037 WingWarpMac[7030:123279]
> Addressable: 00
> 2017-02-19 16:12:54.152092 WingWarpMac[7030:123279] Partially
> addressable: 01 02 03 04 05 06 07
> 2017-02-19 16:12:54.152131 WingWarpMac[7030:123279] Heap left
> redzone: fa
> 2017-02-19 16:12:54.152176 WingWarpMac[7030:123279] Heap right
> redzone: fb
> 2017-02-19 16:12:54.152195 WingWarpMac[7030:123279] Freed heap
> region: fd
> 2017-02-19 16:12:54.152212 WingWarpMac[7030:123279] Stack left
> redzone: f1
> 2017-02-19 16:12:54.152260 WingWarpMac[7030:123279] Stack mid
> redzone: f2
> 2017-02-19 16:12:54.152286 WingWarpMac[7030:123279] Stack right
> redzone: f3
> 2017-02-19 16:12:54.152302 WingWarpMac[7030:123279] Stack partial
> redzone: f4
> 2017-02-19 16:12:54.152322 WingWarpMac[7030:123279] Stack after
> return: f5
> 2017-02-19 16:12:54.152336 WingWarpMac[7030:123279] Stack use after
> scope: f8
> 2017-02-19 16:12:54.152354 WingWarpMac[7030:123279] Global
> redzone: f9
> 2017-02-19 16:12:54.152370 WingWarpMac[7030:123279] Global init
> order: f6
> 2017-02-19 16:12:54.152406 WingWarpMac[7030:123279] Poisoned by
> user: f7
> 2017-02-19 16:12:54.152443 WingWarpMac[7030:123279] Container
> overflow: fc
> 2017-02-19 16:12:54.152459 WingWarpMac[7030:123279] Array
> cookie: ac
> 2017-02-19 16:12:54.152474 WingWarpMac[7030:123279] Intra object
> redzone: bb
> 2017-02-19 16:12:54.152491 WingWarpMac[7030:123279] ASan
> internal: fe
> 2017-02-19 16:12:54.152507 WingWarpMac[7030:123279] Left alloca
> redzone: ca
> 2017-02-19 16:12:54.152565 WingWarpMac[7030:123279] Right alloca
> redzone: cb
> 2017-02-19 16:12:54.152596 WingWarpMac[7030:123279]
> ==7030==ABORTING
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 516 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170220/d5a15012/attachment-0001.sig>
More information about the gstreamer-devel
mailing list