From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31033 invoked by alias); 8 Sep 2009 19:21:11 -0000 Received: (qmail 30991 invoked by uid 22791); 8 Sep 2009 19:21:10 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 Sep 2009 19:21:01 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n88JKxLb008227 for ; Tue, 8 Sep 2009 15:20:59 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n88JKtvZ013970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 8 Sep 2009 15:20:58 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id n88JKtII013069; Tue, 8 Sep 2009 21:20:55 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id n88JKrHE013066; Tue, 8 Sep 2009 21:20:53 +0200 Date: Tue, 08 Sep 2009 19:21:00 -0000 From: Jan Kratochvil To: Avi Gozlan Cc: "gdb@sourceware.org" Subject: Re: SIGTRAP recieved while trying to call C function from GDB Message-ID: <20090908192053.GA12778@host0.dyn.jankratochvil.net> References: <9C4E85B61203CD419BB3A638E5F68333D2F050FD81@il-ex01.ad.checkpoint.com> <20090906152624.GA25269@caradoc.them.org> <9C4E85B61203CD419BB3A638E5F68333D2F050FE64@il-ex01.ad.checkpoint.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9C4E85B61203CD419BB3A638E5F68333D2F050FE64@il-ex01.ad.checkpoint.com> User-Agent: Mutt/1.5.19 (2009-01-05) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-09/txt/msg00136.txt.bz2 > From: Daniel Jacobowitz [mailto:drow@false.org] > On Sun, Sep 06, 2009 at 06:03:37PM +0300, Avi Gozlan wrote: > > Linux Release: Red Hat Enterprise Linux Server release 5.1 (Tikanga) > > Kernel version: 2.6.18-53.1.13.el5PAE > > Is this the latest RHEL kernel? I believe this was a known kernel > fault around the 2.6.18 era. On Tue, 08 Sep 2009 12:31:11 +0200, Avi Gozlan wrote: > Indeed this is not the latest RHEL kernel. It happens on RHEL 5.1 Just a confirmation RHEL-5.1 ptrace in kernel is known it had issues primarily visible with GDB. It was fixed in general by the RHEL-5.2 kernel. Sure I would like to recommend the latest RHEL-5.4 instead now having backported also various ptrace fixes being done upstream. Thanks, Jan