From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: (Walter Harms) Newsgroups: gmane.linux.redhat.axp.kernel Subject: Re: HELP: Segmentation Fault! Date: Sat, 22 Mar 2003 11:46:10 +0100 Sender: axp-kernel-list-admin@redhat.com Message-ID: Reply-To: axp-kernel-list@redhat.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048329957 15103 80.91.224.249 (22 Mar 2003 10:45:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2003 10:45:57 +0000 (UTC) Original-X-From: axp-kernel-list-admin@redhat.com Sat Mar 22 11:45:53 2003 Return-path: Original-Received: from listman.redhat.com ([66.187.233.211]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18wgVd-0003v4-00 for ; Sat, 22 Mar 2003 11:45:53 +0100 Original-Received: from listman.redhat.com (localhost.localdomain [127.0.0.1]) by listman.redhat.com (Postfix) with ESMTP id 709353EBD6; Sat, 22 Mar 2003 05:46:01 -0500 (EST) Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 7EAA93EAC4 for ; Sat, 22 Mar 2003 05:45:50 -0500 (EST) Original-Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h2MAjow01598 for axp-kernel-list@listman.redhat.com; Sat, 22 Mar 2003 05:45:50 -0500 Original-Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h2MAjoV01594 for ; Sat, 22 Mar 2003 05:45:50 -0500 Original-Received: from ws-han1.win-ip.dfn.de (ws-han1.win-ip.dfn.de [193.174.75.150]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h2MAjnQ13790 for ; Sat, 22 Mar 2003 05:45:50 -0500 Original-Received: from mail.bfs.de ([194.94.69.70]) by ws-han1.win-ip.dfn.de (8.12.1/8.12.1) with ESMTP id h2MAjnmD028416 for ; Sat, 22 Mar 2003 11:45:49 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by mail.bfs.de (BfS Mail Relay) with ESMTP id 1BC55415BB for ; Sat, 22 Mar 2003 11:45:48 +0100 (CET) Original-Received: from mail.sz.bfs.de (mail.sz.bfs.de [192.168.0.1]) by mail.bfs.de (BfS Mail Relay) with ESMTP id 187943DAB5 for ; Sat, 22 Mar 2003 11:45:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by mail.sz.bfs.de (BfS Mail Hub) with ESMTP id 29AFC4611 for ; Sat, 22 Mar 2003 11:45:46 +0100 (CET) Original-Received: from SZKOM.BFS.DE (unknown [193.174.230.136]) by mail.sz.bfs.de (BfS Mail Hub) with SMTP id D06B8454A for ; Sat, 22 Mar 2003 11:45:44 +0100 (CET) Original-Received: by SZKOM.BFS.DE with VINES-ISMTP; Sat, 22 Mar 2003 11:45:57 +0100 X-Priority: 3 (Normal) Original-To: X-Incognito-SN: 25185 X-Incognito-Version: 5.1.0.84 X-Virus-Scanned: by BfS Mail Hub X-Virus-Scanned: by BfS Mail Relay X-Loop: axp-kernel-list@redhat.com Errors-To: axp-kernel-list-admin@redhat.com X-BeenThere: axp-kernel-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk X-Reply-To: List-Help: List-Post: List-Subscribe: , List-Id: Alpha Kernel issues List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.linux.redhat.axp.kernel:124 X-Report-Spam: http://spam.gmane.org/gmane.linux.redhat.axp.kernel:124 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 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 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