[Asterisk-video] Another crashed when callout

Sergio Garcia Murillo sergio.garcia at fontventa.com
Thu Oct 4 13:30:16 CDT 2007


I think I've found the problem, but don't have a server rigth now available
for compiling and commiting it (mine crashed a week ago and still didn't got
time to buy new one).
Could you test to change lines 133,135

int i=0
int len;

for:

unsigned int i=0
unsigned int len;

and append before line 215

if(framelength>2)


BR
Sergio

----- Original Message ----- 
From: "Reza Fatahillah" <ezhot_95 at yahoo.com>
To: <asterisk-video at lists.digium.com>
Sent: Thursday, October 04, 2007 4:59 AM
Subject: [Asterisk-video] Another crashed when callout


Hi Sergio,

Another crash when making callout to 6 phones.
After certain time after media received by the phones,
asterisk crashed.

Here are the bt output:
-----------------------
#0  0x00304562 in create_ast_frame (frame=0xb7441a80,
vt=0xb78e9740) at app_h324m.c:218
#1  0x00305a77 in app_h324m_call (chan=0x949e210,
data=0xb78edf60) at app_h324m.c:992
#2  0x080c39af in pbx_exec (c=0x949e210,
app=0x9480870, data=0xb78edf60) at pbx.c:532
#3  0x080c744d in pbx_extension_helper (c=0x949e210,
con=0x0, context=0x949e438 "sipout", exten=0x949e488
"09013623562", priority=2, label=0x0,
    callerid=0x9831908 "1005", action=E_SPAWN) at
pbx.c:1833
#4  0x080c8819 in ast_spawn_extension (c=0x949e210,
context=0x949e438 "sipout", exten=0x949e488
"09013623562", priority=2, callerid=0x9831908 "1005")
    at pbx.c:2288
#5  0x080c8d07 in __ast_pbx_run (c=0x949e210) at
pbx.c:2388
#6  0x080c9ac4 in pbx_thread (data=0x949e210) at
pbx.c:2603
#7  0x08107b65 in dummy_start (data=0x9c9ef68) at
utils.c:775
#8  0x00569144 in start_thread () from
/lib/tls/i686/libpthread.so.0
#9  0x004878ce in clone () from
/lib/tls/i686/libc.so.6


Here are the bt full output:
----------------------------
#0  0x00304562 in create_ast_frame (frame=0xb7441a80,
vt=0xb78e9740) at app_h324m.c:218
        header = 183 '&#12539;'
        mode = 68 'D'
        stuf = 8691777
        bs = 3079575240
        mark = 0
        i = 5478
        found = 0
        len = 170160880
        send = (struct ast_frame *) 0x10b71c7
        framedata = (unsigned char *) 0xb7441a98
"~x@&#12539;H"
        framelength = 2
        __PRETTY_FUNCTION__ = "create_ast_frame"
#1  0x00305a77 in app_h324m_call (chan=0x949e210,
data=0xb78edf60) at app_h324m.c:992
        f = (struct ast_frame *) 0x942586c
        send = (struct ast_frame *) 0xb7441b60
        u = (struct ast_module_user *) 0x99ba250
        pak = {framedata = 0x9495e78
"<<'&#65504;\236z\231\ay\220\207\031\020y,!¨i\203I|i\a\205q\230A\202\206
\036>!", offset = 0x9495e99 "", framelength = 33,
  num = 1, max = 1}
        vt = {tv = {tv_sec = 1191466185, tv_usec =
864840}, tvnext = {tv_sec = 1191466185, tv_usec =
864840}, samples = 10710, first = 0 '\0',
  buffer =
"h\017\000\000\214&One\2349f÷,s?i\035it^ee\002Ie\201{\200\000\000\220\033Af`
&#8811;Ta!ja1\\a¶\034Uc\005A(qAl\021\031C8(\202O\234}I\n\200÷?I\nZs\236\0318
\000\000\224\030]\0039If\025P[Tc\017A(|N\vaA\236c\005A\205\206A\220\\!,2\v\2
35I\v\235A\220da\031\000\000\000\230\030VTc\v\004
\205AA\001\023\202a\tA\220Qo{U\031\005!§82\n!7?3\f\203
&#8811;\023\234\024ho\177Ixo\005\005\235i\f\203
§\206o~OT>a\000\000\234\034k×\237p_s\205[U\026÷o"...,
bufferLength = 400}
        frame = (void *) 0xb7441a80
        input = 0x0
        reason = 0
        ms = -1
        channels = {0x949e210, 0x949d160}
        pseudo = (struct ast_channel *) 0x949d160
        where = (struct ast_channel *) 0x949d160
        __PRETTY_FUNCTION__ = "app_h324m_call"
        id = (void *) 0xa2472f0
#2  0x080c39af in pbx_exec (c=0x949e210,
app=0x9480870, data=0xb78edf60) at pbx.c:532
        res = -1215390224
        saved_c_appl = 0x0
        saved_c_data = 0x0
#3  0x080c744d in pbx_extension_helper (c=0x949e210,
con=0x0, context=0x949e438 "sipout", exten=0x949e488
"09013623562", priority=2, label=0x0,
    callerid=0x9831908 "1005", action=E_SPAWN) at
pbx.c:1833
        e = (struct ast_exten *) 0x9440930
        app = (struct ast_app *) 0x9480870
        res = 8
        q = {incstack = {0x0 <repeats 128 times>},
stacklen = 0, status = 5, swo = 0x0, data = 0x0,
foundcontext = 0x949e438 "sipout"}
        passdata = "_X. at threegvideo", '\0' <repeats
8176 times>
        matching_action = 0
        __PRETTY_FUNCTION__ = "pbx_extension_helper"




____________________________________________________________________________
________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-video




More information about the asterisk-video mailing list