[Home]

Summary:ASTERISK-15481: Getting kernel: asterisk[4278]: segfault at 40 ip 006e6626 sp b70d7e38 error 6 in libc-2.9.so[66d000+16e000]
Reporter:Mark Jacobsen (markj)Labels:
Date Opened:2010-01-20 16:11:35.000-0600Date Closed:2011-06-07 14:00:27
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_macro
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) BTFullJan21st
( 1) BTJan21st
( 2) core20556-bt_Jan29th2010
( 3) core30214-bt_Jan29th2010
( 4) extensions.conf
Description:Not sure if I picked the correct Catagory (Applications/app_macro)

SVN: Just installed Asterisk 1.6.2.1-rc1 on Jan 12th (using dahdi-linux-complete-2.2.0.2+2.2.0) worked fine up until yesterday when I got this in

/var/log/messages:

Jan 19 18:36:00 Easterisk kernel: asterisk[4278]: segfault at 40 ip 006e6626 sp b70d7e38 error 6 in libc-2.9.so[66d000+16e000]


The only things we did that day were:

1.Added the line to chan_dahdi.conf : echocancel=no just above the section for the analog channels (see below - near bottom) at about 7:30am
localtime
2.Added queues to queues.conf along with exten statements in extensions.conf which point to them (see below - near bottom) at about 7:00pm localtime

Platform: Redhat Fedora 10

Repeatable: no

Debugging output: (note: times shown in local time)


#0  0x006e6626 in memcpy () from /lib/libc.so.6
#1  0x00000001 in ?? ()
#2  0x0809edc7 in ast_do_masquerade (original=0x9672958) at channel.c:4508
#3  0x08097661 in ast_waitfor_nandfds (c=0xb70d83d8, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb70d83d4) at channel.c:2051
#4  0x08097e60 in ast_waitfor_n (c=0xb70d83d8, n=2, ms=0xb70d83d4) at channel.c:2365
ASTERISK-1  0x080a0005 in ast_generic_bridge (c0=0x9672958, c1=0x94a4f98, config=0xb70d9668, fo=0xb70d8978, rc=0xb70d8974, bridge_end={tv_sec = 0, tv_usec =
0})
   at channel.c:4826
ASTERISK-2  0x080a1c24 in ast_channel_bridge (c0=0x9672958, c1=0x94a4f98, config=0xb70d9668, fo=0xb70d8978, rc=0xb70d8974) at channel.c:5241
ASTERISK-3  0x080cac54 in ast_bridge_call (chan=0x9672958, peer=0x94a4f98, config=0xb70d9668) at features.c:2585
ASTERISK-4  0x003b48d6 in dial_exec_full (chan=0x9672958, data=0xb70dbbd8, peerflags=0xb70d99fc, continue_exec=0x0) at app_dial.c:2258
ASTERISK-5  0x003b51c8 in dial_exec (chan=0x9672958, data=0xb70dbbd8) at app_dial.c:2342
ASTERISK-6 0x080fa2c6 in pbx_exec (c=0x9672958, app=0xb7c5a138, data=0xb70dbbd8) at pbx.c:1348
ASTERISK-7 0x08101e1e in pbx_extension_helper (c=0x9672958, con=0x0, context=0x9672bc8 "macro-sipexten", exten=0x9672c18 "s", priority=1, label=0x0,
   callerid=0x94d22b0 "6304", action=E_SPAWN, found=0xb70de38c, combined_find_spawn=1) at pbx.c:3706
ASTERISK-8 0x081032f3 in ast_spawn_extension (c=0x9672958, context=0x9672bc8 "macro-sipexten", exten=0x9672c18 "s", priority=1, callerid=0x94d22b0 "6304",
   found=0xb70de38c, combined_find_spawn=1) at pbx.c:4165
ASTERISK-9 0x008f9310 in _macro_exec (chan=0x9672958, data=0xb70e0e18, exclusive=0) at app_macro.c:398
ASTERISK-10 0x008fa406 in macro_exec (chan=0x9672958, data=0xb70e0e18) at app_macro.c:561
ASTERISK-11 0x080fa2c6 in pbx_exec (c=0x9672958, app=0x9498f70, data=0xb70e0e18) at pbx.c:1348
ASTERISK-12 0x08101e1e in pbx_extension_helper (c=0x9672958, con=0x0, context=0x9672bc8 "macro-sipexten", exten=0x9672c18 "s", priority=1, label=0x0,
   callerid=0x94d22b0 "6304", action=E_SPAWN, found=0xb70e3280, combined_find_spawn=1) at pbx.c:3706
