[Freeswitch-users] Perl background script crashes FreeSWITCH...

Anthony Minessale anthony.minessale at gmail.com
Fri Sep 24 14:11:10 PDT 2010


it's probably a namespace collision from the sqlite in perl on disk
and the sqlite inside FS
do you mean you are running it in mod_perl?
does it work on a less than latest ubuntu?

On Fri, Sep 24, 2010 at 12:49 PM, Klaus Hochlehnert <Mailings at kh-dev.de> wrote:
> Hi,
>
>
>
> I’m currently testing the newest trunk of FS with Ubuntu 10.04.
>
>
>
> I have a perl background script that will be started through FS
> (perl.conf.xml). This script uses Perl-DBI with sqlite.
>
> And when adding this script to perl.conf.xml freeswitch will immediately
> crash when this script starts.
>
>
>
> On my old FS installation (somewhere between 1.0.4 and 1.0.6) it works fine.
>
> It also works fine when started standalone.
>
>
>
> Any ideas?
>
>
>
> Here’s the backtrace:
>
> (gdb) bt
>
> #0  0x00007ffa2e64bbac in sqlite_st_execute () from
> /usr/lib/perl5/auto/DBD/SQLite/SQLite.so
>
> #1  0x00007ffa2e641f7f in XS_DBD__SQLite__st_execute () from
> /usr/lib/perl5/auto/DBD/SQLite/SQLite.so
>
> #2  0x00007ffa2f1a8a37 in XS_DBI_dispatch () from
> /usr/lib/perl5/auto/DBI/DBI.so
>
> #3  0x00007ffa3564f045 in Perl_pp_entersub () from /usr/lib/libperl.so.5.10
>
> #4  0x00007ffa3564d336 in Perl_runops_standard () from
> /usr/lib/libperl.so.5.10
>
> #5  0x00007ffa355f4548 in Perl_call_sv () from /usr/lib/libperl.so.5.10
>
> #6  0x00007ffa2f1a6d1a in XS_DBI_dispatch () from
> /usr/lib/perl5/auto/DBI/DBI.so
>
> #7  0x00007ffa3564f045 in Perl_pp_entersub () from /usr/lib/libperl.so.5.10
>
> #8  0x00007ffa3564d336 in Perl_runops_standard () from
> /usr/lib/libperl.so.5.10
>
> #9  0x00007ffa355f0df7 in Perl_eval_sv () from /usr/lib/libperl.so.5.10
>
> #10 0x00007ffa355f11b0 in Perl_eval_pv () from /usr/lib/libperl.so.5.10
>
> #11 0x00007ffa35916dc3 in Perl_safe_eval (my_perl=0x1e8b950, string=0x0) at
> /usr/src/freeswitch/src/mod/languages/mod_perl/mod_perl.c:69
>
> #12 0x00007ffa35917c80 in perl_parse_and_execute (my_perl=<value optimized
> out>, input_code=<value optimized out>,
>
>     setup_code=<value optimized out>) at
> /usr/src/freeswitch/src/mod/languages/mod_perl/mod_perl.c:138
>
> #13 0x00007ffa35917f70 in perl_thread_run (thread=<value optimized out>,
> obj=0x19b5bf0)
>
>     at /usr/src/freeswitch/src/mod/languages/mod_perl/mod_perl.c:275
>
> #14 0x00007ffa498159ca in start_thread () from /lib/libpthread.so.0
>
> #15 0x00007ffa48d4d6fd in clone () from /lib/libc.so.6
>
> #16 0x0000000000000000 in ?? ()
>
>
>
> Thanks, Klaus
>
> _______________________________________________
> 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
>
>



-- 
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



More information about the FreeSWITCH-users mailing list