When I edit an image with double click on a thumbnail RT 5.1 crash, I am on MacOSX Sierra (10.12.5), RT 5.0 rc1- gtk3 work fine.
Here the begin of the log
Process: rawtherapee-bin [2573]
Path: /Applications/RawTherapee.app/Contents/MacOS/rawtherapee-bin
Identifier: com.rawtherapee.rawtherapee
Version: 5.1.0 (5.1.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: rawtherapee-bin [2573]
User ID: 501
Date/Time: 2017-05-30 12:23:45.883 +0200
OS Version: Mac OS X 10.12.5 (16F73)
Report Version: 12
Anonymous UUID: 931D2B50-552D-3ECA-DDD8-AA3E7A9CAC22
Time Awake Since Boot: 12000 seconds
System Integrity Protection: enabled
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:
Assertion failed: (!scaled_font->cache_frozen), function _cairo_scaled_glyph_page_destroy, file cairo-scaled-font.c, line 459.
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fffc4160d42 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fffc424e457 pthread_kill + 90
2 libsystem_c.dylib 0x00007fffc40c6420 abort + 129
3 libsystem_c.dylib 0x00007fffc408d893 __assert_rtn + 320
4 libcairo.2.dylib 0x0000000104271dc7 _cairo_scaled_glyph_page_destroy + 155
5 libcairo.2.dylib 0x00000001042743e4 _cairo_scaled_font_free_last_glyph + 146
6 libcairo.2.dylib 0x0000000104273535 _cairo_scaled_glyph_lookup + 559
7 libcairo.2.dylib 0x0000000104273bdb _cairo_scaled_font_glyph_path + 128
8 libcairo.2.dylib 0x00000001042468d1 _cairo_gstate_glyph_path + 203
9 libcairo.2.dylib 0x000000010423b4a7 cairo_glyph_path + 42
10 libpangocairo-1.0.0.dylib 0x0000000104173426 pango_cairo_renderer_show_text_glyphs + 778
11 libpangocairo-1.0.0.dylib 0x0000000104172b2e pango_cairo_renderer_draw_glyphs + 38
12 libpango-1.0.0.dylib 0x00000001041a1daa pango_renderer_draw_glyphs + 66
13 libpango-1.0.0.dylib 0x00000001041a17ce pango_renderer_draw_layout_line + 750
14 libpango-1.0.0.dylib 0x00000001041a13e7 pango_renderer_draw_layout + 236
15 libpangocairo-1.0.0.dylib 0x00000001041728e0 _pango_cairo_do_layout + 59
16 rawtherapee-bin 0x000000010266a1c7 EditorPanel::info_toggled() + 3591
17 rawtherapee-bin 0x000000010267b597 EditorPanel::open(Thumbnail*, rtengine::InitialImage*) + 4215
18 rawtherapee-bin 0x00000001026ba0e8 FilePanel::imageLoaded(Thumbnail*, ProgressConnector<rtengine::InitialImage*>*) + 872
19 rawtherapee-bin 0x0000000102670746 sigc::internal::signal_emit0<bool, sigc::nil>::emit(sigc::internal::signal_impl*) + 246
20 rawtherapee-bin 0x00000001026badb3 ProgressConnector<rtengine::InitialImage*>::emitEndSignalUI(void*) + 19
21 libgdk-3.0.dylib 0x00000001040e3931 gdk_threads_dispatch + 50
22 libglib-2.0.0.dylib 0x00000001034d948e g_main_context_dispatch + 279
23 libglib-2.0.0.dylib 0x00000001034d977d g_main_context_iterate + 413
24 libglib-2.0.0.dylib 0x00000001034d99d3 g_main_loop_run + 207
25 libgtk-3.0.dylib 0x0000000103bf697a gtk_main + 74
26 libgtkmm-3.0.1.dylib 0x000000010362049a Gtk::Main::run(Gtk::Window&) + 156
27 rawtherapee-bin 0x000000010270e2eb main + 8123
28 libdyld.dylib 0x00007fffc4032235 start + 1
Thank’s in advance
Upload the raw file, and try saving a different raw file, e.g. this one http://rawtherapee.com/shared/test_images/amsterdam.pef
I have not done the type of file in’t a raw file but a tif (tiff) file cause the crash
HIRAM
(Richard E Barber)
May 30, 2017, 2:46pm
5
Looks like Cairo Font Bug, which I think @partha knows a lot about.
HIRAM
(Richard E Barber)
May 30, 2017, 3:16pm
6
I experience the same crash with some computer generated images, here’s the backtrace info:
opened 03:12PM - 30 May 17 UTC
closed 10:35AM - 31 May 17 UTC
See also: https://discuss.pixls.us/t/rt-5-1-macosx-10-12-5-crash-when-i-edit-an-… image/4320
About this build
```
Version: 5.1
Branch: 5.1
Commit: f23d70fd
Commit date: 2017-05-15
Compiler: clang-mp-3 3.9.1
Processor: generic x86
System: Apple
Bit depth: 64 bits
Gtkmm: V3.16.0
Build type: debug
Build flags: -arch x86_64 -O0 -std=c++11 -mtune=generic -Werror=unused-label -mmacosx-version-min=10.9 -fopenmp=libomp -Werror=unknown-pragmas -Wall -Wno-unused-result -Wno-deprecated-declarations -g
Link flags: -mtune=generic -headerpad_max_install_names
OpenMP support: ON
MMAP support: ON
```
System: MacOS Sierra
How to reproduce, try to open certain tiffs or jpgs like this one: https://filebin.net/goedpl7mm56wf7mj/rt51a.tif
or this one:
https://filebin.net/goedpl7mm56wf7mj/cuChi2016school-Sat.jpg
The crash and bt
```
Assertion failed: (!scaled_font->cache_frozen), function _cairo_scaled_glyph_page_destroy, file cairo-scaled-font.c, line 459.
Process 83376 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x00007fff9ab4dd42 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
-> 0x7fff9ab4dd42 <+10>: jae 0x7fff9ab4dd4c ; <+20>
0x7fff9ab4dd44 <+12>: movq %rax, %rdi
0x7fff9ab4dd47 <+15>: jmp 0x7fff9ab46caf ; cerror_nocancel
0x7fff9ab4dd4c <+20>: retq
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
* frame #0: 0x00007fff9ab4dd42 libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x00007fff9ac3b457 libsystem_pthread.dylib`pthread_kill + 90
frame #2: 0x00007fff9aab3420 libsystem_c.dylib`abort + 129
frame #3: 0x00007fff9aa7a893 libsystem_c.dylib`__assert_rtn + 320
frame #4: 0x0000000102a48dc7 libcairo.2.dylib`_cairo_scaled_glyph_page_destroy + 155
frame #5: 0x0000000102a4b3e4 libcairo.2.dylib`_cairo_scaled_font_free_last_glyph + 146
frame #6: 0x0000000102a4a535 libcairo.2.dylib`_cairo_scaled_glyph_lookup + 559
frame #7: 0x0000000102a4abdb libcairo.2.dylib`_cairo_scaled_font_glyph_path + 128
frame #8: 0x0000000102a1d8d1 libcairo.2.dylib`_cairo_gstate_glyph_path + 203
frame #9: 0x0000000102a124a7 libcairo.2.dylib`cairo_glyph_path + 42
frame #10: 0x000000010295b426 libpangocairo-1.0.0.dylib`pango_cairo_renderer_show_text_glyphs + 778
frame #11: 0x000000010295ab2e libpangocairo-1.0.0.dylib`pango_cairo_renderer_draw_glyphs + 38
frame #12: 0x0000000102986daa libpango-1.0.0.dylib`pango_renderer_draw_glyphs + 66
frame #13: 0x00000001029867ce libpango-1.0.0.dylib`pango_renderer_draw_layout_line + 750
frame #14: 0x00000001029863e7 libpango-1.0.0.dylib`pango_renderer_draw_layout + 236
frame #15: 0x000000010295a8e0 libpangocairo-1.0.0.dylib`_pango_cairo_do_layout + 59
frame #16: 0x000000010030f34e rawtherapee-bin`ImageArea::setInfoText(this=0x000000010f24d030, text=(string_ = " Unknown + \n<span size=\"small\">f/</span><span size=\"large\">0.0</span> <span size=\"large\">0.0</span><span size=\"small\">s</span> <span size=\"small\">ISO</span><span size=\"large\">0</span> <span size=\"large\">0.00</span><span size=\"small\">mm</span>\n<span size=\"small\">/Users/tune/Desktop/</span><span>rt51a.tif</span>\n<span size=\"small\"> 2.0 MP (1400x1400)</span>")) at imagearea.cc:186
frame #17: 0x00000001001b1c26 rawtherapee-bin`EditorPanel::info_toggled(this=0x000000010bf57c90) at editorpanel.cc:1306
frame #18: 0x00000001001bc6c1 rawtherapee-bin`EditorPanel::open(this=0x000000010bf57c90, tmb=0x0000000127ab5200, isrc=0x000000010f42b3f0) at editorpanel.cc:988
frame #19: 0x0000000100274ea9 rawtherapee-bin`FilePanel::imageLoaded(this=0x0000000106d57bf0, thm=0x0000000127ab5200, pc=0x000000010ded9d20) at filepanel.cc:290
frame #20: 0x000000010027ce5c rawtherapee-bin`sigc::bound_mem_functor2<bool, FilePanel, Thumbnail*, ProgressConnector<rtengine::InitialImage*>*>::operator(this=0x000000010bb0f820, _A_a1=0x000000010bb0f840, _A_a2=0x000000010bb0f848)(Thumbnail* const&, ProgressConnector<rtengine::InitialImage*>* const&) const at mem_fun.h:1927
frame #21: 0x000000010027cda4 rawtherapee-bin`sigc::adaptor_functor<sigc::bound_mem_functor2<bool, FilePanel, Thumbnail*, ProgressConnector<rtengine::InitialImage*>*> >::deduce_result_type<Thumbnail*&, ProgressConnector<rtengine::InitialImage*>*&, void, void, void, void, void>::type sigc::adaptor_functor<sigc::bound_mem_functor2<bool, FilePanel, Thumbnail*, ProgressConnector<rtengine::InitialImage*>*> >::operator(this=0x000000010bb0f818, _A_arg1=0x000000010bb0f840, _A_arg2=0x000000010bb0f848)<Thumbnail*&, ProgressConnector<rtengine::InitialImage*>*&>(Thumbnail*&, ProgressConnector<rtengine::InitialImage*>*&) const at adaptor_trait.h:108
frame #22: 0x000000010027cd62 rawtherapee-bin`sigc::bind_functor<-1, sigc::bound_mem_functor2<bool, FilePanel, Thumbnail*, ProgressConnector<rtengine::InitialImage*>*>, Thumbnail*, ProgressConnector<rtengine::InitialImage*>*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::operator(this=0x000000010bb0f810)() at bind.h:1339
frame #23: 0x000000010027cd01 rawtherapee-bin`sigc::internal::slot_call0<sigc::bind_functor<-1, sigc::bound_mem_functor2<bool, FilePanel, Thumbnail*, ProgressConnector<rtengine::InitialImage*>*>, Thumbnail*, ProgressConnector<rtengine::InitialImage*>*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, bool>::call_it(rep=0x000000010bb0f7e0) at slot.h:103
frame #24: 0x00000001001c8e25 rawtherapee-bin`sigc::internal::signal_emit0<bool, sigc::nil>::emit(impl=0x00000001035b8e50) at signal.h:687
frame #25: 0x00000001001c88d9 rawtherapee-bin`sigc::signal0<bool, sigc::nil>::emit(this=0x000000010a2c4df0) const at signal.h:2679
frame #26: 0x000000010027a1fd rawtherapee-bin`ProgressConnector<rtengine::InitialImage*>::emitEndSignalUI(data=0x000000010a2c4df0) at progressconnector.h:78
frame #27: 0x00000001028cb931 libgdk-3.0.dylib`gdk_threads_dispatch + 50
frame #28: 0x0000000101cdf48e libglib-2.0.0.dylib`g_main_context_dispatch + 279
frame #29: 0x0000000101cdf77d libglib-2.0.0.dylib`g_main_context_iterate + 413
frame #30: 0x0000000101cdf9d3 libglib-2.0.0.dylib`g_main_loop_run + 207
frame #31: 0x00000001023e397a libgtk-3.0.dylib`gtk_main + 74
frame #32: 0x0000000101e1c49a libgtkmm-3.0.1.dylib`Gtk::Main::run(Gtk::Window&) + 156
frame #33: 0x00000001003604c3 rawtherapee-bin`main(argc=1, argv=0x00007fff5fbff4b0) at main.cc:386
frame #34: 0x00007fff9aa1f235 libdyld.dylib`start + 1
```
@partha1b @ion12 does that look like a familiar bug?
HIRAM
(Richard E Barber)
May 30, 2017, 11:48pm
7
Hervé, I have built 5.1 with a bug fix that has worked for me. Let us know if this works for you: https://filebin.net/fpn3joegylydvr3x/RawTherapee_OSX_10.9_64_5.1.zip
This release work with my .tif files (produce withe astronomical software) very well,
but when I quit the application it produce a crash message
Process: rawtherapee-bin [3039]
Path: /Applications/RawTherapee.app/Contents/MacOS/rawtherapee-bin
Identifier: com.rawtherapee.rawtherapee
Version: 5.1.0 (5.1.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: rawtherapee-bin [3039]
User ID: 501
Date/Time: 2017-05-31 18:28:24.395 +0200
OS Version: Mac OS X 10.12.5 (16F73)
Report Version: 12
Anonymous UUID: 931D2B50-552D-3ECA-DDD8-AA3E7A9CAC22
Time Awake Since Boot: 29000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libomp.dylib 0x0000000103270c8c __kmp_dephash_free_entries + 21
1 libomp.dylib 0x0000000103270dea __kmp_dephash_free + 18
2 libomp.dylib 0x000000010324c265 __kmp_free_implicit_task + 30
3 libomp.dylib 0x0000000103244377 __kmp_reap_thread(kmp_info*, int) + 123
4 libomp.dylib 0x00000001032431f7 __kmp_internal_end_library + 493
5 dyld 0x000000010efe4d74 ImageLoaderMachO::doTermination(ImageLoader::LinkContext const&) + 262
6 dyld 0x000000010efd1529 dyld::runAllStaticTerminators(void*) + 67
7 libsystem_c.dylib 0x00007fffc50c4178 __cxa_finalize_ranges + 332
8 libsystem_c.dylib 0x00007fffc50c44b2 exit + 55
9 libdyld.dylib 0x00007fffc502f23c start + 8
Thank’s for your effort
HIRAM
(Richard E Barber)
May 31, 2017, 4:44pm
9
@Herve_Choplin does your /tmp
folder have any links that are called RawTherapee (or whatever it was named as) .app
?
(type ls /tmp
in Terminal to see)
if so, you can delete it/them and try and see if it still crashes on exit. We’ve noticed you have to do some adjustments to the image to have it crash on exit, too.
In my /tmp directory I have :
~ > ls /tmp
clamd.socket com.apple.launchd.idcw2shF4O
com.apple.launchd.PvmOs8CIh5 com.apple.launchd.pKMmEiqsOU
~ >
When I launch and load an image without adjustment it not crash, but when I adjust the image it crash on quit
Hervé CHOPLIN
3, rue de l’Abbaye de Gastines
37100 TOURS - France
e-mail: herve.choplin@gmail.com
HIRAM
(Richard E Barber)
May 31, 2017, 5:54pm
11