Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2024 13:54:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 278565] graphics/ufraw: segfaults in lensfun
Message-ID:  <bug-278565-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278565

            Bug ID: 278565
           Summary: graphics/ufraw: segfaults in lensfun
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rodrigo@FreeBSD.org
          Reporter: jeffpc@josefsipek.net
             Flags: maintainer-feedback?(rodrigo@FreeBSD.org)
          Assignee: rodrigo@FreeBSD.org

ufraw & ufraw-batch segfault when trying to process any Nikon D750 NEF raw
file.  I don't have other raw files to try with, but I suspect it isn't
Nikon/NEF specific.  I'm using the binary package on 14.0-RELEASE-p6.

$ ufraw-batch _DSC7938.NEF --out-type=3Dtiff
zsh: segmentation fault (core dumped)  ufraw-batch _DSC7938.NEF --out-type=
=3Dtiff

$ gdb -q `which ufraw-batch` ufraw-batch.core=20
Reading symbols from /usr/local/bin/ufraw-batch...
(No debugging symbols found in /usr/local/bin/ufraw-batch)
[New LWP 100654]
Core was generated by `ufraw-batch _DSC7879.NEF --out-type=3Dtiff'.
Program terminated with signal SIGSEGV, Segmentation fault.
Address not mapped to object.
#0  0x00000008252c2504 in lfLens::operator=3D(lfLens const&) () from
/usr/local/lib/liblensfun.so.2
(gdb) bt
#0  0x00000008252c2504 in lfLens::operator=3D(lfLens const&) () from
/usr/local/lib/liblensfun.so.2
#1  0x0000000000333aa2 in ?? ()
#2  0x0000000000333dc9 in ?? ()
#3  0x00000000002cdfcb in ?? ()
#4  0x00000000002cbfa8 in ?? ()
#5  0x000000082aa28afa in __libc_start1 (argc=3D3, argv=3D0x820722640,
env=3D0x820722660, cleanup=3D<optimized out>, mainX=3D0x2cbe10) at
/usr/src/lib/libc/csu/libc_start1.c:157
#6  0x00000000002cbda0 in ?? ()

$ pkg info ufraw
ufraw-0.22.20210424_10
Name           : ufraw
Version        : 0.22.20210424_10
Installed on   : Tue Apr 23 19:14:30 2024 EDT
Origin         : graphics/ufraw
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : graphics
Licenses       : GPLv2
Maintainer     : rodrigo@FreeBSD.org
WWW            : https://ufraw.sourceforge.net/
Comment     Options        :
        CONTRAST       : on
        DST            : off
        EXIV2          : on
        FITS           : off
        GIMP           : off
        GTK2           : on
        LENSFUN        : on
Shared Libs required:
        libtiff.so.5
        libpng16.so.16
        libpangoft2-1.0.so.0
        libpangocairo-1.0.so.0
        libpango-1.0.so.0
        liblensfun.so.2
        liblcms2_threaded.so.1
        liblcms2_fast_float.so.1
        liblcms2.so.2
        libjpeg.so.8
        libjasper.so.7
        libintl.so.8
        libharfbuzz.so.0
        libgtkimageview.so.0
        libgtk-x11-2.0.so.0
        libgthread-2.0.so.0
        libgobject-2.0.so.0
        libglib-2.0.so.0
        libgio-2.0.so.0
        libgdk_pixbuf-2.0.so.0
        libgdk-x11-2.0.so.0
        libfreetype.so.6
        libfontconfig.so.1
        libexiv2.so.28
        libcairo.so.2
        libatk-1.0.so.0
Annotations    :
        FreeBSD_version: 1400097
        build_timestamp: 2024-04-13T03:15:35+0000
        built_by       : poudriere-git-3.4.1-1-g1e9f97d6
        port_checkout_unclean: no
        port_git_hash  : b3aa1ea86
        ports_top_checkout_unclean: no
        ports_top_git_hash: fadd0843b
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 3.96MiB
Description    :
The Unidentified Flying Raw (UFRaw) is a utility to read and manipulate raw
images from digital cameras.  It can be used on its own or as a Gimp plug-i=
n.
It reads raw images using Dave Coffin's raw conversion utility -- DCRaw.
UFRaw supports basic color management using Little CMS, allowing the user to
apply color profiles.  For Nikon users UFRaw has the advantage that it can
read the camera's tone curves.  Even if you don't own a Nikon, you can still
apply a Nikon curve to your images.
   : Read and manipulate raw images from various digital cameras

$ pkg info lensfun=20=20=20
lensfun-0.3.95_2
Name           : lensfun
Version        : 0.3.95_2
Installed on   : Thu Jan 18 21:51:20 2024 EST
Origin         : graphics/lensfun
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : graphics
Licenses       : PD and LGPL3 and GPLv3 and CC-BY-SA-3.0
Maintainer     : danfe@FreeBSD.org
WWW            : https://lensfun.github.io/
Comment        : Library for fixing lens geometry distortions
Options        :
        PYHELPERS      : on
        SIMD           : on
Shared Libs required:
        libpng16.so.16
        libintl.so.8
        libglib-2.0.so.0
Shared Libs provided:
        liblensfun.so.2
Annotations    :
        FreeBSD_version: 1400097
        build_timestamp: 2024-01-07T11:50:49+0000
        built_by       : poudriere-git-3.4.0
        port_checkout_unclean: no
        port_git_hash  : 756e18783
        ports_top_checkout_unclean: no
        ports_top_git_hash: 756e18783
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 3.08MiB
Description    :
The goal of the lensfun library is to provide an open source database of
photographic lenses and their characteristics.  In the past there was an
effort in this direction (see http://www.epaperpress.com/ptlens/), but then
author decided to take the commercial route and the database froze at the
last public stage.  This database was used as the basement on which lensfun
database grew, thanks to PTLens author which gave his permission for this,
while the code was totally rewritten from scratch (and the database was
converted to a totally new, XML-based format).

The lensfun library not only provides a way to read the lens database and
search for specific things in it, but also offers a set of algorithms for
correcting images based on detailed knowledge of lens properties and
calibration data.  Right now lensfun is designed to correct distortion,
transversal (also known as lateral) chromatic aberrations, vignetting, and
colour contribution of the lens (e.g. when sometimes people says one lens
gives "yellowish" images and another, say, "bluish").

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278565-7788>