[asterisk-bugs] [Asterisk 0017808]: Function CONNECTEDLINE causes Asterisk to exit

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Aug 6 14:41:02 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17808 
====================================================================== 
Reported By:                jtodd
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17808
Category:                   Functions/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
JIRA:                       SWP-2017 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 281083 
Request Review:              
====================================================================== 
Date Submitted:             2010-08-06 13:05 CDT
Last Modified:              2010-08-06 14:41 CDT
====================================================================== 
Summary:                    Function CONNECTEDLINE causes Asterisk to exit
Description: 
Calling the CONNECTEDLINE function causes Asterisk to exit.  No core, no
indications.  Just exit.

This is on OpenBSD 4.6.  I have complied with DONT_OPTIMIZE but that seems
to make no difference.
====================================================================== 

---------------------------------------------------------------------- 
 (0125662) jtodd (administrator) - 2010-08-06 14:41
 https://issues.asterisk.org/view.php?id=17808#c125662 
---------------------------------------------------------------------- 
pabelanger - yes, good point.  That gets me the core I want.   I thought I
had it aliased, but apparently I didn't.  

Here's the backtrace on OpenBSD:

...blahblahblah...
Reading symbols from /usr/lib/asterisk/modules/app_saycounted.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_saycounted.so
Reading symbols from /usr/lib/asterisk/modules/format_g719.so...done.
Loaded symbols for /usr/lib/asterisk/modules/format_g719.so
https://issues.asterisk.org/view.php?id=0  0x1c073630 in party_id_build_data
(data=0x87b530f3 "", datalen=1021,
id=0x87b53550, label=0x3c016e0e "connected line", ies=0x3c016d80,
update=0x3) at channel.c:7800
7800            if (!update || update->name) {
(gdb) bt
https://issues.asterisk.org/view.php?id=0  0x1c073630 in party_id_build_data
(data=0x87b530f3 "", datalen=1021,
id=0x87b53550, label=0x3c016e0e "connected line", ies=0x3c016d80,
update=0x3) at channel.c:7800
https://issues.asterisk.org/view.php?id=1  0x1c073924 in
ast_connected_line_build_data (data=0x87b530f0
"\n\001\002", datalen=1024, connected=0x87b53550, update=0x3) at
channel.c:7930
https://issues.asterisk.org/view.php?id=2  0x1c0740b8 in
ast_channel_update_connected_line (chan=0x8ae5a8c0,
connected=0x87b53550, update=0x3) at channel.c:8155
https://issues.asterisk.org/view.php?id=3  0x02304238 in connectedline_write
(chan=0x8ae5a8c0, cmd=0x87b537c0
"CONNECTEDLINE", data=0x87b537ce "all", value=0x87b53580 "") at
func_connectedline.c:249
https://issues.asterisk.org/view.php?id=4  0x1c0e77ae in ast_func_write
(chan=0x8ae5a8c0, function=0x87b53840
"CONNECTEDLINE(all)", value=0x87b538e3 "Foobar") at pbx.c:3568
https://issues.asterisk.org/view.php?id=5  0x1c0fa4ff in
pbx_builtin_setvar_helper (chan=0x8ae5a8c0,
name=0x87b538d0 "CONNECTEDLINE(all)", value=0x87b538e3 "Foobar") at
pbx.c:9477
https://issues.asterisk.org/view.php?id=6  0x1c0fa93d in pbx_builtin_setvar
(chan=0x8ae5a8c0, data=0x87b53c40
"CONNECTEDLINE(all)=Foobar") at pbx.c:9545
https://issues.asterisk.org/view.php?id=7  0x1c0e03a7 in pbx_exec (c=0x8ae5a8c0,
app=0x8322ec00, data=0x87b53c40
"CONNECTEDLINE(all)=Foobar") at strings.h:64
https://issues.asterisk.org/view.php?id=8  0x1c0e8c16 in pbx_extension_helper
(c=0x8ae5a8c0, con=0x0,
context=0x8ae5ac28 "to-binfone", exten=0x8ae5ac78 "994", priority=2,
label=0x0, callerid=0x829ed850 "2203", action=E_SPAWN, found=0x87b57e4c, 
    combined_find_spawn=1) at pbx.c:4074
https://issues.asterisk.org/view.php?id=9  0x1c0ea241 in ast_spawn_extension
(c=0x8ae5a8c0, context=0x8ae5ac28
"to-binfone", exten=0x8ae5ac78 "994", priority=2, callerid=0x829ed850
"2203", found=0x87b57e4c, combined_find_spawn=1) at pbx.c:4566
https://issues.asterisk.org/view.php?id=10 0x1c0ea900 in __ast_pbx_run
(c=0x8ae5a8c0, args=0x0) at strings.h:64
https://issues.asterisk.org/view.php?id=11 0x1c0ec6cd in pbx_thread
(data=0x8ae5a8c0) at pbx.c:4975
https://issues.asterisk.org/view.php?id=12 0x1c138311 in dummy_start
(data=0x829ed880) at utils.c:971
https://issues.asterisk.org/view.php?id=13 0x07d74413 in _thread_start () at
/usr/src/lib/libpthread/uthread/uthread_create.c:240
https://issues.asterisk.org/view.php?id=14 0x0000002b in ?? ()
https://issues.asterisk.org/view.php?id=15 0x00000000 in ?? ()
(gdb) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-06 14:41 jtodd          Note Added: 0125662                          
======================================================================




More information about the asterisk-bugs mailing list