Asterisk Odbc Segfaults

Home » Asterisk Users » Asterisk Odbc Segfaults
Asterisk Users 4 Comments

hi,

i have the same problems as in https://issues.asterisk.org/jira/browse/ASTERISK-25833

my current combination is CentOS 6 32-bit, unixODBC 2.3.2 (recompiled from fedora20), mysql 5.1.73, mysql-connector-odbc 5.1.5, asterisk 13.9.1

i tried update to mysql-connector-odbc 5.3.6 from oracle but it segfaults every time

can you share your working mysql+odbc combination?

thanks

odbcinst.ini

[ODBC]
Trace=No Pooling=Yes Threading=0

[MySQL ODBC 5.3 Unicode Driver]
Driver=/usr/lib/libmyodbc5w.so UsageCount=1

odbc.ini

[pbxdb-connector]
Description = MySQL connection to ‘pbxdb’ database Driver = MySQL ODBC 5.3 Unicode Driver Database = pbxdb Server = localhost UserName = top Password = secret Port = 3306
Socket = /var/lib/mysql/mysql.sock
#SSLCIPHER = AES256-SHA
Charset = utf8

4 thoughts on - Asterisk Odbc Segfaults

  • btw info from my segfault

    Core was generated by `/usr/sbin/asterisk -f -vvvg -c’. Program terminated with signal 11, Segmentation fault.
    #0 fix_result_types (stmt=0x9741730)
    at /usr/src/debug/mysql-connector-odbc-5.3.6-src/driver/utility.c:139
    139 irrec->row.field= field;

    Dne 27.5.2016 v 17:58 Marek Červenka napsal(a):

  • after downgrade to 13.8.2
    May 27 18:21:06 ast kernel: asterisk[16286]: segfault at 1010024 ip b49162cd sp bfac0940 error 4 in libmysqlclient.so.16.0.0[b48f1000+12e000]

    after downgrade to 13.7.2
    asterisk is ok

    Dne 27.5.2016 v 18:09 Marek Červenka napsal(a):