[Bug 257255] graphics/rawtherapee: Crashes in rtengine::Color::rgb2lab01 when editing a picture; nullptr dereference related to color profile

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 06 May 2023 18:56:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257255

--- Comment #29 from Andrew Terekhov <tankist02@mail.com> ---
I did more of experiments. If I add only this one to
/usr/local/etc/rc.d/lightdm:

export LANG=en_US.UTF-8

then RT kind of works. When I start it the first time it immediately
terminates:

$ rawtherapee
Bus error

But when I start it after that it works fine. Does it mean it is DBus related
and some initialization is missing?


Here is the environment:

$ /usr/bin/env | egrep '^(LC_|LANG)'
LANG=en_US.UTF-8


$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=

-- 
You are receiving this mail because:
You are on the CC list for the bug.