[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: Tue, 25 Apr 2023 21:08:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257255

Matthias Andree <mandree@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gnome@FreeBSD.org

--- Comment #18 from Matthias Andree <mandree@FreeBSD.org> ---
colorreload-gtk-module for some reason hints to gnome-settings-daemon because
if  I kill gsd-xsettings, then I can trigger this warning on GNOME on Linux
(Fedora 37 FWIW). But still rawtherapee starts.  

I believe this isn't exactly a red herring, but a correlated issue that isn't
the cause, and it's some gnome-settings-daemon thingy that rawtherapee
requires. gnome-settings-daemon, to me, is dark magic, and FreeBSD does not
install documentation, neither does Linux. 
/usr/local/share/gnome-session/sessions/gnome.session contains, in
RequiredComponents, org.gnome.SettingsDaemon.Color - not sure what provides it,
because there is no such executable on my FreeBSD (but there is, and a process,
on Fedora Linux 37). On FreeBSD,
/usr/local/etc/xdg/autostart/org.gnome.SettingsDaemon.Color.desktop is a stub,
Exec=false, on Fedora Linux, it lists .../libexec/gsd-color (which FreeBSD does
not have).

This is the list of your processes compared, GNOME from gdm on the left, XFCE4
from lightdm on the right.

dbus-launch                                                   <
ibus-daemon                                                   <
                                                              > Thunar
/usr/bin/ssh-agent                                             
/usr/bin/ssh-agent
/usr/local/bin/dbus-daemon                                     
/usr/local/bin/dbus-daemon
/usr/local/bin/dbus-daemon                                    |
/usr/local/bin/dbus-launch
/usr/local/bin/gjs                                            |
/usr/local/bin/gpg-agent
/usr/local/bin/gnome-keyring-daemon                           <
/usr/local/bin/gnome-shell                                    <
/usr/local/bin/pulseaudio                                      
/usr/local/bin/pulseaudio
/usr/local/bin/zeitgeist-daemon                               |
/usr/local/bin/xfce4-mime-helper
/usr/local/bin/zeitgeist-datahub                              |
/usr/local/bin/xfce4-screensaver
                                                              >
/usr/local/bin/xfce4-terminal
/usr/local/libexec/at-spi2-registryd                           
/usr/local/libexec/at-spi2-registryd
/usr/local/libexec/at-spi-bus-launcher                         
/usr/local/libexec/at-spi-bus-launcher
/usr/local/libexec/evolution-addressbook-factory              <
/usr/local/libexec/evolution-calendar-factory                 <
/usr/local/libexec/evolution-data-server/evolution-alarm-noti <
/usr/local/libexec/evolution-source-registry                  <
/usr/local/libexec/gnome-session-binary                       <
/usr/local/libexec/gnome-shell-calendar-server                <
/usr/local/libexec/gnome-terminal-server                      <
/usr/local/libexec/goa-daemon                                 <
/usr/local/libexec/gsd-a11y-settings                          <
/usr/local/libexec/gsd-datetime                               <
/usr/local/libexec/gsd-housekeeping                           <
/usr/local/libexec/gsd-keyboard                               <
/usr/local/libexec/gsd-media-keys                             <
/usr/local/libexec/gsd-power                                  <
/usr/local/libexec/gsd-printer                                <
/usr/local/libexec/gsd-print-notifications                    <
/usr/local/libexec/gsd-screensaver-proxy                      <
/usr/local/libexec/gsd-sharing                                <
/usr/local/libexec/gsd-smartcard                              <
/usr/local/libexec/gsd-sound                                  <
/usr/local/libexec/gsd-usb-protection                         <
/usr/local/libexec/gsd-xsettings                              <
/usr/local/libexec/gvfsd                                       
/usr/local/libexec/gvfsd
/usr/local/libexec/gvfsd-burn                                 |
/usr/local/libexec/gvfsd-metadata
/usr/local/libexec/gvfsd-trash                                 
/usr/local/libexec/gvfsd-trash
/usr/local/libexec/gvfs-gphoto2-volume-monitor                 
/usr/local/libexec/gvfs-gphoto2-volume-monitor
/usr/local/libexec/gvfs-mtp-volume-monitor                     
/usr/local/libexec/gvfs-mtp-volume-monitor
/usr/local/libexec/gvfs-udisks2-volume-monitor                 
/usr/local/libexec/gvfs-udisks2-volume-monitor
/usr/local/libexec/ibus-dconf                                 |
/usr/local/lib/tumbler-1/tumblerd
/usr/local/libexec/ibus-engine-simple                         |
/usr/local/lib/xfce4/notifyd/xfce4-notifyd
/usr/local/libexec/ibus-extension-gtk3                        |
/usr/local/lib/xfce4/panel/wrapper-2.0
/usr/local/libexec/ibus-portal                                |
/usr/local/lib/xfce4/xfconf/xfconfd
/usr/local/libexec/ibus-x11                                   | xfce4-panel
                                                              >
xfce4-power-manager
                                                              > xfce4-session
                                                              > xfdesktop
                                                              > xfsettingsd
                                                              > xfwm4

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