[asterisk-bugs] [Asterisk 0012085]: problem with guest account in gtalk

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Mar 5 04:52:08 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12085 
====================================================================== 
Reported By:                junky
Assigned To:                phsultan
====================================================================== 
Project:                    Asterisk
Issue ID:                   12085
Category:                   Channels/chan_gtalk
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-27-2008 00:21 CST
Last Modified:              03-05-2008 04:52 CST
====================================================================== 
Summary:                    problem with guest account in gtalk
Description: 
deer*CLI> gtalk show channels 
Channel                         Jabber ID                       Resource  
      Read  Write 
deer*CLI>

deadlocks...

deer*CLI> core show locks 
deer*CLI> 
=======================================================================
=== Currently Held Locks ==============================================
=======================================================================
===
=== <file> <line num> <function> <lock name> <lock addr> (times locked)
===
=== Thread ID: 1073985856 (listener             started at [ 1062]
asterisk.c ast_makesocket())
=== -------------------------------------------------------------------
===
=== Thread ID: 1074231616 (accept_thread        started at [ 2954]
manager.c init_manager())
=== -------------------------------------------------------------------
===
=== Thread ID: 1074477376 (do_devstate_changes  started at [  378]
devicestate.c ast_device_state_engine_init())
=== -------------------------------------------------------------------
===
=== Thread ID: 1074723136 (do_parking_thread    started at [ 2420]
res_features.c load_module())
=== -------------------------------------------------------------------
===
=== Thread ID: 1075214656 (netconsole           started at [ 1004]
asterisk.c listener())
=== ---> Lock http://bugs.digium.com/view.php?id=0 (chan_gtalk.c): MUTEX 1637
gtalk_show_channels
&(&gtalk_list)->_lock 0x2aaac0c04c40 (1)
=== -------------------------------------------------------------------
===
=== Thread ID: 1074968896 (scan_thread          started at [  499]
pbx_spool.c load_module())
=== -------------------------------------------------------------------
===
=== Thread ID: 1075460416 (iax2_process_thread  started at [ 8751]
chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1075706176 (iax2_process_thread  started at [ 8751]
chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1075951936 (iax2_process_thread  started at [ 8751]
chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1076197696 (iax2_process_thread  started at [ 8751]
chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1076443456 (iax2_process_thread  started at [ 8751]
chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1076689216 (iax2_process_thread  started at [ 8751]
chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1076934976 (iax2_process_thread  started at [ 8751]
chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1077180736 (iax2_process_thread  started at [ 8751]
chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1077426496 (iax2_process_thread  started at [ 8751]
chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1077672256 (iax2_process_thread  started at [ 8751]
chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1077918016 (sched_thread         started at [ 8761]
chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1078163776 (network_thread       started at [ 8762]
chan_iax2.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1078409536 (do_monitor           started at [ 6972]
chan_zap.c restart_monitor())
=== -------------------------------------------------------------------
===
=== Thread ID: 1078655296 (do_monitor           started at [ 1127]
chan_phone.c restart_monitor())
=== -------------------------------------------------------------------
===
=== Thread ID: 1078901056 (accept_thread        started at [ 4768]
chan_skinny.c reload_config())
=== -------------------------------------------------------------------
===
=== Thread ID: 1079146816 (do_monitor           started at [ 4582]
chan_skinny.c restart_monitor())
=== -------------------------------------------------------------------
===
=== Thread ID: 1079392576 (do_monitor           started at [15443]
chan_sip.c restart_monitor())
=== -------------------------------------------------------------------
===
=== Thread ID: 1079638336 (network_thread       started at [ 2198]
pbx_dundi.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1079884096 (process_precache     started at [ 2199]
pbx_dundi.c start_network_thread())
=== -------------------------------------------------------------------
===
=== Thread ID: 1080129856 (sla_thread           started at [ 4759]
app_meetme.c sla_load_config())
=== -------------------------------------------------------------------
===
=== Thread ID: 1080375616 (sound_thread         started at [ 1811]
chan_oss.c store_config())
=== -------------------------------------------------------------------
===
=== Thread ID: 1080621376 (sound_thread         started at [ 1811]
chan_oss.c store_config())
=== -------------------------------------------------------------------
===
=== Thread ID: 1080867136 (monitor_sig_flags    started at [ 2964]
asterisk.c main())
=== -------------------------------------------------------------------
===
=== Thread ID: 1081604416 (aji_recv_loop        started at [ 2444]
res_jabber.c aji_reload())
=== -------------------------------------------------------------------
===
=== Thread ID: 1081850176 (aji_recv_loop        started at [ 2444]
res_jabber.c aji_reload())
=== -------------------------------------------------------------------
===
=== Thread ID: 1081112896 (netconsole           started at [ 1004]
asterisk.c listener())
=== -------------------------------------------------------------------
===
=======================================================================

so the lock remains there.


====================================================================== 

---------------------------------------------------------------------- 
 phsultan - 03-05-08 04:52  
---------------------------------------------------------------------- 
We definitely need to have a better handling of this several XMPP clients
situation that Asterisk connects with.

I'll be working on that, thanks for the report! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-05-08 04:52  phsultan       Note Added: 0083420                          
======================================================================




More information about the asterisk-bugs mailing list