RADIUS server is dumping core

ramakrishna mramakrishnaprasad at gmail.com
Mon Apr 22 09:57:24 CEST 2013


Hi,

I am using FreeRADIUS 2.2.0. Recently I have observed that RADIUS server is
generating core frequently. I have tried debugging the core file using gdb.

Please find the attached file for the gdb output for one of the core file
generated.

Please lemme know if you need any more information for tracing the core
dump.

Thanks,
-- 
Best Regards,
M.Rama Krishna Prasad,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130422/9b1ca1e0/attachment-0001.html>
-------------- next part --------------
Core was generated by `radiusd -f'.
Program terminated with signal 10, Bus error.

#0  thread_pool_addrequest (request=0x5174ea7b, fun=0x35392e32) at threads.c:991
991                     next = handle->next;
(gdb) bt
#0  thread_pool_addrequest (request=0x5174ea7b, fun=0x35392e32) at threads.c:991
#1  0x000383f0 in event_socket_handler (xel=0x198b10, fd=11, ctx=0x19d050) at event.c:3429
#2  0x7fb49e4c in fr_event_loop (el=0x198b10) at event.c:415
#3  0x0002b408 in main (argc=2, argv=0xffbfe68c) at radiusd.c:410

(gdb) info threads
  32 process 19865803      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  31 process 19800267      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  30 process 19734731      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  29 process 19669195      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  28 process 19603659      radius_xlat (
    out=0x7dbc95a8 "/rauser/aaauser/AAG/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/var/log/radius/radacct/80.214.246.50/detail-2013", outlen=8192,
    fmt=0x192f20 "/rauser/aaauser/AAG/ACCESS_GATEWAY/FSS_AAG/RADIUS_STACK/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d", request=0x9359678, func=0x31968 <xlat_copy>) at xlat.c:1172
  27 process 19538123      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  26 process 19472587      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  25 process 19407051      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  24 process 19341515      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  23 process 19275979      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  22 process 19210443      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  21 process 19144907      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  20 process 19079371      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  19 process 19013835      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  18 process 18948299      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  17 process 18882763      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  16 process 18817227      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  15 process 18751691      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  14 process 18686155      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  13 process 18620619      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  12 process 18555083      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  11 process 18489547      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  10 process 18424011      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  9 process 18358475      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  8 process 18292939      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  7 process 18161867      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  6 process 18030795      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  5 process 17899723      0x7f8fa7fc in __lwp_park () from /lib/libc.so.1
  4 process 270539      0x7f8fd898 in _so_recv () from /lib/libc.so.1
  3 process 205003      0x7f8fd898 in _so_recv () from /lib/libc.so.1
  2 process 139467      0x7f8fd650 in ___nanosleep () from /lib/libc.so.1
* 1 process 73931      thread_pool_addrequest (request=0x5174ea7b, fun=0x35392e32) at threads.c:991


Thread 1 (process 73931    ):
#0  thread_pool_addrequest (request=0x5174ea7b, fun=0x35392e32) at threads.c:991
No locals.
#1  0x000383f0 in event_socket_handler (xel=0x198b10, fd=11, ctx=0x19d050) at event.c:3429
        fun = (RAD_REQUEST_FUNP) 0x15f2c <rad_accounting>
        request = (REQUEST *) 0x9359678
#2  0x7fb49e4c in fr_event_loop (el=0x198b10) at event.c:415
        i = 3
        rcode = 1
        maxfd = 14
        when = {tv_sec = 1366616699, tv_usec = 7294}
        wake = (struct timeval *) 0x198b28
        read_fds = {fds_bits = {2048, 0 <repeats 31 times>}}
        master_fds = {fds_bits = {31872, 0 <repeats 31 times>}}
#3  0x0002b408 in main (argc=2, argv=0xffbfe68c) at radiusd.c:410
        rcode = 2
        argval = 1
        spawn_flag = 1
        dont_fork = 1
        flag = 0
        act = {sa_flags = 0, _funcptr = {_handler = 0x2b800 <sig_fatal>, _sigaction = 0x2b800 <sig_fatal>}, sa_mask = {__sigbits = {0, 0, 0, 0}},
  sa_resv = {0, 0}}


More information about the Freeradius-Users mailing list