playbin3 stuck while exiting

rland rlandjon at gmail.com
Tue Jun 19 07:44:39 UTC 2018


GstPlayer-based applications, occasionally stuck at gst_player_dispose when
exiting,
The stack information when exiting is as follows:

GStreamer version: git master

-------------------------------------
ABI: 'arm'

"source:src" sysTid=2311

#00 00018d88 /system/lib/libc.so 
#01 000475ff /system/lib/libc.so 
#02 014dc019 /system/lib/libgstreamer_android.so g_cond_wait                  
gthread-posix.c:765 (discriminator 2)
#03 013101c7 /system/lib/libgstreamer_android.so gst_queue2_create_write      
gstqueue2.c:1882 (discriminator 36)
#04 013112a5 /system/lib/libgstreamer_android.so gst_queue2_locked_enqueue    
gstqueue2.c:2195
#05 01311f29 /system/lib/libgstreamer_android.so
gst_queue2_chain_buffer_or_buffer_listgstqueue2.c:2781
#06 014394f9 /system/lib/libgstreamer_android.so
gst_pad_chain_data_unchecked  gstpad.c:4320
#07 0143a9d1 /system/lib/libgstreamer_android.so gst_pad_push_data            
gstpad.c:4576
#08 0143fd4b /system/lib/libgstreamer_android.so gst_pad_push                 
gstpad.c:4695
#09 014394f9 /system/lib/libgstreamer_android.so
gst_pad_chain_data_unchecked  gstpad.c:4320
#10 0143a9d1 /system/lib/libgstreamer_android.so gst_pad_push_data            
gstpad.c:4576
#11 0143fd4b /system/lib/libgstreamer_android.so gst_pad_push                 
gstpad.c:4695
#12 013f5437 /system/lib/libgstreamer_android.so gst_base_src_loop            
gstbasesrc.c:2957
#13 014603a1 /system/lib/libgstreamer_android.so gst_task_func                
gsttask.c:332
#14 014cb293 /system/lib/libgstreamer_android.so g_thread_pool_thread_proxy   
gthreadpool.c:307
#15 014cad15 /system/lib/libgstreamer_android.so g_thread_proxy               
gthread.c:784
#16 00047bef /system/lib/libc.so 
#17 0001af0d /system/lib/libc.so 


"app" sysTid=3461

#00 00018d88 /system/lib/libc.so 
#01 00047fc9 /system/lib/libc.so 
#02 014dc2d7 /system/lib/libgstreamer_android.so g_system_thread_wait         
gthread-posix.c:1212
#03 014cb071 /system/lib/libgstreamer_android.so g_thread_join                
gthread.c:952
#04 00013f09 /system/lib/libmmpadapter.so gst_player_dispose           
gstplayer.c:504
#05 01484c59 /system/lib/libgstreamer_android.so g_object_unref               
gobject.c:3293
#06 0001bc4f /system/lib/libmmpadapter.so gstplayer_uninit             
gst_wrapper.c:1223

