FYI, I got the same/similar issue with a 10-line perl script, starting FS without -hp option worked for me.<br><br><div class="gmail_quote">On Thu, Sep 10, 2009 at 7:28 PM, Rob Forman <span dir="ltr"><<a href="mailto:rob4manhere@gmail.com">rob4manhere@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br>
<br>
I wrote a small 10-line python script wrapping "txfax" (<a href="http://pastebin.freeswitch.org/10274" target="_blank">http://pastebin.freeswitch.org/10274</a><br>
). Basically it originates a call with Session(), calls mod_fax txfax<br>
application, then hangs up.<br>
<br>
The weird thing is that this works fine the first I run it from<br>
fs_cli. When I run a second time however - it still works and sends<br>
the fax - but FS seg faults after the python script exits.<br>
<br>
Gdb shows something with Session destroy:<br>
<br>
#0 PYTHON::Session::destroy (this=0x83cd308) at freeswitch_python.cpp:<br>
60<br>
60 Py_DECREF(Self);<br>
<br>
Here is the backtrace from the core:<br>
<a href="http://pastebin.freeswitch.org/10275" target="_blank">http://pastebin.freeswitch.org/10275</a><br>
<br>
<br>
Is this a bug- or am I not setting up or cleaning up the session<br>
properly? I was going to open a jira but thought I'd see if I'm<br>
missing something obvious first.<br>
<br>
Thanks!<br>
Rob<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>