I'm use Debian/Sarge AND64 and Debian/Sarge I386
If it is used Crypt-Password that freeradius finishes work with segmentation
fault
1)
[EMAIL PROTECTED]:/var/log/freeradius# ./start.sh
./start.sh: line 5: 25190 Segmentation fault freeradius -X >
/var/log/freeradius/debug.log
Press any ke
BugBuster <[EMAIL PROTECTED]> wrote:
> Running FreeRADIUS in debug mode (radiusd -sfxxyz -l stdout)
> I get the "Segmentation fault" message (more details is in .txt attachment).
You've included everything but the information requested in doc/bugs.
My bet is that this is bug #98
http://bugs.
Hi Alan.
I compiled with '--disable-shared' but on Debian Linux
FreeRADIUS does not work with MySQL.
So I recompiled on Red Hat Enterprise 3 using the same
configuration command:
./configure --prefix=/usr/local/freeradius \
--with-logdir=/usr/local/freeradius/logs\
--with
BugBuster wrote:
> I compiled with '--disable-shared' but on Debian Linux
> FreeRADIUS does not work with MySQL.
On Debian, compile FreeRADIUS with the command dpkg-buildpackage.
This will prior check whether all the necessary packages are installed
on your system.
$ cd freeradius-1.0.4
$ fak
> You've included everything but the information requested in doc/bugs.
>
> My bet is that this is bug #98
>
> http://bugs.freeradius.org/show_bug.cgi?id=98
>
> Alan DeKok.
Alan :
What I have found when using rlm_sql_mysql in FreeBSD ( and probably other
OS ) is that radiusd segfault happen
"Richard Cotrina" <[EMAIL PROTECTED]> wrote:
> Program received signal SIGSEGV, Segmentation fault.
> 0x483b7a48 in sql_init_socket (sqlsocket=0x8092720, config=0x8096300)
> at sql_mysql.c:71
> 71 memset(mysql_sock, 0, sizeof(*mysql_sock));
What is the value of mysql_sock?
Is
On Wed, 24 Aug 2005, Alan DeKok wrote:
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x483b7a48 in sql_init_socket (sqlsocket=0x8092720, config=0x8096300)
> > at sql_mysql.c:71
> > 71 memset(mysql_sock, 0, sizeof(*mysql_sock));
>
> What is the value of mysql_sock
Richard Cotrina <[EMAIL PROTECTED]> wrote:
> (gdb) display mysql_sock
> 1: mysql_sock = (rlm_sql_mysql_sock *) 0x5f6c7173
That's bad. That's very bad. It's the ASCII string "sql_",
interpreted as a pointer on an x86 machine. No wonder it crashes.
The short answer is that there appears to b
Alan DeKok wrote:
> Richard Cotrina <[EMAIL PROTECTED]> wrote:
> > (gdb) display mysql_sock
> > 1: mysql_sock = (rlm_sql_mysql_sock *) 0x5f6c7173
>
> That's bad. That's very bad. It's the ASCII string "sql_",
> interpreted as a pointer on an x86 machine. No wonder it crashes.
>
> The short
> > (gdb) display mysql_sock
> > 1: mysql_sock = (rlm_sql_mysql_sock *) 0x5f6c7173
>
> That's bad. That's very bad. It's the ASCII string "sql_",
> interpreted as a pointer on an x86 machine. No wonder it crashes.
>
> The short answer is that there appears to be some memory corruption.
> Can
"Richard Cotrina" <[EMAIL PROTECTED]> wrote:
> > Can you print out the contents of "sqlsocket", too? Both the
> > structure contents, and the *hex* contents of that area of memory.
>
> These values are what I've got :
>
> (gdb) display sqlsocket
> 1: sqlsocket = (SQLSOCK *) 0x8092720
>
> (gdb) x
Konstantin Kubatkin wrote:
> I'm use Debian/Sarge AND64 and Debian/Sarge I386
>
> If it is used Crypt-Password that freeradius finishes work with
> segmentation fault
Please get version 1.0.5 and build the Debian package with this
command line:
$ DEB_BUILD_OPTIONS="noopt nostrip" fakeroot dpkg-bu
I'm use Debian/Sarge AND64 and Debian/Sarge I386
If it is used Crypt-Password that freeradius finishes work with
segmentation fault
Please get version 1.0.5 and build the Debian package with this
command line:
$ DEB_BUILD_OPTIONS="noopt nostrip" fakeroot dpkg-buildpackage -b -uc
Install the n
With the given correction works normally
--- crypt.c.orig2005-03-18 17:06:37.0 +0200
+++ crypt.c 2005-09-13 15:32:33.0 +0300
@@ -20,7 +20,11 @@
#include "libradius.h"
#include
+#ifdef HAVE_CRYPT_H
+#include
+#else
#include
+#endif
#include
#ifdef HAVE_PTHRE
Konstantin Kubatkin wrote:
> With the given correction works normally
Thanks for the patch, it has been added to the CVS.
--
Nicolas Baradakis
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
15 matches
Mail list logo