A weird crash in Partha's build, can't reproduce in ion12's build


#1

@partha and @toowaboo and @ion12

Regarding @partha’s latest build…

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:


Partha's Rawtherapee Build gtk-3 Crashing - opening .jpg [Resolved]
#2

@HIRAM, RT is not leaving a footprint in the log and so the log is not helpful.

What does the Mac error log tell you about the crash? It should identify the dylib which crashes.

Thanks,
Partha


#3

@partha Is it libgtk-3.0.dylib? Have a look see…

Process:               rawtherapee [17097]
Path:                  /Applications/RawTherapee-gtk3.app/Contents/Resources/bin/rawtherapee
Identifier:            com.rawtherapee.rawtherapee
Version:               4.2 (5.0-r1-gtk3)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           rawtherapee [17097]
User ID:               501

Date/Time:             2017-02-09 16:27:24.834 -0800
OS Version:            Mac OS X 10.11.6 (15G1212)
Report Version:        11
Anonymous UUID:        567E9ED4-5465-6075-F9A6-523A0FD4EEEA

Sleep/Wake UUID:       49349D20-4D62-48C6-8D09-BEBB0D770C4F

Time Awake Since Boot: 2800000 seconds
Time Since Wake:       1500000 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0:
--> 
    __TEXT                 0000000104370000-0000000104b3f000 [ 7996K] r-x/rwx SM=COW  /Applications/RawTherapee-gtk3.app/Contents/Resources/bin/rawtherapee

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   ???                           	000000000000000000 0 + 0
1   libgtk-3.0.dylib              	0x000000010524c2aa gtk_css_static_style_compute_value + 106
2   libgtk-3.0.dylib              	0x000000010523580e _gtk_css_lookup_resolve + 126
3   libgtk-3.0.dylib              	0x000000010524c1ec gtk_css_static_style_new_compute + 220
4   libgtk-3.0.dylib              	0x0000000105238125 gtk_css_node_real_update_style + 533
5   libgtk-3.0.dylib              	0x0000000105236bd3 gtk_css_node_ensure_style + 131
6   libgtk-3.0.dylib              	0x0000000105236b3f gtk_css_node_get_style + 79
7   libgtk-3.0.dylib              	0x000000010537d148 gtk_render_frame + 120
8   rawtherapee                   	0x00000001043facd4 ThumbBrowserBase::Internal::on_draw(Cairo::RefPtr<Cairo::Context> const&) + 516
9   libgtkmm-3.0.1.dylib          	0x0000000105dcd25f Gtk::Widget_Class::draw_callback(_GtkWidget*, _cairo*) + 175
10  libgtk-3.0.dylib              	0x00000001054681a2 gtk_widget_draw_internal + 434
11  libgtk-3.0.dylib              	0x000000010521b850 gtk_container_propagate_draw + 544
12  libgtk-3.0.dylib              	0x000000010521bf83 gtk_container_draw + 131
13  libgtk-3.0.dylib              	0x00000001052b00a5 gtk_grid_render + 37
14  libgtk-3.0.dylib              	0x0000000105223085 gtk_css_custom_gadget_draw + 37
15  libgtk-3.0.dylib              	0x0000000105228b2e gtk_css_gadget_draw + 1582
16  libgtk-3.0.dylib              	0x00000001052af491 gtk_grid_draw + 17
17  libgtkmm-3.0.1.dylib          	0x0000000105dd42d7 Gtk::Widget::on_draw(Cairo::RefPtr<Cairo::Context> const&) + 71
18  libgtkmm-3.0.1.dylib          	0x0000000105dcd25f Gtk::Widget_Class::draw_callback(_GtkWidget*, _cairo*) + 175
19  libgtk-3.0.dylib              	0x00000001054681a2 gtk_widget_draw_internal + 434
20  libgtk-3.0.dylib              	0x000000010521b850 gtk_container_propagate_draw + 544
21  libgtk-3.0.dylib              	0x000000010521bf83 gtk_container_draw + 131
22  libgtk-3.0.dylib              	0x00000001051cc4e5 gtk_box_draw_contents + 37
23  libgtk-3.0.dylib              	0x0000000105223085 gtk_css_custom_gadget_draw + 37
24  libgtk-3.0.dylib              	0x0000000105228b2e gtk_css_gadget_draw + 1582
25  libgtk-3.0.dylib              	0x00000001051cb501 gtk_box_draw + 17
26  libgtkmm-3.0.1.dylib          	0x0000000105dcd33b Gtk::Widget_Class::draw_callback(_GtkWidget*, _cairo*) + 395
27  libgtk-3.0.dylib              	0x00000001054681a2 gtk_widget_draw_internal + 434
28  libgtk-3.0.dylib              	0x000000010521b850 gtk_container_propagate_draw + 544
29  libgtk-3.0.dylib              	0x000000010521bf83 gtk_container_draw + 131
30  libgtk-3.0.dylib              	0x00000001051cc4e5 gtk_box_draw_contents + 37
31  libgtk-3.0.dylib              	0x0000000105223085 gtk_css_custom_gadget_draw + 37
32  libgtk-3.0.dylib              	0x0000000105228b2e gtk_css_gadget_draw + 1582
33  libgtk-3.0.dylib              	0x00000001051cb501 gtk_box_draw + 17
34  libgtkmm-3.0.1.dylib          	0x0000000105dd42d7 Gtk::Widget::on_draw(Cairo::RefPtr<Cairo::Context> const&) + 71
35  libgtkmm-3.0.1.dylib          	0x0000000105dcd25f Gtk::Widget_Class::draw_callback(_GtkWidget*, _cairo*) + 175
36  libgtk-3.0.dylib              	0x00000001054681a2 gtk_widget_draw_internal + 434
37  libgtk-3.0.dylib              	0x000000010521b850 gtk_container_propagate_draw + 544
38  libgtk-3.0.dylib              	0x000000010533d743 gtk_paned_render + 275
39  libgtk-3.0.dylib              	0x0000000105223085 gtk_css_custom_gadget_draw + 37
40  libgtk-3.0.dylib              	0x0000000105228b2e gtk_css_gadget_draw + 1582
41  libgtk-3.0.dylib              	0x000000010533b311 gtk_paned_draw + 17
42  libgtkmm-3.0.1.dylib          	0x0000000105dcd33b Gtk::Widget_Class::draw_callback(_GtkWidget*, _cairo*) + 395
43  libgtk-3.0.dylib              	0x00000001054681a2 gtk_widget_draw_internal + 434
44  libgtk-3.0.dylib              	0x000000010521b850 gtk_container_propagate_draw + 544
45  libgtk-3.0.dylib              	0x000000010533d7ef gtk_paned_render + 447
46  libgtk-3.0.dylib              	0x0000000105223085 gtk_css_custom_gadget_draw + 37
47  libgtk-3.0.dylib              	0x0000000105228b2e gtk_css_gadget_draw + 1582
48  libgtk-3.0.dylib              	0x000000010533b311 gtk_paned_draw + 17
49  libgtkmm-3.0.1.dylib          	0x0000000105dcd33b Gtk::Widget_Class::draw_callback(_GtkWidget*, _cairo*) + 395
50  libgtk-3.0.dylib              	0x00000001054681a2 gtk_widget_draw_internal + 434
51  libgtk-3.0.dylib              	0x000000010521b850 gtk_container_propagate_draw + 544
52  libgtk-3.0.dylib              	0x000000010533d743 gtk_paned_render + 275
53  libgtk-3.0.dylib              	0x0000000105223085 gtk_css_custom_gadget_draw + 37
54  libgtk-3.0.dylib              	0x0000000105228b2e gtk_css_gadget_draw + 1582
55  libgtk-3.0.dylib              	0x000000010533b311 gtk_paned_draw + 17
56  libgtkmm-3.0.1.dylib          	0x0000000105dd42d7 Gtk::Widget::on_draw(Cairo::RefPtr<Cairo::Context> const&) + 71
57  libgtkmm-3.0.1.dylib          	0x0000000105dcd25f Gtk::Widget_Class::draw_callback(_GtkWidget*, _cairo*) + 175
58  libgtk-3.0.dylib              	0x00000001054681a2 gtk_widget_draw_internal + 434
59  libgtk-3.0.dylib              	0x000000010521b850 gtk_container_propagate_draw + 544
60  libgtk-3.0.dylib              	0x00000001053327d0 gtk_notebook_draw_stack + 64
61  libgtk-3.0.dylib              	0x0000000105223085 gtk_css_custom_gadget_draw + 37
62  libgtk-3.0.dylib              	0x0000000105228b2e gtk_css_gadget_draw + 1582
63  libgtk-3.0.dylib              	0x00000001051ced0c gtk_box_gadget_draw + 204
64  libgtk-3.0.dylib              	0x0000000105228b2e gtk_css_gadget_draw + 1582
65  libgtk-3.0.dylib              	0x000000010532d09e gtk_notebook_draw + 46
66  libgtkmm-3.0.1.dylib          	0x0000000105dcd33b Gtk::Widget_Class::draw_callback(_GtkWidget*, _cairo*) + 395
67  libgtk-3.0.dylib              	0x00000001054681a2 gtk_widget_draw_internal + 434
68  libgtk-3.0.dylib              	0x000000010521b850 gtk_container_propagate_draw + 544
69  libgtk-3.0.dylib              	0x000000010521bf83 gtk_container_draw + 131
70  libgtk-3.0.dylib              	0x0000000105488bb6 gtk_window_draw + 742
71  libgtkmm-3.0.1.dylib          	0x0000000105dd42d7 Gtk::Widget::on_draw(Cairo::RefPtr<Cairo::Context> const&) + 71
72  libgtkmm-3.0.1.dylib          	0x0000000105dcd25f Gtk::Widget_Class::draw_callback(_GtkWidget*, _cairo*) + 175
73  libgtk-3.0.dylib              	0x00000001054681a2 gtk_widget_draw_internal + 434
74  libgtk-3.0.dylib              	0x000000010546953a gtk_widget_render + 330
75  libgtk-3.0.dylib              	0x00000001052f8af1 gtk_main_do_event + 1857
76  libgdk-3.0.dylib              	0x000000010582e3c1 _gdk_event_emit + 49
77  libgdk-3.0.dylib              	0x0000000105845a98 _gdk_window_process_updates_recurse_helper + 328
78  libgdk-3.0.dylib              	0x0000000105857338 -[GdkQuartzView drawRect:] + 344
79  com.apple.AppKit              	0x00007fff857cbcd2 -[NSView _drawRect:clip:] + 3626
80  com.apple.AppKit              	0x00007fff85823cad -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1873
81  com.apple.AppKit              	0x00007fff857c93fb -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 838
82  com.apple.AppKit              	0x00007fff857ca785 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5840
83  com.apple.AppKit              	0x00007fff857c8be0 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 334
84  com.apple.AppKit              	0x00007fff857c6feb -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2449
85  com.apple.AppKit              	0x00007fff857c23f5 -[NSView displayIfNeeded] + 1950
86  com.apple.AppKit              	0x00007fff857c1c3c -[NSWindow displayIfNeeded] + 232
87  com.apple.AppKit              	0x00007fff85e4641b ___NSWindowGetDisplayCycleObserver_block_invoke6365 + 476
88  com.apple.AppKit              	0x00007fff857c15d6 __37+[NSDisplayCycle currentDisplayCycle]_block_invoke + 941
89  com.apple.QuartzCore          	0x00007fff88aa5f71 CA::Transaction::run_commit_handlers(CATransactionPhase) + 85
90  com.apple.QuartzCore          	0x00007fff88aa542c CA::Context::commit_transaction(CA::Transaction*) + 160
91  com.apple.QuartzCore          	0x00007fff88aa50ec CA::Transaction::commit() + 508
92  com.apple.QuartzCore          	0x00007fff88ab0977 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 71
93  com.apple.CoreFoundation      	0x00007fff839b0fc7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
94  com.apple.CoreFoundation      	0x00007fff839b0f37 __CFRunLoopDoObservers + 391
95  com.apple.CoreFoundation      	0x00007fff8398fe58 CFRunLoopRunSpecific + 328
96  com.apple.HIToolbox           	0x00007fff81083935 RunCurrentEventLoopInMode + 235
97  com.apple.HIToolbox           	0x00007fff81083677 ReceiveNextEventCommon + 184
98  com.apple.HIToolbox           	0x00007fff810835af _BlockUntilNextEventMatchingListInModeWithFilter + 71
99  com.apple.AppKit              	0x00007fff85669df6 _DPSNextEvent + 1067
100 com.apple.AppKit              	0x00007fff85669226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
101 libgdk-3.0.dylib              	0x000000010585ea22 poll_func + 178
102 libglib-2.0.0.dylib           	0x0000000104f3d391 g_main_context_iterate + 449
103 libglib-2.0.0.dylib           	0x0000000104f3d70f g_main_loop_run + 223
104 libgtk-3.0.dylib              	0x00000001052f823a gtk_main + 74
105 libgtkmm-3.0.1.dylib          	0x0000000105d4fcb4 Gtk::Main::run(Gtk::Window&) + 260
106 rawtherapee                   	0x000000010453754f main + 4575
107 libdyld.dylib                 	0x00007fff8c1a75ad start + 1

