Igor wrote:

>I have tried 2.1.7 and got same error. I will try to compile it with
>--enable-developer and see if i can find out anything from gdb output.
>I realy don't know why would this happen because exactly the same setup worked 
>on
>older releases. All i did was to compile the new version (2.1.6) and then copy
>old raddb dir.

I am not sure why i got so many "no debugging symbols found" but i did per
doc/bugs instructions.
This is gdb output:

gdb radiusd
GNU gdb Fedora (6.8-27.el5)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(no debugging symbols found)
(gdb) set logging file gdb-radiusd.log
(gdb) set logging on
Copying output to gdb-radiusd.log.
(gdb) set args -X -x -n radiusd_dialup -l /var/log/radius/dialup/radius.log
(gdb) run
Starting program: /usr/local/freeradius/sbin/radiusd -X -x -n radiusd_dialup -l
/var/log/radius/dialup/radius.log
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb7fe0ad0 (LWP 11159)]
GOT CLONE -1208087856 0x9c56290

Program received signal SIGSEGV, Segmentation fault.
0x0041a0f5 in rlmperl_call (instance=0x9a0d5e0, request=0x9cad318,
function_name=0x9a07258 "authorize") at rlm_perl.c:708
708                     exitstatus = POPi;
(gdb) info threads
* 1 Thread 0xb7fe0ad0 (LWP 11159)  0x0041a0f5 in rlmperl_call
(instance=0x9a0d5e0, request=0x9cad318, function_name=0x9a07258 "authorize") at
rlm_perl.c:708
(gdb) thread apply all bt full

Thread 1 (Thread 0xb7fe0ad0 (LWP 11159)):
#0  0x0041a0f5 in rlmperl_call (instance=0x9a0d5e0, request=0x9cad318,
function_name=0x9a07258 "authorize") at rlm_perl.c:708
        sp = (SV **) 0x9cc8088
        vp = <value optimized out>
        exitstatus = 0
        n_a = 46
        rad_reply_hv = (HV *) 0x9cb58a8
        rad_check_hv = (HV *) 0x9c88500
        rad_config_hv = <value optimized out>
        rad_request_hv = (HV *) 0x9c93e9c
        rad_request_proxy_hv = (HV *) 0x9c8bd68
        rad_request_proxy_reply_hv = (HV *) 0x9cb58cc
        interp = <value optimized out>
#1  0x08061834 in modcall ()
No symbol table info available.
#2  0x0805e790 in indexed_modcall ()
No symbol table info available.
#3  0x0805ea7c in module_authorize ()
No symbol table info available.
#4  0x0804e37f in rad_authenticate ()
No symbol table info available.
#5  0x0806c5fa in radius_handle_request ()
No symbol table info available.
#6  0x0806450c in thread_pool_addrequest ()
No symbol table info available.
#7  0x08069969 in event_socket_handler ()
No symbol table info available.
#8  0x00154085 in fr_event_loop (el=0x9c528d8) at event.c:400
        ef = (fr_event_fd_t *) 0x9c52988
        i = 1
        rcode = 1
        when = {tv_sec = 1248559880, tv_usec = 267216}
        wake = <value optimized out>
        read_fds = {fds_bits = {1048576, 0 <repeats 31 times>}}
#9  0x0806a666 in radius_event_process ()
No symbol table info available.
#10 0x080625d6 in main ()
No symbol table info available.
(gdb)



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

Reply via email to