RT (partha) error on OS X

@partha 's build is giving me this error on OS X 10.11.6. Is it looking for something hard coded into a partha directory?

Dyld Error Message:
Library not loaded: /Users/partha/local10.9/lib/libjpeg.9.dylib
Referenced from: /Users/USER/Desktop/RawTherapee-gtk3-bugfix.app/Contents/MacOS/…/Resources/bin/rawtherapee
Reason: image not found

@HIRAM, I am sorry about that. My script failed. :frowning: Would you be kind enough to download again and tell me if the problem persists?

Thanks in advance,
Partha

Thank you, @partha for your help! Now receiving this error:

Dyld Error Message:
Library not loaded: /tmp/libRT/liblzma.5.dylib
Referenced from: /tmp/*/libtiff.5.dylib
Reason: Incompatible library version: libtiff.5.dylib requires version 8.0.0 or later, but liblzma.5.dylib provides version 6.0.0

@HIRAM, thanks for the report. Looks like it’s picking up your system liblzma.5. I’ll have to fix this. Sorry about the trouble.

@HIRAM, Sorry again about this. Could you try one more time and let me know if you have issues?

Thanks for testing! I appreciate it.

No problemo, at this point I am now receiving this error:

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called
terminating with uncaught exception of type Glib::FileError

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff8ae2ef06 __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff99d824ec pthread_kill + 90
2   libsystem_c.dylib             	0x00007fff985366df abort + 129
3   libc++abi.dylib               	0x00007fff96c73c11 abort_message + 257
4   libc++abi.dylib               	0x00007fff96c99e17 default_terminate_handler() + 267
5   libobjc.A.dylib               	0x00007fff8cfc94a6 _objc_terminate() + 124
6   libc++abi.dylib               	0x00007fff96c9700e std::__terminate(void (*)()) + 8
7   libc++abi.dylib               	0x00007fff96c96a7a __cxa_throw + 121
8   libglibmm-2.4.1.dylib         	0x000000010b9db428 Glib::FileError::throw_func(_GError*) + 56
9   libglibmm-2.4.1.dylib         	0x000000010b9f03c1 Glib::Error::throw_exception(_GError*) + 337
10  libgdkmm-3.0.1.dylib          	0x000000010caaefe9 Gdk::Pixbuf::create_from_file(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 121
11  rawtherapee                   	0x000000010ae42d15 MyExpander::init() + 69
12  rawtherapee                   	0x000000010ad92b90 main + 1344
13  libdyld.dylib                 	0x00007fff8fd9d5ad start + 1

Thread 1:
0   libsystem_kernel.dylib        	0x00007fff8ae2f5e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff99d7f578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff99d7d341 start_wqthread + 13

Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x00007fff8ae2fefa kevent_qos + 10
1   libdispatch.dylib             	0x00007fff9446b165 _dispatch_mgr_invoke + 216
2   libdispatch.dylib             	0x00007fff9446adcd _dispatch_mgr_thread + 52

Thread 3:
0   libsystem_kernel.dylib        	0x00007fff8ae2f5e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff99d7f578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff99d7d341 start_wqthread + 13

Thread 4:
0   libsystem_kernel.dylib        	0x00007fff8ae2f5e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff99d7f578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff99d7d341 start_wqthread + 13

Thread 5:
0   libsystem_kernel.dylib        	0x00007fff8ae2f5e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff99d7f578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff99d7d341 start_wqthread + 13

Thread 6:: gmain
0   libsystem_kernel.dylib        	0x00007fff8ae2f07a __select + 10
1   libglib-2.0.0.dylib           	0x000000010b89ad33 g_poll + 435
2   libglib-2.0.0.dylib           	0x000000010b88b391 g_main_context_iterate + 449
3   libglib-2.0.0.dylib           	0x000000010b88d12d glib_worker_main + 141
4   libglib-2.0.0.dylib           	0x000000010b8b548a g_thread_proxy + 90
5   libsystem_pthread.dylib       	0x00007fff99d7f99d _pthread_body + 131
6   libsystem_pthread.dylib       	0x00007fff99d7f91a _pthread_start + 168
7   libsystem_pthread.dylib       	0x00007fff99d7d351 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007fff55032998  rdx: 0x0000000000000000
  rdi: 0x0000000000001613  rsi: 0x0000000000000006  rbp: 0x00007fff550329c0  rsp: 0x00007fff55032998
   r8: 0x0000000000000003   r9: 0x00007fff96c9ae4c  r10: 0x0000000008000000  r11: 0x0000000000000206
  r12: 0x00007fff55032b20  r13: 0x0000000000000000  r14: 0x00007fff784f9000  r15: 0x00007fff55032a00
  rip: 0x00007fff8ae2ef06  rfl: 0x0000000000000206  cr2: 0x0000000111443000
  
Logical CPU:     0
Error Code:      0x0200005d
Trap Number:     133

@HIRAM, please do the following: Open Terminal app and carefully type the following:

cp /tmp/runRT* ~/

Now using finder, locate the file runRT-4.2.1445-2016-(bunch of numbers).log in your home folder. Please send that to me.

Thanks,
Partha

@partha Ok,
I dragged the app out of its folder BTW.

Executing RawTherapee 4.2.1445 on 
DATE: 2016-12-24
TIME: 13:43:59
Dir is /Users/tune/Desktop/RawTherapee-gtk3-bugfix.app/Contents/MacOS
 Appdir is /Users/tune/Desktop/RawTherapee-gtk3-bugfix.app
Current system language is en_US.UTF-8
About this build ...
cat: /Users/tune/Desktop/RawTherapee-gtk3-bugfix.app/Contents/Resources/AboutThisBuild.txt: No such file or directory
CWD is /Users/tune/Desktop/RawTherapee-gtk3-bugfix.app/Contents/MacOS
Strip out the argument added by the OS...
Could not open camera constants file "/Users/partha/projects/src/graphics/RT/build/gtk3-bugfix/RelWithDebInfo/share/rawtherapee/camconst.json": No such file or directory
libc++abi.dylib: terminating with uncaught exception of type Glib::FileError
Error: the specified user's profiles' path doesn't point to a directory or doesn't exist!

edit; I tried it again in the original folder:

Executing RawTherapee 4.2.1445 on 
DATE: 2016-12-24
TIME: 23:03:12
Dir is /Users/tune/Downloads/RawTherapee_OSX_10-5/RawTherapee-gtk3-bugfix.app/Contents/MacOS
 Appdir is /Users/tune/Downloads/RawTherapee_OSX_10-5/RawTherapee-gtk3-bugfix.app
Current system language is en_US.UTF-8
About this build ...
cat: /Users/tune/Downloads/RawTherapee_OSX_10-5/RawTherapee-gtk3-bugfix.app/Contents/Resources/AboutThisBuild.txt: No such file or directory
CWD is /Users/tune/Downloads/RawTherapee_OSX_10-5/RawTherapee-gtk3-bugfix.app/Contents/MacOS
Strip out the argument added by the OS...
Could not open camera constants file "/Users/partha/projects/src/graphics/RT/build/gtk3-bugfix/RelWithDebInfo/share/rawtherapee/camconst.json": No such file or directory
libc++abi.dylib: terminating with uncaught exception of type Glib::FileError
Error: the specified user's profiles' path doesn't point to a directory or doesn't exist!

Here is the content of the about this build:

Branch: gtk3-bugfix
Version: 4.2.1445
Changeset: c6c5610333b9fbbda32fd46932fa8cdb3813532e
Compiler: cc 8.0.0.8000042
Processor: generic x86
System: Apple
Bit depth: 64 bits
Gtkmm: V3.20.1
Build type: RelWithDebInfo
Build flags: -stdlib=libc++ -std=c++14 -O3 -mmacosx-version-min=10.9 -std=gnu++11 -mtune=generic -Werror=unused-label -O2 -g -DNDEBUG
Link flags: -headerpad_max_install_names -mtune=generic
OpenMP support: ON
MMAP support: ON

@HIRAM, OK. One last try to see if I fixed it. Could you download and rerun?

Thanks!

@partha Excellent, the application is opening normally now. Unfortunately, it won’t load pictures into the file browser. Opens images otherwise by drag-n-drop.

@HIRAM, Hmm. Can you send me the contents of /tmp/runRT* again?

Note that, I lost the “down-arrow” in the file browser again. For now, click just to the right of a folder to get to subfolders. Maybe the folder you opened didn’t have images?

Also, a screenshot would be nice.

Thanks,
Partha

@partha Yes each folder with images I try double-clicking will not load it’s contents into the browser.
Here is the results:

Executing RawTherapee 4.2.1445 on 
DATE: 2016-12-25
TIME: 16:51:24
Dir is /Users/tune/Downloads/RawTherapee_OSX_10-5/RawTherapee-gtk3-bugfix.app/Contents/MacOS
 Appdir is /Users/tune/Downloads/RawTherapee_OSX_10-5/RawTherapee-gtk3-bugfix.app
Current system language is en_US.UTF-8
About this build ...
cat: /Users/tune/Downloads/RawTherapee_OSX_10-5/RawTherapee-gtk3-bugfix.app/Contents/Resources/share/doc/rawtherapee/AboutThisBuild.txt: No such file or directory
CWD is /Users/tune/Downloads/RawTherapee_OSX_10-5/RawTherapee-gtk3-bugfix.app/Contents/MacOS
Strip out the argument added by the OS...

(rawtherapee:72011): Gdk-WARNING **: GdkQuartzDisplay does not implement the monitor vfuncs

(rawtherapee:72011): GLib-GObject-WARNING **: invalid cast from 'GtkMenuBar' to 'GtkWindow'

(rawtherapee:72011): Gtk-CRITICAL **: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed

(rawtherapee:72011): Gtk-WARNING **: Could not load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/check-symbolic.svg.
This may indicate that pixbuf loaders or the mime database could not be found.

(rawtherapee:72011): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(rawtherapee:72011): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(rawtherapee:72011): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(rawtherapee:72011): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(rawtherapee:72011): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(rawtherapee:72011): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(rawtherapee:72011): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GFileMonitor'

(rawtherapee:72011): GLib-GIO-CRITICAL **: g_file_monitor_emit_event: assertion 'G_IS_FILE_MONITOR (monitor)' failed

(rawtherapee:72011): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GFileMonitor'

(rawtherapee:72011): GLib-GIO-CRITICAL **: g_file_monitor_emit_event: assertion 'G_IS_FILE_MONITOR (monitor)' failed

@HIRAM, If you double-click on a folder with images, the images will display on the right. If you have images in a subfolder, then click slightly to the left of the folder to display the subfolders. Then double-click on the subfolder to see the images if any in that subfolder. If you are still not seeing them, then I agree we have an issue.

PS: I am not seeing the glib-gio-critical error on my side. I’ll investigate that in the meantime.

@partha yes, same behavior of no images loading for both folders and subfolders.

Preferences > File Browser > Parsed Extensions, are they ticked?

@HIRAM, OK, one final try since I could not replicate this behaviour? I recompiled RT.

Can you download again and let me know what happens?

Thanks,
Partha

@Morgan_Hardwood @partha
Oh! Actually the list of parsed extensions was totally empty. Added jpg and cr2 and they indeed load images to the file browser.

@Morgan_Hardwood, good catch. I didn’t think to look into the extensions in preferences.

@HIRAM, Thanks for the feedback.

Have the “arrow” icons in the file browser returned in the new version?

Can you provide a new screenshot? :slight_smile:

I don’t know what caused your current options file to not have those extensions, but deleting it should let RawTherapee re-create a proper new one with all the extensions. Please find and delete your options file.

@partha Happy to be of useful assistance. The triangles are back. File extensions parsed preferences list is still empty.

Executing RawTherapee 4.2.1445 on 
DATE: 2016-12-26
TIME: 09:37:29
Dir is /Users/tune/Downloads/RawTherapee_OSX_10-6/RawTherapee-gtk3-bugfix.app/Contents/MacOS
 Appdir is /Users/tune/Downloads/RawTherapee_OSX_10-6/RawTherapee-gtk3-bugfix.app
Current system language is en_US.UTF-8
About this build ...
cat: /Users/tune/Downloads/RawTherapee_OSX_10-6/RawTherapee-gtk3-bugfix.app/Contents/Resources/share/doc/rawtherapee/AboutThisBuild.txt: No such file or directory
CWD is /Users/tune/Downloads/RawTherapee_OSX_10-6/RawTherapee-gtk3-bugfix.app/Contents/MacOS
Strip out the argument added by the OS...

(rawtherapee:82526): Gdk-WARNING **: GdkQuartzDisplay does not implement the monitor vfuncs

(rawtherapee:82526): GLib-GObject-WARNING **: invalid cast from 'GtkMenuBar' to 'GtkWindow'

(rawtherapee:82526): Gtk-CRITICAL **: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed

(rawtherapee:82526): Gtk-WARNING **: Could not load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/check-symbolic.svg.
This may indicate that pixbuf loaders or the mime database could not be found.

(rawtherapee:82526): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(rawtherapee:82526): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(rawtherapee:82526): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(rawtherapee:82526): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(rawtherapee:82526): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(rawtherapee:82526): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar