From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 21 17:00:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E4F7EF6 for ; Mon, 21 Jan 2013 17:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B4188F0C for ; Mon, 21 Jan 2013 17:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0LH00Eg029492 for ; Mon, 21 Jan 2013 17:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0LH004s029491; Mon, 21 Jan 2013 17:00:00 GMT (envelope-from gnats) Resent-Date: Mon, 21 Jan 2013 17:00:00 GMT Resent-Message-Id: <201301211700.r0LH004s029491@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Fabian Keil Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0384CF3B for ; Mon, 21 Jan 2013 16:53:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id C4B10EC5 for ; Mon, 21 Jan 2013 16:53:38 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0LGrcQN086125 for ; Mon, 21 Jan 2013 16:53:38 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r0LGrc41086124; Mon, 21 Jan 2013 16:53:38 GMT (envelope-from nobody) Message-Id: <201301211653.r0LGrc41086124@red.freebsd.org> Date: Mon, 21 Jan 2013 16:53:38 GMT From: Fabian Keil To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/175482: mail/claws-mail shouldn't enable the crash dialog if the DEBUG option is used X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 17:00:01 -0000 >Number: 175482 >Category: ports >Synopsis: mail/claws-mail shouldn't enable the crash dialog if the DEBUG option is used >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 21 17:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Fabian Keil >Release: HEAD >Organization: >Environment: FreeBSD r500.local 10.0-CURRENT FreeBSD 10.0-CURRENT #540 r+2048695: Thu Jan 17 14:09:36 CET 2013 fk@r500.local:/usr/obj/usr/src/sys/ZOEY amd64 >Description: In my experience claws-mail's crash dialog causes more problems than it solves. The stack trace is usually bogus, can't be generated or claws-mail simply becomes unresponsive instead of properly creating a core dump that would actually be useful. In case of claws-mail 3.9.0 "killall -SIGSEGV claws-mail" merely causes the following console messages to appear: claws.c:102:Starting Claws Mail version Claws Mail 3.9.0 main.c:2378:another Claws Mail instance is already running. No dialog is shown and the GUI becomes unresponsive. If http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2862 wasn't reproducible, I wouldn't have been able to figure out the problem (which happened in the past). Even if the crash dialog would work, I'd prefer it to be a separate option instead of being set depending on the DEBUG option. My expectation when compiling ports with DEBUG is getting usable core dumps. >How-To-Repeat: 1. Build the claws-mail port with "DEBUG" support 2. Crash claws-mail 3. Notice that there is no core dump to analyze >Fix: The attached patch removes the --enable-crash-dialog configure option which solves the problem for me. Patch attached with submission follows: >From 522f825a954e79562580b5f4fd8008fb970cc1e7 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Mon, 21 Jan 2013 17:23:42 +0100 Subject: [PATCH] Don't enable the claws-mail 'crash dialog' which usually makes debugging harder --- mail/claws-mail/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/claws-mail/Makefile b/mail/claws-mail/Makefile index 79b5266..c41e019 100644 --- a/mail/claws-mail/Makefile +++ b/mail/claws-mail/Makefile @@ -151,7 +151,7 @@ CONFIGURE_ARGS+= --disable-pgpmime-plugin --disable-pgpcore-plugin \ .endif .if ${PORT_OPTIONS:MDEBUG} -CONFIGURE_ARGS+= --enable-maintainer-mode --enable-crash-dialog +CONFIGURE_ARGS+= --enable-maintainer-mode .endif .if ${PORT_OPTIONS:MDILLO} -- 1.8.1 >Release-Note: >Audit-Trail: >Unformatted: