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

Rob Forman rob4manhere at gmail.com
Thu Sep 10 10:07:11 PDT 2009


Hi Nikolai,

Thanks for the response.  Unfortunately I am already running without - 
hp.  Just plain ol' ./bin/freeswitch.

Also, I didn't mention it but I'm current and running off the build  
(14805).

Rob

On Sep 10, 2009, at 11:58 AM, Nikolai Geordzhev 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/4ce7dbf8/attachment-0002.html 


More information about the FreeSWITCH-users mailing list