2.1.1-pre

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Wed Sep 17 22:41:21 CEST 2008


Hi,

just tried a GIT checkout and got something nasty. config files
work fine with the 2.1.0 release

*** glibc detected *** radiusd: double free or corruption (!prev): 0x083dea60 ***
======= Backtrace: =========
/lib/libc.so.6[0x386b16]
/lib/libc.so.6(cfree+0x90)[0x38a070]
/usr/lib/libfreeradius-radius-2.1.1.so[0x5695f2]
/usr/lib/libfreeradius-radius-2.1.1.so(rbtree_free+0x32)[0x569642]
radiusd(realms_free+0x52)[0x806e852]
radiusd(realms_init+0x554)[0x806ee24]
radiusd(read_mainconfig+0x6aa)[0x805b69a]
radiusd(main+0x37e)[0x806067e]
/lib/libc.so.6(__libc_start_main+0xdc)[0x333dec]
radiusd[0x804d861]
======= Memory map: ========
00110000-00119000 r-xp 00000000 fd:00 6225969    /lib/libcrypt-2.5.so
00119000-0011a000 r-xp 00008000 fd:00 6225969    /lib/libcrypt-2.5.so
0011a000-0011b000 rwxp 00009000 fd:00 6225969    /lib/libcrypt-2.5.so
0011b000-00142000 rwxp 0011b000 00:00 0
00142000-0014b000 r-xp 00000000 fd:00 655409     /lib/libnss_files-2.5.so
0014b000-0014c000 r-xp 00008000 fd:00 655409     /lib/libnss_files-2.5.so
0014c000-0014d000 rwxp 00009000 fd:00 655409     /lib/libnss_files-2.5.so
00300000-0031a000 r-xp 00000000 fd:00 655451     /lib/ld-2.5.so
0031a000-0031b000 r-xp 00019000 fd:00 655451     /lib/ld-2.5.so
0031b000-0031c000 rwxp 0001a000 fd:00 655451     /lib/ld-2.5.so
0031e000-0045b000 r-xp 00000000 fd:00 655457     /lib/libc-2.5.so
0045b000-0045d000 r-xp 0013c000 fd:00 655457     /lib/libc-2.5.so
0045d000-0045e000 rwxp 0013e000 fd:00 655457     /lib/libc-2.5.so
0045e000-00461000 rwxp 0045e000 00:00 0
00463000-00465000 r-xp 00000000 fd:00 6225959    /lib/libdl-2.5.so
00465000-00466000 r-xp 00001000 fd:00 6225959    /lib/libdl-2.5.so
00466000-00467000 rwxp 00002000 fd:00 6225959    /lib/libdl-2.5.so
00469000-0047c000 r-xp 00000000 fd:00 6225960    /lib/libpthread-2.5.so
0047c000-0047d000 r-xp 00012000 fd:00 6225960    /lib/libpthread-2.5.so
0047d000-0047e000 rwxp 00013000 fd:00 6225960    /lib/libpthread-2.5.so
0047e000-00480000 rwxp 0047e000 00:00 0
004ab000-004c1000 r-xp 00000000 fd:00 6225965    /lib/libselinux.so.1
004c1000-004c3000 rwxp 00015000 fd:00 6225965    /lib/libselinux.so.1
004c5000-00500000 r-xp 00000000 fd:00 6225964    /lib/libsepol.so.1
00500000-00501000 rwxp 0003a000 fd:00 6225964    /lib/libsepol.so.1
00501000-0050b000 rwxp 00501000 00:00 0
0050d000-0051f000 r-xp 00000000 fd:00 12288567   /usr/lib/libz.so.1.2.3
0051f000-00520000 rwxp 00011000 fd:00 12288567   /usr/lib/libz.so.1.2.3
00522000-00535000 r-xp 00000000 fd:00 6225957    /lib/libnsl-2.5.so
00535000-00536000 r-xp 00012000 fd:00 6225957    /lib/libnsl-2.5.so
00536000-00537000 rwxp 00013000 fd:00 6225957    /lib/libnsl-2.5.so
00537000-00539000 rwxp 00537000 00:00 0
0053b000-00541000 r-xp 00000000 fd:00 3708318    /usr/lib/libltdl.so.3.1.4
00541000-00542000 rwxp 00005000 fd:00 3708318    /usr/lib/libltdl.so.3.1.4
00559000-00575000 r-xp 00000000 fd:00 6848547    /usr/lib/libfreeradius-radius-2.1.1.so
00575000-00576000 rwxp 0001c000 fd:00 6848547    /usr/lib/libfreeradius-radius-2.1.1.so
00576000-00577000 rwxp 00576000 00:00 0
0057a000-00697000 r-xp 00000000 fd:00 6225967    /lib/libcrypto.so.0.9.8b
00697000-006aa000 rwxp 0011c000 fd:00 6225967    /lib/libcrypto.so.0.9.8b
006aa000-006ad000 rwxp 006aa000 00:00 0
006af000-006be000 r-xp 00000000 fd:00 6225963    /lib/libresolv-2.5.so
006be000-006bf000 r-xp 0000e000 fd:00 6225963    /lib/libresolv-2.5.so
006bf000-006c0000 rwxp 0000f000 fd:00 6225963    /lib/libresolv-2.5.so
006c0000-006c2000 rwxp 006c0000 00:00 0
006c4000-006c6000 r-xp 00000000 fd:00 6225966    /lib/libcom_err.so.2.1
006c6000-006c7000 rwxp 00001000 fd:00 6225966    /lib/libcom_err.so.2.1
006c9000-006d4000 r-xp 00000000 fd:00 6225956    /lib/libgcc_s-4.1.2-20080102.so.1
006d4000-006d5000 rwxp 0000a000 fd:00 6225956    /lib/libgcc_s-4.1.2-20080102.so.1
00769000-0078e000 r-xp 00000000 fd:00 3704091    /usr/lib/libk5crypto.so.3.1
0078e000-0078f000 rwxp 00025000 fd:00 3704091    /usr/lib/libk5crypto.so.3.1
00791000-00793000 r-xp 00000000 fd:00 6225962    /lib/libkeyutils-1.2.so
00793000-00794000 rwxp 00001000 fd:00 6225962    /lib/libkeyutils-1.2.so
00796000-007c3000 r-xp 00000000 fd:00 12288541   /usr/lib/libgssapi_krb5.so.2.2
007c3000-007c4000 rwxp 0002d000 fd:00 12288541   /usr/lib/libgssapi_krb5.so.2.2
007c6000-00856000 r-xp 00000000 fd:00 12288037   /usr/lib/libkrb5.so.3.3
00856000-00859000 rwxp 0008f000 fd:00 12288037   /usr/lib/libkrb5.so.3.3
0085b000-00863000 r-xp 00000000 fd:00 3704090    /usr/lib/libkrb5support.so.0.1
00863000-00864000 rwxp 00007000 fd:00 3704090    /usr/lib/libkrb5support.so.0.1
008c4000-00905000 r-xp 00000000 fd:00 6225968    /lib/libssl.so.0.9.8b
00905000-00909000 rwxp 00040000 fd:00 6225968    /lib/libssl.so.0.9.8b
00e26000-00e27000 r-xp 00e26000 00:00 0          [vdso]
08048000-0807d000 r-xp 00000000 fd:00 7077954    /usr/sbin/radiusd
0807d000-08080000 rw-p 00034000 fd:00 7077954    /usr/sbin/radiusd
082fa000-083e7000 rw-p 082fa000 00:00 0
b7e00000-b7e21000 rw-p b7e00000 00:00 0
b7e21000-b7f00000 ---p b7e21000 00:00 0
b7f79000-b7f7f000 rw-p b7f79000 00:00 0
bfa1b000-bfa3b000 rw-p bfa1b000 00:00 0          [stack]
Aborted

it barfs when reading a home_server entry in proxy.conf

home_server test0 {
        ipaddr = 192.168.0.139
        port = 1812
        type = "auth+acct"
        secret = "drstrangeloveisaclassic"
        response_window = 30
        max_outstanding = 65536
        zombie_period = 40
        status_check = "none"
        ping_interval = 30
        check_interval = 30
        num_answers_to_alive = 3
        num_pings_to_alive = 3
        revive_interval = 300
        status_check_timeout = 4
 }
 home_server_pool test {
        home_server = test0
 }
 realm test.co.uk {
        pool = test
 }


..it doesnt make it as far as the home_server_pool .....


alan



More information about the Freeradius-Users mailing list