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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jun 2 09:34:41 CDT 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             02-27-2008 00:21 CST
Last Modified:              06-02-2008 09:34 CDT
====================================================================== 
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.


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

---------------------------------------------------------------------- 
 svnbot - 06-02-08 09:34  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 119743

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_gtalk.c
U   branches/1.6.0/channels/chan_jingle.c
U   branches/1.6.0/res/res_jabber.c

------------------------------------------------------------------------
r119743 | phsultan | 2008-06-02 09:34:23 -0500 (Mon, 02 Jun 2008) | 21
lines

Merged revisions 119741 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r119741 | phsultan | 2008-06-02 16:35:24 +0200 (Mon, 02 Jun 2008) | 13
lines

Do not link the guest account with any configured XMPP client (in
jabber.conf). The actual connection is made when a call comes in
Asterisk.

Apply this fix to Jingle too.

Fix the ast_aji_get_client function that was not able to retrieve an
XMPP client from its JID.

(closes issue http://bugs.digium.com/view.php?id=12085)
Reported by: junky
Tested by: phsultan

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=119743 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-02-08 09:34  svnbot         Checkin                                      
06-02-08 09:34  svnbot         Note Added: 0087649                          
======================================================================




More information about the asterisk-bugs mailing list