Thread 1:
0   libsystem_kernel.dylib        	0x00007fff872395e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff96189578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff96187341 start_wqthread + 13

Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x00007fff87239efa kevent_qos + 10
1   libdispatch.dylib             	0x00007fff90875165 _dispatch_mgr_invoke + 216
2   libdispatch.dylib             	0x00007fff90874dcd _dispatch_mgr_thread + 52

Thread 3:
0   libsystem_kernel.dylib        	0x00007fff872395e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff96189578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff96187341 start_wqthread + 13

Thread 4:
0   libsystem_kernel.dylib        	0x00007fff872395e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff96189578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff96187341 start_wqthread + 13

Thread 5:: gmain
0   libsystem_kernel.dylib        	0x00007fff8723907a __select + 10
1   libglib-2.0.0.dylib           	0x0000000104f4cd33 g_poll + 435
2   libglib-2.0.0.dylib           	0x0000000104f3d391 g_main_context_iterate + 449
3   libglib-2.0.0.dylib           	0x0000000104f3f12d glib_worker_main + 141
4   libglib-2.0.0.dylib           	0x0000000104f6748a g_thread_proxy + 90
5   libsystem_pthread.dylib       	0x00007fff9618999d _pthread_body + 131
6   libsystem_pthread.dylib       	0x00007fff9618991a _pthread_start + 168
7   libsystem_pthread.dylib       	0x00007fff96187351 thread_start + 13