ASTERISK-13 0x081032f3 in ast_spawn_extension (c=0x9672958, context=0x9672bc8 "macro-sipexten", exten=0x9672c18 "s", priority=1, callerid=0x94d22b0 "6304",
   found=0xb70e3280, combined_find_spawn=1) at pbx.c:4165
ASTERISK-14 0x08103997 in __ast_pbx_run (c=0x9672958, args=0x0) at pbx.c:4255
ASTERISK-15 0x08104dde in pbx_thread (data=0x9672958) at pbx.c:4542
ASTERISK-16 0x0815775b in dummy_start (data=0x94b1d50) at utils.c:968
ASTERISK-17 0x0081b51f in start_thread () from /lib/libpthread.so.0
ASTERISK-18 0x0075101e in clone () from /lib/libc.so.6


#0  0x006e6626 in memcpy () from /lib/libc.so.6
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x0809edc7 in ast_do_masquerade (original=0x9672958) at channel.c:4508
__d__ = 0xb70d7ef8 "SIP/6304-00000767<ZOMBIE>"
__dlen__ = 26
__p__ = (const char **) 0x94aebe8
__q__ = 0x40 <Address 0x40 out of bounds>
x = 4
i = 2
res = 0
origstate = 6
current = (struct ast_frame *) 0x0
t = (const struct ast_channel_tech *) 0xc03a00
t_pvt = (void *) 0x95a6a10
tmpcid = {cid_dnid = 0x1 <Address 0x1 out of bounds>, cid_num = 0x7dcff4 "|Í}", cid_name = 0x80000 <Address 0x80000 out of bounds>,
 cid_ani = 0x1 <Address 0x1 out of bounds>, cid_rdnis = 0xb70d8058 "h\200\r·\004", cid_pres = 7733366, cid_ani2 = 156920296, cid_ton = 12598144,
 cid_tns = -1223851928}
clonechan = (struct ast_channel *) 0x94aeb88
cdr = (struct ast_cdr *) 0x94cb588
rformat = 4
wformat = 4
newn =

"DAHDI/22-1\000\000\001\000\000\000\210\200\r·U÷¸\000\200%m\t0]`\t(]`\t\200;À\000\001\000\000\000\001\000\000\000\000\000\000\000Ï9¸\000|à\201\000\204%m\t\00

0\000\000\000\000\000\000\000\001\000\000\000\001\000\000"
orig = "SIP/6304-00000767\000`\t@á}\000\020jZ\tè­n\t\t\003\000\0008m`\t\030\000\000\000\003\000\000\000ø\177\r·Uø\a\b\020jZ\tÿÿÿÿ", '\0' <repeats 12

times>, "\003\000\000"
masqn = "DAHDI/22-1<MASQ>\000\000\000\000ã\022\024\bÀ\"M\tà#U\tP\205\r·¬\000\000\000UÊ\000\000\002\000\000\000\000\000\000\000\f", '\0' <repeats 19

times>, "ò#\026RPl^\001"
zombn =

"SIP/6304-00000767<ZOMBIE>\000\000\000[ò¿\000LkZ\t\000\000\000\000ÌlZ\tÌlZ\ty\002v\000\200;À\000¨\177\r·À$u\000Dó\\\tx\t¸\000\001\000\000\000\004\000\000"
__PRETTY_FUNCTION__ = "ast_do_masquerade"
#3  0x08097661 in ast_waitfor_nandfds (c=0xb70d83d8, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb70d83d4) at channel.c:2051
start = {tv_sec = 0, tv_usec = 0}
pfds = (struct pollfd *) 0xb70d81e0
res = 12
rms = 0
x = 0
y = 10
max = 6
sz = 20
now = {tv_sec = 0, tv_usec = 0}
whentohangup = {tv_sec = 0, tv_usec = 0}
diff = {tv_sec = -1223851288, tv_usec = 134820270}
winner = (struct ast_channel *) 0x0
fdmap = (struct fdmap *) 0xb70d8130
__PRETTY_FUNCTION__ = "ast_waitfor_nandfds"
#4  0x08097e60 in ast_waitfor_n (c=0xb70d83d8, n=2, ms=0xb70d83d4) at channel.c:2365
No locals.
ASTERISK-1  0x080a0005 in ast_generic_bridge (c0=0x9672958, c1=0x94a4f98, config=0xb70d9668, fo=0xb70d8978, rc=0xb70d8974, bridge_end={tv_sec = 0, tv_usec = 0})
   at channel.c:4826
