[asterisk-bugs] [JIRA] (ASTERISK-28911) Segmentation Fault on Voicemail Menu

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Fri May 22 03:58:26 CDT 2020


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua C. Colp closed ASTERISK-28911.
-------------------------------------

    Resolution: Duplicate

> Segmentation Fault on Voicemail Menu
> ------------------------------------
>
>                 Key: ASTERISK-28911
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28911
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail
>    Affects Versions: 17.4.0
>            Reporter: Flole Systems
>            Severity: Critical
>
> I have configured voicemail for my PBX. I can leave a message and the message is sent by E-Mail as configured. I can call the mailbox and sign in with my password. After doing that, no matter what option I choose asterisk crashes with a segfault.
> {code}
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  ast_timer_set_rate (handle=0x0, rate=50) at timing.c:168
> 168             return handle->holder->iface->timer_set_rate(handle->data, rate);
> (gdb) bt full
> #0  ast_timer_set_rate (handle=0x0, rate=50) at timing.c:168
> No locals.
> #1  0x080fc141 in __ast_read (chan=chan at entry=0xb6fa68c8, dropaudio=dropaudio at entry=0, dropnondefault=dropnondefault at entry=1) at channel.c:3939
>         now = {tv_sec = 1590107260, tv_usec = 940429}
>         readq_tail = 0x0
>         read_action_payload = <optimized out>
>         connected = {id = {name = {str = 0x5ec71c7c <error: Cannot access memory at address 0x5ec71c7c>, char_set = 940429, presentation = 135551591, valid = 25 '\031'}, number = {
>               str = 0x3 <error: Cannot access memory at address 0x3>, plan = 23, presentation = 65539, valid = 24 '\030'}, subaddress = {str = 0x3 <error: Cannot access memory at address 0x3>,
>               type = -1244021972, odd_even_indicator = 0 '\000', valid = 0 '\000'}, tag = 0xb6fa68c8 " \311G\266\350\213", <incomplete sequence \372\266>}, ani = {name = {
>               str = 0xffffffff <error: Cannot access memory at address 0xffffffff>, char_set = -1226982024, presentation = -1739739648, valid = 20 '\024'}, number = {
>               str = 0x5ec71c7c <error: Cannot access memory at address 0x5ec71c7c>, plan = -1244021928, presentation = -1244021824, valid = 14 '\016'}, subaddress = {str = 0xb5d9bc18 "\332\365u\266",
>               type = -1244021864, odd_even_indicator = 46 '.', valid = 206 '\316'}, tag = 0xb6fa68c8 " \311G\266\350\213", <incomplete sequence \372\266>}, priv = {name = {str = 0x82acc62 "channel.c",
>               char_set = 137053521, presentation = 3001, valid = 15 '\017'}, number = {str = 0x82af60f "c[x]", plan = 1590107260, presentation = 947089, valid = 72 'H'}, subaddress = {str = 0x82a82bc "chan",
>               type = 1185858523, odd_even_indicator = 19 '\023', valid = 0 '\000'}, tag = 0x0}, ani2 = -1244021820, source = -1244021928}
>         hooked = 0
>         f = <optimized out>
>         prestate = 6
>         cause = <optimized out>
>         stream = 0x0
>         default_stream = <optimized out>
>         __PRETTY_FUNCTION__ = "__ast_read"
> #2  0x080fcc00 in ast_read (chan=0xb6fa68c8) at channel.c:4245
> No locals.
> #3  0x081389ff in waitstream_core (c=c at entry=0xb6fa68c8, breakon=breakon at entry=0x82a0533 "0123456789#*ABCD", forward=0x82a3e14 "", forward at entry=0x0, reverse=<optimized out>, reverse at entry=0x0,
>     skip_ms=<optimized out>, skip_ms at entry=0, audiofd=audiofd at entry=-1, cmdfd=cmdfd at entry=-1, cb=cb at entry=0x0, context=0x0) at file.c:1627
>         fr = <optimized out>
>         res = <optimized out>
>         ms = 19
>         orig_chan_name = 0x0
>         err = 0
> #4  0x0813dcf9 in ast_waitstream (c=c at entry=0xb6fa68c8, breakon=breakon at entry=0x82a0533 "0123456789#*ABCD") at file.c:1779
>         res = <optimized out>
> #5  0x0808cda9 in ast_play_and_wait (chan=chan at entry=0xb6fa68c8, fn=fn at entry=0xb675f5da "vm-messages") at app.c:1398
>         d = <optimized out>
>         fn = 0xb675f5da "vm-messages"
>         chan = 0xb6fa68c8
>         d = <optimized out>
> #6  0xb6736032 in vm_intro_de (vms=0xb5d9e704, chan=0xb6fa68c8) at app_voicemail.c:9996
>         res = 0
> #7  vm_intro (chan=chan at entry=0xb6fa68c8, vmu=<optimized out>, vms=0xb5d9e704) at app_voicemail.c:10415
>         prefile = "/var/spool//voicemail/mailboxes/123/temp\000b/asterisklib/spool//voicemail/mailboxes/123/Urgent/lock\000ٵ", '\000' <repeats 20 times>, " \275ٵ", '\000' <repeats 17 times>,"\256M\230\000\000\000\000\000ЭF\353\"s\266\000\240v\266\364\347ٵ\350\306ٵ\377\377\377\377\241\310s\266\364\347ٵ\004\000\000\000\236\364"...
>         __PRETTY_FUNCTION__ = "vm_intro"
> #8  0xb675d641 in vm_execmain (chan=0xb6fa68c8, data=0xb5da310c "123 at mailboxes") at app_voicemail.c:11793
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list