[Devel] Re: [Users] perl problems

Klaus Darilion klaus.mailinglists at pernau.at
Wed Dec 13 16:42:14 CET 2006


Daniel-Constantin Mierla wrote:
> Could you get a core dump?
> 
> I moved discussion to devel since it is related to development version.

#0  0x40363eaa in perl_destruct () from /usr/lib/libperl.so.5.8
(gdb) backtrace
#0  0x40363eaa in perl_destruct () from /usr/lib/libperl.so.5.8
#1  0x40334782 in unload_perl (p=0x0) at perl.c:225
#2  0x40334a67 in destroy () at perl.c:338
#3  0x080799b8 in destroy_modules () at sr_module.c:369
#4  0x08062eed in cleanup (show_status=0) at main.c:364
#5  0x08064ba4 in main (argc=5061, argv=0xbffffa64) at main.c:1451


regards
klaus


> 
> Cheers,
> Daniel
> 
> 
> 
> 
> On 12/13/06 16:51, Klaus Darilion wrote:
>>
>> But I found another problem:
>>
>> # openser -f /etc/openser/openser-hack.cfg -c
>> Listening on
>>              udp: 213.239.207.29 [213.239.207.29]:5070
>>              tcp: 213.239.207.29 [213.239.207.29]:5070
>> Aliases:
>>              tcp: pb94:5070
>>              tcp: pb94.dyndns.org:5070
>>              udp: pb94:5070
>>              udp: pb94.dyndns.org:5070
>>
>> config file ok, exiting...
>> Segmentation fault
>>
>>
>> testing the config causes a seg fault when using the perl module.
>>
>> regards
>> klaus
>>
>>
>> Klaus Darilion wrote:
>>> Klaus Darilion wrote:
>>>> Hi!
>>>>
>>>> I try the new perl module, but openser does not start:
>>>>
>>>> openser[28662]: perl: Setting lib path: 
>>>> '/home/darilion/software/openser-cvs/sip-server/modules/perl/lib/perl/OpenSER.pm' 
>>>
>>>
>>>
>>>
>>> I found the problem myself, the modpath must be the path only 
>>> (without OpenSER.pm).
>>>
>>> regards
>>> klaus
>>>
>>>
>>>>
>>>> openser[28662]: Error loading perl file "/etc/openser/myperl.pl".
>>>> openser[28662]: init_mod(): Error while initializing module perl
>>>>
>>>> my perl related config:
>>>> loadmodule "/usr/lib/openser/modules/sl.so"
>>>> loadmodule "/usr/lib/openser/modules/tm.so"
>>>> loadmodule "/usr/lib/openser/modules/rr.so"
>>>> loadmodule "/usr/lib/openser/modules/maxfwd.so"
>>>> loadmodule "/usr/lib/openser/modules/usrloc.so"
>>>> loadmodule "/usr/lib/openser/modules/registrar.so"
>>>> loadmodule "/usr/lib/openser/modules/textops.so"
>>>> loadmodule "/usr/lib/openser/modules/perl.so"
>>>> ...
>>>> modparam("perl", "filename", "/etc/openser/myperl.pl")
>>>> modparam("perl", "modpath", 
>>>> "/home/darilion/software/openser-cvs/sip-server/modules/perl/lib/perl/OpenSER.pm") 
>>>>
>>>>
>>>>
>>>> /etc/openser/myperl.pl is identical to 
>>>> modules/perl/doc/samples/messagedump.pl
>>>>
>>>> Any hints what the problem is?
>>>>
>>>> thanks
>>>> klaus
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>


-- 
Klaus Darilion
nic.at




More information about the Devel mailing list