who = (struct ast_channel *) 0x9672958
other = (struct ast_channel *) 0x94a4f98
cs = {0x9672958, 0x94a4f98, 0x94a4f98}
f = (struct ast_frame *) 0x81bbe60
res = AST_BRIDGE_COMPLETE
o0nativeformats = 4
o1nativeformats = 4
watch_c0_dtmf = 0
watch_c1_dtmf = 2
pvt0 = (void *) 0x95a6a10
pvt1 = (void *) 0x958e790
frame_put_in_jb = 0
jb_in_use = 0
to = -1
__PRETTY_FUNCTION__ = "ast_generic_bridge"
ASTERISK-2  0x080a1c24 in ast_channel_bridge (c0=0x9672958, c1=0x94a4f98, config=0xb70d9668, fo=0xb70d8978, rc=0xb70d8974) at channel.c:5241
now = {tv_sec = 0, tv_usec = 0}
to = -1
who = (struct ast_channel *) 0x0
res = AST_BRIDGE_FAILED_NOWARN
nativefailed = 1
firstpass = 1
o0nativeformats = 4
o1nativeformats = 4
time_left_ms = 0
caller_warning = 0 '\0'
callee_warning = 0 '\0'
__PRETTY_FUNCTION__ = "ast_channel_bridge"
ASTERISK-3  0x080cac54 in ast_bridge_call (chan=0x9672958, peer=0x94a4f98, config=0xb70d9668) at features.c:2585
other = (struct ast_channel *) 0x7dcff4
f = (struct ast_frame *) 0x0
who = (struct ast_channel *) 0x3b88a4
chan_featurecode = '\0' <repeats 11 times>
peer_featurecode = '\0' <repeats 11 times>
orig_channame =

"SIP/6304-00000767\000\a\bîÉ\201\000\000\000\000\000\002\000\000\000\000\004n\000@á}\000èiZ\t\000\000\000\000\036ݸ\000|à\201\000\036\000\000\000¶\020\000\00

0\000\000\000\000\001\000\000\000ÿÿÿÿ\230\211\r·"
orig_peername =

"SIP/6301-00000768\000\000\000|à\201\000ÿÿÿÿ¶\020\000\000\000\000\000\000\001\000\000\000\001\000\000\000\b\211\r·ôÏ}\000\000\000\b\000\001\000\000\000\b\211

\r·v\000v\000èiZ\t\200;À\000\030\211\r·"
res = 0
diff = -1223849544
hasfeatures = 0
hadfeatures = 0
autoloopflag = 1
aoh = (struct ast_option_header *) 0xb70d89c8
backup_config = {features_caller = {flags = 0}, features_callee = {flags = 0}, start_time = {tv_sec = 0, tv_usec = 0}, nexteventts = {tv_sec = 0,
   tv_usec = 0}, partialfeature_timer = {tv_sec = 0, tv_usec = 0}, feature_timer = 0, timelimit = 0, play_warning = 0, warning_freq = 0,
 warning_sound = 0x0, end_sound = 0x0, start_sound = 0x0, firstpass = 0, flags = 0, end_bridge_callback = 0, end_bridge_callback_data = 0x0,
 end_bridge_callback_data_fixup = 0}