Thread 6:
0   libsystem_kernel.dylib        	0x00007fff87239eca kevent + 10
1   libgio-2.0.0.dylib            	0x0000000105ba29ac _kqueue_thread_func + 172
2   libsystem_pthread.dylib       	0x00007fff9618999d _pthread_body + 131
3   libsystem_pthread.dylib       	0x00007fff9618991a _pthread_start + 168
4   libsystem_pthread.dylib       	0x00007fff96187351 thread_start + 13

Thread 7:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	0x00007fff87232f72 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff872323b3 mach_msg + 55
2   com.apple.CoreFoundation      	0x00007fff83991124 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation      	0x00007fff839905ec __CFRunLoopRun + 1356
4   com.apple.CoreFoundation      	0x00007fff8398fe38 CFRunLoopRunSpecific + 296
5   com.apple.AppKit              	0x00007fff857bfd95 _NSEventThread + 149
6   libsystem_pthread.dylib       	0x00007fff9618999d _pthread_body + 131
7   libsystem_pthread.dylib       	0x00007fff9618991a _pthread_start + 168
8   libsystem_pthread.dylib       	0x00007fff96187351 thread_start + 13

Thread 8:: pool
0   libsystem_kernel.dylib        	0x00007fff87238de6 __psynch_mutexwait + 10
1   libsystem_pthread.dylib       	0x00007fff96189e4a _pthread_mutex_lock_wait + 89
2   libsystem_pthread.dylib       	0x00007fff961875f5 _pthread_mutex_lock_slow + 300
3   rawtherapee                   	0x00000001044f8f17 FileCatalog::_refreshProgressBar() + 39
4   rawtherapee                   	0x00000001044f9e4a FileCatalog::previewReady(int, FileBrowserEntry*) + 538
5   rawtherapee                   	0x00000001045009b2 PreviewLoader::Impl::processNextJob() + 370
6   libglibmm-2.4.1.dylib         	0x00000001050add24 (anonymous namespace)::call_thread_entry_slot(void*, void*) + 52
7   libglib-2.0.0.dylib           	0x0000000104f68513 g_thread_pool_thread_proxy + 179
8   libglib-2.0.0.dylib           	0x0000000104f6748a g_thread_proxy + 90
9   libsystem_pthread.dylib       	0x00007fff9618999d _pthread_body + 131
10  libsystem_pthread.dylib       	0x00007fff9618991a _pthread_start + 168
11  libsystem_pthread.dylib       	0x00007fff96187351 thread_start + 13

Thread 9:
0   libsystem_kernel.dylib        	0x00007fff872395e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff96189578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff96187341 start_wqthread + 13

Etc Etc Etc, the report goes on for a hundred more pages.


#4

@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?


(Ingo Weyrich) #5

@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 :slight_smile:

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…


#6

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.


(Ingo Weyrich) #7

Yes, please try. The more osx builders we are, the better :slight_smile: I can’t try as I’m not on osx.


#8

@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.

Thanks,
Partha