[asterisk-bugs] [Asterisk 0014858]: Regular segfault with chan_unistim
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Apr 8 09:10:32 CDT 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14858
======================================================================
Reported By: barryf
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 14858
Category: Channels/chan_unistim
Reproducibility: random
Severity: crash
Priority: normal
Status: new
Asterisk Version: 1.6.0.7
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-04-08 07:44 CDT
Last Modified: 2009-04-08 09:10 CDT
======================================================================
Summary: Regular segfault with chan_unistim
Description:
Running Asterisk 1.6.0.8 on Ubuntu 8.10 Server. This same crash also
happens on 1.2.26 and 1.4.2x with the chan_unistim drivers. We have approx.
40 unistim handsets, in a callcenter environment. At least once a day,
Asterisk segfaults with the same gdb output.
It appears to happen during attended transfers, using the res_features
atxfer.
gdb output below.
======================================================================
----------------------------------------------------------------------
(0102899) barryf (reporter) - 2009-04-08 09:10
http://bugs.digium.com/view.php?id=14858#c102899
----------------------------------------------------------------------
Here is the Asterisk log from the time of the crash, with unistim debugging
turned on:
[Apr 8 13:56:51] VERBOSE[30803] logger.c: Request received
[Apr 8 13:56:51] VERBOSE[30803] logger.c: Key pressed : keycode = 0x43 -
current state : 6
[Apr 8 13:56:51] VERBOSE[30803] logger.c: Send Digit 3
[Apr 8 13:56:51] VERBOSE[30803] logger.c: Sending Stream Based Tone
Frequency Component List Download 697 1477
[Apr 8 13:56:51] VERBOSE[30803] logger.c: Sending Stream Based Tone On
[Apr 8 13:56:51] VERBOSE[1747] logger.c: -- Executing
[s at macro-custom-agentlogin:24] [1;36;40mSet [0;37;40m("
[1;35;40mUSTM/3503 at 3503-0 [0;37;40m", "
[1;35;40mGLOBAL(AGENTBYCALLERID_3503)=3503 [0;37;40m") in new stack
[Apr 8 13:56:51] VERBOSE[1747] logger.c: == Setting global variable
'AGENTBYCALLERID_3503' to '3503'
[Apr 8 13:56:51] VERBOSE[1747] logger.c: -- Executing
[s at macro-custom-agentlogin:25] [1;36;40mQueueLog [0;37;40m("
[1;35;40mUSTM/3503 at 3503-0 [0;37;40m", "
[1;35;40mNONE,NONE,Agent/3503,AGENTCALLBACKLOGIN,3503 at from-internal
[0;37;40m") in new stack
[Apr 8 13:56:51] VERBOSE[1747] logger.c: -- Executing
[s at macro-custom-agentlogin:26] [1;36;40mExecIf [0;37;40m("
[1;35;40mUSTM/3503 at 3503-0 [0;37;40m", " [1;35;40m1?SendText(@4 at 37@Lgoff
3503 at 121) [0;37;40m") in new stack
[Apr 8 13:56:51] VERBOSE[1747] logger.c: unistim_sendtext called
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending favorite pos 4 with
status 0x25
[Apr 8 13:56:51] VERBOSE[1747] logger.c: -- Executing
[s at macro-custom-agentlogin:27] [1;36;40mExecIf [0;37;40m("
[1;35;40mUSTM/3503 at 3503-0 [0;37;40m", " [1;35;40m1?SendText(Agent 3503
Logged in) [0;37;40m") in new stack
[Apr 8 13:56:51] VERBOSE[1747] logger.c: unistim_sendtext called
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending text at pos 0, inverse
flag 5
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending text at pos 32, inverse
flag 5
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending text at pos 64, inverse
flag 5
[Apr 8 13:56:51] VERBOSE[1747] logger.c: -- Executing
[s at macro-custom-agentlogin:28] [1;36;40mSet [0;37;40m("
[1;35;40mUSTM/3503 at 3503-0 [0;37;40m", " [1;35;40m__AGENTID=3503 [0;37;40m")
in new stack
[Apr 8 13:56:51] VERBOSE[1747] logger.c: -- Executing
[s at macro-custom-agentlogin:29] [1;36;40mGotoIf [0;37;40m("
[1;35;40mUSTM/3503 at 3503-0 [0;37;40m", " [1;35;40m0?start [0;37;40m") in new
stack
[Apr 8 13:56:51] VERBOSE[1747] logger.c: -- Executing
[120 at from-internal-callcentre-imbiz:3] [1;36;40mHangup [0;37;40m("
[1;35;40mUSTM/3503 at 3503-0 [0;37;40m", " [1;35;40m [0;37;40m") in new stack
[Apr 8 13:56:51] VERBOSE[1747] logger.c: == Spawn extension
(from-internal-callcentre-imbiz, 120, 3) exited non-zero on
'USTM/3503 at 3503-0'
[Apr 8 13:56:51] VERBOSE[1747] logger.c: -- Executing
[h at from-internal-callcentre-imbiz:1] [1;36;40mMacro [0;37;40m("
[1;35;40mUSTM/3503 at 3503-0 [0;37;40m", " [1;35;40mhangupcall [0;37;40m") in
new stack
[Apr 8 13:56:51] VERBOSE[1747] logger.c: -- Executing
[s at macro-hangupcall:1] [1;36;40mResetCDR [0;37;40m("
[1;35;40mUSTM/3503 at 3503-0 [0;37;40m", " [1;35;40mvw [0;37;40m") in new
stack
[Apr 8 13:56:51] VERBOSE[1747] logger.c: -- Executing
[s at macro-hangupcall:2] [1;36;40mNoCDR [0;37;40m("
[1;35;40mUSTM/3503 at 3503-0 [0;37;40m", " [1;35;40m [0;37;40m") in new stack
[Apr 8 13:56:51] VERBOSE[1747] logger.c: -- Executing
[s at macro-hangupcall:3] [1;36;40mGotoIf [0;37;40m("
[1;35;40mUSTM/3503 at 3503-0 [0;37;40m", " [1;35;40m1?skiprg [0;37;40m") in
new stack
[Apr 8 13:56:51] VERBOSE[1747] logger.c: -- Goto
(macro-hangupcall,s,6)
[Apr 8 13:56:51] VERBOSE[1747] logger.c: -- Executing
[s at macro-hangupcall:6] [1;36;40mGotoIf [0;37;40m("
[1;35;40mUSTM/3503 at 3503-0 [0;37;40m", " [1;35;40m1?skipblkvm [0;37;40m") in
new stack
[Apr 8 13:56:51] VERBOSE[1747] logger.c: -- Goto
(macro-hangupcall,s,9)
[Apr 8 13:56:51] VERBOSE[1747] logger.c: -- Executing
[s at macro-hangupcall:9] [1;36;40mGotoIf [0;37;40m("
[1;35;40mUSTM/3503 at 3503-0 [0;37;40m", " [1;35;40m1?theend [0;37;40m") in
new stack
[Apr 8 13:56:51] VERBOSE[1747] logger.c: -- Goto
(macro-hangupcall,s,11)
[Apr 8 13:56:51] VERBOSE[1747] logger.c: -- Executing
[s at macro-hangupcall:11] [1;36;40mHangup [0;37;40m("
[1;35;40mUSTM/3503 at 3503-0 [0;37;40m", " [1;35;40m [0;37;40m") in new stack
[Apr 8 13:56:51] VERBOSE[1747] logger.c: == Spawn extension
(macro-hangupcall, s, 11) exited non-zero on 'USTM/3503 at 3503-0' in macro
'hangupcall'
[Apr 8 13:56:51] VERBOSE[1747] logger.c: == Spawn extension
(from-internal-callcentre-imbiz, h, 1) exited non-zero on
'USTM/3503 at 3503-0'
[Apr 8 13:56:51] VERBOSE[1747] logger.c: unistim_hangup(USTM/3503 at 3503-0)
on 3503 at 3503
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending no ring packet
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending end call
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Destroying RTP session
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending stop timer
[Apr 8 13:56:51] VERBOSE[1747] logger.c: USTM(3503 at 3503-0) channel
already destroyed
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending Stream Based Tone Off
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending select output packet
output=c0 volume=1 mute=ce
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending favorite pos 0 with
status 0x24
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending led_update (8)
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending led_update (10)
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending favorite pos 0 with
status 0x20
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending status text
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending text at pos 32, inverse
flag 5
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending text at pos 0, inverse
flag 5
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending text at pos 64, inverse
flag 5
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending title text
[Apr 8 13:56:51] VERBOSE[1747] logger.c: Sending favorite pos 0 with
status 0x20
[Apr 8 13:56:51] VERBOSE[30803] logger.c: Sending Stream Based Tone Off
Issue History
Date Modified Username Field Change
======================================================================
2009-04-08 09:10 barryf Note Added: 0102899
======================================================================
More information about the asterisk-bugs
mailing list