I have updated unixodbc to 2.3 (from source) and looks like it fixed the problem. Thanks guys!



Date: Fri, 27 Mar 2015 17:39:55 -0500
From: anthony.minessale@gmail.com
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] unexpected segfault with latest debian and libmyodbc.so

We actually recommend Threading=0 for postgres and mysql for the most part.


On Fri, Mar 27, 2015 at 7:48 AM, Ítalo Rossi <italorossib@gmail.com> wrote:
I have seen a lot of threading issues with mysql + odbc, make sure you're using unixodbc >= 2.3. 

If you're using an older version you can set Threading = 2 in your /etc/odbcinst.ini as a workaround, but this is *not* recommended for production/high volume, upgrade as soon as possible.

On Fri, Mar 27, 2015 at 9:41 AM, Yuriy Nasida <nasida@live.ru> wrote:
Hi guys,

I just got unexpected segfault I try to understand if anybody had similar problems.

Mar 26 07:00:19 kernel: [226389.252971] freeswitch[7972]: segfault at 500 ip 00007fd3a8362252 sp 00007fd34a7d9f70 error 4 in libmyodbc.so[7fd3a8340000+3c000]


# lsb_release -a
Distributor ID:    Debian
Description:    Debian GNU/Linux 7.8 (wheezy)
Release:    7.8
Codename:    wheezy

freeswitch@internal> version
FreeSWITCH Version 1.4.15+git~20141229T185951Z~507a0f22c5~64bit (git 507a0f2 2014-12-29 18:59:51Z 64bit)

# apt-cache show libmyodbc
Package: libmyodbc
Source: myodbc
Version: 5.1.10-2+deb7u1

Please advice,
Thanks.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Ítalo Rossi

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org