[Freeswitch-dev] FS core segfault

Anton VG anton.vazir at gmail.com
Tue Jun 14 20:22:02 MSD 2011


Works since morning (200L calls) with UNIXODBC 2.3.0 (latest) instead
of debian (2.2.14 w/debian patches), with no segfaults and with
Threading = 0. Will do some more tests
ODBC interaction is one of the central parts, and if it does segfaults
for some version, this might be useful to mention some recommendations
regarding to UNIXODBC version used. Separate FS wiki ODBC page?
Also there was stable segfault of PROPER FS shutdown, generating core
with useless backtrace, which is gone since ODBC upgrade.

2011/6/14 Michal Bielicki <michal.bielicki at seventhsignal.de>:
> I backported one from fedora. YOu can find it here:
> http://repo.seventhsignal.de/freeswitch/centos/5.6/x86_64/unixODBC-2.2.14-11.x86_64.rpm
> http://repo.seventhsignal.de/freeswitch/centos/5.6/x86_64/unixODBC-devel-2.2.14-11.x86_64.rpm
>
> Am 14.06.2011 um 11:00 schrieb Anton VG:
>
>> What is the CENTOS version of UNIXODBS which works ok?
>>
>> 2011/6/13 Michal Bielicki <michal.bielicki at seventhsignal.de>:
>>> We had problem with that one and Sybase or MS SQL
>>> On 13.06.2011, at 20:19, Anthony Minessale wrote:
>>>
>>>> or the oldest one =D
>>>> The one on CentOS that we use works ok.
>>>>
>>>>
>>>> On Mon, Jun 13, 2011 at 1:05 PM, Michal Bielicki
>>>> <michal.bielicki at seventhsignal.de> wrote:
>>>>> Other hint is, use the latest unixodbc. We had a lot of interesting experiences with unixodbc and I can only warn that you always need the latest one.
>>>>>
>>>>> On 13.06.2011, at 17:50, Anthony Minessale wrote:
>>>>>
>>>>>> bt shows crash in odbc.
>>>>>>
>>>>>> so you must debug that.
>>>>>>
>>>>>> here is a hint.
>>>>>>
>>>>>> edit odbcinst.init and under the postgres section, add
>>>>>> Threading = 0
>>>>>>
>>>>>>
>>>>>> On Mon, Jun 13, 2011 at 10:37 AM, Anton VG <anton.vazir at gmail.com> wrote:
>>>>>>> My DB is postgresql 9.0.3 - The same system passed over 300 000 calls
>>>>>>> over night with no faults. And yesterday i have seen several times a
>>>>>>> segfault after just 1000 calls. At the same time I have over 100 other
>>>>>>> connections to DB. And it works rock solid. Postgresq is not MySQL or
>>>>>>> any toy-db.
>>>>>>> I'm not skipping "git" reproduction. Just installed it too see if I
>>>>>>> hit the bug. Since segfault is random, it's logical to suppose that
>>>>>>> you might be interested to look at the BT regardless git-head
>>>>>>> reproducebility.
>>>>>>>
>>>>>>> 2011/6/13 Anthony Minessale <anthony.minessale at gmail.com>:
>>>>>>>> see comments on the bug.
>>>>>>>> this is not a problem with freeswitch nor are you entitled to skip
>>>>>>>> over the "reproduced with git head" requirement
>>>>>>>>
>>>>>>>> Try checking your db setup for threadsafe settings.
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Jun 13, 2011 at 4:19 AM, Anton VG <anton.vazir at gmail.com> wrote:
>>>>>>>>> Reported to
>>>>>>>>> http://jira.freeswitch.org/browse/FS-3343
>>>>>>>>>
>>>>>>>>> seems randomly happens somewhere on DB ODBC interaction, when system
>>>>>>>>> DB is on ODBC
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> FreeSWITCH-dev mailing list
>>>>>>>>> FreeSWITCH-dev at lists.freeswitch.org
>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>>>>>>>> http://www.freeswitch.org
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Anthony Minessale II
>>>>>>>>
>>>>>>>> FreeSWITCH http://www.freeswitch.org/
>>>>>>>> ClueCon http://www.cluecon.com/
>>>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire
>>>>>>>>
>>>>>>>> AIM: anthm
>>>>>>>> MSN:anthony_minessale at hotmail.com
>>>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>>>>>>>> IRC: irc.freenode.net #freeswitch
>>>>>>>>
>>>>>>>> FreeSWITCH Developer Conference
>>>>>>>> sip:888 at conference.freeswitch.org
>>>>>>>> googletalk:conf+888 at conference.freeswitch.org
>>>>>>>> pstn:+19193869900
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> FreeSWITCH-dev mailing list
>>>>>>>> FreeSWITCH-dev at lists.freeswitch.org
>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>>>>>>> http://www.freeswitch.org
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> FreeSWITCH-dev mailing list
>>>>>>> FreeSWITCH-dev at lists.freeswitch.org
>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>>>>>> http://www.freeswitch.org
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Anthony Minessale II
>>>>>>
>>>>>> FreeSWITCH http://www.freeswitch.org/
>>>>>> ClueCon http://www.cluecon.com/
>>>>>> Twitter: http://twitter.com/FreeSWITCH_wire
>>>>>>
>>>>>> AIM: anthm
>>>>>> MSN:anthony_minessale at hotmail.com
>>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>>>>>> IRC: irc.freenode.net #freeswitch
>>>>>>
>>>>>> FreeSWITCH Developer Conference
>>>>>> sip:888 at conference.freeswitch.org
>>>>>> googletalk:conf+888 at conference.freeswitch.org
>>>>>> pstn:+19193869900
>>>>>>
>>>>>> _______________________________________________
>>>>>> FreeSWITCH-dev mailing list
>>>>>> FreeSWITCH-dev at lists.freeswitch.org
>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>>>>> http://www.freeswitch.org
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> FreeSWITCH-dev mailing list
>>>>> FreeSWITCH-dev at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>>>> http://www.freeswitch.org
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Anthony Minessale II
>>>>
>>>> FreeSWITCH http://www.freeswitch.org/
>>>> ClueCon http://www.cluecon.com/
>>>> Twitter: http://twitter.com/FreeSWITCH_wire
>>>>
>>>> AIM: anthm
>>>> MSN:anthony_minessale at hotmail.com
>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>>>> IRC: irc.freenode.net #freeswitch
>>>>
>>>> FreeSWITCH Developer Conference
>>>> sip:888 at conference.freeswitch.org
>>>> googletalk:conf+888 at conference.freeswitch.org
>>>> pstn:+19193869900
>>>>
>>>> _______________________________________________
>>>> FreeSWITCH-dev mailing list
>>>> FreeSWITCH-dev at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>>> http://www.freeswitch.org
>>>
>>>
>>> _______________________________________________
>>> FreeSWITCH-dev mailing list
>>> FreeSWITCH-dev at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>> http://www.freeswitch.org
>>>
>>
>> _______________________________________________
>> FreeSWITCH-dev mailing list
>> FreeSWITCH-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> http://www.freeswitch.org
>
> Michal Bielicki
> Geschäftsführer / CEO
>
> Seventh Signal Ltd. & Co. KG
> Weigandufer 45, Büro 115, D-12059 Berlin
> Voice: +49 30 60988730
>
> Amtsgericht Charlottenburg HRA 44413 B
> Ust.-ID: DE266981999
> Geschäftsführer: Michal Bielicki
> Persönlich Haftende Gesellschafterin:
> Seventh Signal Ltd, 69 Great Hampton St. Birmingham,
> B18 6EW, GB, Company Nr.: 06889439
> WWW.: http://www.seventhsignal.de
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>



More information about the FreeSWITCH-dev mailing list