Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2014 18:53:55 +0100
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        Mathias Picker <Mathias.Picker@virtual-earth.de>, ports@freebsd.org
Subject:   Re: Rawtherapee does not start on 10-STABLE
Message-ID:  <52FD06B3.8040603@gwdg.de>
In-Reply-To: <1392311735.2378.4.camel@marcopolo.fritz.box>
References:  <1392311735.2378.4.camel@marcopolo.fritz.box>

next in thread | previous in thread | raw e-mail | index | archive | help
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<Glib::ustring> (
>     this=0x7fffffffb7e0, value=...)
>     at /usr/local/include/glibmm-2.4/glibmm/ustring.h:1057
> #7  0x0000000000652105 in Glib::ustring::format<Glib::ustring, char [9]> (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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52FD06B3.8040603>