bridge_cdr = (struct ast_cdr *) 0x958f4c8
orig_peer_cdr = (struct ast_cdr *) 0x958f060
chan_cdr = (struct ast_cdr *) 0x94cb588
peer_cdr = (struct ast_cdr *) 0x958f060
new_chan_cdr = (struct ast_cdr *) 0x0
new_peer_cdr = (struct ast_cdr *) 0x0
__PRETTY_FUNCTION__ = "ast_bridge_call"
ASTERISK-4  0x003b48d6 in dial_exec_full (chan=0x9672958, data=0xb70dbbd8, peerflags=0xb70d99fc, continue_exec=0x0) at app_dial.c:2258
number = 0x95af279 "6301"
res = 0
rest = 0x0
cur = 0x0
outgoing = (struct chanlist *) 0x0
peer = (struct ast_channel *) 0x94a4f98
to = 21779
num = {chan = 0x9672958, busy = 0, congestion = 0, nochan = 0}
cause = 0
numsubst = "6301", '\0' <repeats 12 times>, " ", '\0' <repeats 18 times>, "s", '\0' <repeats 12 times>,

"´\226\031\b\223¨m\000\034\237\r·`í\210\000\036\000\000\000G\237\r1ð\234\r·d\236\r·´\226\031\b\000\000\000\000\006\000\000\000\005\000\000\000'\000\000\000°\

236\017\bÎ\212\023íûj\000\000È\227\r·\207_\a\bóÌj\000\000\000\000\000V\210\210\000jÕ\017\bÜ\231\r·\béL\tÈ\227\r·;Ë\r\b\024§m\000\béL\tÈ\227\r·ôÏ}\000c9M\tØ\2

