Crash on x64?

Alex Balashov abalashov at evaristesys.com
Fri Aug 15 02:20:53 CEST 2008


Ah, for a clearer picture, I tried running under gdb with the no-fork 
option:


[root at radius2 radius]# gdb /usr/sbin/radiusd
GNU gdb Red Hat Linux (6.5-37.el5_2.2rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...(no debugging 
symbols found)
Using host libthread_db library "/lib64/libthread_db.so.1".

(gdb) r -f
Starting program: /usr/sbin/radiusd -f
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Thu Aug 14 20:17:47 2008 : Info: Starting - reading configuration files ...
[New Thread 47044196995056 (LWP 11633)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 1098144064 (LWP 11662)]
[New Thread 1108633920 (LWP 11663)]
[New Thread 1119123776 (LWP 11664)]
[New Thread 1129613632 (LWP 11665)]
[New Thread 1140103488 (LWP 11666)]
[New Thread 1150593344 (LWP 11667)]
[New Thread 1161083200 (LWP 11668)]
[New Thread 1171573056 (LWP 11669)]
[New Thread 1182062912 (LWP 11670)]
[New Thread 1192552768 (LWP 11671)]

[New Thread 1203042624 (LWP 11677)]
[New Thread 1213532480 (LWP 11678)]
[Thread 1098144064 (LWP 11662) exited]
[New Thread 1224022336 (LWP 11679)]
[New Thread 1098144064 (LWP 11680)]
[New Thread 1234512192 (LWP 11684)]
[Thread 1108633920 (LWP 11663) exited]
[New Thread 1245002048 (LWP 11685)]
[New Thread 1108633920 (LWP 11686)]
[New Thread 1255491904 (LWP 11687)]
[New Thread 1265981760 (LWP 11688)]
[New Thread 1276471616 (LWP 11689)]
[New Thread 1286961472 (LWP 11690)]
[Thread 1119123776 (LWP 11664) exited]
[New Thread 1297451328 (LWP 11691)]
[New Thread 1119123776 (LWP 11692)]
[New Thread 1307941184 (LWP 11693)]
[New Thread 1318431040 (LWP 11694)]
[New Thread 1328920896 (LWP 11695)]
[New Thread 1339410752 (LWP 11696)]
[New Thread 1349900608 (LWP 11698)]
*** glibc detected *** /usr/sbin/radiusd: free(): invalid pointer: 
0x00002ac95891ca60 ***
(no debugging symbols found)
======= Backtrace: =========
/lib64/libc.so.6[0x2ac954229634]
/lib64/libc.so.6(cfree+0x8c)[0x2ac95422cc5c]
/usr/lib64/libpq.so.4[0x2ac95726cdf2]
/usr/lib64/rlm_sql_postgresql.so[0x2ac957061e12]
/usr/lib64/rlm_sql.so(rlm_sql_query+0x63)[0x2ac956e5db33]
/usr/lib64/rlm_sql.so[0x2ac956e5c271]
/usr/sbin/radiusd(modcall+0xb2)[0x2ac952c0dc52]
/usr/sbin/radiusd[0x2ac952c0e241]
/usr/sbin/radiusd(modcall+0x27c)[0x2ac952c0de1c]
/usr/sbin/radiusd(rad_accounting+0xcd)[0x2ac952c056ed]
/usr/sbin/radiusd(rad_respond+0x11a)[0x2ac952c0f1ea]
/usr/sbin/radiusd[0x2ac952c15e51]
/lib64/libpthread.so.0[0x2ac9534812f7]
/lib64/libc.so.6(clone+0x6d)[0x2ac954289b6d]
======= Memory map: ========
40d45000-40d46000 ---p 40d45000 00:00 0
40d46000-41746000 rw-p 40d46000 00:00 0
41746000-41747000 ---p 41746000 00:00 0
41747000-42147000 rw-p 41747000 00:00 0
42147000-42148000 ---p 42147000 00:00 0
42148000-42b48000 rw-p 42148000 00:00 0
42b48000-42b49000 ---p 42b48000 00:00 0
42b49000-43549000 rw-p 42b49000 00:00 0
43549000-4354a000 ---p 43549000 00:00 0
4354a000-43f4a000 rw-p 4354a000 00:00 0
43f4a000-43f4b000 ---p 43f4a000 00:00 0
43f4b000-4494b000 rw-p 43f4b000 00:00 0
4494b000-4494c000 ---p 4494b000 00:00 0
4494c000-4534c000 rw-p 4494c000 00:00 0
4534c000-4534d000 ---p 4534c000 00:00 0
4534d000-45d4d000 rw-p 4534d000 00:00 0
45d4d000-45d4e000 ---p 45d4d000 00:00 0
45d4e000-4674e000 rw-p 45d4e000 00:00 0
4674e000-4674f000 ---p 4674e000 00:00 0
4674f000-4714f000 rw-p 4674f000 00:00 0
4714f000-47150000 ---p 4714f000 00:00 0
47150000-47b50000 rw-p 47150000 00:00 0
47b50000-47b51000 ---p 47b50000 00:00 0 47b51000-48551000 rw-p 47b51000 
00:00 0
48551000-48552000 ---p 48551000 00:00 0
48552000-48f52000 rw-p 48552000 00:00 0
48f52000-48f53000 ---p 48f52000 00:00 0
48f53000-49953000 rw-p 48f53000 00:00 0
49953000-49954000 ---p 49953000 00:00 0
49954000-4a354000 rw-p 49954000 00:00 0
4a354000-4a355000 ---p 4a354000 00:00 0
4a355000-4ad55000 rw-p 4a355000 00:00 0
4ad55000-4ad56000 ---p 4ad55000 00:00 0
4ad56000-4b756000 rw-p 4ad56000 00:00 0
4b756000-4b757000 ---p 4b756000 00:00 0
4b757000-4c157000 rw-p 4b757000 00:00 0
4c157000-4c158000 ---p 4c157000 00:00 0
4c158000-4cb58000 rw-p 4c158000 00:00 0
4cb58000-4cb59000 ---p 4cb58000 00:00 0
4cb59000-4d559000 rw-p 4cb59000 00:00 0
4d559000-4d55a000 ---p 4d559000 00:00 0
4d55a000-4df5a000 rw-p 4d55a000 00:00 0
4df5a000-4df5b000 ---p 4df5a000 00:00 0
4df5b000-4e95b000 rw-p 4df5b000 00:00 0
4e95b000-4e95c000 ---p 4e95b000 00:00 0
4e95c000-4f35c000 rw-p 4e95c000 00:00 0
4f35c000-4f35d000 ---p 4f35c000 00:00 0
4f35d000-4fd5d000 rw-p 4f35d000 00:00 0
4fd5d000-4fd5e000 ---p 4fd5d000 00:00 0
4fd5e000-5075e000 rw-p 4fd5e000 00:00 0
2aaaaaaae000-2aaaaabae000 rw-p 2aaaaaaae000 00:00 0
2aaaaabcb000-2aaaaabd8000 r-xp 00000000 fd:00 2193674 
  /lib64/libgcc_s-4.1.2-20080102.so.1
2aaaaabd8000-2aaaaadd8000 ---p 0000d000 fd:00 2193674 
  /lib64/libgcc_s-4.1.2-20080102.so.1
2aaaaadd8000-2aaaaadd9000 rw-p 0000d000 fd:00 2193674 
  /lib64/libgcc_s-4.1.2-20080102.so.1
2aaaac000000-2aaaac03e000 rw-p 2aaaac000000 00:00 0
2aaaac03e000-2aaab0000000 ---p 2aaaac03e000 00:00 0
2aaab0000000-2aaab0044000 rw-p 2aaab0000000 00:00 0
2aaab0044000-2aaab4000000 ---p 2aaab0044000 00:00 0
2aaab4000000-2aaab4038000 rw-p 2aaab4000000 00:00 0
2aaab4038000-2aaab8000000 ---p 2aaab4038000 00:00 0
2ac952bfe000-2ac952c21000 r-xp 00000000 fd:00 12332504 
  /usr/sbin/radiusd
2ac952e21000-2ac952e2f000 rw-p 00023000 fd:00 12332504 
  /usr/sbin/radiusd
2ac952e2f000-2ac952e32000 rw-p 2ac952e2f000 00:00 0
2ac952e32000-2ac952e4c000 r-xp 00000000 fd:00 2193651 
  /lib64/ld-2.5.so
2ac952e4c000-2ac952e4e000 rw-p 2ac952e4c000 00:00 0
2ac952e67000-2ac952e68000 rw-p 2ac952e67000 00:00 0
2ac95304c000-2ac95304d000 r--p 0001a000 fd:00 2193651 
  /lib64/ld-2.5.so
2ac95304d000-2ac95304e000 rw-p 0001b000 fd:00 2193651
Program received signal SIGABRT, Aborted.
[Switching to Thread 1129613632 (LWP 11665)]
0x00002ac9541e8155 in raise () from /lib64/libc.so.6

Any idea what gives there?


-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599



More information about the Freeradius-Users mailing list