A few things I’m noticing is when I first try to double click a folder name in the file browser window (right after starting the app).
A second double click opens the folder properly, and subsequent double clicks on other folders also open properly.
I also sometimes encounter a crash when opening folders with my CR2s inside. Sometimes the app will just bail. But sometimes two giant triangles appear to fill up the browser frame, alternate pointing up and down so fast as to appear to be a flickering Star of David. The size of the triangle pattern appears to be random.
I know it could be that I have corrupted CR2s-- but I just thought …wow that was odd…
Here’s the log from runRT-5.0-r1-gtk3-2017-02-09-14-54-31.log (This was a graceful crash after double clicking a folder and having loaded a few CR2s.)
Executing RawTherapee 5.0-r1-gtk3 on
DATE: 2017-02-09
TIME: 14:54:31
Dir is /Applications/RawTherapee-gtk3.app/Contents/MacOS
Appdir is /Applications/RawTherapee-gtk3.app
Current system language is en_US.UTF-8
About this build ...
Version: 5.0-r1-gtk3
Branch: releases
Commit: 50114c1a
Commit date: 2017-02-01
Compiler: cc 8.0.0.8000042
Processor: generic x86
System: Apple
Bit depth: 64 bits
Gtkmm: V3.22.0
Build type: Release
Build flags: -stdlib=libc++ -std=c++14 -O3 -mmacosx-version-min=10.9 -std=gnu++11 -mtune=generic -Werror=unused-label -O3 -DNDEBUG
Link flags: -headerpad_max_install_names -mtune=generic
OpenMP support: ON
MMAP support: ON
CWD is /Applications/RawTherapee-gtk3.app/Contents/MacOS
Strip out the argument added by the OS...
(rawtherapee:13030): Gdk-WARNING **: GdkQuartzDisplay does not implement the monitor vfuncs
(rawtherapee:13030): GLib-GObject-WARNING **: invalid cast from 'GtkMenuBar' to 'GtkWindow'
(rawtherapee:13030): Gtk-CRITICAL **: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
Here is a graceful immediate crash when opening via a double click.
Executing RawTherapee 5.0-r1-gtk3 on
DATE: 2017-02-09
TIME: 15:08:36
Dir is /Applications/RawTherapee-gtk3.app/Contents/MacOS
Appdir is /Applications/RawTherapee-gtk3.app
Current system language is en_US.UTF-8
About this build ...
Version: 5.0-r1-gtk3
Branch: releases
Commit: 50114c1a
Commit date: 2017-02-01
Compiler: cc 8.0.0.8000042
Processor: generic x86
System: Apple
Bit depth: 64 bits
Gtkmm: V3.22.0
Build type: Release
Build flags: -stdlib=libc++ -std=c++14 -O3 -mmacosx-version-min=10.9 -std=gnu++11 -mtune=generic -Werror=unused-label -O3 -DNDEBUG
Link flags: -headerpad_max_install_names -mtune=generic
OpenMP support: ON
MMAP support: ON
CWD is /Applications/RawTherapee-gtk3.app/Contents/MacOS
Strip out the argument added by the OS...
(rawtherapee:13557): Gdk-WARNING **: GdkQuartzDisplay does not implement the monitor vfuncs
(rawtherapee:13557): GLib-GObject-WARNING **: invalid cast from 'GtkMenuBar' to 'GtkWindow'
(rawtherapee:13557): Gtk-CRITICAL **: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
(rawtherapee:13557): Gtk-CRITICAL **: gtk_container_propagate_draw: assertion '_gtk_widget_get_parent (child) == GTK_WIDGET (container)' failed
(rawtherapee:13557): Gtk-WARNING **: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node arrow owner gtkmm__GtkNotebook)
(rawtherapee:13557): Gtk-WARNING **: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node arrow owner gtkmm__GtkNotebook)
(rawtherapee:13557): Gtk-WARNING **: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node arrow owner gtkmm__GtkNotebook)
(rawtherapee:13557): Gtk-WARNING **: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node arrow owner gtkmm__GtkNotebook)
Here’s a star of david crash:
Executing RawTherapee 5.0-r1-gtk3 on
DATE: 2017-02-09
TIME: 15:12:21
Dir is /Applications/RawTherapee-gtk3.app/Contents/MacOS
Appdir is /Applications/RawTherapee-gtk3.app
Current system language is en_US.UTF-8
About this build ...
Version: 5.0-r1-gtk3
Branch: releases
Commit: 50114c1a
Commit date: 2017-02-01
Compiler: cc 8.0.0.8000042
Processor: generic x86
System: Apple
Bit depth: 64 bits
Gtkmm: V3.22.0
Build type: Release
Build flags: -stdlib=libc++ -std=c++14 -O3 -mmacosx-version-min=10.9 -std=gnu++11 -mtune=generic -Werror=unused-label -O3 -DNDEBUG
Link flags: -headerpad_max_install_names -mtune=generic
OpenMP support: ON
MMAP support: ON
CWD is /Applications/RawTherapee-gtk3.app/Contents/MacOS
Strip out the argument added by the OS...
(rawtherapee:13722): Gdk-WARNING **: GdkQuartzDisplay does not implement the monitor vfuncs
(rawtherapee:13722): GLib-GObject-WARNING **: invalid cast from 'GtkMenuBar' to 'GtkWindow'
(rawtherapee:13722): Gtk-CRITICAL **: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
(rawtherapee:13722): Gtk-CRITICAL **: gtk_container_propagate_draw: assertion '_gtk_widget_get_parent (child) == GTK_WIDGET (container)' failed
(rawtherapee:13722): Gtk-WARNING **: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node arrow owner gtkmm__GtkNotebook)
(rawtherapee:13722): Gtk-WARNING **: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node arrow owner gtkmm__GtkNotebook)
I will try to see if I can find a corrupt CR2 in this big 100GB set of folders.
Can’t reproduce these crashes on @ion12’s build from here:
@heckflosse
I brought this quote over from the previously resolved thread.
Regarding @ion12’s build I noticed it uses clang3.9, partha uses cc and I was trying and failing on Apple LLVM version 8.0.0 (clang-800.0.42.1)
I was leaving out the clang3.9 from the macport script in the rawpedia because it always crashed when trying to compile. I believe the system has a more modern clang that is unable to compile the source code as it is now, is that accurate to say?
@HIRAM clang 3.9 seems to build fine now while whatever version of clang was used in past did not. For that reason in past I made some workarounds in code for clang builds which unfortunately also decreased performance for denoise and wavelet when rt was build using clang. It seems that problem is solved now. Hopefully
Edit: If it’s not solved we will get reports about ‘building rt fails on OSX’. In case of these, they can be solved then…
Interesting. I was never able to compile the clang3.9 on my system, as the script required it in dependencies. Then I took it out and tried to use the 8.0.0 version and got further down the line but RT wouldn’t compile. I will have to try again with what @ion12 is suggesting on github for dependencies.
@HIRAM, Thanks. As I suspected, the combination of gtk3 and gtkmm are the culprits. At this point I don’t know what I can do about these errors as I don’t know much about the innards of RT.
Perhaps others will have better luck and you can use the other build you mentioned.