freeradius2.1.10 crash @ request_stats_final
winson
winsonfernandes at gmail.com
Thu May 26 14:31:35 CEST 2011
Hi Alan,
the detailed core dump and stats.c file attached :
(gdb) frame 0
#0 0x0041fdc8 in request_stats_final (request=0x1907d10) at stats.c:122
122 INC_ACCT(total_packets_dropped);
(gdb) info args
request = (REQUEST *) 0x1907d10
(gdb) info locals
No locals.
(gdb) p *(REQUEST*)0x1907d10
$15 = {packet = 0x19094a8, proxy = 0x19017b8, reply = 0x19095c8, proxy_reply
= 0x0, config_items = 0x1901318,
username = 0x1909670, password = 0x0, root = 0x4549c0, data = 0x0, client
= 0x548aa0, child_pid = 0,
timestamp = 1306390379, number = 167, listener = 0x18f6468, proxy_listener
= 0x18f72a8, simul_max = 7, simul_count = 0,
simul_mpp = 0, options = 2, module = 0x437dd8 "", component = 0x43c958
"<core>", received = {tv_sec = 1306390379,
tv_usec = 650024}, when = {tv_sec = 1306390393, tv_usec = 650363}, delay =
1000000, master_state = 1, child_state = 2,
priority = RAD_LISTEN_AUTH, ev = 0x0, next_when = {tv_sec = 1306390393,
tv_usec = 650363}, next_callback = 0,
in_request_hash = 0, in_proxy_hash = 0, home_server = 0x45e558, home_pool
= 0x45ec20, proxy_when = {tv_sec = 1306390379,
tv_usec = 650363}, num_proxied_requests = 1, num_proxied_responses = 0,
server = 0x0, parent = 0x0, radlog = 0,
coa = 0x0, num_coa_requests = 0}
(gdb) p *((REQUEST*)0x1907d10)->client
$16 = {ipaddr = {af = 838482724, ipaddr = {ip4addr = {s_addr = 33541119},
ip6addr = {in6_u = {
u6_addr8 = "\001ÿËÿ\000\000\000)\000T\212Ì\000\000\000", u6_addr16
= {511, 52223, 0, 41, 84, 35532, 0, 0},
u6_addr32 = {33541119, 41, 5540556, 0}}}}, scope = 0}, prefix =
5540524, longname = 0x19168c4 "\001\221hä",
secret = 0x38fa3b24 <Address 0x38fa3b24 out of bounds>, shortname =
0x1ffcbff <Address 0x1ffcbff out of bounds>,
message_authenticator = 42, nastype = 0x548aec "", login = 0x548a8c "",
password = 0x548aac "", server = 0x548a8c "",
number = 26306756, cs = 0x7ffa3c1c, auth = 0x10fa0cf0, acct = 0x29,
lifetime = 5540716, dynamic = 5540460,
created = 5540556, last_new_client = 5540588, client_server = 0x19168c4
"\001\221hä", rate_limit = 0,
coa_name = 0xafa0c00 <Address 0xafa0c00 out of bounds>, coa_server = 0x2b,
coa_pool = 0x548b4c}
(gdb) p *((REQUEST*)0x1907d10)->client->acct
Cannot access memory at address 0x29.
http://freeradius.1045715.n5.nabble.com/file/n4428429/stats.c stats.c
--
View this message in context: http://freeradius.1045715.n5.nabble.com/freeradius2-1-10-crash-request-stats-final-tp4428371p4428429.html
Sent from the FreeRadius - Dev mailing list archive at Nabble.com.
More information about the Freeradius-Devel
mailing list