Friday, November 30, 2007

Re: [asterisk-users] Problems with Asterisk 1.4.14 and Queue app

Hi, Jared. I'm going to test in 1.4.15 and then I'll tell you what happend.

Thanks

On Nov 29, 2007 3:35 PM, equis software <equissoftware@gmail.com > wrote:
You are right!
Here there is the backtrace

(gdb) bt
#0  0xb7df0231 in strcasecmp () from /lib/libc.so.6
#1  0xb7cc4a3f in local_ast_moh_start (chan=0x821cec0, mclass=0xb71a3788 "default", interpclass=0x0) at res_musiconhold.c:646
#2  0x080834e5 in ast_moh_start (chan=0x64, mclass=0x64 <Address 0x64 out of bounds>, interpclass=0x2e0 <Address 0x2e0 out of bounds>) at channel.c:4609
#3  0xb73eb17b in queue_exec (chan=0x821cec0, data=0xb71a3788) at app_queue.c:3600
#4  0x080c5d6b in pbx_extension_helper (c=0x821cec0, con=0x64, context=0x821d040 "my-queue", exten=0x821d090 "80", priority=8, label=0x0,
    callerid=0x819dc90 "490814", action=E_MATCHMORE) at pbx.c:532
#5  0x080c6a31 in __ast_pbx_run (c=0x821cec0) at pbx.c:2293
#6  0x080c78f1 in pbx_thread (data=0x64) at pbx.c:2608
#7  0x080f7759 in dummy_start (data=0x64) at utils.c:843
#8  0xb7f1513d in pthread_start_thread () from /lib/libpthread.so.0
#9  0xb7e3e1ba in clone () from /lib/libc.so.6


(gdb) bt full
#0  0xb7df0231 in strcasecmp () from /lib/libc.so.6
No symbol table info available.
#1  0xb7cc4a3f in local_ast_moh_start (chan=0x821cec0, mclass=0xb71a3788 "default", interpclass=0x0) at res_musiconhold.c:646
        mohclass = (struct mohclass *) 0x2e0
#2  0x080834e5 in ast_moh_start (chan=0x64, mclass=0x64 <Address 0x64 out of bounds>, interpclass=0x2e0 <Address 0x2e0 out of bounds>) at channel.c:4609
No locals.
#3  0xb73eb17b in queue_exec (chan=0x821cec0, data=0xb71a3788) at app_queue.c:3600
        makeannouncement = 0
        res = 136429000
        ringing = 0
        lu = (struct ast_module_user *) 0x8250230
        user_priority = 0x821bdc8 "1196248345.116"
        max_penalty_str = 0x821bdc8 "1196248345.116"
        prio = 0
        max_penalty = 0
        reason = QUEUE_UNKNOWN
        tries = 0
        noption = 0
        args = {argc = 5, argv = 0xb71a3908, queuename = 0xb71a3710 "my-queue", options = 0xb71a371b "t", url = 0xb71a371d "",
  announceoverride = 0xb71a371e "", queuetimeoutstr = 0xb71a371f "300", agi = 0x0}
        qe = {parent = 0x8227198, moh = "default", '\0' <repeats 72 times>, announce = '\0' <repeats 79 times>, context = '\0' <repeats 79 times>,
  digits = '\0' <repeats 79 times>, valid_digits = 0, pos = 1, prio = 0, last_pos_said = 0, last_periodic_announce_time = 1196248351,
  last_periodic_announce_sound = 0, last_pos = 0, opos = 1, handled = 0, max_penalty = 0, start = 1196248351, expire = 1196248651, chan = 0x821cec0,
  next = 0x0}
#4  0x080c5d6b in pbx_extension_helper (c=0x821cec0, con=0x64, context=0x821d040 "my-queue", exten=0x821d090 "80", priority=8, label=0x0,
    callerid=0x819dc90 "490814", action=E_MATCHMORE) at pbx.c:532
        e = (struct ast_exten *) 0x8255fc0
        res = 0
        q = {incstack = {0x0 <repeats 128 times>}, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x821d040 "my-queue"}
        passdata = "my-queue|t|||300", '\0' <repeats 8173 times>
        matching_action = 136488696
#5  0x080c6a31 in __ast_pbx_run (c=0x821cec0) at pbx.c:2293
        dst_exten = '\0' <repeats 124 times>, "1¶Þ·\000\000\000\000\000\000\000\000\216\227ñ·", '\0' <repeats 12 times>, " Êé· Êé·D\236\032·ôßñ· Êé·\f\000\000\000D\236\032·t\222ñ·0Êé·ô¯é·|\236\032·¥²Þ· Êé·ôßñ·\200\026%\b¨x\024\b|\236\032·\215añ·\020\000\000\000\f\000\000\000pÍ%\b°Ò!\bÐL\"\b\000\000\000\000!\224ñ·\201 \006\b"
        pos = 0
        digit = 0
        found = 1
        res = 0
        error = 0
#6  0x080c78f1 in pbx_thread (data=0x64) at pbx.c:2608
No locals.
#7  0x080f7759 in dummy_start (data=0x64) at utils.c:843
        _buffer = {__routine = 0x8067ef0 <ast_unregister_thread>, __arg = 0x1b8019, __canceltype = -1222992148, __prev = 0x0}
        ret = (void *) 0x8224cd0
---Type <return> to continue, or q <return> to quit---
        a = {start_routine = 0x80c78e0 <pbx_thread>, data = 0x821cec0,
  name = 0x8224cd0 "pbx_thread", ' ' <repeats 11 times>, "started at [ 2632] pbx.c ast_pbx_start()"}
#8  0xb7f1513d in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0xb7e3e1ba in clone () from /lib/libc.so.6
No symbol table info available.


Thanks






On Nov 29, 2007 3:04 PM, Jared Smith <jsmith@digium.com> wrote:
On Thu, 2007-11-29 at 14:28 -0300, equis software wrote:
> I have problems with 1.4.14, it crash every few minutes.
> The same configuration and machine in Asterisk 1.4.6 it doesn´t
> happend.

Are you able to get a good backtrace from the core file generated by the
crash?  Without more details, it's going to be close to impossible for
the Asterisk developers to guess at why it's crashing for you.

There's some good information at
http://www.asterisk.org/doxygen/1.4/AstDebug.html on how to generate the
backtrace and attach it to a bug in the bug tracker.


--
Jared Smith
Community Relations Manager
Digium, Inc.


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

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


No comments: