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 ====================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160527/cf8dda5b/attachment.html>
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>
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):> 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 > ======================================> >-- --------------------------------------- Marek Cervenka ====================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160527/7a9ecd38/attachment.html>