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

Christoph Blau (JIRA) noreply at issues.asterisk.org
Tue Feb 24 03:31:34 CST 2015


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

Christoph Blau commented on ASTERISK-24819:
-------------------------------------------

1. backtrace is attached. This was my first backtrace, so I hope all is in order.

2. steps taken
a) start asterisk 
b) edit /etc/asterisk/res:odbc.conf and change pre-connect => no to pre-connect => yes. 
c) asterisk core reload

3. Attached is /etc/odbc.ini, /etc/odbcinst.ini and /etc/asterisk/res_odbc.conf

> 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
>            Assignee: 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