27\r·Ï»m\000ü\227\r·d8M\tc9M\t\vÆj\000\006ñz\000È\v{\000(Úz\000\001Úz\000"...
cidname = '\0' <repeats 79 times>
config = {features_caller = {flags = 0}, features_callee = {flags = 2}, start_time = {tv_sec = 1263944160, tv_usec = 385984}, nexteventts = {
   tv_sec = 0, tv_usec = 0}, partialfeature_timer = {tv_sec = 0, tv_usec = 0}, feature_timer = 0, timelimit = 0, play_warning = 0, warning_freq = 0,
 warning_sound = 0x0, end_sound = 0x0, start_sound = 0x0, firstpass = 0, flags = 2, end_bridge_callback = 0x3afebc <end_bridge_callback>,
 end_bridge_callback_data = 0x9672958, end_bridge_callback_data_fixup = 0x3affda <end_bridge_callback_data_fixup>}
calldurationlimit = {tv_sec = 0, tv_usec = 0}
dtmfcalled = 0x0
dtmfcalling = 0x0
pa = {sentringing = 1, privdb_val = 0, privcid = '\0' <repeats 255 times>, privintro = '\0' <repeats 1023 times>,
 status = "ANSWER\000R\000GS", '\0' <repeats 244 times>}
sentringing = 0
moh = 0
outbound_group = 0x0
result = 0
parse = 0xb70d8a90 "SIP"
opermode = 0
delprivintro = 0
args = {argc = 3, argv = 0xb70d9040, peers = 0xb70d8a90 "SIP", timeout = 0xb70d8a99 "24", options = 0xb70d8a9c "tr", url = 0x0}
opts = {flags = 655360}
opt_args = {0x34322d "\213Eä\211\004$èÊáÿÿ\213EÀ\211\004$èqÝÿÿ\213E\f\213@\004\211Eì\203}ì", 0xb70d9248 "",
 0x80d3d40

"\203À\001\211Eä\213Eä\203À\017\203À\017Áè\004Áà\004)Ä\215D$$\211\205`ÿÿÿ\213\205`ÿÿÿ\203À\017Áè\004Áà\004\211\205`ÿÿÿ\213\205`ÿÿÿ\211Eè\213Eä\211D$\b\213Eà\

211D$\004\213Eè\211\004$èô\227øÿ\213Eè\211EÐé\002\004", 0x94898f0 "g726-16", 0x81996b5 "|", 0x5 <Address 0x5 out of bounds>, 0x88e224 "ô°\002",
 0x36323767 <Address 0x36323767 out of bounds>, 0x36312d "\203&cþÿ\211D$\bÇD$\004", 0xb70d9248 "",
 0x80d3d40

"\203À\001\211Eä\213Eä\203À\017\203À\017Áè\004Áà\004)Ä\215D$$\211\205`ÿÿÿ\213\205`ÿÿÿ\203À\017Áè\004Áà\004\211\205`ÿÿÿ\213\205`ÿÿÿ\211Eè\213Eä\211D$\b\213Eà\

211D$\004\213Eè\211\004$èô\227øÿ\213Eè\211EÐé\002\004", 0x94889b8 "g729"}
datastore = (struct ast_datastore *) 0x94c49c0
fulldial = 0
num_dialed = 1
__PRETTY_FUNCTION__ = "dial_exec_full"
ASTERISK-5  0x003b51c8 in dial_exec (chan=0x9672958, data=0xb70dbbd8) at app_dial.c:2342
peerflags = {flags = 4295491584}
ASTERISK-6 0x080fa2c6 in pbx_exec (c=0x9672958, app=0xb7c5a138, data=0xb70dbbd8) at pbx.c:1348
res = -1223845520
u = (struct ast_module_user *) 0x94c6118
saved_c_appl = 0x9498fa4 "Macro"
saved_c_data = 0xb70e0e18 "sipexten,6301,24,6301"
__PRETTY_FUNCTION__ = "pbx_exec"
ASTERISK-7 0x08101e1e in pbx_extension_helper (c=0x9672958, con=0x0, context=0x9672bc8 "macro-sipexten", exten=0x9672c18 "s", priority=1, label=0x0,
   callerid=0x94d22b0 "6304", action=E_SPAWN, found=0xb70de38c, combined_find_spawn=1) at pbx.c:3706
e = (struct ast_exten *) 0x94ce908
app = (struct ast_app *) 0xb7c5a138
res = 135948489
q = {incstack = {0x0 <repeats 128 times>}, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x9672bc8 "macro-sipexten"}
passdata = "SIP/6301,24,tr\000ÿe<\224\000d<\224\000\000\000\000\000ôÀ\r·\000\000\000\000&", '\0' <repeats 15 times>, "\n\000\000\000òÀ\r·", '\0'

<repeats 44 times>, " log/asterisk//c\000\000\000dÿÿÿÿ\005=\224\000þ<\224\000\000\000\000\000dÁ\r·\002\000\000\000&", '\0' <repeats 67 times>, " ", '\0'

<repeats 15 times>, "f<\224", '\0' <repeats 21 times>, "¼Â\r·", '\0' <repeats 20 times>,

"\002\000\000\000\001\000\000\000\000\000\000\000f<\224\000\000\000\000\000òÀ\r·¼Â\r·", '\0' <repeats 36 times>, "\006=\224", '\0' <repeats 13 times>...
matching_action = 0
__PRETTY_FUNCTION__ = "pbx_extension_helper"
ASTERISK-8 0x081032f3 in ast_spawn_extension (c=0x9672958, context=0x9672bc8 "macro-sipexten", exten=0x9672c18 "s", priority=1, callerid=0x94d22b0 "6304",
   found=0xb70de38c, combined_find_spawn=1) at pbx.c:4165
No locals.
ASTERISK-9 0x008f9310 in _macro_exec (chan=0x9672958, data=0xb70e0e18, exclusive=0) at app_macro.c:398
c = (struct ast_context *) 0x94bd5e0
e = (struct ast_exten *) 0x94ce908
foundx = 1
s = 0x0
tmp = 0xb70dde90 "sipexten"
cur = 0x0
rest = 0x0
macro = 0xb70dde90 "sipexten"
fullmacro =

"macro-sipexten\000\000\201\000\000\000ôÏ}\000X\r\016·,0\016·xë\r·v\000v\000\bÎ\033\bXí\r·\210ë\r·v©\016\b\bÎ\033\bXí\r·\210ì\r·\032¶\016\bîÉ\201\000\024\022

\032\b"
varname =

"ARG3\000\005n\000\000\000\000\000\b`L\t\000\000\000\000ÞAVKÁ}\002\000\b`L\t\210ë\r·Ì­\016\bîÉ\201\000\000\001\000\000D\002\000\000@á}\000¼\036\202\000xá}\00

0\020\000\000\000\002\000\000\000Ûä\201\000,0\016·"
runningapp =

"Dial\000í\r·X\r\016·,0\016·èê\r·\237i\025\b\002\000\000\000\b`L\tÔõ\032\b¿\000\000\000¼õ\032\b\b`L\tßë\r·pá}\000pá}\000\b`L\t\030ë\r·$m\025\blÎ\033\báçm"
runningdata = "SIP/${ARG1},${ARG2},tr", '\0' <repeats 110 times>,

"°\236\017\bÁ2\016íûj\000\000\210ç\r·\207_\a\bÈÕM\t\000\000\000\000\210ç\r·jÕ\017\b\234é\r·¨ÕZ\t\210ç\r·;Ë\r\b\234é\r·¨ÕZ\t\210ç\r·§ \017\b\001\000\000\000¨Õ

Z\t\000\000\000\000\030,g\tÈ+g\tðÖZ\t¸ç\r·äÉ\r\bøÕZ\t\234é\r·\001\000\000\000\r\000\000\000ER\000R¨ÕZ\te\000\000\000\030,g\t\001\000\000\000¨ÕZ\t8ê\r·Fâ\017\

bøÕZ\t\234é\r·\022", '\0' <repeats 27 times>, "\034"...
oldargs = {0x0 <repeats 81 times>}
argc = 4
x = 8511612
res = 0
oldexten = "6301", '\0' <repeats 251 times>
oldpriority = 1
gosub_level = 0
pc = "1\000\000\000,æj", '\0' <repeats 25 times>,

"\220é\r·\223¨m\000±ë\r·Ðê\r·ÿÿÿÿ±ë\r·\000\000\000\000Xë\r·ôÿÿÿ\000\000\000\000.\000\000\000\000\000\000"
depthc = "1\000ÿÿ5\003\000\000\000\000\000"
oldcontext = "fmh", '\0' <repeats 76 times>
inhangupc = 0x0
offset = 32
depth = 0
maxdepth = 7
setmacrocontext = 1
autoloopflag = 512
inhangup = 0
save_macro_exten = 0x0
save_macro_context = 0x0
save_macro_priority = 0x0
save_macro_offset = 0x0
macro_store = (struct ast_datastore *) 0x9544b00
__PRETTY_FUNCTION__ = "_macro_exec"
ASTERISK-10 0x008fa406 in macro_exec (chan=0x9672958, data=0xb70e0e18) at app_macro.c:561
No locals.
ASTERISK-11 0x080fa2c6 in pbx_exec (c=0x9672958, app=0x9498f70, data=0xb70e0e18) at pbx.c:1348
res = -1223824464
u = (struct ast_module_user *) 0x94da528
saved_c_appl = 0x0
saved_c_data = 0x0
__PRETTY_FUNCTION__ = "pbx_exec"
ASTERISK-12 0x08101e1e in pbx_extension_helper (c=0x9672958, con=0x0, context=0x9672bc8 "macro-sipexten", exten=0x9672c18 "s", priority=1, label=0x0,
   callerid=0x94d22b0 "6304", action=E_SPAWN, found=0xb70e3280, combined_find_spawn=1) at pbx.c:3706
e = (struct ast_exten *) 0x95ad5a8
app = (struct ast_app *) 0x9498f70
res = 8
q = {incstack = {0x95a0648 "fmh", 0x94bf578 "extensions", 0x0 <repeats 126 times>}, stacklen = 2, status = 5, swo = 0x0, data = 0x0,
 foundcontext = 0x94af3b5 "dids"}
passdata = "sipexten,6301,24,6301\00000\000eet\000ls\000'%s' priority %d to %s

(%p)\n\000\001\000\000Q\000\000\000ôÏ}\000@á}\000´\027\016·\230\016\016·\177\004n\000@á}\000

