From owner-freebsd-ports@FreeBSD.ORG Thu Feb 13 17:54:19 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2BDBD8D5 for ; Thu, 13 Feb 2014 17:54:19 +0000 (UTC) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DFD141E02 for ; Thu, 13 Feb 2014 17:54:18 +0000 (UTC) Received: from p5b159215.dip0.t-ipconnect.de ([91.21.146.21] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1WE0U5-0001WA-2F; Thu, 13 Feb 2014 18:54:01 +0100 Message-ID: <52FD06B3.8040603@gwdg.de> Date: Thu, 13 Feb 2014 18:53:55 +0100 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Mathias Picker , ports@freebsd.org Subject: Re: Rawtherapee does not start on 10-STABLE References: <1392311735.2378.4.camel@marcopolo.fritz.box> In-Reply-To: <1392311735.2378.4.camel@marcopolo.fritz.box> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie 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: Thu, 13 Feb 2014 17:54:19 -0000 Am 13.02.2014 18:15, schrieb Mathias Picker: > Hi, > > I just tried to build RawTherapee and it dumps core with > > Terminating due to uncaught exception 0x8109ae740 of type > Glib::ConvertError > > I then > > - rebuild world from today, > - switched off the collation fix in glib and optimizations in > rawtherapee > - did a portsnap fetch update and > - rebuild glib, glibmm and rawtherapee with debug symbols, > - deleted .config/RawTherapee* > - unset LANG and LC_ALL > > and got the following stack trace: > > (gdb) run > Starting program: /usr/local/bin/rawtherapee > [New LWP 100486] > [New Thread 80f006400 (LWP 100486)] > Terminating due to uncaught exception 0x810275980 of type Glib::ConvertError > > Program received signal SIGABRT, Aborted. > [Switching to Thread 80f006400 (LWP 100486)] > 0x0000000808d5a2ca in thr_kill () from /lib/libc.so.7 > (gdb) bt > #0 0x0000000808d5a2ca in thr_kill () from /lib/libc.so.7 > #1 0x0000000808e21b39 in abort () from /lib/libc.so.7 > #2 0x00000008086aa7da in ?? () from /lib/libcxxrt.so.1 > #3 0x000000080242803b in Glib::ConvertError::throw_func (gobject=0x8102822c0) > at convert.cc:322 > #4 0x0000000802458cff in Glib::Error::throw_exception (gobject=0x8102822c0) > at error.cc:167 > #5 0x000000080247cf0a in Glib::operator<< (os=..., utf8_string=...) > at ustring.cc:1401 > #6 0x0000000000652687 in Glib::ustring::FormatStream::stream ( > this=0x7fffffffb7e0, value=...) > at /usr/local/include/glibmm-2.4/glibmm/ustring.h:1057 > #7 0x0000000000652105 in Glib::ustring::format (a1=..., > a2=...) at /usr/local/include/glibmm-2.4/glibmm/ustring.h:1145 > #8 0x000000000064f138 in RTImage::setPaths (opt=...) > at /usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.12/rtgui/rtimage.cc:101 > #9 0x000000000069944f in main (argc=1, argv=0x7fffffffd3d8) > at /usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.12/rtgui/main.cc:239 > > I'm a bit out of my depth here, I'm more a dynamic language type... > > Any ideas where I should look? > > My system is a mobile phenom laptop with ati graphics, running > FreeBSD marcopolo 10.0-STABLE FreeBSD 10.0-STABLE #14 r261827: Thu Feb 13 13:13:01 CET 2014 mathiasp@marcopolo:/usr/obj/usr/src/sys/GENERIC amd64 > and KDE4 as desktop enviroment. Ah, and I unset LC_ALL before running rawtherapee... > > Thanks, > > Mathias This was already discussed at http://freebsd.1045724.n5.nabble.com/graphics-rawtherapee-r342622-crashes-on-HEAD-td5883336.html The main reason is a wchar_t problem in devel/glib20, when build with systems iconv (on 10.0 and HEAD) instead with ports one. There is a patch for glib20 in the cited thread, not committed until know, because there is some more discussion and testing of side effects in the background. [Hope this information is still up to date] But I can confirm that graphics/rawtherapee works, if built with the patched devel/glib20. HTH, Rainer