On Thu, Jun 12, 2003 at 03:08:12PM +0530, Deepankar Vidyarthi wrote: > Hi, > > I have written a kernel module. But it seems this guy is corrupting > memory somewhere because of which I get kernel segmentation and then > panic. > > I tried looking into the problem using kgdb, but I am not getting proper > information regarding where the problem is arising from. The code seems > alright (which is always the case for the person who writes it ;)). > > I wanted to know whether there are any ways (tools, etc) to catch memory > leaks or memory corruption for kernel modules. > Look at http://www-106.ibm.com/developerworks/linux/library/l-debug/ It has details of tools you can use to debug your programs for memory leaks Regards, Ananth > TIA, > Deepankar. > > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/