Red Hat axp-kernel-list: Alpha Linux kernel
 help / color / mirror / Atom feed
From: <WHarms@bfs.de>(Walter Harms)
Subject: Re: HELP: Segmentation Fault!
Date: Sat, 22 Mar 2003 11:46:10 +0100	[thread overview]
Message-ID: <vines.sxdD+mv1TyA@SZKOM.BFS.DE> (raw)


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 <nanthan14@lycos.com>
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
Axp-kernel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-kernel-list

             reply	other threads:[~2003-03-22 10:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-22 10:46 Walter Harms [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-03-22  5:00 HELP: Segmentation Fault! Pathmenanthan Ramakrishna
2003-03-22 10:59 ` Jan-Benedict Glaw
read-only archive

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