over 30 radiusd processes - more information

Craig Campbell craig at ccraft.ca
Sun Oct 18 13:33:17 CEST 2009


I've continued to try an investigate the root cause of this, and the last 
run behaved slightly differently - the parent process seems to have 
terminated, and there are more messages in the radius log.

There were four (4) hung processes left over.

I have attached the radius.log file below, as well as gdb sessions for the 
hung processes showing the results of the gd 'bt' and 'list' commands.

It looks like Alan's initial idea that the hung processes are a result of 
running the acctstop.sh process are correct.  I've tried looking at the code 
to see if anything 'leapt out' at me, but the logic is quite clever, and 
dissecting it from the middle is quite a challenge.

I am hoping that the gdb output might prove helpful to someone already 
familiar with the logic flow.

It seems I can reproduce this issue within 24 hours, so if there is any 
other information I could gather, please left me know.

Thanks,
-craig

radiusd.log

Fri Oct 16 11:15:56 2009 : Info: Exiting normally.
Fri Oct 16 11:16:22 2009 : Info: rlm_sql (sql): Driver rlm_sql_mysql (module 
rlm_sql_mysql) loaded and linked
Fri Oct 16 11:16:22 2009 : Info: rlm_sql (sql): Attempting to connect to 
radiusd at localhost:/radius
Fri Oct 16 11:16:22 2009 : Info: rlm_sql_mysql: Starting connect to MySQL 
server for #0
Fri Oct 16 11:16:22 2009 : Info: rlm_sql_mysql: Starting connect to MySQL 
server for #1
Fri Oct 16 11:16:22 2009 : Info: rlm_sql_mysql: Starting connect to MySQL 
server for #2
Fri Oct 16 11:16:22 2009 : Info: rlm_sql_mysql: Starting connect to MySQL 
server for #3
Fri Oct 16 11:16:22 2009 : Info: rlm_sql_mysql: Starting connect to MySQL 
server for #4
Fri Oct 16 11:16:22 2009 : Info: Loaded virtual server inner-tunnel
Fri Oct 16 11:16:22 2009 : Info: Loaded virtual server 
copy-acct-to-home-server
Fri Oct 16 11:16:22 2009 : Info: Loaded virtual server copy-acct-to-radius-c
Fri Oct 16 11:16:22 2009 : Info: Loaded virtual server <default>
Fri Oct 16 11:16:22 2009 : Info: Ready to process requests.
Fri Oct 16 17:29:12 2009 : Error: [sql] stop packet with zero session 
length. [user 'user35 at realm4TL', nas '192.168.1.101']
Sat Oct 17 02:00:18 2009 : Error: [sql] stop packet with zero session 
length. [user 'user22 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:18 2009 : Error: [sql] stop packet with zero session 
length. [user 'user17 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:18 2009 : Error: [sql] stop packet with zero session 
length. [user 'user38 at realm3', nas '192.168.1.101']
Sat Oct 17 02:00:20 2009 : Error: [sql] stop packet with zero session 
length. [user 'user7 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:20 2009 : Error: [sql] stop packet with zero session 
length. [user 'user52 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:20 2009 : Error: [sql] stop packet with zero session 
length. [user 'user34 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:20 2009 : Error: [sql] stop packet with zero session 
length. [user 'user26 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:20 2009 : Error: [sql] stop packet with zero session 
length. [user 'user77 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:20 2009 : Error: [sql] stop packet with zero session 
length. [user 'user19 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:21 2009 : Error: [sql] stop packet with zero session 
length. [user 'user50 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:21 2009 : Error: [sql] stop packet with zero session 
length. [user 'user6 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:21 2009 : Error: [sql] stop packet with zero session 
length. [user 'user59 at realm3', nas '192.168.1.101']
Sat Oct 17 02:00:21 2009 : Error: [sql] stop packet with zero session 
length. [user 'user70 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:21 2009 : Error: [sql] stop packet with zero session 
length. [user 'user58 at realm4', nas '192.168.1.101']
Sat Oct 17 02:00:21 2009 : Error: [sql] stop packet with zero session 
length. [user 'user88 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:21 2009 : Error: [sql] stop packet with zero session 
length. [user 'user5 at realm3', nas '192.168.1.101']
Sat Oct 17 02:00:21 2009 : Error: [sql] stop packet with zero session 
length. [user 'username', nas '192.168.1.101']
Sat Oct 17 02:00:21 2009 : Error: [sql] stop packet with zero session 
length. [user 'user93 at realm2', nas '192.168.1.101']
Sat Oct 17 02:00:22 2009 : Error: [sql] stop packet with zero session 
length. [user 'user87 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:22 2009 : Error: [sql] stop packet with zero session 
length. [user 'user48 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:22 2009 : Error: [sql] stop packet with zero session 
length. [user 'user37 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:22 2009 : Error: [sql] stop packet with zero session 
length. [user 'user31 at realm3', nas '192.168.1.101']
Sat Oct 17 02:00:22 2009 : Error: [sql] stop packet with zero session 
length. [user 'user68 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:22 2009 : Error: [sql] stop packet with zero session 
length. [user 'user69 at realm3', nas '192.168.1.101']
Sat Oct 17 02:00:23 2009 : Error: [sql] stop packet with zero session 
length. [user 'user92 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:24 2009 : Info: rlm_sql (sql): There are no DB handles to 
use! skipped 0, tried to connect 0
Sat Oct 17 02:00:24 2009 : Error: [sql] stop packet with zero session 
length. [user 'user4 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:24 2009 : Error: [sql] stop packet with zero session 
length. [user 'user67 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:24 2009 : Error: [sql] stop packet with zero session 
length. [user 'user46 at realm5', nas '192.168.1.101']
Sat Oct 17 02:00:24 2009 : Error: [sql] stop packet with zero session 
length. [user 'user14 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:24 2009 : Error: [sql] stop packet with zero session 
length. [user 'user21 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:24 2009 : Error: [sql] stop packet with zero session 
length. [user 'user58 at realm4', nas '192.168.1.101']
Sat Oct 17 02:00:24 2009 : Error: [sql] stop packet with zero session 
length. [user 'user75 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:24 2009 : Error: [sql] stop packet with zero session 
length. [user 'user32 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:24 2009 : Error: [sql] stop packet with zero session 
length. [user 'user74 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:24 2009 : Error: [sql] stop packet with zero session 
length. [user 'user47 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:24 2009 : Error: [sql] stop packet with zero session 
length. [user 'user56 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:24 2009 : Error: [sql] stop packet with zero session 
length. [user 'user36 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:24 2009 : Error: [sql] stop packet with zero session 
length. [user '-f', nas '192.168.1.101']
Sat Oct 17 02:00:24 2009 : Error: [sql] stop packet with zero session 
length. [user 'user29 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:24 2009 : Error: [sql] stop packet with zero session 
length. [user 'user63 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:24 2009 : Error: [sql] stop packet with zero session 
length. [user 'user89 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:25 2009 : Error: [sql] stop packet with zero session 
length. [user 'user23 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:25 2009 : Error: [sql] stop packet with zero session 
length. [user 'user60 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:26 2009 : Error: [sql] stop packet with zero session 
length. [user 'user18 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:26 2009 : Error: [sql] stop packet with zero session 
length. [user 'user8 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:26 2009 : Error: [sql] stop packet with zero session 
length. [user 'user90 at realm6', nas '192.168.1.101']
Sat Oct 17 02:00:26 2009 : Error: [sql] stop packet with zero session 
length. [user 'user65 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:28 2009 : Error: [sql] stop packet with zero session 
length. [user 'user55 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:28 2009 : Error: [sql] stop packet with zero session 
length. [user 'user76 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:29 2009 : Error: [sql] stop packet with zero session 
length. [user 'user82 at realm5', nas '192.168.1.101']
Sat Oct 17 02:00:29 2009 : Error: [sql] stop packet with zero session 
length. [user 'user53 at realm3', nas '192.168.1.101']
Sat Oct 17 02:00:30 2009 : Error: [sql] stop packet with zero session 
length. [user 'user45 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:30 2009 : Error: [sql] stop packet with zero session 
length. [user 'user16 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:30 2009 : Error: [sql] stop packet with zero session 
length. [user 'user43 at hotmail.com', nas '192.168.1.101']
Sat Oct 17 02:00:30 2009 : Error: [sql] stop packet with zero session 
length. [user 'user12 at realm3', nas '192.168.1.101']
Sat Oct 17 02:00:31 2009 : Error: [sql] stop packet with zero session 
length. [user 'user1 at realm3', nas '192.168.1.101']
Sat Oct 17 02:00:31 2009 : Error: [sql] stop packet with zero session 
length. [user 'user73 at realm6', nas '192.168.1.101']
Sat Oct 17 02:00:32 2009 : Error: [sql] stop packet with zero session 
length. [user 'user39 at realm5', nas '192.168.1.101']
Sat Oct 17 02:00:33 2009 : Error: [sql] stop packet with zero session 
length. [user 'user57 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:33 2009 : Error: [sql] stop packet with zero session 
length. [user 'user58 at realm4', nas '192.168.1.101']
Sat Oct 17 02:00:34 2009 : Error: [sql] stop packet with zero session 
length. [user 'user66 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:34 2009 : Error: [sql] stop packet with zero session 
length. [user 'user26 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:35 2009 : Error: [sql] stop packet with zero session 
length. [user 'user17 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:36 2009 : Error: [sql] stop packet with zero session 
length. [user 'user77 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:36 2009 : Error: [sql] stop packet with zero session 
length. [user 'user52 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:36 2009 : Error: [sql] stop packet with zero session 
length. [user 'user34 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:37 2009 : Error: [sql] stop packet with zero session 
length. [user 'user70 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:37 2009 : Error: [sql] stop packet with zero session 
length. [user 'user50 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:37 2009 : Error: [sql] stop packet with zero session 
length. [user 'user6 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:38 2009 : Error: [sql] stop packet with zero session 
length. [user 'user68 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:39 2009 : Error: [sql] stop packet with zero session 
length. [user 'username', nas '192.168.1.101']
Sat Oct 17 02:00:40 2009 : Error: [sql] stop packet with zero session 
length. [user '-f', nas '192.168.1.101']
Sat Oct 17 02:00:40 2009 : Error: [sql] stop packet with zero session 
length. [user 'user36 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:40 2009 : Error: [sql] stop packet with zero session 
length. [user 'user4 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:43 2009 : Error: [sql] stop packet with zero session 
length. [user 'user19 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:43 2009 : Error: [sql] stop packet with zero session 
length. [user 'user31 at realm3', nas '192.168.1.101']
Sat Oct 17 02:00:44 2009 : Error: [sql] stop packet with zero session 
length. [user 'user22 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:44 2009 : Error: [sql] stop packet with zero session 
length. [user 'user29 at realm1', nas '192.168.1.101']
Sat Oct 17 02:00:44 2009 : Error: [sql] stop packet with zero session 
length. [user 'user38 at realm3', nas '192.168.1.101']
Sat Oct 17 02:00:45 2009 : Error: [sql] stop packet with zero session 
length. [user 'user62 at realm1', nas '192.168.1.101']
Sat Oct 17 02:01:25 2009 : Error: WARNING: Unresponsive child for request 
165616, in module sql component accounting
Sat Oct 17 02:01:51 2009 : Error: WARNING: Unresponsive child for request 
165736, in module sql component accounting
Sat Oct 17 02:01:56 2009 : Error: WARNING: Unresponsive child for request 
165745, in module sql component accounting
Sat Oct 17 02:02:38 2009 : Error: WARNING: Unresponsive child for request 
165826, in module sql component accounting
Sat Oct 17 02:03:07 2009 : Error: WARNING: Unresponsive child for request 
165856, in module sql component accounting
Sat Oct 17 02:04:08 2009 : Error: WARNING: Unresponsive child for request 
165946, in module sql component accounting
Sat Oct 17 02:05:23 2009 : Error: WARNING: Unresponsive child for request 
166006, in module sql component accounting
Sat Oct 17 02:06:18 2009 : Error: WARNING: Unresponsive child for request 
166066, in module sql component accounting
Sat Oct 17 02:07:05 2009 : Error: WARNING: Unresponsive child for request 
166111, in module sql component accounting
Sat Oct 17 02:08:54 2009 : Error: WARNING: Unresponsive child for request 
166261, in module sql component accounting
Sat Oct 17 02:10:08 2009 : Error: WARNING: Unresponsive child for request 
166321, in module sql component accounting
Sat Oct 17 02:12:00 2009 : Error: Received conflicting packet from client 
BRAS_101 port 50125 - ID: 237 due to unfinished request 1
65745.  Giving up on old request.
Sat Oct 17 02:13:03 2009 : Error: WARNING: Unresponsive child for request 
166546, in module sql component accounting
Sat Oct 17 02:18:43 2009 : Error: Received conflicting packet from client 
BRAS_101 port 50125 - ID: 174 due to unfinished request 1
66321.  Giving up on old request.
Sat Oct 17 02:21:22 2009 : Error: Received conflicting packet from client 
BRAS_101 port 50125 - ID: 249 due to unfinished request 1
66546.  Giving up on old request.
Sat Oct 17 03:19:38 2009 : Error: WARNING: Unresponsive child for request 
172846, in module sql component accounting
Sat Oct 17 03:20:47 2009 : Error: WARNING: Unresponsive child for request 
173071, in module sql component accounting
Sat Oct 17 03:21:47 2009 : Error: WARNING: Unresponsive child for request 
173188, in module sql component accounting
Sat Oct 17 03:22:20 2009 : Error: WARNING: Unresponsive child for request 
173251, in module sql component accounting
Sat Oct 17 03:22:57 2009 : Error: WARNING: Unresponsive child for request 
173311, in module sql component accounting
Sat Oct 17 03:23:23 2009 : Error: WARNING: Unresponsive child for request 
173371, in module sql component accounting
Sat Oct 17 03:25:30 2009 : Error: WARNING: Unresponsive child for request 
173611, in module sql component accounting
Sat Oct 17 03:27:00 2009 : Error: WARNING: Unresponsive child for request 
173776, in module sql component accounting
Sat Oct 17 03:27:25 2009 : Error: WARNING: Unresponsive child for request 
173836, in module sql component accounting
Sat Oct 17 03:28:18 2009 : Error: WARNING: Unresponsive child for request 
173940, in module sql component accounting
Sat Oct 17 03:29:01 2009 : Error: WARNING: Unresponsive child for request 
174001, in module sql component accounting
Sat Oct 17 03:29:41 2009 : Error: WARNING: Unresponsive child for request 
174076, in module sql component accounting
Sat Oct 17 03:30:06 2009 : Error: WARNING: Unresponsive child for request 
174135, in module sql component accounting
Sat Oct 17 03:31:53 2009 : Error: WARNING: Unresponsive child for request 
174492, in module sql component accounting
Sat Oct 17 03:32:13 2009 : Error: WARNING: Unresponsive child for request 
174571, in module sql component accounting
Sat Oct 17 03:32:43 2009 : Error: WARNING: Unresponsive child for request 
174703, in module sql component accounting
Sat Oct 17 03:34:20 2009 : Error: WARNING: Unresponsive child for request 
175407, in module sql component accounting
Sat Oct 17 03:36:08 2009 : Error: WARNING: Unresponsive child for request 
176535, in module sql component accounting
Sat Oct 17 03:37:36 2009 : Error: WARNING: Unresponsive child for request 
177306, in module sql component accounting
Sat Oct 17 03:38:24 2009 : Error: WARNING: Unresponsive child for request 
177569, in module sql component accounting
Sat Oct 17 03:38:58 2009 : Error: WARNING: Unresponsive child for request 
177691, in module sql component accounting
Sat Oct 17 03:40:03 2009 : Error: WARNING: Unresponsive child for request 
177886, in module sql component accounting
Sat Oct 17 03:40:07 2009 : Error: WARNING: Unresponsive child for request 
177895, in module sql component accounting
Sat Oct 17 03:41:08 2009 : Error: WARNING: Unresponsive child for request 
178006, in module sql component accounting
Sat Oct 17 03:44:39 2009 : Error: WARNING: Unresponsive child for request 
178455, in module sql component accounting
Sat Oct 17 03:45:52 2009 : Error: WARNING: Unresponsive child for request 
178679, in module sql component accounting
Sat Oct 17 03:46:19 2009 : Error: WARNING: Unresponsive child for request 
178755, in module sql component accounting
Sat Oct 17 03:47:57 2009 : Error: WARNING: Unresponsive child for request 
178996, in module sql component accounting
Sat Oct 17 03:48:20 2009 : Error: WARNING: Unresponsive child for request 
179040, in module sql component accounting
Sat Oct 17 03:48:35 2009 : Error: WARNING: Unresponsive child for request 
179086, in module sql component accounting
Sat Oct 17 03:49:35 2009 : Error: WARNING: Unresponsive child for request 
179206, in module sql component accounting
Sat Oct 17 03:50:34 2009 : Error: WARNING: Unresponsive child for request 
179355, in module sql component accounting
Sat Oct 17 03:51:53 2009 : Error: WARNING: Unresponsive child for request 
179536, in module sql component accounting
Sat Oct 17 03:52:45 2009 : Error: WARNING: Unresponsive child for request 
179656, in module sql component accounting
Sat Oct 17 03:53:55 2009 : Error: WARNING: Unresponsive child for request 
179821, in module sql component accounting
Sat Oct 17 03:54:18 2009 : Error: WARNING: Unresponsive child for request 
179894, in module sql component accounting
Sat Oct 17 03:55:27 2009 : Error: WARNING: Unresponsive child for request 
180076, in module sql component accounting
Sat Oct 17 03:56:20 2009 : Error: WARNING: Unresponsive child for request 
180181, in module sql component accounting
Sat Oct 17 03:57:51 2009 : Error: WARNING: Unresponsive child for request 
180344, in module sql component accounting
Sat Oct 17 03:58:27 2009 : Error: WARNING: Unresponsive child for request 
180421, in module sql component accounting
Sat Oct 17 03:59:46 2009 : Error: WARNING: Unresponsive child for request 
180571, in module sql component accounting
Sat Oct 17 04:00:25 2009 : Error: WARNING: Unresponsive child for request 
180646, in module sql component accounting
Sat Oct 17 04:00:57 2009 : Error: WARNING: Unresponsive child for request 
180706, in module sql component accounting
Sat Oct 17 04:02:53 2009 : Error: WARNING: Unresponsive child for request 
180884, in module sql component accounting
Sat Oct 17 04:03:46 2009 : Error: WARNING: Unresponsive child for request 
180976, in module sql component accounting
Sat Oct 17 04:04:14 2009 : Error: WARNING: Unresponsive child for request 
181014, in module sql component accounting
Sat Oct 17 04:06:38 2009 : Error: WARNING: Unresponsive child for request 
181169, in module sql component accounting
Sat Oct 17 04:11:51 2009 : Error: Received conflicting packet from client 
BRAS_101 port 50125 - ID: 214 due to unfinished request 1
80976.  Giving up on old request.
Sat Oct 17 04:20:09 2009 : Error: WARNING: Unresponsive child for request 
182701, in module sql component accounting
Sat Oct 17 04:25:24 2009 : Error: WARNING: Unresponsive child for request 
183204, in module sql component accounting
Sat Oct 17 04:28:27 2009 : Error: WARNING: Unresponsive child for request 
183430, in module sql component accounting
Sat Oct 17 04:36:18 2009 : Error: WARNING: Unresponsive child for request 
184270, in module sql component accounting
Sat Oct 17 04:37:30 2009 : Error: WARNING: Unresponsive child for request 
184396, in module sql component accounting
Sat Oct 17 04:38:20 2009 : Error: WARNING: Unresponsive child for request 
184456, in module sql component accounting
Sat Oct 17 04:46:28 2009 : Error: WARNING: Unresponsive child for request 
185131, in module sql component accounting
Sat Oct 17 04:46:33 2009 : Error: WARNING: Unresponsive child for request 
185140, in module sql component accounting
Sat Oct 17 04:51:55 2009 : Error: WARNING: Unresponsive child for request 
185536, in module sql component accounting
Sat Oct 17 04:55:24 2009 : Error: WARNING: Unresponsive child for request 
185785, in module sql component accounting
Sat Oct 17 05:00:32 2009 : Error: Received conflicting packet from client 
BRAS_101 port 50125 - ID: 201 due to unfinished request 1
85536.  Giving up on old request.
Sat Oct 17 05:10:44 2009 : Error: WARNING: Unresponsive child for request 
187088, in module sql component accounting
Sat Oct 17 05:19:02 2009 : Error: Received conflicting packet from client 
BRAS_101 port 50125 - ID: 208 due to unfinished request 1
87088.  Giving up on old request.
Sat Oct 17 06:11:37 2009 : Info: Exiting normally.


[root at radius-a ~]# gdb process 13073
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 "x86_64-redhat-linux-gnu"...
process: No such file or directory.
Attaching to process 13073
Reading symbols from /usr/local/sbin/radiusd...done.
Reading symbols from /usr/local/lib/libfreeradius-radius-2.1.7.so...done.
Loaded symbols for /usr/local/lib/libfreeradius-radius-2.1.7.so
Reading symbols from /lib64/libnsl.so.1...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /lib64/libresolv.so.2...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x430f1940 (LWP 13073)]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libcrypt.so.1...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /usr/local/lib/libltdl.so.3...done.
Loaded symbols for /usr/local/lib/libltdl.so.3
Reading symbols from /lib64/libssl.so.6...done.
Loaded symbols for /lib64/libssl.so.6
Reading symbols from /lib64/libcrypto.so.6...done.
Loaded symbols for /lib64/libcrypto.so.6
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libdl.so.2...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /usr/lib64/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib64/libgssapi_krb5.so.2
Reading symbols from /usr/lib64/libkrb5.so.3...done.
Loaded symbols for /usr/lib64/libkrb5.so.3
Reading symbols from /lib64/libcom_err.so.2...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /usr/lib64/libk5crypto.so.3...done.
Loaded symbols for /usr/lib64/libk5crypto.so.3
Reading symbols from /usr/lib64/libz.so.1...done.
Loaded symbols for /usr/lib64/libz.so.1
Reading symbols from /usr/lib64/libkrb5support.so.0...done.
Loaded symbols for /usr/lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /lib64/libselinux.so.1...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /lib64/libsepol.so.1...done.
Loaded symbols for /lib64/libsepol.so.1
Reading symbols from /lib64/libnss_files.so.2...done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /usr/local/lib/rlm_exec-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_exec-2.1.7.so
Reading symbols from /usr/local/lib/rlm_expr-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_expr-2.1.7.so
Reading symbols from /usr/local/lib/rlm_expiration-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_expiration-2.1.7.so
Reading symbols from /usr/local/lib/rlm_logintime-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_logintime-2.1.7.so
Reading symbols from /usr/local/lib/rlm_pap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_pap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_chap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_chap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_mschap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_mschap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_unix-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_unix-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap-2.1.7.so
Reading symbols from /usr/local/lib/libfreeradius-eap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/libfreeradius-eap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_md5-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_md5-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_leap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_leap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_gtc-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_gtc-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_tls-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_tls-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_ttls-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_ttls-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_peap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_peap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_mschapv2-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_mschapv2-2.1.7.so
Reading symbols from /usr/local/lib/rlm_realm-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_realm-2.1.7.so
Reading symbols from /usr/local/lib/rlm_files-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_files-2.1.7.so
Reading symbols from /usr/local/lib/rlm_sql-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_sql-2.1.7.so
Reading symbols from /usr/local/lib/rlm_sql_mysql-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_sql_mysql-2.1.7.so
Reading symbols from /usr/lib64/mysql/libmysqlclient_r.so.15...done.
Loaded symbols for /usr/lib64/mysql/libmysqlclient_r.so.15
Reading symbols from /lib64/libm.so.6...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /usr/local/lib/rlm_attr_filter-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_attr_filter-2.1.7.so
Reading symbols from /usr/local/lib/rlm_preprocess-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_preprocess-2.1.7.so
Reading symbols from /usr/local/lib/rlm_always-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_always-2.1.7.so
Reading symbols from /usr/local/lib/rlm_attr_rewrite-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_attr_rewrite-2.1.7.so
Reading symbols from /usr/local/lib/rlm_acct_unique-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_acct_unique-2.1.7.so
Reading symbols from /usr/local/lib/rlm_detail-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_detail-2.1.7.so
Reading symbols from /usr/local/lib/rlm_radutmp-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_radutmp-2.1.7.so
0x0000003acf4dee6e in __lll_lock_wait_private () from /lib64/libc.so.6


(gdb) bt
#0  0x0000003acf4dee6e in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x0000003acf48c75d in _L_lock_1685 () from /lib64/libc.so.6
#2  0x0000003acf48c4a7 in __tz_convert () from /lib64/libc.so.6
#3  0x00002b794fa6e39f in vp_prints_value (out=0x430ef6c0 "", outlen=1008, 
vp=<value optimized out>,
    delimitst=<value optimized out>) at print.c:267
#4  0x000000000040dbb5 in radius_exec_program (cmd=0x2aaab4001180 
"/usr/local/sbin/acctstop.sh", request=0x2aaab4009500,
    exec_wait=0, user_msg=0x0, msg_len=254, input_pairs=0x2aaab40028d0, 
output_pairs=0x0, shell_escape=1) at exec.c:330
#5  0x00002b79500b9141 in exec_xlat (instance=0xe8d5d70, 
request=0x2aaab4009500,
    fmt=0x2aaab4001180 "/usr/local/sbin/acctstop.sh", out=0x430f0110 "", 
outlen=254, func=<value optimized out>) at rlm_exec.c:138
#6  0x000000000041eb2c in radius_xlat (out=<value optimized out>, 
outlen=254,
    fmt=0x2aaab4012c58 "%{exec:/usr/local/sbin/acctstop.sh}", 
request=0x2aaab4009500, func=0x41dee0 <xlat_copy>) at xlat.c:911
#7  0x000000000041d5a4 in pairxlatmove (req=0x2aaab4009500, 
to=0x2aaab40096b8, from=0x430f03d0) at valuepair.c:587
#8  0x00002b79524f7fc8 in file_common (inst=<value optimized out>, 
request=0x2aaab4009500, filename=0x2b79524f8753 "acct_users",
    ht=<value optimized out>, request_pairs=0x2aaab4008e40, 
reply_pairs=0x2aaab40096b8) at rlm_files.c:472
#9  0x00000000004199d1 in modcall (component=2, c=<value optimized out>, 
request=0x2aaab4009500) at modcall.c:292
#10 0x0000000000416f9d in indexed_modcall (comp=2, idx=0, 
request=0x2aaab4009500) at modules.c:691
#11 0x0000000000407eae in rad_accounting (request=0x2aaab4009500) at 
acct.c:57
#12 0x0000000000422c58 in radius_handle_request (request=0x2aaab4009500, 
fun=0x407e70 <rad_accounting>) at event.c:3693
#13 0x000000000041c5c6 in request_handler_thread (arg=<value optimized out>) 
at threads.c:492
#14 0x0000003ad0006367 in start_thread () from /lib64/libpthread.so.0
#15 0x0000003acf4d30ad in clone () from /lib64/libc.so.6
(gdb)

(gdb) list
83      static void sig_fatal (int);
84      #ifdef SIGHUP
85      static void sig_hup (int);
86      #endif
87
88      /*
89       *      The main guy.
90       */
91      int main(int argc, char *argv[])
92      {



[root at radius-a ~]# gdb process 22325
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 "x86_64-redhat-linux-gnu"...
process: No such file or directory.
Attaching to process 22325
Reading symbols from /usr/local/sbin/radiusd...done.
Reading symbols from /usr/local/lib/libfreeradius-radius-2.1.7.so...done.
Loaded symbols for /usr/local/lib/libfreeradius-radius-2.1.7.so
Reading symbols from /lib64/libnsl.so.1...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /lib64/libresolv.so.2...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x41cef940 (LWP 22325)]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libcrypt.so.1...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /usr/local/lib/libltdl.so.3...done.
Loaded symbols for /usr/local/lib/libltdl.so.3
Reading symbols from /lib64/libssl.so.6...done.
Loaded symbols for /lib64/libssl.so.6
Reading symbols from /lib64/libcrypto.so.6...done.
Loaded symbols for /lib64/libcrypto.so.6
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libdl.so.2...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /usr/lib64/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib64/libgssapi_krb5.so.2
Reading symbols from /usr/lib64/libkrb5.so.3...done.
Loaded symbols for /usr/lib64/libkrb5.so.3
Reading symbols from /lib64/libcom_err.so.2...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /usr/lib64/libk5crypto.so.3...done.
Loaded symbols for /usr/lib64/libk5crypto.so.3
Reading symbols from /usr/lib64/libz.so.1...done.
Loaded symbols for /usr/lib64/libz.so.1
Reading symbols from /usr/lib64/libkrb5support.so.0...done.
Loaded symbols for /usr/lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /lib64/libselinux.so.1...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /lib64/libsepol.so.1...done.
Loaded symbols for /lib64/libsepol.so.1
Reading symbols from /lib64/libnss_files.so.2...done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /usr/local/lib/rlm_exec-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_exec-2.1.7.so
Reading symbols from /usr/local/lib/rlm_expr-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_expr-2.1.7.so
Reading symbols from /usr/local/lib/rlm_expiration-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_expiration-2.1.7.so
Reading symbols from /usr/local/lib/rlm_logintime-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_logintime-2.1.7.so
Reading symbols from /usr/local/lib/rlm_pap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_pap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_chap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_chap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_mschap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_mschap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_unix-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_unix-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap-2.1.7.so
Reading symbols from /usr/local/lib/libfreeradius-eap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/libfreeradius-eap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_md5-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_md5-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_leap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_leap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_gtc-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_gtc-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_tls-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_tls-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_ttls-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_ttls-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_peap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_peap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_mschapv2-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_mschapv2-2.1.7.so
Reading symbols from /usr/local/lib/rlm_realm-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_realm-2.1.7.so
Reading symbols from /usr/local/lib/rlm_files-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_files-2.1.7.so
Reading symbols from /usr/local/lib/rlm_sql-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_sql-2.1.7.so
Reading symbols from /usr/local/lib/rlm_sql_mysql-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_sql_mysql-2.1.7.so
Reading symbols from /usr/lib64/mysql/libmysqlclient_r.so.15...done.
Loaded symbols for /usr/lib64/mysql/libmysqlclient_r.so.15
Reading symbols from /lib64/libm.so.6...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /usr/local/lib/rlm_attr_filter-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_attr_filter-2.1.7.so
Reading symbols from /usr/local/lib/rlm_preprocess-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_preprocess-2.1.7.so
Reading symbols from /usr/local/lib/rlm_always-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_always-2.1.7.so
Reading symbols from /usr/local/lib/rlm_attr_rewrite-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_attr_rewrite-2.1.7.so
Reading symbols from /usr/local/lib/rlm_acct_unique-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_acct_unique-2.1.7.so
Reading symbols from /usr/local/lib/rlm_detail-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_detail-2.1.7.so
Reading symbols from /usr/local/lib/rlm_radutmp-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_radutmp-2.1.7.so
0x0000003acf4dee6e in __lll_lock_wait_private () from /lib64/libc.so.6

(gdb) bt
#0  0x0000003acf4dee6e in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x0000003acf48c75d in _L_lock_1685 () from /lib64/libc.so.6
#2  0x0000003acf48c4a7 in __tz_convert () from /lib64/libc.so.6
#3  0x00002b794fa6e39f in vp_prints_value (out=0x41ced6c0 "", outlen=1008, 
vp=<value optimized out>,
    delimitst=<value optimized out>) at print.c:267
#4  0x000000000040dbb5 in radius_exec_program (cmd=0xea10e30 
"/usr/local/sbin/acctstop.sh", request=0x2aaab4001f40, exec_wait=0,
    user_msg=0x0, msg_len=254, input_pairs=0xea0e600, output_pairs=0x0, 
shell_escape=1) at exec.c:330
#5  0x00002b79500b9141 in exec_xlat (instance=0xe8d5d70, 
request=0x2aaab4001f40, fmt=0xea10e30 "/usr/local/sbin/acctstop.sh",
    out=0x41cee110 "", outlen=254, func=<value optimized out>) at 
rlm_exec.c:138
#6  0x000000000041eb2c in radius_xlat (out=<value optimized out>, 
outlen=254,
    fmt=0xea10be8 "%{exec:/usr/local/sbin/acctstop.sh}", 
request=0x2aaab4001f40, func=0x41dee0 <xlat_copy>) at xlat.c:911
#7  0x000000000041d5a4 in pairxlatmove (req=0x2aaab4001f40, 
to=0x2aaab40020f8, from=0x41cee3d0) at valuepair.c:587
#8  0x00002b79524f7fc8 in file_common (inst=<value optimized out>, 
request=0x2aaab4001f40, filename=0x2b79524f8753 "acct_users",
    ht=<value optimized out>, request_pairs=0xea084e0, 
reply_pairs=0x2aaab40020f8) at rlm_files.c:472
#9  0x00000000004199d1 in modcall (component=2, c=<value optimized out>, 
request=0x2aaab4001f40) at modcall.c:292
#10 0x0000000000416f9d in indexed_modcall (comp=2, idx=0, 
request=0x2aaab4001f40) at modules.c:691
#11 0x0000000000407eae in rad_accounting (request=0x2aaab4001f40) at 
acct.c:57
#12 0x0000000000422c58 in radius_handle_request (request=0x2aaab4001f40, 
fun=0x407e70 <rad_accounting>) at event.c:3693
#13 0x000000000041c5c6 in request_handler_thread (arg=<value optimized out>) 
at threads.c:492
#14 0x0000003ad0006367 in start_thread () from /lib64/libpthread.so.0
#15 0x0000003acf4d30ad in clone () from /lib64/libc.so.6

(gdb) list
83      static void sig_fatal (int);
84      #ifdef SIGHUP
85      static void sig_hup (int);
86      #endif
87
88      /*
89       *      The main guy.
90       */
91      int main(int argc, char *argv[])
92      {
(gdb)


[root at radius-a ~]# gdb process 21201
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 "x86_64-redhat-linux-gnu"...
process: No such file or directory.
Attaching to process 21201
Reading symbols from /usr/local/sbin/radiusd...done.
Reading symbols from /usr/local/lib/libfreeradius-radius-2.1.7.so...done.
Loaded symbols for /usr/local/lib/libfreeradius-radius-2.1.7.so
Reading symbols from /lib64/libnsl.so.1...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /lib64/libresolv.so.2...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x412ee940 (LWP 21201)]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libcrypt.so.1...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /usr/local/lib/libltdl.so.3...done.
Loaded symbols for /usr/local/lib/libltdl.so.3
Reading symbols from /lib64/libssl.so.6...done.
Loaded symbols for /lib64/libssl.so.6
Reading symbols from /lib64/libcrypto.so.6...done.
Loaded symbols for /lib64/libcrypto.so.6
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libdl.so.2...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /usr/lib64/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib64/libgssapi_krb5.so.2
Reading symbols from /usr/lib64/libkrb5.so.3...done.
Loaded symbols for /usr/lib64/libkrb5.so.3
Reading symbols from /lib64/libcom_err.so.2...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /usr/lib64/libk5crypto.so.3...done.
Loaded symbols for /usr/lib64/libk5crypto.so.3
Reading symbols from /usr/lib64/libz.so.1...done.
Loaded symbols for /usr/lib64/libz.so.1
Reading symbols from /usr/lib64/libkrb5support.so.0...done.
Loaded symbols for /usr/lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /lib64/libselinux.so.1...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /lib64/libsepol.so.1...done.
Loaded symbols for /lib64/libsepol.so.1
Reading symbols from /lib64/libnss_files.so.2...done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /usr/local/lib/rlm_exec-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_exec-2.1.7.so
Reading symbols from /usr/local/lib/rlm_expr-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_expr-2.1.7.so
Reading symbols from /usr/local/lib/rlm_expiration-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_expiration-2.1.7.so
Reading symbols from /usr/local/lib/rlm_logintime-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_logintime-2.1.7.so
Reading symbols from /usr/local/lib/rlm_pap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_pap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_chap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_chap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_mschap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_mschap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_unix-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_unix-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap-2.1.7.so
Reading symbols from /usr/local/lib/libfreeradius-eap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/libfreeradius-eap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_md5-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_md5-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_leap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_leap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_gtc-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_gtc-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_tls-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_tls-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_ttls-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_ttls-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_peap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_peap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_mschapv2-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_mschapv2-2.1.7.so
Reading symbols from /usr/local/lib/rlm_realm-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_realm-2.1.7.so
Reading symbols from /usr/local/lib/rlm_files-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_files-2.1.7.so
Reading symbols from /usr/local/lib/rlm_sql-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_sql-2.1.7.so
Reading symbols from /usr/local/lib/rlm_sql_mysql-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_sql_mysql-2.1.7.so
Reading symbols from /usr/lib64/mysql/libmysqlclient_r.so.15...done.
Loaded symbols for /usr/lib64/mysql/libmysqlclient_r.so.15
Reading symbols from /lib64/libm.so.6...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /usr/local/lib/rlm_attr_filter-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_attr_filter-2.1.7.so
Reading symbols from /usr/local/lib/rlm_preprocess-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_preprocess-2.1.7.so
Reading symbols from /usr/local/lib/rlm_always-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_always-2.1.7.so
Reading symbols from /usr/local/lib/rlm_attr_rewrite-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_attr_rewrite-2.1.7.so
Reading symbols from /usr/local/lib/rlm_acct_unique-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_acct_unique-2.1.7.so
Reading symbols from /usr/local/lib/rlm_detail-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_detail-2.1.7.so
Reading symbols from /usr/local/lib/rlm_radutmp-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_radutmp-2.1.7.so
0x0000003acf4dee6e in __lll_lock_wait_private () from /lib64/libc.so.6

(gdb) bt
#0  0x0000003acf4dee6e in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x0000003acf48c75d in _L_lock_1685 () from /lib64/libc.so.6
#2  0x0000003acf48c4a7 in __tz_convert () from /lib64/libc.so.6
#3  0x00002b794fa6e39f in vp_prints_value (out=0x412ec6c0 "", outlen=1008, 
vp=<value optimized out>,
    delimitst=<value optimized out>) at print.c:267
#4  0x000000000040dbb5 in radius_exec_program (cmd=0xe967550 
"/usr/local/sbin/acctstop.sh", request=0x2aaab401e9d0, exec_wait=0,
    user_msg=0x0, msg_len=254, input_pairs=0xea1a0f0, output_pairs=0x0, 
shell_escape=1) at exec.c:330
#5  0x00002b79500b9141 in exec_xlat (instance=0xe8d5d70, 
request=0x2aaab401e9d0, fmt=0xe967550 "/usr/local/sbin/acctstop.sh",
    out=0x412ed110 "", outlen=254, func=<value optimized out>) at 
rlm_exec.c:138
#6  0x000000000041eb2c in radius_xlat (out=<value optimized out>, 
outlen=254,
    fmt=0xea1bf88 "%{exec:/usr/local/sbin/acctstop.sh}", 
request=0x2aaab401e9d0, func=0x41dee0 <xlat_copy>) at xlat.c:911
#7  0x000000000041d5a4 in pairxlatmove (req=0x2aaab401e9d0, 
to=0x2aaab401eb88, from=0x412ed3d0) at valuepair.c:587
#8  0x00002b79524f7fc8 in file_common (inst=<value optimized out>, 
request=0x2aaab401e9d0, filename=0x2b79524f8753 "acct_users",
    ht=<value optimized out>, request_pairs=0xea19e70, 
reply_pairs=0x2aaab401eb88) at rlm_files.c:472
#9  0x00000000004199d1 in modcall (component=2, c=<value optimized out>, 
request=0x2aaab401e9d0) at modcall.c:292
#10 0x0000000000416f9d in indexed_modcall (comp=2, idx=0, 
request=0x2aaab401e9d0) at modules.c:691
#11 0x0000000000407eae in rad_accounting (request=0x2aaab401e9d0) at 
acct.c:57
#12 0x0000000000422c58 in radius_handle_request (request=0x2aaab401e9d0, 
fun=0x407e70 <rad_accounting>) at event.c:3693
#13 0x000000000041c5c6 in request_handler_thread (arg=<value optimized out>) 
at threads.c:492
#14 0x0000003ad0006367 in start_thread () from /lib64/libpthread.so.0
#15 0x0000003acf4d30ad in clone () from /lib64/libc.so.6

(gdb) list
83      static void sig_fatal (int);
84      #ifdef SIGHUP
85      static void sig_hup (int);
86      #endif
87
88      /*
89       *      The main guy.
90       */
91      int main(int argc, char *argv[])
92      {
(gdb)


[root at radius-a ~]# gdb process 21202
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 "x86_64-redhat-linux-gnu"...
process: No such file or directory.
Attaching to process 21202
Reading symbols from /usr/local/sbin/radiusd...done.
Reading symbols from /usr/local/lib/libfreeradius-radius-2.1.7.so...done.
Loaded symbols for /usr/local/lib/libfreeradius-radius-2.1.7.so
Reading symbols from /lib64/libnsl.so.1...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /lib64/libresolv.so.2...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x458f5940 (LWP 21202)]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libcrypt.so.1...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /usr/local/lib/libltdl.so.3...done.
Loaded symbols for /usr/local/lib/libltdl.so.3
Reading symbols from /lib64/libssl.so.6...done.
Loaded symbols for /lib64/libssl.so.6
Reading symbols from /lib64/libcrypto.so.6...done.
Loaded symbols for /lib64/libcrypto.so.6
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libdl.so.2...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /usr/lib64/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib64/libgssapi_krb5.so.2
Reading symbols from /usr/lib64/libkrb5.so.3...done.
Loaded symbols for /usr/lib64/libkrb5.so.3
Reading symbols from /lib64/libcom_err.so.2...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /usr/lib64/libk5crypto.so.3...done.
Loaded symbols for /usr/lib64/libk5crypto.so.3
Reading symbols from /usr/lib64/libz.so.1...done.
Loaded symbols for /usr/lib64/libz.so.1
Reading symbols from /usr/lib64/libkrb5support.so.0...done.
Loaded symbols for /usr/lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /lib64/libselinux.so.1...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /lib64/libsepol.so.1...done.
Loaded symbols for /lib64/libsepol.so.1
Reading symbols from /lib64/libnss_files.so.2...done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /usr/local/lib/rlm_exec-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_exec-2.1.7.so
Reading symbols from /usr/local/lib/rlm_expr-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_expr-2.1.7.so
Reading symbols from /usr/local/lib/rlm_expiration-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_expiration-2.1.7.so
Reading symbols from /usr/local/lib/rlm_logintime-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_logintime-2.1.7.so
Reading symbols from /usr/local/lib/rlm_pap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_pap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_chap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_chap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_mschap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_mschap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_unix-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_unix-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap-2.1.7.so
Reading symbols from /usr/local/lib/libfreeradius-eap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/libfreeradius-eap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_md5-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_md5-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_leap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_leap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_gtc-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_gtc-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_tls-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_tls-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_ttls-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_ttls-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_peap-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_peap-2.1.7.so
Reading symbols from /usr/local/lib/rlm_eap_mschapv2-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_mschapv2-2.1.7.so
Reading symbols from /usr/local/lib/rlm_realm-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_realm-2.1.7.so
Reading symbols from /usr/local/lib/rlm_files-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_files-2.1.7.so
Reading symbols from /usr/local/lib/rlm_sql-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_sql-2.1.7.so
Reading symbols from /usr/local/lib/rlm_sql_mysql-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_sql_mysql-2.1.7.so
Reading symbols from /usr/lib64/mysql/libmysqlclient_r.so.15...done.
Loaded symbols for /usr/lib64/mysql/libmysqlclient_r.so.15
Reading symbols from /lib64/libm.so.6...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /usr/local/lib/rlm_attr_filter-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_attr_filter-2.1.7.so
Reading symbols from /usr/local/lib/rlm_preprocess-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_preprocess-2.1.7.so
Reading symbols from /usr/local/lib/rlm_always-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_always-2.1.7.so
Reading symbols from /usr/local/lib/rlm_attr_rewrite-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_attr_rewrite-2.1.7.so
Reading symbols from /usr/local/lib/rlm_acct_unique-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_acct_unique-2.1.7.so
Reading symbols from /usr/local/lib/rlm_detail-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_detail-2.1.7.so
Reading symbols from /usr/local/lib/rlm_radutmp-2.1.7.so...done.
Loaded symbols for /usr/local/lib/rlm_radutmp-2.1.7.so
0x0000003acf4dee6e in __lll_lock_wait_private () from /lib64/libc.so.6
(gdb) bt
#0  0x0000003acf4dee6e in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x0000003acf48c75d in _L_lock_1685 () from /lib64/libc.so.6
#2  0x0000003acf48c4a7 in __tz_convert () from /lib64/libc.so.6
#3  0x00002b794fa6e39f in vp_prints_value (out=0x458f36c0 "", outlen=1008, 
vp=<value optimized out>,
    delimitst=<value optimized out>) at print.c:267
#4  0x000000000040dbb5 in radius_exec_program (cmd=0x2aaab401df60 
"/usr/local/sbin/acctstop.sh", request=0x2aaab400fde0,
    exec_wait=0, user_msg=0x0, msg_len=254, input_pairs=0x2aaab40271b0, 
output_pairs=0x0, shell_escape=1) at exec.c:330
#5  0x00002b79500b9141 in exec_xlat (instance=0xe8d5d70, 
request=0x2aaab400fde0,
    fmt=0x2aaab401df60 "/usr/local/sbin/acctstop.sh", out=0x458f4110 "", 
outlen=254, func=<value optimized out>) at rlm_exec.c:138
#6  0x000000000041eb2c in radius_xlat (out=<value optimized out>, 
outlen=254,
    fmt=0x2aaab401d508 "%{exec:/usr/local/sbin/acctstop.sh}", 
request=0x2aaab400fde0, func=0x41dee0 <xlat_copy>) at xlat.c:911
#7  0x000000000041d5a4 in pairxlatmove (req=0x2aaab400fde0, 
to=0x2aaab4011dd8, from=0x458f43d0) at valuepair.c:587
#8  0x00002b79524f7fc8 in file_common (inst=<value optimized out>, 
request=0x2aaab400fde0, filename=0x2b79524f8753 "acct_users",
    ht=<value optimized out>, request_pairs=0x2aaab4019d70, 
reply_pairs=0x2aaab4011dd8) at rlm_files.c:472
#9  0x00000000004199d1 in modcall (component=2, c=<value optimized out>, 
request=0x2aaab400fde0) at modcall.c:292
#10 0x0000000000416f9d in indexed_modcall (comp=2, idx=0, 
request=0x2aaab400fde0) at modules.c:691
#11 0x0000000000407eae in rad_accounting (request=0x2aaab400fde0) at 
acct.c:57
#12 0x0000000000422c58 in radius_handle_request (request=0x2aaab400fde0, 
fun=0x407e70 <rad_accounting>) at event.c:3693
#13 0x000000000041c5c6 in request_handler_thread (arg=<value optimized out>) 
at threads.c:492
#14 0x0000003ad0006367 in start_thread () from /lib64/libpthread.so.0
#15 0x0000003acf4d30ad in clone () from /lib64/libc.so.6
(gdb) list
83      static void sig_fatal (int);
84      #ifdef SIGHUP
85      static void sig_hup (int);
86      #endif
87
88      /*
89       *      The main guy.
90       */
91      int main(int argc, char *argv[])
92      {
(gdb)




__________ Information from ESET Smart Security, version of virus signature database 4519 (20091018) __________

The message was checked by ESET Smart Security.

http://www.eset.com






More information about the Freeradius-Users mailing list