* HELP: Segmentation Fault!
@ 2003-03-22 5:00 Pathmenanthan Ramakrishna
2003-03-22 10:59 ` Jan-Benedict Glaw
0 siblings, 1 reply; 3+ messages in thread
From: Pathmenanthan Ramakrishna @ 2003-03-22 5:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: HELP: Segmentation Fault!
@ 2003-03-22 10:46 Walter Harms
0 siblings, 0 replies; 3+ messages in thread
From: Walter Harms @ 2003-03-22 10:46 UTC (permalink / 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: HELP: Segmentation Fault!
2003-03-22 5:00 HELP: Segmentation Fault! Pathmenanthan Ramakrishna
@ 2003-03-22 10:59 ` Jan-Benedict Glaw
0 siblings, 0 replies; 3+ messages in thread
From: Jan-Benedict Glaw @ 2003-03-22 10:59 UTC (permalink / raw)
Cc: Pathmenanthan Ramakrishna
[-- Attachment #1: Type: text/plain, Size: 2309 bytes --]
On Fri, 2003-03-21 21:00:42 -0800, Pathmenanthan Ramakrishna <nanthan14@lycos.com>
wrote in message <BIKAACJGJBNCECAA@mailcity.com>:
[Quoted mail reformatted due to too long lines - please keep < 72 chars!]
> 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?
Which program receives this segmetation fault? Your IDS - is it an
application or some kernel patches? If it's an application, then you
shouldn't need to recompile the kernel. In this case, you'd recompile
the application additionally using "-g" as a compiler switch (and
comment out any lines in the Makefile containing the word "strip"!).
Then, run it under gdb's control:
$ gdb ..../my/app
> run
If you application requires root privileges, do it as root... After it
crashed, type "bt" into gdb and send the output to the program's author.
In case this IDS is kernel-based, throw it away. Esp. for Alphas, my
opinion is that 2.2.x is quite old and somewhat rotten in some
circumstances (IIRC it's still not fixed that you *always* boot up with
correct system time, ...). Stick at 2.4.x (or test 2.5.x, which (for me)
is quite stable on my Alphas).
> i need help here.Hope anyone could he give me few suggestions.
To really help you, we need information. This is (not only, but
including):
- What Alpha are you running?
- What was your old (known-good) kernel's version? Where is it
from? Self-compiled?
- What IDS do you try to get running?
- What's your current (patched) kernel's version?
- What distribution do you use?
- What is the installed compiler's version?
- Are there Oopses, too? (-> "dmesg" output)
- ...
Without that, even guessing wouldn't make any sense...
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-03-22 10:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-22 5:00 HELP: Segmentation Fault! Pathmenanthan Ramakrishna
2003-03-22 10:59 ` Jan-Benedict Glaw
-- strict thread matches above, loose matches on Subject: below --
2003-03-22 10:46 Walter Harms
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox