[asterisk-bugs] [Asterisk 0012085]: problem with guest account in gtalk
noreply at bugs.digium.com
noreply at bugs.digium.com
Wed Feb 27 19:15:42 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: 02-27-2008 19:15 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
&(>alk_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.
======================================================================
----------------------------------------------------------------------
junky - 02-27-08 19:15
----------------------------------------------------------------------
hi philippe,
there was no active calls when I reproduce that bug.
Apparently, you can reproduce it really easily if you have a guest account
defined in your gtalk.conf.
gtalk.conf:
[general]
context=google-in
allowguest=yes
bindaddr=70.83.17.183
[guest]
disallow=all
allow=ulaw
context=google-in
[buddy]
username=cpatry.jingle at gmail.com
disallow=all
allow=ulaw
context=google-in
connection=gtalk_account
[cpatryasterisk]
username=cpatry.asterisk at gmail.com
disallow=all
allow=ulaw
context=google-in
connection=gtalk_account2
jabber.conf:
[general]
debug=yes
autoprune=no
autoregister=no
[gtalk_account]
type=client
serverhost=talk.google.com
username=cpatry.jingle at gmail.com/Talk
secret=PASS
port=5222
usetls=yes
usesasl=yes
buddy=cpatry.jingle at gmail.com
buddy=juliedube01 at gmail.com
buddy=gagnon.david at gmail.com
buddy=cyrusfreaker at gmail.com
buddy=pokstar at gmail.com
buddy=cpatry at gmail.com
buddy=klictel at gmail.com
buddy=darthomir at gmail.com
buddy=christian.leclerc at sphere3solutions.com
buddy=bertrand.tohio at gmail.com
statusmessage="im an Asterisk server with jingle"
timeout=100
[gtalk_account2]
type=client
serverhost=talk.google.com
username=cpatry.asterisk at gmail.com/Talk
secret=ploky3tis
port=5222
usetls=yes
usesasl=yes
buddy=cpatry.jingle at gmail.com
buddy=bertrand.tohio at gmail.com
buddy=juliedube01 at gmail.com
buddy=gagnon.david at gmail.com
buddy=cyrusfreaker at gmail.com
buddy=pokstar at gmail.com
buddy=cpatry at gmail.com
buddy=klictel at gmail.com
buddy=darthomir at gmail.com
buddy=christian.leclerc at sphere3solutions.com
statusmessage="im an Asterisk server with jingle"
timeout=100
Issue History
Date Modified Username Field Change
======================================================================
02-27-08 19:15 junky Note Added: 0083090
======================================================================
More information about the asterisk-bugs
mailing list