From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8463 invoked by alias); 1 Aug 2013 19:36:02 -0000 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 Received: (qmail 8448 invoked by uid 89); 1 Aug 2013 19:36:02 -0000 X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 01 Aug 2013 19:36:01 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r71JZqkw019186 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 1 Aug 2013 15:35:53 -0400 Received: from host2.jankratochvil.net (ovpn-116-33.ams2.redhat.com [10.36.116.33]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r71JZls8028471 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 1 Aug 2013 15:35:51 -0400 Date: Thu, 01 Aug 2013 19:36:00 -0000 From: Jan Kratochvil To: Paul Smith Cc: gdb@sourceware.org Subject: Re: Tools to classify / uniquify core dumps or stack traces? Message-ID: <20130801193547.GA12116@host2.jankratochvil.net> References: <1375385181.3028.5.camel@homebase> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1375385181.3028.5.camel@homebase> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2013-08/txt/msg00001.txt.bz2 On Thu, 01 Aug 2013 21:26:21 +0200, Paul Smith wrote: > Hi all. I've got an environment where I'm getting lots of core dumps > from various places and it's very tedious to go through them and > determine which ones are for unique problems, and which are essentially > duplicates (same bug causing the core dump). > > I was thinking of throwing together some kind of Perl or Python script > that could compare and categorize stack traces, but I thought surely > someone must have done something like this before. > > Anyone have any pointers or thoughts about something like this? ABRT, it has several backends how to report the results (the typical one is Bugzilla), it also supports heuristic duplicates detection etc. It is shipped in all recent Fedora releases by default and it is also a project deployable on any OS: https://fedorahosted.org/abrt/ There is also Apport (I do not have experience with it). Jan