|Summary:||graphics/rawtherapee: abort()s on startup|
|Product:||Ports & Packages||Reporter:||Christoph Moench-Tegeder <cmt>|
|Component:||Individual Port(s)||Assignee:||Matthias Andree <mandree>|
|Severity:||Affects Only Me||CC:||vermaden|
Description Christoph Moench-Tegeder 2015-08-11 19:32:56 UTC
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 1 Christoph Moench-Tegeder 2015-08-11 19:34:48 UTC
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.
Comment 2 Christoph Moench-Tegeder 2015-08-11 19:36:44 UTC
Created attachment 159778 [details] logfile from poudriere testport, 10.1-amd64
Comment 3 vermaden 2015-08-23 01:07:20 UTC
Any estimate when this will be fixed? Thanks, vermaden
Comment 4 Matthias Andree 2015-08-23 10:22:53 UTC
(In reply to vermaden from comment #3) Give me a few days for getting things reproduced and tested.
Comment 5 commit-hook 2015-08-23 13:52:42 UTC
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
Comment 6 Matthias Andree 2015-08-23 13:53:41 UTC
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.
Comment 7 Matthias Andree 2015-08-23 13:54:50 UTC
Fixed - thanks, Christoph! (currently depends on texlive-base fallout from r395047 to be fixed by hrs@)
Comment 8 Matthias Andree 2015-08-23 13:55:29 UTC
Fix is in PORTREVISION 3. (4.2_3)
Comment 9 vermaden 2015-08-24 07:48:50 UTC
Confirmed, works properly, thanks for fast fix! Regards, vermaden