[Freeswitch-users] FS Crashes After Second Call To Python Application

Diego Viola diego.viola at gmail.com
Thu Sep 10 10:08:57 PDT 2009


Well, that shouldn't happen, get a trace and open a jira or contact the
developers to resolve the issue.

Best regards,

Diego

On Thu, Sep 10, 2009 at 4:58 PM, Nikolai Geordzhev <n.geordzhev at gmail.com>wrote:

> FYI, I got the same/similar issue with a 10-line perl script, starting FS
> without -hp option worked for me.
>
>
> On Thu, Sep 10, 2009 at 7:28 PM, Rob Forman <rob4manhere at gmail.com> wrote:
>
>> Hi all,
>>
>> I wrote a small 10-line python script wrapping "txfax" (
>> http://pastebin.freeswitch.org/10274
>> ).  Basically it originates a call with Session(), calls mod_fax txfax
>> application, then hangs up.
>>
>> The weird thing is that this works fine the first I run it from
>> fs_cli.  When I run a second time however - it still works and sends
>> the fax - but FS seg faults after the python script exits.
>>
>> Gdb shows something with Session destroy:
>>
>> #0  PYTHON::Session::destroy (this=0x83cd308) at freeswitch_python.cpp:
>> 60
>> 60                      Py_DECREF(Self);
>>
>> Here is the backtrace from the core:
>>   http://pastebin.freeswitch.org/10275
>>
>>
>> Is this a bug- or am I not setting up or cleaning up the session
>> properly?  I was going to open a jira but thought I'd see if I'm
>> missing something obvious first.
>>
>> Thanks!
>> Rob
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090910/a01a3827/attachment-0002.html 


More information about the FreeSWITCH-users mailing list