From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29518 invoked by alias); 29 Jun 2007 19:52:35 -0000 Received: (qmail 29506 invoked by uid 22791); 29 Jun 2007 19:52:33 -0000 X-Spam-Check-By: sourceware.org Received: from a.mail.sonic.net (HELO a.mail.sonic.net) (64.142.16.245) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 29 Jun 2007 19:52:31 +0000 Received: from snyder (209-204-172-156.dsl.dynamic.sonic.net [209.204.172.156]) by a.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with SMTP id l5TJqRhp009732; Fri, 29 Jun 2007 12:52:27 -0700 Message-ID: <000501c7ba87$0e543760$677ba8c0@sonic.net> Reply-To: "Michael Snyder" From: "Michael Snyder" To: "Daniel Jacobowitz" Cc: References: <003c01c7ba81$2abc9ce0$677ba8c0@sonic.net> <20070629191522.GA2715@caradoc.them.org> Subject: Re: libSegFault and just in time debugging Date: Fri, 29 Jun 2007 19:52:00 -0000 X-Mailer: Microsoft Outlook Express 6.00.2800.1437 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/msg00347.txt.bz2 > On Fri, Jun 29, 2007 at 12:10:32PM -0700, Michael Snyder wrote: > > What if, instead of doing that, libSegFault (or another similar library) > > were to open a socket to a daemon and say "I caught a crash -- what > > do you want me to do?". And then wait for a reply. All that can be > > done with async-signal-safe function calls. > > It's a brilliant idea. Ubuntu did it :-) It uses the Linux kernel's > core handling support, and is called apport. 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.