"GstPlayer" sysTid=3463
#00 00018d88 /system/lib/libc.so 
#01 000475ff /system/lib/libc.so 
#02 014dc019 /system/lib/libgstreamer_android.so g_cond_wait                  
gthread-posix.c:765 (discriminator 2)
#03 01460d33 /system/lib/libgstreamer_android.so gst_task_join                
gsttask.c:829
#04 01437dcb /system/lib/libgstreamer_android.so gst_pad_finalize             
gstpad.c:745
#05 01484ccf /system/lib/libgstreamer_android.so g_object_unref               
gobject.c:3330
#06 0140849d /system/lib/libgstreamer_android.so gst_object_replace           
gstobject.c:343
#07 010daefb /system/lib/libgstreamer_android.so free_multiqueue_slot         
gstdecodebin3.c:2768
#08 010dd25b /system/lib/libgstreamer_android.so gst_decodebin3_change_state  
gstdecodebin3.c:2893
#09 0142850d /system/lib/libgstreamer_android.so gst_element_change_state     
gstelement.c:2952
#10 01428987 /system/lib/libgstreamer_android.so gst_element_set_state_func   
gstelement.c:2906
#11 01410701 /system/lib/libgstreamer_android.so gst_bin_element_set_state    
gstbin.c:2602
#12 010e544f /system/lib/libgstreamer_android.so
gst_uri_decode_bin3_change_stategsturidecodebin3.c:1052
#13 0142850d /system/lib/libgstreamer_android.so gst_element_change_state     
gstelement.c:2952
#14 01428987 /system/lib/libgstreamer_android.so gst_element_set_state_func   
gstelement.c:2906
#15 01410701 /system/lib/libgstreamer_android.so gst_bin_element_set_state    
gstbin.c:2602
#16 0144379f /system/lib/libgstreamer_android.so gst_pipeline_change_state    
gstpipeline.c:508
#17 010b9cc5 /system/lib/libgstreamer_android.so gst_play_bin3_change_state   
gstplaybin3.c:4922
#18 0142850d /system/lib/libgstreamer_android.so gst_element_change_state     
gstelement.c:2952
#19 01428987 /system/lib/libgstreamer_android.so gst_element_set_state_func   
gstelement.c:2906
#20 00017999 /system/lib/libmmpadapter.so gst_player_stop_internal     
gstplayer.c:3350
#21 00017bb3 /system/lib/libmmpadapter.so
gst_player_stop_internal_dispatchgstplayer.c:3393
#22 014b5787 /system/lib/libgstreamer_android.so g_main_dispatch              
gmain.c:3249
#23 014b5929 /system/lib/libgstreamer_android.so g_main_context_iterate       
gmain.c:4022
#24 014b5bd1 /system/lib/libgstreamer_android.so g_main_loop_run              
gmain.c:4218
#25 0001767d /system/lib/libmmpadapter.so gst_player_main              
gstplayer.c:3087
#26 014cad15 /system/lib/libgstreamer_android.so g_thread_proxy               
gthread.c:784
#27 00047bef /system/lib/libc.so 
#28 0001af0d /system/lib/libc.so 

"multiqueue337:s" sysTid=3495
#00 00018d88 /system/lib/libc.so 
#01 000484e9 /system/lib/libc.so 
#02 0004760b /system/lib/libc.so 
#03 014dc019 /system/lib/libgstreamer_android.so g_cond_wait                  
gthread-posix.c:765 (discriminator 2)
#04 01403597 /system/lib/libgstreamer_android.so
_gst_data_queue_wait_non_emptygstdataqueue.c:554
#05 014044a9 /system/lib/libgstreamer_android.so gst_data_queue_pop           
gstdataqueue.c:596
#06 01304171 /system/lib/libgstreamer_android.so gst_multi_queue_loop         
gstmultiqueue.c:1809
#07 014603a1 /system/lib/libgstreamer_android.so gst_task_func                
gsttask.c:332
#08 014cb293 /system/lib/libgstreamer_android.so g_thread_pool_thread_proxy   
gthreadpool.c:307
#09 014cad15 /system/lib/libgstreamer_android.so g_thread_proxy               
gthread.c:784
#10 00047bef /system/lib/libc.so 
#11 0001af0d /system/lib/libc.so 

"gmain" sysTid=17688

#00 000493e8 /system/lib/libc.so 
#01 00020111 /system/lib/libc.so 
#02 014b58ed /system/lib/libgstreamer_android.so g_main_context_poll          
gmain.c:4323
#03 014b5993 /system/lib/libgstreamer_android.so g_main_context_iteration     
gmain.c:4083 (discriminator 1)
#04 014b59b5 /system/lib/libgstreamer_android.so glib_worker_main             
gmain.c:5878
#05 014cad15 /system/lib/libgstreamer_android.so g_thread_proxy               
gthread.c:784
#06 00047bef /system/lib/libc.so 
#07 0001af0d /system/lib/libc.so 

----- end 17255 -----

It seems that  multiqueue's src_pad still has task executing, 
and the src_pad can't exit normally,any suggestions?











--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list