[LIP] Re: [TwinCLinG] Insmod Rmmod Insmod crash.
Suresh Ramasubramanian <[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Organization | KCircle - http://www.kcircle.com |
| Message-ID | <[email protected]> |
suresh kumar [2/7/2004 12:38 PM] : > Hi, > I have written a module that crashes after insmod followed by rmmod followed by insmod. I am using kgdb and the crash is as below. When I do rmmod I am not freeing the memory that is I have allocated during the insmod. I want to know if it is because of that or it is because of wrong programming in registering netfilter hooks as the trace is showing that. I am also pasing few lines as how I am registering. Kindly help me. I feel that there is some thing to do with the priority of the hook. This might explain why ... http://lkml.org/lkml/2004/1/27/32 > > SIGSEGV has to be actually delivered to an application for it to die. A user > has a choice of correcting a bug on the fly and let the application continue > without segfaulting. It can tell gdb to continue the debugee without a > signal. It doesn't apply in case of kernel, so it's not a bug. Kernel anyway > "delivers" the signal, that is, continues with a panic once kgdb returns. We > don't offer a user the choice of correcting a segfault on the fly. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn