[asterisk-bugs] [JIRA] (ASTERISK-28992) app_voicemail: Deadlock in ODBC when retrieving file

Schneur Rosenberg (JIRA) noreply at issues.asterisk.org
Fri Nov 27 08:33:18 CST 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252847#comment-252847 ] 

Schneur Rosenberg commented on ASTERISK-28992:
----------------------------------------------

After I applied the new patch I get this error when compiling

   [CC] app_voicemail_odbc.c -> app_voicemail_odbc.o
app_voicemail_odbc.c: In function ‘count_messages_in_folder’:
app_voicemail_odbc.c:5799:23: error: ‘obj’ undeclared (first use in this function)
  ast_odbc_release_obj(obj);
                       ^~~
app_voicemail_odbc.c:5799:23: note: each undeclared identifier is reported only once for each function it appears in
app_voicemail_odbc.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-format-truncation’
/usr/src/asterisk/Makefile.rules:164: recipe for target 'app_voicemail_odbc.o' failed
make[1]: *** [app_voicemail_odbc.o] Error 1
Makefile:387: recipe for target 'apps' failed
make: *** [apps] Error 2


> app_voicemail: Deadlock in ODBC when retrieving file
> ----------------------------------------------------
>
>                 Key: ASTERISK-28992
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28992
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail/ODBC
>    Affects Versions: 17.5.1
>         Environment: Debian 9
>            Reporter: Schneur Rosenberg
>            Assignee: Schneur Rosenberg
>              Labels: patch
>         Attachments: 0001-app_voicemail-Prevent-ODBC-related-deadlock-out-of-d.patch, locks.zip
>
>
> I'm having a major issue since I upgraded from Asterisk 11 that both voicemail and voicemailmain ocasionally crash, the call remains connected but there is silence, and the channel cannot be killed, hanging up wont help and neither would  "hangup request" and the every few seconds there would be a message in the CLI like WARNING[31353]: chan_sip.c:4410 __sip_autodestruct: Autodestruct on dialog '1216767442-5060-95 at BJC.BGI.A.BA' with owner SIP/9174342412-0000016a in place (Method: BYE). Rescheduling destruction for 10000 ms.
> Usually once it crashes no other users can get into their voicemail boxes and no new voicemails can be left until i restart asterisk



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



More information about the asterisk-bugs mailing list