#13 hitting a breakpoint crashes the kernel

closed-fixed
9
2000-09-25
2000-09-02
Jeff Dike
No

Running gdb inside the kernel and having it hit a breakpoint causes a crash.

Running gdb on this program:

#include <stdio.h>
main()
{
printf("foo\n");
}

setting a breakpoint in main, and running it causes this panic:

Kernel panic: Double fault on 0x400ebeac - panicing because it wasn't fixed the first time

What's odd is that the faulting ip is not the breakpoint ip, but there is an int3 right before it. There is also an int3 on the breakpoint ip, so somehow, an extra int3 is being written into the process.

Discussion

  • Jeff Dike

    Jeff Dike - 2000-09-25
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks