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

Klaus Hochlehnert Mailings at kh-dev.de
Fri Sep 24 10:49:41 PDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100924/f89a6fe2/attachment-0001.html 


More information about the FreeSWITCH-users mailing list