[asterisk-bugs] [JIRA] (ASTERISK-25957) Segfault in odbc after commit 9b0a96b947437f58fcc88f154ed5080fde529009
Niklas Larsson (JIRA)
noreply at issues.asterisk.org
Mon Apr 25 10:06:56 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-25957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=230385#comment-230385 ]
Niklas Larsson commented on ASTERISK-25957:
-------------------------------------------
{code}
root at uc01:~# dpkg --list | grep odbc
ii libmyodbc:amd64 5.1.10-2+deb7u1 amd64 the MySQL ODBC driver
ii libodbc1:amd64 2.2.14p2-5 amd64 ODBC library for Unix
ii odbcinst 2.2.14p2-5 amd64 Helper program for accessing odbc ini files
ii odbcinst1debian2:amd64 2.2.14p2-5 amd64 Support library for accessing odbc ini files
ii unixodbc 2.2.14p2-5 amd64 Basic ODBC tools
ii unixodbc-dev 2.2.14p2-5 amd64 ODBC libraries for UNIX (development files)
{code}
But the driver for mysql is from somewhere else. I could not make it work with the defualt driver and found somewher a driver that worked. I will have to dig around a bit to find it, but the version is mysql-connector-odbc-5.1.13
> Segfault in odbc after commit 9b0a96b947437f58fcc88f154ed5080fde529009
> ----------------------------------------------------------------------
>
> Key: ASTERISK-25957
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25957
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/General
> Affects Versions: 13.8.0, 13.8.1, 13.8.2
> Environment: Debian 7 64 bit, voicemail and cdr via ODBC
> Reporter: Niklas Larsson
> Assignee: Niklas Larsson
> Attachments: backtrace.txt, cdr_adaptive_odbc.conf, modules.conf, odbc.ini, odbcinst.ini
>
>
> Commit 9b0a96b947437f58fcc88f154ed5080fde529009 (https://gerrit.asterisk.org/#/c/2073/) segfaults asterisk when it's trying to access ODBC. No segfaults if I move back one commit (to d2be16472efa0608c389b467ad69044fbe8e9f5f).
> I use odbc for voicemail and cdr_adaptive_odbc
> And after adding:
> preload => cdr_adaptive_odbc.so
> after:
> preload => res_odbc.so
> preload => res_config_odbc.so
> preload => chan_local.so
> there is no more segfaults.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list