From: selvakumar nagendran <kernelselva@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: kfree error oops
Date: Tue, 11 Jan 2005 00:23:32 -0800 (PST) [thread overview]
Message-ID: <20050111082332.58880.qmail@web60605.mail.yahoo.com> (raw)
Hello linux-experts,
While I tried to free the memory I allocated
using kfree, I received the following error:
I am working in kernel 2.4.28.
I have also attached the code. Can anyone help me
regarding this? I have also checked for NULL pointer
even though it is not necessary.
Thanks,
selva
-----------------------
list_for_each(p,&rhash_table[i])
{
//printk("\n Printing details for my..");
my = list_entry(p, struct resource, res_list);
if(my)
{
printk("\n My is not null..");
printk("\n%ld,", my -> rid.fd);
printk("%ld,", my -> rid.inode);
printk("%d,", my -> rid.ACCESS_TYPE);
list_del(&my -> res_list);
kfree(my);
}
--------------
<1>Unable to handle kernel paging request at virtual
address 170fc2ad
Jan 10 14:57:17 cbl032 kernel: printing eip:
d076b210
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<d076b210>] Not tainted
EFLAGS: 00010206
eax: 170fc2a5 ebx: ca502000 ecx: 00000020 edx:
ffffffff
esi: 00000400 edi: 00000000 ebp: bffffb98 esp:
ca503fa4
Jan 10 14:57:17 cbl032 random: Saving random seed:
failed
ds: 0018 es: 0018 ss: 0018
Process initlog (pid: 6677, stackpage=ca503000)
Stack: 00000020 ffffffff 00000001 c01166c0 bffffb98
c0108ccc ca502000 c0108bdb
00000020 4b26f940 00000020 00000400 00000000
bffffb98 00000006 0000002b
0000002b 00000006 4b208ba1 00000023 00000246
bffffb4c 0000002b
Call Trace: [<c01166c0>] [<c0108ccc>] [<c0108bdb>]
Code: 8b 40 08 8b 40 08 8b 50 28 89 54 24 04 c7 44 24
08 01 00 00
__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250
next reply other threads:[~2005-01-11 8:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-11 8:23 selvakumar nagendran [this message]
2005-01-11 8:33 ` kfree error oops Arjan van de Ven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050111082332.58880.qmail@web60605.mail.yahoo.com \
--to=kernelselva@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).