\016\016·\000\000\000\000@á}\000Ø»n\t\024\000\000\000(Ä\001\0008¾b\t\000\000\000\000´\027\016·Ø\016\016·âf\025\b\001\000\000\000\024\000\000\000L\000\000\000

v¾b\tî\002\000\0006\000\000\000Ø\016\016·^ \017\bt¾b\t\035\000\000\000\b\017\016·8¾b\t\226{\032a¹§¡?\b\017\016·µÈ\r\b"...
matching_action = 0
__PRETTY_FUNCTION__ = "pbx_extension_helper"
ASTERISK-13 0x081032f3 in ast_spawn_extension (c=0x9672958, context=0x9672bc8 "macro-sipexten", exten=0x9672c18 "s", priority=1, callerid=0x94d22b0 "6304",
   found=0xb70e3280, combined_find_spawn=1) at pbx.c:4165
No locals.
ASTERISK-14 0x08103997 in __ast_pbx_run (c=0x9672958, args=0x0) at pbx.c:4255
digit = 0
invalid = 0
timeout = 0
dst_exten = '\0' <repeats 128 times>,

"\0204\016·\2201\016·¨2\016·\017oÀ\aÖ?\202\000´2\016·\000\000\000\000¸2\016·\0202\016·À=\016·\2201\016·\0204\016·P\032\202\000áçm\000\000\000\000\000\000\000

\000\000\2242\016·\000\000\000\000\2302\016·Ô2\016·\000\000\000\000Ø2\016· 2\016·¤2\016·Ü2\016·", '\0' <repeats 20 times>, "\020\000\000\000\000\000\000"
pos = 0
found = 1
res = 0
autoloopflag = 0
error = 0
__PRETTY_FUNCTION__ = "__ast_pbx_run"
ASTERISK-15 0x08104dde in pbx_thread (data=0x9672958) at pbx.c:4542
c = (struct ast_channel *) 0x9672958
ASTERISK-16 0x0815775b in dummy_start (data=0x94b1d50) at utils.c:968
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {8568820, 0, 0, -1223806136, 941632624, 246135566}, __mask_was_saved = 0}}, __pad = {
   0xb70e3410, 0x0, 0x94b7168, 0x6de2be}}
