Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] asterisk odbc segfaults


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
cervajs at fpf.slu.cz
Guest





PostPosted: Fri May 27, 2016 10:58 am    Post subject: [asterisk-users] asterisk odbc segfaults Reply with quote

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





Quote:
--
---------------------------------------
Marek Cervenka
=======================================
Back to top
cervajs at fpf.slu.cz
Guest





PostPosted: Fri May 27, 2016 11:09 am    Post subject: [asterisk-users] asterisk odbc segfaults Reply with quote

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

Quote:

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





Quote:
--
---------------------------------------
Marek Cervenka
=======================================





Quote:
--
---------------------------------------
Marek Cervenka
=======================================
Back to top
cervajs at fpf.slu.cz
Guest





PostPosted: Fri May 27, 2016 11:28 am    Post subject: [asterisk-users] asterisk odbc segfaults Reply with quote

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

Quote:
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):

Quote:

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





Quote:
--
---------------------------------------
Marek Cervenka
=======================================





Quote:
--
---------------------------------------
Marek Cervenka
=======================================





Quote:
--
---------------------------------------
Marek Cervenka
=======================================
Back to top
niklas at tese.se
Guest





PostPosted: Sun May 29, 2016 10:49 am    Post subject: [asterisk-users] asterisk odbc segfaults Reply with quote

Hi,


On 2016-05-27 18:28, Marek Červenka wrote:
Quote:
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

Could be https://issues.asterisk.org/jira/browse/ASTERISK-25957 - a
solution is to change the order in modules.conf to:

preload => res_odbc.so
preload => res_config_odbc.so
preload => chan_local.so
preload => cdr_adaptive_odbc.so

/niklas

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
cervajs at fpf.slu.cz
Guest





PostPosted: Sun May 29, 2016 2:31 pm    Post subject: [asterisk-users] asterisk odbc segfaults Reply with quote

doesnt work for me

Dne 29.5.2016 v 17:48 Niklas Larsson napsal(a):

Quote:
Hi,


On 2016-05-27 18:28, Marek Červenka wrote:
Quote:
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

Could be https://issues.asterisk.org/jira/browse/ASTERISK-25957 - a solution is to change the order in modules.conf to:

preload => res_odbc.so
preload => res_config_odbc.so
preload => chan_local.so
preload => cdr_adaptive_odbc.so

/niklas




Quote:
--
---------------------------------------
Marek Cervenka
=======================================
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services