[asterisk-users] asterisk odbc segfaults

Marek Červenka cervajs at fpf.slu.cz
Fri May 27 11:09:04 CDT 2016


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):
>
> 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
>
>
>
> -- 
> ---------------------------------------
> Marek Cervenka
> =======================================
>
>


-- 
---------------------------------------
Marek Cervenka
=======================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160527/efd61194/attachment.html>


More information about the asterisk-users mailing list