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

Christoph Blau (JIRA) noreply at issues.asterisk.org
Mon Feb 23 05:07:34 CST 2015


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

Christoph Blau updated ASTERISK-24819:
--------------------------------------

    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)



  was:
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:         14.04
Codename:     trusty

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)




> 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
>
> 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
> [asterisk]
> enabled => yes
> dsn => asterisk
> username => root
> password => password
> pre-connect => yes
> With 'pre-connect => yes' asterisk crashes with:
> NOTICE[14007]: res_odbc.c:1531 odbc_obj_connect: Connecting asterisk
> Floating point exception (core dumped)
> Once I change pre-connect => no 
> Asterisk Ready.
> *CLI> odbc show asterisk 
> ODBC DSN Settings
> -----------------
>   Name:   asterisk
>   DSN:    asterisk
>   Last connection attempt: 1970-01-01 01:00:00



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



More information about the asterisk-bugs mailing list