On running rawstudio, this happens: $ rawstudio ** (rawstudio:18309): WARNING **: Lensfun library version is unknown. zsh: segmentation fault /usr/local/bin/rawstudio The problem is in rs-batch.c, make_batch_options(), this code: active = gui_confbox_get_active(filetype_confbox); if (!active) active = GUINT_TO_POINTER(g_type_from_name("RSJpegfile")); filetype_changed(active, queue); The core dump comes in filetype_changed(). It appears that gui_confbox_get_active() is returning an invalid value. A work-around is to not call filetype_changed() at this point.
Created attachment 161316 [details] patch to fix GType conversion This patch, which is consistent with changes already made in the github source, fixes the problem.
A commit references this bug: Author: pawel Date: Fri Oct 16 20:22:10 UTC 2015 New revision: 399513 URL: https://svnweb.freebsd.org/changeset/ports/399513 Log: Add patch fixing segfault at startup PR: 203297 Submitted by: fbsd@opal.com Approved by: maintainer timeout MFH: 2015Q4 Changes: head/graphics/rawstudio/Makefile head/graphics/rawstudio/files/patch-src_rs-batch.c
A commit references this bug: Author: pawel Date: Fri Oct 16 20:40:37 UTC 2015 New revision: 399515 URL: https://svnweb.freebsd.org/changeset/ports/399515 Log: MFH: r399513 Add patch fixing segfault at startup PR: 203297 Submitted by: fbsd@opal.com Approved by: maintainer timeout Approved by: ports-secteam (feld) Changes: _U branches/2015Q4/ branches/2015Q4/graphics/rawstudio/Makefile branches/2015Q4/graphics/rawstudio/files/patch-src_rs-batch.c