[asterisk-bugs] [JIRA] (ASTERISK-24819) res_odbc: pre-connect -> Floating point exception (core dumped)

Yedidya Heilpern (JIRA) noreply at issues.asterisk.org
Sun Aug 7 08:19:56 CDT 2016


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

Yedidya Heilpern commented on ASTERISK-24819:
---------------------------------------------

Hi Christoph, as I'm having the same issue with asterisk -> MySQLODBC -> MariaDB please could you point me in the direction of a solution.

Many thanks, Joe.

> res_odbc: pre-connect -> Floating point exception (core dumped)
> ---------------------------------------------------------------
>
>                 Key: ASTERISK-24819
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24819
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_odbc
>    Affects Versions: 13.2.0
>         Environment: Distributor ID: Ubuntu
> Description:    Ubuntu 14.04.2 LTS
> Release:         14.04
> Codename:     trusty
> Kernel: Linux 3.13.0-45-generic, #74-Ubuntu SMP, x86_64, GNU/Linux
> KVM/qemu virtual guest
> Asterisk-trunk: revision 432173
> pjproject: 2.3
> unixodbc: 2.2.14p2-5ubuntu5
> MySQL: 10.0.16-MariaDB-1~trusty
> alembic (0.7.4)
>            Reporter: Christoph Blau
>            Severity: Critical
>         Attachments: backtrace.txt, odbc.ini, odbcinst.ini, res_odbc.conf
>
>
> Good Day
> I have been following the Wiki page https://wiki.asterisk.org/wiki/display/AST/Setting+up+PJSIP+Realtime
> I have compiled asterisk with pjProject and OBDC support. I have initiated the database using alembic and configured the ODBC connection information. The database credentials are working. I am having a problem though with /etc/asterisk/res_odbc.conf
> {noformat}
> [asterisk]
> enabled => yes
> dsn => asterisk
> username => root
> password => password
> pre-connect => yes
> {noformat}
> With {{'pre-connect => yes'}} asterisk crashes with:
> {noformat}
> NOTICE[14007]: res_odbc.c:1531 odbc_obj_connect: Connecting asterisk
> Floating point exception (core dumped)
> {noformat}
> Once I change {{pre-connect => no}}
> {noformat}
> Asterisk Ready.
> *CLI> odbc show asterisk 
> ODBC DSN Settings
> -----------------
>   Name:   asterisk
>   DSN:    asterisk
>   Last connection attempt: 1970-01-01 01:00:00
> {noformat}



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



More information about the asterisk-bugs mailing list