__cancel_routine = (void (*)(void *)) 0x8075043 <ast_unregister_thread>
__cancel_arg = (void *) 0xb70e3b90
not_first_call = 0
ret = (void *) 0x7983ae
a = {start_routine = 0x8104dbf <pbx_thread>, data = 0x9672958,
 name = 0x9590cc8 "pbx_thread", ' ' <repeats 11 times>, "started at [ 4563] pbx.c ast_pbx_start()"}
ASTERISK-17 0x0081b51f in start_thread () from /lib/libpthread.so.0
No symbol table info available.
ASTERISK-18 0x0075101e in clone () from /lib/libc.so.6
No symbol table info available.

___________________________________________________________________________________________________________________________________________

From /etc/dahdi/system.conf:

loadzone=us
defaultzone=us
span=1,1,1,esf,b8zs
echocanceller=mg2,1-23
bchan=1-23
dchan=24
loadzone=us
defaultzone=us
fxoks=49
fxoks=50
fxoks=51
fxoks=52
fxoks=53

___________________________________________________________________________________________________________________________________________

From /etc/asterisk/chan_dahdi.conf:

[channels]
language=en
context=main
usecallerid=no
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
;
spanmap => 1,1,1
;
;
group=1
callgroup=1
pickupgroup=1
switchtype=national
signalling=pri_cpe
usecallerid=yes
hidecallerid=no
channel=>1-23
;
group=6
callgroup=6
;
context=inside
signalling=fxo_ks
echocancel=no
; added echocancel=no (for digium analog card only) on Jan19th2010 to get rid of excess error messages pointing to "no such device" in logs - mj
;
callerid=<2484756402>
channel => 49
;
callerid=<2484756403>
channel => 50
;
callerid=<2484756370>
channel => 51
;
callerid=<2484756371>
channel => 52
;
callerid=<2484756372>
channel => 53

___________________________________________________________________________________________________________________________________________

From Queues.conf:

[fmhQueue]
music = easterseals
strategy = ringall
joinempty = no
member => SIP/6302
member => SIP/6303
member => SIP/6304
member => SIP/6305

[corpqueue]
music = easterseals
strategy = ringall
joinempty = yes
member => SIP/6400

[carraffle]
music = easterseals
strategy = ringall
joinempty = no
timeout = 20
retry = 5
leavewhenempty = yes
member => SIP/6410
member => SIP/6411
member => SIP/6413
member => SIP/6406
member => SIP/6415

___________________________________________________________________________________________________________________________________________

From extensions.conf:

