[Home]

Summary:ASTERISK-28911: Segmentation Fault on Voicemail Menu
Reporter:Flole Systems (flole@flole.de)Labels:
Date Opened:2020-05-21 20:46:58Date Closed:2020-05-22 03:57:59
Priority:CriticalRegression?
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:17.4.0 Frequency of
Occurrence
Constant
Related
Issues:
duplicatesASTERISK-28800 core: SIGSEGV on DTMF when some modules not loaded
Environment:Attachments:
Description: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@entry=0xb6fa68c8, dropaudio=dropaudio@entry=0, dropnondefault=dropnondefault@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@entry=0xb6fa68c8, breakon=breakon@entry=0x82a0533 "0123456789#*ABCD", forward=0x82a3e14 "", forward@entry=0x0, reverse=<optimized out>, reverse@entry=0x0,
   skip_ms=<optimized out>, skip_ms@entry=0, audiofd=audiofd@entry=-1, cmdfd=cmdfd@entry=-1, cb=cb@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@entry=0xb6fa68c8, breakon=breakon@entry=0x82a0533 "0123456789#*ABCD") at file.c:1779
       res = <optimized out>
#5  0x0808cda9 in ast_play_and_wait (chan=chan@entry=0xb6fa68c8, fn=fn@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@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@mailboxes") at app_voicemail.c:11793
{code}
Comments:By: Asterisk Team (asteriskteam) 2020-05-21 20:46:59.501-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.