VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
rob4manhere at gmail.com Guest
|
Posted: Thu Sep 10, 2009 11:41 am Post subject: [Freeswitch-users] FS Crashes After Second Call To Python Ap |
|
|
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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
n.geordzhev at gmail.com Guest
|
Posted: Thu Sep 10, 2009 12:08 pm Post subject: [Freeswitch-users] FS Crashes After Second Call To Python Ap |
|
|
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@gmail.com (rob4manhere@gmail.com)> wrote:
|
|
Back to top |
|
|
diego.viola at gmail.com Guest
|
Posted: Thu Sep 10, 2009 12:18 pm Post subject: [Freeswitch-users] FS Crashes After Second Call To Python Ap |
|
|
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@gmail.com (n.geordzhev@gmail.com)> wrote:
|
|
Back to top |
|
|
rob4manhere at gmail.com Guest
|
Posted: Thu Sep 10, 2009 12:20 pm Post subject: [Freeswitch-users] FS Crashes After Second Call To Python Ap |
|
|
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:
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|