[asterisk-bugs] [JIRA] (ASTERISK-30502) asterisk crashes when loading res_odbc

Philip de Orleans (JIRA) noreply at issues.asterisk.org
Mon Apr 24 14:14:03 CDT 2023


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

Philip de Orleans commented on ASTERISK-30502:
----------------------------------------------

It happens also in asterisk 16, latest, from today.
The version of this trace is 18.17.1
this is my res_odbc.conf

[cdr]
enabled=yes
dsn=cdr
sanitysql => select 1
isolation => read_uncommitted
username=root
pre-connect => yes
forcecommit => yes
connect_timeout => 10
negative_connection_cache => 0
max_connections =>500

[asterisk]
enabled=yes
dsn=local
sanitysql => select 1
isolation => read_uncommitted
username=root
pre-connect => yes
forcecommit => yes
connect_timeout => 10
negative_connection_cache => 0
max_connections =>500

If I do this
isql cdr
or isql local

it works fine.


> asterisk crashes when loading res_odbc
> --------------------------------------
>
>                 Key: ASTERISK-30502
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30502
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_odbc
>    Affects Versions: 18.11.2
>         Environment: Linux Centos 7 and 8
>            Reporter: Philip de Orleans
>         Attachments: asterisk-crash.txt
>
>
> I use mariadb and the odbc connector. The command Isql works fine. when I try to load res_odbc, it crashes in both operating systems and with two versions of the driver. I have a trace, will upload it next



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



More information about the asterisk-bugs mailing list