kdb
[Top] [All Lists]

kdb shows some wrong function in stack trace...

To: kdb@xxxxxxxxxxx
Subject: kdb shows some wrong function in stack trace...
From: "Probhas Chandra Patra" <probhas.patra@xxxxxxxxx>
Date: Tue, 18 Dec 2001 19:00:01 +0500
Sender: owner-kdb@xxxxxxxxxxx
Hi,

I am porting the IPSec from FreeBsd to LINUX. I am debugging the kernel
rigth now. I am facing a problem with KDB(kernel version 2.4.2). I ran
some applications(IPSec related). During the run of one of the
applications, the kernel paniced throwing up the following message:

" Unable to handle null pointer at the address ...."

At that point I noted down the instruction pointer (eip value) and
traced the stack (using the command 'bt'). The stack shows the function
in which the kernel paniced (let's say the function is 'X').

After that I rebooted the machine and did the following :

" gbd -c /proc/kcore vmlinux"

and took assembly dump by giving the following command:
(gdb) disassemble <eip value>

The assembly dump shows that the eip is not within the scope of the
function 'X' (that is shown in the stack trace)!

Has anybody faced this kind of problem earlier? Please help me regarding
this.

Thanks,
Probhas

Attachment: Wipro_Disclaimer.txt
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>