Re[5]: rlm_perl cause fall out to core

2003-06-18 Thread magmike
Hi!

> On _2003-06-18 at 13:55, Michael Chernyakhovsky wrote:
>> Just now i try recompile my perl with USE_ITHREADS.
>> no results. radiusd fault after kill -HUP.
>> 

> Send output from radiusd -xxx or -X perl -V and gdb trace 

>> Mike.
I'm really sorry.  I was mistaken :(
perl looks good. troubles seams in rlm_passwd.
I have found out bug when i began to use rlm_perl.
in the same time appear first message about " rlm_perl cause fall out
to core"

Today i have very much experiences to define causes of segmentation faults.
I exclude all modules in reverse order i use it.

i was mistaken also because radiusd run with -X options does not
output any debug messages after kill -HUP :(. It's looks like hunged.

And please forgive me again.



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Re[3]: rlm_perl cause fall out to core

2003-06-18 Thread Boian Jordanov
On _2003-06-18 at 13:55, Michael Chernyakhovsky wrote:
> Just now i try recompile my perl with USE_ITHREADS.
> no results. radiusd fault after kill -HUP.
> 

Send output from radiusd -xxx or -X perl -V and gdb trace 

> Mike.

-- 
Best Regards,

Boian Jordanov
SNE
Orbitel - the Internet Company
tel. +359 2 937 07 23



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re[3]: rlm_perl cause fall out to core

2003-06-18 Thread Michael Chernyakhovsky
Just now i try recompile my perl with USE_ITHREADS.
no results. radiusd fault after kill -HUP.

Mike.
> No results :(

> it segmentation faults.

> It seems my perl (slackware 9.0, perl 5.8.0)  is built without -Duseithreads flag
> there are
> /*#define   USE_ITHREADS/ **/

> line in my /usr/lib/perl5/5.8.0/i386-linux/CORE/config.h


> Also, as i noticed, perl_destruct and perl_free does not execute
> anywhere. perl_destruct executed when USE_ITHREADS defined.
> Although when i try to add perl_destruct/perl_free radius fault anyway
> :(

> Mike.

>> On _ 2003-06-17 at 21:55, [EMAIL PROTECTED] wrote:
>>> > Hi. I have a problem with rlm_perl on version 0.8.1 (under FreeBSD 5.1 Release).
>>> > After starting radiusd with -xyz I've got segmentation fault.
>>> > What I do wrong?
>>> 
>>> I confirm the problem.
>>> 
>>> My radiusd (latest snapshot) works fine until it got -HUP signal.
>>> After kill -HUP it works until first request or next -HUP signal.
>>> 

>> Use rlm_perl from cvs or get a patch from
>> http://redguy.orbitel.bg/~alien/

>> version in 0.8.1 is unstable and probably broken. (That's why it is in
>> testing section ) so don't use it. Instead of this grab the latest cvs
>> and try it. 


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re[2]: rlm_perl cause fall out to core

2003-06-18 Thread magmike
No results :(

it segmentation faults.

It seems my perl (slackware 9.0, perl 5.8.0)  is built without -Duseithreads flag
there are
/*#define   USE_ITHREADS/ **/

line in my /usr/lib/perl5/5.8.0/i386-linux/CORE/config.h


Also, as i noticed, perl_destruct and perl_free does not execute
anywhere. perl_destruct executed when USE_ITHREADS defined.
Although when i try to add perl_destruct/perl_free radius fault anyway
:(

Mike.

> On _ 2003-06-17 at 21:55, [EMAIL PROTECTED] wrote:
>> > Hi. I have a problem with rlm_perl on version 0.8.1 (under FreeBSD 5.1 Release).
>> > After starting radiusd with -xyz I've got segmentation fault.
>> > What I do wrong?
>> 
>> I confirm the problem.
>> 
>> My radiusd (latest snapshot) works fine until it got -HUP signal.
>> After kill -HUP it works until first request or next -HUP signal.
>> 

> Use rlm_perl from cvs or get a patch from
> http://redguy.orbitel.bg/~alien/

> version in 0.8.1 is unstable and probably broken. (That's why it is in
> testing section ) so don't use it. Instead of this grab the latest cvs
> and try it. 

>> without rlm_perl all looks stable.
>> 
>> linux 2.4.20-SMP, slackware 9.0.
>> perl, v5.8.0 built for i386-linux.
>> 
>> Mike.
>> 
>> 
>> - 
>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: rlm_perl cause fall out to core

2003-06-18 Thread Boian Jordanov
On _ 2003-06-17 at 21:55, [EMAIL PROTECTED] wrote:
> > Hi. I have a problem with rlm_perl on version 0.8.1 (under FreeBSD 5.1 Release).
> > After starting radiusd with -xyz I've got segmentation fault.
> > What I do wrong?
> 
> I confirm the problem.
> 
> My radiusd (latest snapshot) works fine until it got -HUP signal.
> After kill -HUP it works until first request or next -HUP signal.
> 

Use rlm_perl from cvs or get a patch from
http://redguy.orbitel.bg/~alien/

version in 0.8.1 is unstable and probably broken. (That's why it is in
testing section ) so don't use it. Instead of this grab the latest cvs
and try it. 

> without rlm_perl all looks stable.
> 
> linux 2.4.20-SMP, slackware 9.0.
> perl, v5.8.0 built for i386-linux.
> 
> Mike.
> 
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- 
Best Regards,

Boian Jordanov
SNE
Orbitel - the Internet Company
tel. +359 2 937 07 23



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: rlm_perl cause fall out to core

2003-06-17 Thread magmike
> Hi. I have a problem with rlm_perl on version 0.8.1 (under FreeBSD 5.1 Release).
> After starting radiusd with -xyz I've got segmentation fault.
> What I do wrong?

I confirm the problem.

My radiusd (latest snapshot) works fine until it got -HUP signal.
After kill -HUP it works until first request or next -HUP signal.

without rlm_perl all looks stable.

linux 2.4.20-SMP, slackware 9.0.
perl, v5.8.0 built for i386-linux.

Mike.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


rlm_perl cause fall out to core

2003-06-17 Thread Dennis S. Davidoff
Hi. I have a problem with rlm_perl on version 0.8.1 (under FreeBSD 5.1 Release).
After starting radiusd with -xyz I've got segmentation fault.
What I do wrong?

experimental.conf:
perl {
module = /usr/local/etc/raddb/example.pl
func_accounting = accounting
func_authentication = authenticate
func_preacct = preacct
func_checksimul = checksimul
func_xlat = xlat
}

radiusd.conf:
[...]
modules {
chap {
authtype = CHAP
}
mschap {
authtype = MS-CHAP
use_mppe = no
require_encryption = no
require_strong = no
}
$INCLUDE ${confdir}/experimental.conf
}

authorize {
perl
chap
mschap
}

authenticate {
authtype FUFLO {
chap
mschap
}
}
[...]

users:
DEFAULT Auth-Type := FUFLO
Fall-Through = Yes

gdb output, configs, scripts is available at http://null.pp.ru/fuck

-- 
Sincerely,
Dennis

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html