Re: HELP: Segmentation Fault!
<[email protected]>(Walter Harms) Sat, 22 Mar 2003 11:46:10 +0100
| Newsgroups | gmane.linux.redhat.axp.kernel |
|---|---|
| Message-ID | <[email protected]> |
hi Pathmenanthan, I guess the prg causes a segfault, right ? To locate the error you need: 1. mail the maintainer about the problem perhaps he know it already and idependently: 2. recompile the prg with option -g (compiler leaves debuginformation in the code) 3. run the code until it crashes use gdb <prg> core the find the offending line. alternatively you can run the programm directly in the debugger. A sudden crash after some time hints for me to an overrunning array, look out for possible bufferoverflows and not iniliased variables. HINT: enabling debugmode may work also BEWARE: The -g option causes a huge grow in programm size don be afraid but it may also take longer to crash because there is more nonvitol information to crash. DONT thing it solves a problem when the programm dont crash when compiled with -g ! walter - - - - - - - - - - - - - - Original Message - - - - - - - - - - - - - - From: Pathmenanthan Ramakrishna <[email protected]> Subject: HELP: Segmentation Fault! Date: 03/22/03 06:00 Hello, i installed a pH a system call IDS response tool where i did recompile the kernel from Redhat 7.3 as the pH only works on Kernel 2.2. when i leave the pH running for 2 days,later it stops automatically and i received "segmentation fault" at the command line.why is this problem occurs?what are the causes and how do i solve it? i need help here.Hope anyone could he give me few suggestions. thanks Nanthan. _____________________________________________________________ Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year. http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus _______________________________________________ Axp-kernel-list mailing list [email protected] https://listman.redhat.com/mailman/listinfo/axp-kernel-list