;
[dids]
;
exten => 6300,1,Goto(day-night-fmh,s,1)
exten => 6400,1,Goto(day-night-corp,s,1)
exten => 6415,1,Set(CALLERID(num)=4444444444)
exten => 6415,2,Queue(carraffle,t,,,60)

;
;[day-night-fmh]
;
exten => s,1,Set(mode=${DB(fmhnightservice/mode)})
exten => s,2,Playback(/etc/asterisk/fmhgreet)
exten => s,3,GotoIf($[${mode} = 1]?100:4)
exten => s,4,GotoIf($[${mode} = 2]?200:5)
exten => s,5,Goto(100)
;
exten => s,100,Answer()
exten => s,101,Set(CHANNEL(musicclass)=easterseals)
exten => s,102,queue(fmhQueue,t,,,60)
exten => s,103,VoiceMail(6300,u)
exten => s,104,Hangup
;
exten => s,200,VoiceMail(6300)
exten => s,201,Hangup
;
;
[day-night-corp]
;
exten => s,1,Set(mode=${DB(corpnightservice/mode)})
exten => s,2,Playback(/etc/asterisk/corpgreet)
exten => s,3,GotoIf($[${mode} = 1]?100:4)
exten => s,4,GotoIf($[${mode} = 2]?200:5)
exten => s,5,Goto(100)
;
exten => s,100,Answer()
exten => s,101,Set(CHANNEL(Musicclass)=easterseals)
exten => s,102,Queue(corpqueue,t,,,60)
exten => s,103,VoiceMail(6400,u)
exten => s,104,Hangup
;
exten => s,200,Playback(/etc/asterisk/corpnightgreet)
exten => s,201,VoiceMail(6400)
exten => s,202,Hangup
;
[macro-sipexten]
; calls channel $(ARG1) for ${ARG2} seconds then channel ${ARG3}for voicemail
exten => s,1,Dial(SIP/${ARG1},${ARG2},tr)
exten => s,2,VoiceMail(${ARG3},u)
exten => s,103,VoiceMail(${ARG3},u)
Comments:By: Leif Madsen (lmadsen) 2010-01-21 10:44:21.000-0600

In the future, please do not put large blocks of text into the issue directly -- attach them as text files so the issue is easier to manage. Thanks.

By: Mark Jacobsen (markj) 2010-01-21 19:42:57.000-0600

Sorry about that load of text - this is my first time starting an issue report.

On Jan 20th at 6pm local I removed the queues from the dialing plan and commented them out in queues.conf.
Instead now extensions for the main numbers (6300 and 6400) are going to Dial commands (Dial(Sip/(Sip/6302&Sip/6303&Sip/6304&Sip/6305,60) (see attached file).
Also removed the echocancel=no line from chan_dahdi.conf.
Tried upgrading to dahdi-linux-complete-2.2.1+2.2.1 and libpri-1.4.10.2 but still getting the segfaults (got 2 today) see attached files



By: Leif Madsen (lmadsen) 2010-01-22 10:44:25.000-0600

No worries, just letting you know the best practice for next time :)

Thanks for the data. A developer will look at this as soon as resources and time permit. Thanks!

By: Mark Jacobsen (markj) 2010-01-30 09:23:58.000-0600

In ref to "Note Deleted: 0117353" - Customer previously thought segfaults were caused by call coming in on a Queue then being transferred to another member of the queue - Queues have since been removed and calls are using a Dial command with SIP/6301&SIP/6302&Sip.... format.  2 more segfaults came in on Jan29th2010
(see uploaded files) - hope that helps

By: Paul Belanger (pabelanger) 2010-07-24 22:04:49

Per the Asterisk maintenance timeline page at http://www.asterisk.org/asterisk-versions maintenance (bug) support for the 1.6.0 and 1.6.1 branches has ended. For continued maintenance support please move to the 1.6.2 branch.

More information on this change can be found in the release announcement: http://www.asterisk.org/node/49924


By: Mark Jacobsen (markj) 2010-07-26 06:28:26

Since my last post I have discovered that the "Gigabit" mother board was the root of the problem (or at least it exposed one).  I have since swapped out the mother board for an Intel board and it has been running clean since.

Thanks

By: Paul Belanger (pabelanger) 2010-07-26 07:56:51

Closing; hardware issue