Hi,

I tried to recompile freeradius raising option O2 in CFLAGS. I followed the 
following steps:
 . / configure - with-experimental-modules - with-rlm_eap2
Make.inc edit and remove 'O2' in CFLAGS
make clean
make
make install
My server started without error (radiusd_out  file)

When my openpana client sent an authenticator mesage ,I had a segmentation 
fault, and I always value optimized out in the gdb trace (gdb-radiuslog1). 

I don't understand why the different librairies related to the rlm_eap2 module 
in /usr/local/lib  are not up to date when i rebuild the servers. The date 
still stay the old one.

rwxr-xr-x 1 root root 44318 2012-09-18 04:31 rlm_eap2-2.2.0.so
lrwxrwxrwx 1 root root    17 2012-09-18 04:31 rlm_eap2.so -> rlm_eap2-2.2.0.so
-rwxr-xr-x 1 root root   872 2012-09-18 04:31 rlm_eap2.la
-rw-r--r-- 1 root root 45698 2012-09-18 04:31 rlm_eap2.a
lrwxrwxrwx 1 root root    11 2012-09-18 04:31 rlm_eap2-2.2.0.la -> rlm_eap2.la

How can i resolve this issue?
Thanks.
PS:

Freeradius commit 02567cf3c5aa758d7153c0bd7020e27a5067f7c3
Author: Arran Cudbard-Bell <[email protected]>
Date:   Tue Sep 18 14:15:14 2012 +0100
Starting program: /usr/local/sbin/radiusd -f
[Thread debugging using libthread_db enabled]
[New Thread 0xb7feab70 (LWP 32246)]
[New Thread 0xb77e9b70 (LWP 32247)]
[New Thread 0xb6fe8b70 (LWP 32248)]
[New Thread 0xb67e7b70 (LWP 32249)]
[New Thread 0xb5fe6b70 (LWP 32250)]

Program received signal SIGINT, Interrupt.
0x0012e416 in __kernel_vsyscall ()
  6 Thread 0xb5fe6b70 (LWP 32250)  0x0012e416 in __kernel_vsyscall ()
  5 Thread 0xb67e7b70 (LWP 32249)  0x0012e416 in __kernel_vsyscall ()
  4 Thread 0xb6fe8b70 (LWP 32248)  0x0012e416 in __kernel_vsyscall ()
  3 Thread 0xb77e9b70 (LWP 32247)  0x0012e416 in __kernel_vsyscall ()
  2 Thread 0xb7feab70 (LWP 32246)  0x0012e416 in __kernel_vsyscall ()
* 1 Thread 0xb7feb6c0 (LWP 32243)  0x0012e416 in __kernel_vsyscall ()

Thread 6 (Thread 0xb5fe6b70 (LWP 32250)):
#0  0x0012e416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x001a5895 in sem_wait@@GLIBC_2.1 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_wait.S:80
No locals.
#2  0x0806e15b in request_handler_thread (arg=0x81de328) at threads.c:498
        fun = 0
        self = 0x81de328
#3  0x0019ecc9 in start_thread (arg=0xb5fe6b70) at pthread_create.c:304
        __res = <value optimized out>
        __ignore1 = <value optimized out>
        __ignore2 = <value optimized out>
        pd = 0xb5fe6b70
        now = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1769460, 0, 
                -1241617016, -1241619304, 1749901393, -1487719622}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#4  0x004585be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.

Thread 5 (Thread 0xb67e7b70 (LWP 32249)):
#0  0x0012e416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x001a5895 in sem_wait@@GLIBC_2.1 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_wait.S:80
No locals.
#2  0x0806e15b in request_handler_thread (arg=0x81de270) at threads.c:498
        fun = 0
        self = 0x81de270
#3  0x0019ecc9 in start_thread (arg=0xb67e7b70) at pthread_create.c:304
        __res = <value optimized out>
        __ignore1 = <value optimized out>
        __ignore2 = <value optimized out>
        pd = 0xb67e7b70
        now = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1769460, 0, 4001536, 
                -1233226600, 1751998550, -1487719622}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#4  0x004585be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.

Thread 4 (Thread 0xb6fe8b70 (LWP 32248)):
#0  0x0012e416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x001a5895 in sem_wait@@GLIBC_2.1 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_wait.S:80
No locals.
#2  0x0806e15b in request_handler_thread (arg=0x81de1b8) at threads.c:498
        fun = 0
        self = 0x81de1b8
#3  0x0019ecc9 in start_thread (arg=0xb6fe8b70) at pthread_create.c:304
        __res = <value optimized out>
        __ignore1 = <value optimized out>
        __ignore2 = <value optimized out>
        pd = 0xb6fe8b70
        now = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1769460, 0, 4001536, 
                -1224833896, 1770872919, -1487719622}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#4  0x004585be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.

Thread 3 (Thread 0xb77e9b70 (LWP 32247)):
#0  0x0012e416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x001a5895 in sem_wait@@GLIBC_2.1 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_wait.S:80
No locals.
#2  0x0806e15b in request_handler_thread (arg=0x81de100) at threads.c:498
        fun = 0
        self = 0x81de100
#3  0x0019ecc9 in start_thread (arg=0xb77e9b70) at pthread_create.c:304
        __res = <value optimized out>
        __ignore1 = <value optimized out>
        __ignore2 = <value optimized out>
        pd = 0xb77e9b70
        now = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1769460, 0, 4001536, 
                -1216441192, 1772970068, -1487719622}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#4  0x004585be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.

Thread 2 (Thread 0xb7feab70 (LWP 32246)):
#0  0x0012e416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x001a5895 in sem_wait@@GLIBC_2.1 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_wait.S:80
No locals.
#2  0x0806e15b in request_handler_thread (arg=0x81de048) at threads.c:498
        fun = 0x3d0f00 <_IO_vfscanf_internal+4560>
        self = 0x81de048
#3  0x0019ecc9 in start_thread (arg=0xb7feab70) at pthread_create.c:304
        __res = <value optimized out>
        __ignore1 = <value optimized out>
        __ignore2 = <value optimized out>
        pd = 0xb7feab70
        now = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1769460, 0, 4001536, 
                -1208048488, 1775067221, -1487719622}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#4  0x004585be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.

Thread 1 (Thread 0xb7feb6c0 (LWP 32243)):
#0  0x0012e416 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00451291 in select () at ../sysdeps/unix/syscall-template.S:82
No locals.
#2  0x08098123 in fr_event_loop (el=0x81d8120) at event.c:391
        i = 6
        rcode = 0
        maxfd = 13
        when = {tv_sec = 0, tv_usec = 0}
        wake = 0x0
        read_fds = {fds_bits = {16000, 0 <repeats 31 times>}}
        master_fds = {fds_bits = {16000, 0 <repeats 31 times>}}
#3  0x0807bfaf in radius_event_process () at event.c:3770
No locals.
#4  0x0806a1fd in main (argc=2, argv=0xbffff764) at radiusd.c:408
        rcode = 5115892
        argval = -1
        spawn_flag = 1
        dont_fork = 1
        flag = 0
        act = {__sigaction_handler = {sa_handler = 0x806a521 <sig_fatal>, 
            sa_sigaction = 0x806a521 <sig_fatal>}, sa_mask = {__val = {
              0 <repeats 32 times>}}, sa_flags = 0, sa_restorer = 0}

Attachment: radiusd_out
Description: Binary data

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

Reply via email to