public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Is this a kernel problem? segmentation fault
@ 2001-11-14  1:40 Donald Harter
  2001-11-14 10:37 ` Terje Eggestad
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Donald Harter @ 2001-11-14  1:40 UTC (permalink / raw)
  To: linux-kernel

     I started by debugging this program where I was getting a segmentation fault.  I used gdb and traced the bug to a call instruction.  I dissasembled the code and stepped through the instructions.  The program  got a segmentation fault when it executed an assembly language call instruction. Using gdb I was able to disassemble the instructions at the called address. Why can gdb disasemble instructions at a call address and a call to that address fails with a segmentation fault?  Is this a kernel problem?  I am using kernel version 2.2.15.  Any suggestions would be appreciated. I tried kernel 2.4.4 and the same thing happens.  I have searched this mailing list archive and did find some posts about segmentation faults/ kernel bugs, but they did not resolve this problem.  I use egcs 1.1-2 and ld 2.9.5 versions.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-11-14 12:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-14  1:40 Is this a kernel problem? segmentation fault Donald Harter
2001-11-14 10:37 ` Terje Eggestad
2001-11-14 12:01 ` Roman Zippel
2001-11-14 12:35 ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox