From owner-freebsd-hackers Wed Sep 16 02:58:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA14904 for freebsd-hackers-outgoing; Wed, 16 Sep 1998 02:58:22 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.10.60]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA14898 for ; Wed, 16 Sep 1998 02:58:15 -0700 (PDT) (envelope-from kheuer@gwdu60.gwdg.de) Received: from localhost (kheuer@localhost) by gwdu60.gwdg.de (8.9.0/8.9.0) with SMTP id LAA09487; Wed, 16 Sep 1998 11:57:34 +0200 (CEST) Date: Wed, 16 Sep 1998 11:57:34 +0200 (CEST) From: Konrad Heuer To: Martin Cracauer cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Catching SIGSEGV In-Reply-To: <19980915163251.A7518@cons.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 15 Sep 1998, Martin Cracauer wrote: > > May I ask my question here although it's not correlated to FreeBSD > > development? > > > > I write a program which shall run under FreeBSD and want to catch SIGSEGV > > to count these events. > > You have to longjmp out of your signal handler. This works. Thanks for all replies and the whole discussion! Konrad Heuer // Gesellschaft fuer wissenschaftliche Datenverarbeitung mbH // Goettingen (GWDG), Am Fassberg, D-37077 Goettingen, Germany // // kheuer@gwdu60.gwdg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message