Created attachment 159777 [details] catch glib exception when creating directory monitors Since the latest devel/glib20 change, rawtherapee coredumps on abort() when starting in directory browser mode (opening single files via command line still works). Backtraces and debugging show that the abort() is caused by an uncaught exception from glibmm, which in turn is a translation of an error returnen from glib. The text of the original error message is "Unable to find default local directory monitor". The file monitoring code has been disabled in https://svnweb.freebsd.org/ports?view=revision&sortby=date&revision=393663 so this issue here is related to 202128. As the file/directory monitoring code has been reported as "broken" I did not check if reverting r393663 fixes this. Instead the attached patch catches the exception and logs an error. This way, the main directory browser functionality has been restored for me.
Comment on attachment 159777 [details] catch glib exception when creating directory monitors This file should be droppen in graphics/rawtherapee/files/. PKGVERSION should be bumped to force the re-compile.
Created attachment 159778 [details] logfile from poudriere testport, 10.1-amd64
Any estimate when this will be fixed? Thanks, vermaden
(In reply to vermaden from comment #3) Give me a few days for getting things reproduced and tested.
A commit references this bug: Author: mandree Date: Sun Aug 23 13:52:28 UTC 2015 New revision: 395090 URL: https://svnweb.freebsd.org/changeset/ports/395090 Log: Fix devel/glib20-induced abort() with dir monitoring. Note: untested in poudriere since texlive-base is currently defunct. I could reproduce the problem on 10.1-amd64 on a bare metal build and check that Christoph's patch works, so committing it. Please report fall-out in the PR indicated below. + Bump PORTREVISION to trigger rebuild. PR: 202250 Submitted by: Christoph Moench-Tegeder Changes: head/graphics/rawtherapee/Makefile head/graphics/rawtherapee/files/patch-202250
I can't test anything but 10.1-amd64 right now, where it works for me. Committing anyways since the patch looks safe on other systems.
Fixed - thanks, Christoph! (currently depends on texlive-base fallout from r395047 to be fixed by hrs@)
Fix is in PORTREVISION 3. (4.2_3)
Confirmed, works properly, thanks for fast fix! Regards, vermaden