Freeradius crash

classic Classic list List threaded Threaded
5 messages Options
| Threaded
Open this post in threaded view
|

Freeradius crash

adrian.p.smith
We are seeing occasional crashes in our production servers. We recently upgraded them to 3.0.20 (from 3.0.7) thinking that might help.

See the log below from the latest crash. We use Daemontools to restart automatically.

Is this something we can work-around?

TIA

Adrian


Thu Feb 13 02:34:14 2020 : Error: ASSERT FAILED src/main/process.c[2477]: request->home_server != NULL

CAUGHT SIGNAL: Aborted

Backtrace of last 7 frames:

/opt/freeradius-server-3.0.20/lib/libfreeradius-radius.so(fr_fault+0x115)[0x7fe1893dd6c0]

/opt/freeradius-server-3.0.20/lib/libfreeradius-server.so(rad_assert_fail+0x46)[0x7fe1896400f4]

/opt/freeradius-server-3.0.20/sbin/radiusd[0x441314]

/opt/freeradius-server-3.0.20/sbin/radiusd[0x43f562]

/opt/freeradius-server-3.0.20/sbin/radiusd[0x43aec8]

/lib64/libpthread.so.0[0x3651807aa1]

/lib64/libc.so.6(clone+0x6d)[0x36514e8bcd]

No panic action set

Thu Feb 13 02:34:14 2020 : Info: Debugger not attached

Thu Feb 13 02:34:14 2020 : Warning: /opt/freeradius-server-3.0.20/etc/raddb/mods-config/sql/main/mysql/queries.conf[138]: Ignoring duplicate configuration item 'group_membership_query'

Thu Feb 13 02:34:14 2020 : Info: rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked

Thu Feb 13 02:34:14 2020 : Info: rlm_rest: libcurl version: libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2

Thu Feb 13 02:34:14 2020 : Info: rlm_sql_mysql: libmysql version: 5.1.73

Thu Feb 13 02:34:14 2020 : Info: rlm_sql (sql): Attempting to connect to database "freeradius"

Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server <default>

Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server default

Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server acct_mac_ip_cache_2

Thu Feb 13 02:34:14 2020 : Warning: Ignoring "ldap" (see raddb/mods-available/README.rst)

Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server inner-tunnel

Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server acct_mac_ip_cache_1

Thu Feb 13 02:34:14 2020 : Info: Ready to process requests
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

Re: Freeradius crash

Alan DeKok-2
On Feb 13, 2020, at 4:07 AM, <[hidden email]> <[hidden email]> wrote:
>
> We are seeing occasional crashes in our production servers. We recently upgraded them to 3.0.20 (from 3.0.7) thinking that might help.
>
> See the log below from the latest crash. We use Daemontools to restart automatically.
>
> Is this something we can work-around?
> ...
> Thu Feb 13 02:34:14 2020 : Error: ASSERT FAILED src/main/process.c[2477]: request->home_server != NULL

  Try using the latest code from GitHub.  It already has a patch which should fix this issue.

  Alan DeKok.


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

RE: Freeradius crash

adrian.p.smith
> ...
> Thu Feb 13 02:34:14 2020 : Error: ASSERT FAILED src/main/process.c[2477]: request->home_server != NULL

  Try using the latest code from GitHub.  It already has a patch which should fix this issue.




Thanks Alan. Any idea when this'll be rolled into a release?



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

Re: Freeradius crash

Alan DeKok-2
On Feb 13, 2020, at 8:22 AM, <[hidden email]> <[hidden email]> wrote:
> Thanks Alan. Any idea when this'll be rolled into a release?

  We should do that soon.  Perhaps next week?

  Alan DeKok.


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

Re: Freeradius crash

Jorge Pereira-2
In reply to this post by adrian.p.smith
Hi Adrian,

As Alan said, try using the latest code from Github.

$ git clone https://github.com/FreeRADIUS/freeradius-server <https://github.com/FreeRADIUS/freeradius-server>
$ cd freeradius-server
$ ./configure —prefix=/opt/freeradius-server-3.0.x
$ make; make install

Or wait until the next 3.0.21 release.

--
Jorge Pereira
[hidden email]




> On 13 Feb 2020, at 06:07, [hidden email] wrote:
>
> We are seeing occasional crashes in our production servers. We recently upgraded them to 3.0.20 (from 3.0.7) thinking that might help.
>
> See the log below from the latest crash. We use Daemontools to restart automatically.
>
> Is this something we can work-around?
>
> TIA
>
> Adrian
>
>
> Thu Feb 13 02:34:14 2020 : Error: ASSERT FAILED src/main/process.c[2477]: request->home_server != NULL
>
> CAUGHT SIGNAL: Aborted
>
> Backtrace of last 7 frames:
>
> /opt/freeradius-server-3.0.20/lib/libfreeradius-radius.so(fr_fault+0x115)[0x7fe1893dd6c0]
>
> /opt/freeradius-server-3.0.20/lib/libfreeradius-server.so(rad_assert_fail+0x46)[0x7fe1896400f4]
>
> /opt/freeradius-server-3.0.20/sbin/radiusd[0x441314]
>
> /opt/freeradius-server-3.0.20/sbin/radiusd[0x43f562]
>
> /opt/freeradius-server-3.0.20/sbin/radiusd[0x43aec8]
>
> /lib64/libpthread.so.0[0x3651807aa1]
>
> /lib64/libc.so.6(clone+0x6d)[0x36514e8bcd]
>
> No panic action set
>
> Thu Feb 13 02:34:14 2020 : Info: Debugger not attached
>
> Thu Feb 13 02:34:14 2020 : Warning: /opt/freeradius-server-3.0.20/etc/raddb/mods-config/sql/main/mysql/queries.conf[138]: Ignoring duplicate configuration item 'group_membership_query'
>
> Thu Feb 13 02:34:14 2020 : Info: rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
>
> Thu Feb 13 02:34:14 2020 : Info: rlm_rest: libcurl version: libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
>
> Thu Feb 13 02:34:14 2020 : Info: rlm_sql_mysql: libmysql version: 5.1.73
>
> Thu Feb 13 02:34:14 2020 : Info: rlm_sql (sql): Attempting to connect to database "freeradius"
>
> Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server <default>
>
> Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server default
>
> Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server acct_mac_ip_cache_2
>
> Thu Feb 13 02:34:14 2020 : Warning: Ignoring "ldap" (see raddb/mods-available/README.rst)
>
> Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server inner-tunnel
>
> Thu Feb 13 02:34:14 2020 : Info: Loaded virtual server acct_mac_ip_cache_1
>
> Thu Feb 13 02:34:14 2020 : Info: Ready to process requests
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

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