From owner-freebsd-ports@FreeBSD.ORG Wed Feb 5 20:03:44 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mandree.no-ip.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1FA61E3B; Wed, 5 Feb 2014 20:03:44 +0000 (UTC) Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 680CA23CE92; Wed, 5 Feb 2014 21:03:42 +0100 (CET) Message-ID: <52F2991E.4080304@FreeBSD.org> Date: Wed, 05 Feb 2014 21:03:42 +0100 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Rainer Hurling , freebsd-ports@freebsd.org Subject: Re: graphics/rawtherapee: r342622 crashes on HEAD References: <52F2952E.3090509@gwdg.de> In-Reply-To: <52F2952E.3090509@gwdg.de> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 20:03:44 -0000 Am 05.02.2014 20:46, schrieb Rainer Hurling: > Many thanks for the update of graphics/rawtherapee, r342622. This > program is really important for photographers. > > It builds and installs just fine on recent HEAD amd64, but unfortunately > it crashes immediately, when started. Rainer, I don't see the crash on FreeBSD 10.0-RELEASE amd64 and 9.2-RELEASE amd64 - those are versions I tried and where I could successfully open a Sony ARW file and click a few UI items. Note sure what 11 changed that it would break. > I tried to build rawtherapee and some of its dependencies with > WITH_DEBUG=yes and then to have a look with gdb, but with only little > luck. Obviously there is a problem with DWARF(?) and many libs without > debug symbols? It's rather that the base /usr/bin/gdb cannot deal with the newer debug symbol formats... > # gdb rawtherapee > [..SNIP..] > This GDB was configured as "amd64-marcel-freebsd"...Dwarf Error: wrong > version in compilation unit header (is 4, should be 2) [in module > /usr/local/bin/rawtherapee] > [..SNIP..] ...do you have more luck with gdb built from the ports collection (devel/gdb), which is version 7.6.2, as opposed to the base system gdb 6.1.1? Also, if you recompile rawtherapee without the highly aggressive compiler flags, does that help? I saw warnings about undefined behaviour in aggressive loop optimization, not sure if those are the culprit. If they are, we might need to tune down optimization a bit. Thanks. Cheers, Matthias