Hello, i´ve installed FR 1.0.4, now when i start the server, during the connection to a mysql database, after the first one there is a segmentation fault. It is working with just one connection , but i can´t find the reason for this. Maybe it has already been reported, i found similar in the internet, but no solution. I´m running FR on a Debian 3.01 machine. Thanks for all, Andreas M
Andreas M. wrote:
i´ve installed FR 1.0.4, now when i start the server, during the connection to a mysql database, after the first one there is a segmentation fault. It is working with just one connection , but i can´t find the reason for this.
It looks like your problem is the same as bug #271. http://bugs.freeradius.org/show_bug.cgi?id=271 -- Nicolas Baradakis
Hello, thanks for answering, i downloaded FR 1.0.5, made Debian packages and installed it, but no success, also fragmentation faults after first connection. Afterwards i removed the sql modules in the FR library directory and installed again, no success. What could now be the reason for this ? regards, Andreas M. Nicolas Baradakis schrieb:
Andreas M. wrote:
i´ve installed FR 1.0.4, now when i start the server, during the connection to a mysql database, after the first one there is a segmentation fault. It is working with just one connection , but i can´t find the reason for this.
It looks like your problem is the same as bug #271. http://bugs.freeradius.org/show_bug.cgi?id=271
sorry,forgot the output with FR 1.0.5 and Debian 3.1: rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked rlm_sql (sql): Attempting to connect to radius@127.0.0.1:/radius rlm_sql (sql): starting 0 rlm_sql (sql): Attempting to connect rlm_sql_mysql #0 rlm_sql_mysql: Starting connect to MySQL server for #0 rlm_sql (sql): Connected new DB handle, #0 rlm_sql (sql): starting 1 rlm_sql (sql): Attempting to connect rlm_sql_mysql #1 rlm_sql_mysql: Starting connect to MySQL server for #1 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 3541)] 0x40284e35 in mallopt () from /lib/libc.so.6 (gdb) quit regards, Andreas M. Andreas M. schrieb:
Hello, thanks for answering, i downloaded FR 1.0.5, made Debian packages and installed it, but no success, also fragmentation faults after first connection.
Afterwards i removed the sql modules in the FR library directory and installed again, no success.
What could now be the reason for this ?
regards,
Andreas M.
Nicolas Baradakis schrieb:
Andreas M. wrote:
i´ve installed FR 1.0.4, now when i start the server, during the connection to a mysql database, after the first one there is a segmentation fault. It is working with just one connection , but i can´t find the reason for this.
It looks like your problem is the same as bug #271. http://bugs.freeradius.org/show_bug.cgi?id=271
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Andreas M. wrote:
thanks for answering, i downloaded FR 1.0.5, made Debian packages and installed it, but no success, also fragmentation faults after first connection.
I can't reproduce the problem, therefore it's difficult to find the bug. Can you please build the Debian package with this command line? $ DEB_BUILD_OPTIONS="noopt nostrip" fakeroot dpkg-buildpackage -b -uc And then run FreeRADIUS with valgrind. (a memory debugger) # valgrind freeradius -f Please post the output of valgrind to the bugzilla. (bug #271) Nicolas Baradakis -- A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting annoying in email?
Hello, i debugged a lot and found that i had a mistake in my libraries during compiling FR, i had different versions of the mysqlclient files in my include path, so i cleaned my include environment and now it is possible to connect 5 times to the MYSQL database. sorry for that...... thanks a lot and best regards, Andreas M. Nicolas Baradakis schrieb:
Andreas M. wrote:
thanks for answering, i downloaded FR 1.0.5, made Debian packages and installed it, but no success, also fragmentation faults after first connection.
I can't reproduce the problem, therefore it's difficult to find the bug.
Can you please build the Debian package with this command line? $ DEB_BUILD_OPTIONS="noopt nostrip" fakeroot dpkg-buildpackage -b -uc
And then run FreeRADIUS with valgrind. (a memory debugger) # valgrind freeradius -f
Please post the output of valgrind to the bugzilla. (bug #271)
Nicolas Baradakis
participants (2)
-
Andreas M. -
Nicolas Baradakis