[asterisk-dev] Asterisk 1.4.12.1 crash in ast_pthread_mutex_lock

Matheus Rossato matheusrossatolista at gmail.com
Tue Oct 9 15:33:12 CDT 2007


Hi all,

  i´m having trouble with asterisk from version 1.4.0-1.4.12.1. Currently we
run a call center with 460 positions and we have an asterisk server as
"proxy" with all the agents and queues and below that are 6 asterisk as
gateways with 4 E1s in each one, the asterisk "proxy" crashes everyday with
the following backtrace. Attached is the bt full, if someone could take a
look and point me some ways, because we are getting without choices here.

#0  0x0807fa84 in __ast_pthread_mutex_lock (filename=0x8145b13 "channel.c",
lineno=2190, func=0x81478fc "__ast_read",
    mutex_name=0x814699f "&chan->lock", t=0xb3d3b730) at /usr/src/asterisk-
1.4.12.1/include/asterisk/lock.h:310
310                             t->thread[t->reentrancy] = pthread_self();
bt(gdb) bt
#0  0x0807fa84 in __ast_pthread_mutex_lock (filename=0x8145b13 "channel.c",
lineno=2190, func=0x81478fc "__ast_read",
    mutex_name=0x814699f "&chan->lock", t=0xb3d3b730) at /usr/src/asterisk-
1.4.12.1/include/asterisk/lock.h:310
#1  0x08086713 in __ast_read (chan=0xb3d3b6b8, dropaudio=0) at channel.c
:2190
#2  0x080881d8 in ast_read (chan=0xb3d3b6b8) at channel.c:2553
#3  0x080e2bd8 in bridge_native_loop (c0=0xb3d3b6b8, c1=0x87802a0,
p0=0xb3d0adf8, p1=0x877d058, vp0=0x0, vp1=0x0, pr0=0xb67107ec,
    pr1=0xb67107ec, codec0=8, codec1=8, timeoutms=-1, flags=0,
fo=0xb5999f08, rc=0xb5999f04, pvt0=0xb3d097c8, pvt1=0x876c060) at rtp.c:2913
#4  0x080e45a3 in ast_rtp_bridge (c0=0xb3d3b6b8, c1=0x87802a0, flags=0,
fo=0xb5999f08, rc=0xb5999f04, timeoutms=-1) at rtp.c:3351
#5  0x0808e0f6 in ast_channel_bridge (c0=0xb3d3b6b8, c1=0x87802a0,
config=0xb599a1c4, fo=0xb5999f08, rc=0xb5999f04) at channel.c:4277
#6  0xb7cc2e1c in ast_bridge_call (chan=0xb3d3b6b8, peer=0x87802a0,
config=0xb599a1c4) at res_features.c:1404
#7  0xb6c0c33d in dial_exec_full (chan=0xb3d3b6b8, data=0xb599cf48,
peerflags=0xb599adb0, continue_exec=0x0) at app_dial.c:1656
#8  0xb6c0c5ee in dial_exec (chan=0xb3d3b6b8, data=0xb599cf48) at
app_dial.c:1710
#9  0x080c811c in pbx_exec (c=0xb3d3b6b8, app=0xb7a14198, data=0xb599cf48)
at pbx.c:532
#10 0x080cbd32 in pbx_extension_helper (c=0xb3d3b6b8, con=0x0,
context=0xb3d3b8e0 "ramal-asterisk", exten=0xb3d3b930 "3604", priority=2,
    label=0x0, callerid=0xb63b0ae8 "8080406", action=E_SPAWN) at pbx.c:1833
#11 0x080cd113 in ast_spawn_extension (c=0xb3d3b6b8, context=0xb3d3b8e0
"ramal-asterisk", exten=0xb3d3b930 "3604", priority=2,
    callerid=0xb63b0ae8 "8080406") at pbx.c:2288
#12 0x080cd5e1 in __ast_pbx_run (c=0xb3d3b6b8) at pbx.c:2388
#13 0x080ce3fd in pbx_thread (data=0xb3d3b6b8) at pbx.c:2603
#14 0x0810e78b in dummy_start (data=0xb63afea8) at utils.c:793
#15 0xb7f9a46b in start_thread () from /lib/i686/cmov/libpthread.so.0
#16 0xb7ea74de in clone () from /lib/i686/cmov/libc.so.6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20071009/018af4b9/attachment.htm 


More information about the asterisk-dev mailing list