From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32674 invoked by alias); 29 Jun 2007 20:00:47 -0000 Received: (qmail 32634 invoked by uid 22791); 29 Jun 2007 20:00:34 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 29 Jun 2007 20:00:32 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 02F9C982A3; Fri, 29 Jun 2007 20:00:31 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id D1216982A2; Fri, 29 Jun 2007 20:00:30 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1I4MdM-0001jx-Gt; Fri, 29 Jun 2007 16:00:00 -0400 Date: Fri, 29 Jun 2007 20:00:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: gdb@sourceware.org Subject: Re: libSegFault and just in time debugging Message-ID: <20070629200000.GA6453@caradoc.them.org> Mail-Followup-To: Michael Snyder , gdb@sourceware.org References: <003c01c7ba81$2abc9ce0$677ba8c0@sonic.net> <20070629191522.GA2715@caradoc.them.org> <000501c7ba87$0e543760$677ba8c0@sonic.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000501c7ba87$0e543760$677ba8c0@sonic.net> User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-06/txt/msg00348.txt.bz2 On Fri, Jun 29, 2007 at 12:52:42PM -0700, Michael Snyder wrote: > Yes, apport is slick, but it relies on kernel mods. > This doesn't. In fact, it isn't even peculiar to Linux, it would > work on any glibc system, and in principle even on systems > that don't use glibc. Probably any unix, and even cygwin. FYI, cygwin already does this, too; it can invoke dumper (to generate core dumps) or GDB. I imagine you could invoke apport from a preloaded library easily; after all, you can hook into it from Python exceptions. -- Daniel Jacobowitz CodeSourcery