Re: HELP: Segmentation Fault!

Jan-Benedict Glaw <[email protected]> Sat, 22 Mar 2003 11:59:04 +0100
Newsgroups gmane.linux.redhat.axp.kernel
Message-ID <[email protected]>
--osDK9TLjxFScVI/L
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, 2003-03-21 21:00:42 -0800, Pathmenanthan Ramakrishna <nanthan14@lyc=
os.com>
wrote in message <[email protected]>:

[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

--=20
   Jan-Benedict Glaw       [email protected]    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier B=FCrger" | im Internet! |   im Ira=
k!
      ret =3D do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));

--osDK9TLjxFScVI/L
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+fEH4Hb1edYOZ4bsRAgFfAJ0bpMWIK2x0hWoqc51EwJprOcCbRQCfVqt0
QZX2jWTOZU8bgjUZlVSLDDs=
=It3g
-----END PGP SIGNATURE-----

--osDK9TLjxFScVI/L--