: RE: segfault error
I think I have what you are looking for now. I have copied the whole dump
from when I start using gdb.
Chris
[root@on-radius01 raddb]# gdb /usr/sbin/radiusd
/tmp/core-radiusd-11-95-95-11609-1367435209
GNU gdb (GDB) CentOS (7.0.1-45.el5.centos) Copyright (C
=corp.eastlink...@lists.freeradius.org]
On Behalf Of a.l.m.bu...@lboro.ac.uk
Sent: Wednesday, May 01, 2013 6:30 PM
To: FreeRadius users mailing list
Subject: Re: segfault error
hi,
..thats the startupand when a request comes in (the one that segfaults the
server.) ?
alan
-
List info
Chris Taylor wrote:
Sorry miscommunication on my part. Below is an example of a request that
causes the segfault. I was also able to get a core dump as well which I
pasted at the bottom.
Which is *not* what we asked for.
Please follow the instructions in doc/bugs. It gives DETAILED
=corp.eastlink...@lists.freeradius.org
[mailto:freeradius-users-bounces+chris.taylor=corp.eastlink...@lists.freeradius.org]
On Behalf Of Alan DeKok
Sent: Thursday, May 02, 2013 11:58 AM
To: FreeRadius users mailing list
Subject: Re: segfault error
Chris Taylor wrote:
Sorry miscommunication on my part
I forgot to include my OS and kernel type.
Linux on-radius01.eastlink.ca 2.6.18-308.16.1.el5
CentOS release 5.9 (Final)
-Original Message-
From: Chris Taylor
Sent: Thursday, May 02, 2013 1:31 PM
To: 'FreeRadius users mailing list'
Subject: RE: segfault error
I think I have what you
-
From:
freeradius-users-bounces+chris.taylor=corp.eastlink...@lists.freeradius.org
[mailto:freeradius-users-bounces+chris.taylor=corp.eastlink...@lists.freeradius.org]
On Behalf Of Chris Taylor
Sent: Friday, April 12, 2013 4:31 PM
To: FreeRadius users mailing list
Subject: RE: segfault error
Yeah
Chris Taylor wrote:
I did some more debugging and I always seem to get a segfault at the same
place. Is there something I should be looking at on the LDAP backend?
See doc/bugs
That should help.
Alan DeKok.
-
List info/subscribe/unsubscribe? See
Subject: Re: segfault error
Chris Taylor wrote:
I did some more debugging and I always seem to get a segfault at the same
place. Is there something I should be looking at on the LDAP backend?
See doc/bugs
That should help.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http
On 05/01/2013 01:36 PM, Chris Taylor wrote:
I have tried a few times but I can't get a core dump. After radius dies I run gdb
/usr/sbin/radiusd /tmp/core_dump/test.dump but I get the following output.
#
[root@on-radius01 core_dump]# gdb /usr/sbin/radiusd
users mailing list
Cc: Chris Taylor
Subject: Re: segfault error
On 05/01/2013 01:36 PM, Chris Taylor wrote:
I have tried a few times but I can't get a core dump. After radius dies I run
gdb /usr/sbin/radiusd /tmp/core_dump/test.dump but I get the following
output
Chris Taylor wrote:
I have tried a few times but I can't get a core dump.
See doc/bugs. It contains instructions for debugging a live server.
If you can't get core dumps, use the instructions in Section 3 of that file.
Alan DeKok.
-
List info/subscribe/unsubscribe? See
Hi,
I did some more debugging and I always seem to get a segfault at the same
place. Is there something I should be looking at on the LDAP backend?
i'd like to knwo what you are doing, how you have this configured.and why
your server thinks '45270' or
'bradly' or SSHA encrypted, its
hi,
..thats the startupand when a request comes in (the one that segfaults
the server.) ?
alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
+chris.taylor=corp.eastlink...@lists.freeradius.org
[mailto:freeradius-users-bounces+chris.taylor=corp.eastlink...@lists.freeradius.org]
On Behalf Of Alan DeKok
Sent: Wednesday, April 10, 2013 9:45 AM
To: FreeRadius users mailing list
Subject: Re: segfault error
Chris Taylor wrote:
I am running
Chris Taylor wrote:
Ok I have upgraded to a compiled version of freeradius 2.2.0, and I was able
to see the same result. It crashed after a few minutes with the error below.
on-radius01 kernel: radiusd[10038]: segfault at 73d87000 rip
003c6c07b5bb rsp 73d83c08 error 4
=corp.eastlink...@lists.freeradius.org]
On Behalf Of Alan DeKok
Sent: Friday, April 12, 2013 3:45 PM
To: FreeRadius users mailing list
Subject: Re: segfault error
Chris Taylor wrote:
Ok I have upgraded to a compiled version of freeradius 2.2.0, and I was able
to see the same result. It crashed after
Chris Taylor wrote:
I am running freeradius2-2.1.12-5.el5 on a CentOS server release 5.9
(Final). I was doing some testing on some new RADIUS servers that we
want to put into production and I got the following error.
Well... upgrade to 2.2.0. There's no reason for us to debug issues in
old
David Peterson wrote:
I had a bit of code cause a segfault in 3.0.0.
See doc/bugs.
Message-Authenticator = %{Message-Authenticator}
Don't do that. Message-Authebnticator is calculated automatically.
Just do:
Message-Authenticator = 0x00
Is there any reason I
+david.peterson=acc-corp.net@lists.freeradiu
s.org] On Behalf Of Alan DeKok
Sent: Thursday, February 21, 2013 12:12 PM
To: David Peterson-WirelessConnections; FreeRadius users mailing list
Subject: Re: segfault
David Peterson wrote:
I had a bit of code cause a segfault in 3.0.0.
See doc/bugs
David Peterson wrote:
Does this help at all or am I going about this wrong:
It helps.
Exiting normally.
==10285== Invalid read of size 8
==10285==at 0x40DA08: cf_section_parse_free (conffile.c:344)
==10285==by 0x7889C50: eaptype_free (mem.c:253)
Do a git pull. The master
David Peterson wrote:
I just put this together yesterday but just in case:
From git://git.freeradius.org/freeradius-server
f822263..99fedbc master - origin/master
* [new branch] talloc3- origin/talloc3
Already up-to-date.
Well, there's no call to cf_section_parse_free()
Does this help at all or am I going about this wrong:
Exiting normally.
==10285== Invalid read of size 8
==10285==at 0x40DA08: cf_section_parse_free (conffile.c:344)
==10285==by 0x7889C50: eaptype_free (mem.c:253)
==10285==by 0x788759E: eap_detach (rlm_eap.c:69)
==10285==by
Peterson-WirelessConnections; FreeRadius users mailing list
Subject: Re: segfault
David Peterson wrote:
I just put this together yesterday but just in case:
From git://git.freeradius.org/freeradius-server
f822263..99fedbc master - origin/master
* [new branch] talloc3- origin
]
Sent: Thursday, February 21, 2013 1:23 PM
To: David Peterson-WirelessConnections; FreeRadius users mailing list
Subject: Re: segfault
David Peterson wrote:
Does this help at all or am I going about this wrong:
It helps.
Exiting normally.
==10285== Invalid read of size 8
==10285
Hi,
OK it still shows the cf_section_parse_free()
IIRC there was a small issue with GIT commmits
yesterdayso either force the pull (talloc wasnt
the last stuff...theres been quite a few things since then)
or just blow away the current freeradius-server
source directory and do a fresh clone
Hi Norman,
I did not try yet, I am really busy on other concerns. This is still on
my short-term todo tho.
On 12-04-20 5:05 PM, John Dennis wrote:
On 04/20/2012 04:09 PM, Norman Elton wrote:
As Fajar said, try the v2.1.x branch from git. It has some fixes to
the Perl module.
Francois,
As Fajar said, try the v2.1.x branch from git. It has some fixes to
the Perl module.
Francois,
Did these suggestions help? We're getting a rlm_perl segfault, very
sporadically. All I see in the logs is:
radiusd[21706]: segfault at 10 ip 003e4bc531b1 sp 7f1aafffdd70
error 4 in
On 04/20/2012 04:09 PM, Norman Elton wrote:
As Fajar said, try the v2.1.x branch from git. It has some fixes to
the Perl module.
Francois,
Did these suggestions help? We're getting a rlm_perl segfault, very
sporadically. All I see in the logs is:
radiusd[21706]: segfault at 10 ip
Francois Gaudreault wrote:
We installed FR on one CentOS 5.8 today, and we are running into weird
crashing issues. Sometimes RADIUS works fine, sometimes it starts to
crash right after the start. We hooked gdb to it, and it appears to be
related with the rlm_perl module. We are using an
On Sat, Apr 7, 2012 at 5:06 AM, Francois Gaudreault
fgaudrea...@inverse.ca wrote:
Hi,
We installed FR on one CentOS 5.8 today, and we are running into weird
crashing issues. Sometimes RADIUS works fine, sometimes it starts to crash
right after the start. We hooked gdb to it, and it appears
Arnaud Loonstra wrote:
Any advice on a segfault situation...?
Upgrade.
I cannot reproduce it on a test server and it only happens in
production. Probably a load thing...?
Possibly.
I could upgrade to current stable version in git,
Upgrade to the v2.1.x branch in git.
I could
On 2012/01/23 03:20 PM, Alan DeKok wrote:
I could upgrade the OS
(Lenny to Squeeze). Debugging from this backports version seems an
impossible road? Or I could install the -dbg version and perhaps run the
server in a screen session? However I have experienced it won't crash if
run in debug
Johan Meiring wrote:
I can confirm the same problem.
Version is freeradius-git downloaded about 4 days before 2.1.12 was
released.
Running with -X it runs forever. (About two months now)
Without, it crashes about once a week.
Well, the only thing I can see which could be it is the
On 01/23/2012 02:44 PM, Alan DeKok wrote:
Johan Meiring wrote:
I can confirm the same problem.
Version is freeradius-git downloaded about 4 days before 2.1.12 was
released.
Running with -X it runs forever. (About two months now)
Without, it crashes about once a week.
Well, the only
Hi,
Version is freeradius-git downloaded about 4 days before 2.1.12 was released.
I'd say go to 2.1.12 - why run a version from GIT that is older than the
released version (there were quite a few fixes in the last couple of days
before 2.1.12 was released)
alan
-
List
Hi,
On Mon, Jan 23, 2012 at 02:13:55PM +0100, Arnaud Loonstra wrote:
Jan 23 13:29:17 LX800476 kernel: [1366692.780725] freeradius[23459]:
segfault at 8 ip b7461326 sp b5105988 error 4 in
libc-2.7.so[b7403000+155000]
Running a backports verison of freeradius on Debian Lenny:
Phil Mayers wrote:
We're seeing very occasional segfaults in the detail listener. I've
managed to catch one under gdb, and the backtrace shows it dying at
detail.c:601:
if (feof(data-fp)) goto cleanup;
...because data-fp == NULL
I can't follow the control flow to see why this might
Anatoly Ivanov anatoly.iva...@gmail.com wrote:
I am running freeradius (2.1.8) with rlm_perl (5.10.1, USE_ITHREADS) on a
Debian-Lenny system.
The problem is radius fails with segfault ??? periodically and intermittently.
I have no way to reliably reproduce the problem ??? it happens only
On Jan 4, 2011, at 9:59 PM, Anatoly Ivanov wrote:
Hi,
I am running freeradius (2.1.8) with rlm_perl (5.10.1, USE_ITHREADS) on a
Debian-Lenny system.
The problem is radius fails with segfault – periodically and intermittently.
I have no way to reliably reproduce the problem – it
On 2011/01/04 09:59 PM, Anatoly Ivanov wrote:
Hi,
I am running freeradius (2.1.8) with rlm_perl (5.10.1, USE_ITHREADS) on a
Debian-Lenny system.
The problem is radius fails with segfault – periodically and intermittently.
I have no way to reliably reproduce the problem – it happens only in
On Oct 16, 2009, at 2:57 PM, Michael Chernyakhovsky wrote:
Oct 13 21:58:53 rs kernel: radiusd[11441]: segfault at 20004 ip
b7478636 sp b502bcb0 error 4 in rlm_perl-2.1.7.so[b73cb000+15b000]
Oct 14 22:09:56 rs kernel: radiusd[17687]: segfault at 8 ip b731e35d
sp b6f61ce0 error 4 in
Alexander Clouter wrote:
I am running FreeRADIUS from git[1] about two days ago and found that by
putting the following in my 'hints' file gives me the segfault shown
below[2]. If I remove the end bit[3] then I do not get the segfault,
but then I also do not get my comparison :)
Any
Hi,
Long time no see.
Arran Cudbard-Bell a.cudbard-b...@sussex.ac.uk wrote:
You using ProCurve NAS then? Or have other people started using
Service-Type = 'Call-Check' to hint at Mac-Auth?
Cisco always have from what I can tell, well since they introduced mac
auth back roughly two or so
Hi,
Long time no see.
Indeed.
Arran Cudbard-Bella.cudbard-b...@sussex.ac.uk wrote:
You using ProCurve NAS then? Or have other people started using
Service-Type = 'Call-Check' to hint at Mac-Auth?
Cisco always have from what I can tell, well since they introduced mac
auth back roughly
Hi,
Hi,
It's that time of year to overhaul the cesspool that makes up my
FreeRADIUS config files.
I am running FreeRADIUS from git[1] about two days ago and found that by
putting the following in my 'hints' file gives me the segfault shown
below[2]. If I remove the end bit[3] then I
Alan Buxey wrote:
you are doing 2 seperate comparisons for the one attribute. is that
correct/allowed?
Allowed, yes. Correct...
It would be better to shift complex policies to unlang.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hello!
You using ProCurve NAS then? Or have other people started using
Service-Type = 'Call-Check' to hint at Mac-Auth?
-Arran
Alan Buxey a.l.m.bu...@lboro.ac.uk wrote:
It's that time of year to overhaul the cesspool that makes up my
FreeRADIUS config files.
I am running FreeRADIUS
D'AVELLA STEFANO wrote:
I am having some problems in trying to write a little module to handle
some custom attributes. Because I have a project regarding very specific
requirements I preferred to write a module instead of trying to use the
existing ones, so I can know in a better way where to
Matt Garretson wrote:
The segfault is actually occurring in the Kerberos libraries, which
means that Freeradius might not be the issue, however the segfault
occurs only when radiusd is given -X or -sfxx options. I.e.
radiusd -sfx and radiusd work as expected, and do not segfault.
(One thing
Alan DeKok wrote:
That would seem to be the case, yes. But it's very weird. Doubly so
since there's no code in rlm_krb5 that depends on debug_flag = 2.
So... the culprit is likely elsewhere. Exactly where it is located is
difficult to say.
Thanks, Alan. Just a quick update...
[EMAIL PROTECTED] wrote:
Hello!
I use Debian 4.0 with FreeRadius 1.1.3 and I am developing a custom module
for the post-auth section.
When I want to access the request attributes (user name and password) I get a
segmentation fault with this code:
VALUE-PAIR *request_pairs =
Bastiaan van Kesteren wrote:
I'm running a freeradius server on a fresh slackware 11 installation.
Everything seems to work OK, except after i've done a 'killall -HUP
radiusd'. The server reloads it's configurationfiles, but once the
first request comes in after this, it segfaults.
Yes.
Paul A Roberts [EMAIL PROTECTED] wrote:
Segmentation fault (core dumped)
doc/bugs describes what to do.
Alan DeKok.
--
http://deployingradius.com - The web site of the book
http://deployingradius.com/blog/ - The blog
-
List info/subscribe/unsubscribe? See
PROTECTED]
Sent: Sep 25, 2006 7:36 AM
To: Paul A Roberts [EMAIL PROTECTED], FreeRadius users mailing list
freeradius-users@lists.freeradius.org
Subject: Re: Segfault with EAP-PEAP/MSCHAPv2
Paul A Roberts [EMAIL PROTECTED] wrote:
Segmentation fault (core dumped)
doc/bugs describes what to do
Paul A Roberts [EMAIL PROTECTED] wrote:
This is the core dump. FreeBSD 6.1 host, 1.1.2 FreeRadius. Authenticates
fine using NTRadPing with MS-CHAP but crashes each time trying to
authenticate from an XP box using EAP-PEAP/MS-CHAPv2.
Hmm... that doesn't help much.
All I can suggest is
Hi,I get the exact same problem, and I too have been working on it for a while, and is getting quite frustrating. I've tried FreeRADIUS 1.1.2 and 1.1.3 both from source, and 1.1.2 from the FreeBSD ports collection (although I had to hack the port to get it to build past sqlippool), on FreeBSD
6.0
On Wednesday 12 July 2006 20:13, Nikola Pavkovic wrote:
Hello all,
I'm expiriencing strange behaviour when starting freeradius using
rlm_perl. When I include any module (for example DBI) inside my custom
AAA script, i get a segfault. (Debian sarge, freeradius 1.1.2).
Any hints are very
On Thu, Jul 13, 2006 at 10:41:57AM +0300, Boian Jordanov wrote:
On Wednesday 12 July 2006 20:13, Nikola Pavkovic wrote:
Any hints are very welcome.
Any traces are welcome :-)
Boian, but it seems that we resolved the issue following the advices
found at
On Tue, 2005-11-15 at 11:54 -0800, Kristina Pfaff-Harris wrote:
Luca, are you on a Linux/Unixish type system? If so, and if worst comes to
Yes, I'm on Debian GNU/Linux.
worst, you may be able to find it with:
find / -name '*core*' -print
Already tried to do a find, it lists quite a lot
On Wed, 16 Nov 2005, Luca Corti wrote:
There is (or was) also an option in radiusd.conf that says
allow_core_dumps = no. You may need to set this to yes, but I'm
not sure that applies to debug mode.
As I said I set allow_core_dumps to yes and tried running freeradius
both in debugging
Luca Corti wrote:
On Tue, 2005-11-15 at 09:38 -0600, Michael Griego wrote:
ntlm_auth = /usr/bin/ntlm_auth --request-nt-key
--username=%{mschap:User-Name} --challenge=%{mschap:Challenge}
--nt-response=%{mschap:NT-Response} --domain=%{mschap:NT-Domain}
Thanks a lot, this makes ntlm_auth
On Tue, 2005-11-15 at 19:25 +0100, Nicolas Baradakis wrote:
segfaults while sending Access-Accept:
Please post the output of gdb, as explained here:
http://freeradius.org/radiusd/doc/bugs
Ok, please forgive my newbieness on debugging. I've read the link you
posted, issued ulimit -c unlimited
On Tue, 15 Nov 2005, Luca Corti wrote:
freeradius -X (also tried -x and init.d script)
and reproduced the problem. I can't find the core file though... were is
it supposed to be saved?
Luca, are you on a Linux/Unixish type system? If so, and if worst comes to
worst, you may be able to find
Jason Lixfeld wrote:
Good point. Now, I just have to learn how to use diff :)
It's in the docs :)
--
Regards,
Thor Spruyt
E: [EMAIL PROTECTED]
W: www.thor-spruyt.com
M: +32 (0)475 67 22 65
Bestel nu uw exemplaar van Operationele verkoop (Walter Spruyt -
Liesbeth Huysmans) via www.salesguide.be
Found how to do run this against gdb from a different post. Here's the
output:
...
...
...
rlm_eap: Loaded and initialized type md5
tls: rsa_key_exchange = no
tls: dh_key_exchange = yes
tls: rsa_key_length = 512
tls: dh_key_length = 512
tls: verify_depth = 0
tls: CA_path = (null)
tls:
I'm getting segmentation faults when it tried to load the SQL module
after implementing Thor's changes:
bash# radiusd -X
...
...
...
Module: Instantiated realm (suffix)
Segmentation fault
bash#
Configuration:
sql.conf:
sql_acct {
driver = rlm_sql_mysql
}
sql_auth {
Thanks. That was it.
For the maintainers: Perhaps adding a comment or something to the
sql.conf to the effect of using sql custom name { } for users who
want to use multiple databases but not for the purposes described in
the configurable_failover document. Maybe adding an example in the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Friday 24 September 2004 14:33, Alan DeKok wrote:
Kevin Bonner [EMAIL PROTECTED] wrote:
I sent radrelay a TERM and saw that there were a few records left in the
detail file that needed to be pushed. Installed version 1.0.1, and
radrelay
Kevin Bonner [EMAIL PROTECTED] wrote:
I sent radrelay a TERM and saw that there were a few records left in the
detail file that needed to be pushed. Installed version 1.0.1, and radrelay
kept segfaulting when trying to start. Running through gdb, I tracked it
down to an invalid entry in the
Robert Schultz schrieb:
Hello.
I am trying to run freeRADIUS 1.0.0 with openssl 0.9.7d.
While doing
./configure --with-openssl-libraries=/usr/local/lib
--with-openssl-includes=
/usr/local/include
or
./configure
--with-openssl-libraries=/usr/local/openssl/lib
--with-openssl-i
From: Stefan Neis
Robert Schultz schrieb:
Hello.
I am trying to run freeRADIUS 1.0.0 with openssl 0.9.7d.
While doing
./configure --with-openssl-libraries=/usr/local/lib
--with-openssl-includes=
/usr/local/include
or
./configure
--with-openssl-libraries=/usr/local/openssl/lib
--with-openssl-i
Robert Schultz [EMAIL PROTECTED] wrote:
I am a bit confused about the openssl-dirs, as /usr/local/openssl/lib is
empty.
Then you probably don't have the right version of OpenSSL installed.
What is supposed to be inside the path mentioned in CFLAGS
(or --with-openssl-[libraries/includes]?
Graeme Hinchliffe [EMAIL PROTECTED] wrote:
Maybe worth adding a few more checks in somewhere in the SQL
subsystem. If a query doesn't return the expected attributes (ie
SELECT 1) then FreeRADIUS segfaults.
doc/bugs?
Alan DeKok.
-
List info/subscribe/unsubscribe? See
On Tue, 2004-08-24 at 15:53, Alan DeKok wrote:
Graeme Hinchliffe [EMAIL PROTECTED] wrote:
Maybe worth adding a few more checks in somewhere in the SQL
subsystem. If a query doesn't return the expected attributes (ie
SELECT 1) then FreeRADIUS segfaults.
doc/bugs?
doc/bugs :
= So
Ack [EMAIL PROTECTED] wrote:
I have searched the archives, read the FAQs, read the /docs stuff, and
googled like crazy. I have found similar problems but no solution yet.
SO, I am turning to the list.
doc/bugs
Run it under gdb, and see *where* it core-dumps, and therefore why.
Alan
I'm on vacation Aug 2 - 6 and will return to the office on Monday the 9th.
Bruce Friend
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
76 matches
Mail list logo