darktable-org / darktable

darktable is an open source photography workflow application and raw developer
https://www.darktable.org
GNU General Public License v3.0
9.11k stars 1.11k forks source link

4.4.2 segfault while selectively-pasting developer settings to multiple images #15660

Open xsdg opened 8 months ago

xsdg commented 8 months ago

Describe the bug

I'm working on a collection of 15 images. Here are the steps that led to the segfault: 1) Applied my standard developer settings to all images (in lighttable mode) 2) Double-clicked first image to enter developer mode 3) Enabled Lens Correction 4) Enabled Denoise (chroma-only preset) 5) Hit l to return to Lighttable mode 6) Selected first image and clicked the Selective Copy button in the right sidebar 7) Cleared all, then clicked the "Include" checkbox for Lens Correction and Denoise 8) Clicked "ok" 9) Clicked "Invert Selection" in the right sidebar 10) Clicked "Paste" in right sidebar 11) some of the thumbnails updated to show that they were being regenerated, then darktable segfaulted.

Steps to reproduce

I'm on a job, so I don't have time for diagnostics right now

Expected behavior

shouldn't segfault

Logfile | Screenshot | Screencast

darktable_bt_FYSLE2.txt

Commit

No response

Where did you install darktable from?

distro packaging

darktable version

this is darktable 4.4.2

What OS are you using?

Linux

What is the version of your OS?

Debian unstable

Describe your system?

X11, 32GB of ram

$apt-cache depends darktable | awk '/Depends/ {print $2}' | xargs dpkg -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                      Version            Architecture Description
+++-=========================-==================-============-===============================================================
ii  libc6:amd64               2.36-7             amd64        GNU C Library: Shared libraries
ii  libcairo2:amd64           1.16.0-7           amd64        Cairo 2D vector graphics library
ii  libcolord-gtk1:amd64      0.3.0-3            amd64        GTK+ convenience library for interacting with colord
ii  libcolord2:amd64          1.4.6-2.1          amd64        system service to manage device colour profiles -- runtime
ii  libcups2:amd64            2.4.2-3            amd64        Common UNIX Printing System(tm) - Core library
ii  libcurl3-gnutls:amd64     7.87.0-1           amd64        easy-to-use client-side URL transfer library (GnuTLS flavour)
ii  libexiv2-27:amd64         0.27.6-1           amd64        EXIF/IPTC/XMP metadata manipulation library
ii  libgcc-s1:amd64           12.2.0-14          amd64        GCC support library
ii  libgdk-pixbuf-2.0-0:amd64 2.42.10+dfsg-1+b1  amd64        GDK Pixbuf library
ii  libglib2.0-0:amd64        2.77.1-2           amd64        GLib library of C routines
ii  libgomp1:amd64            12.2.0-14          amd64        GCC OpenMP (GOMP) support library
ii  libgphoto2-6:amd64        2.5.29-1           amd64        gphoto2 digital camera library
ii  libgphoto2-port12:amd64   2.5.29-1           amd64        gphoto2 digital camera port library
ii  libgraphicsmagick-q16-3   1.4+really1.3.39-2 amd64        format-independent image processing - C shared library
ii  libgtk-3-0:amd64          3.24.37-2          amd64        GTK graphical user interface library
ii  libheif1:amd64            1.13.0-1           amd64        ISO/IEC 23008-12:2017 HEIF file format decoder - shared library
ii  libicu72:amd64            72.1-3             amd64        International Components for Unicode
ii  libimath-3-1-29:amd64     3.1.9-3            amd64        Utility libraries from ASF used by OpenEXR - runtime
ii  libjpeg62-turbo:amd64     1:2.1.5-2          amd64        libjpeg-turbo JPEG runtime library
ii  libjson-glib-1.0-0:amd64  1.6.6-1            amd64        GLib JSON manipulation library
ii  libjxl0.7:amd64           0.7.0-6            amd64        JPEG XL Image Coding System - "JXL" (shared libraries)
ii  liblcms2-2:amd64          2.14-2             amd64        Little CMS 2 color management library
ii  liblensfun1:amd64         0.3.4-1            amd64        Lens Correction library - Runtime files
ii  liblua5.4-0:amd64         5.4.4-3            amd64        Shared library for the Lua interpreter version 5.4
ii  libopenexr-3-1-30:amd64   3.1.5-4            amd64        runtime files for the OpenEXR image library
ii  libopenjp2-7:amd64        2.5.0-1            amd64        JPEG 2000 image compression/decompression library
ii  libosmgpsmap-1.0-1:amd64  1.2.0-2            amd64        GTK+ library to embed OpenStreetMap maps
ii  libpango-1.0-0:amd64      1.50.12+ds-1       amd64        Layout and rendering of internationalized text
ii  libpangocairo-1.0-0:amd64 1.50.12+ds-1       amd64        Layout and rendering of internationalized text
ii  libpng16-16:amd64         1.6.39-2           amd64        PNG library - runtime (version 1.6)
ii  libportmidi0:amd64        1:217-6.1          amd64        library for real-time MIDI input/output
ii  libpugixml1v5:amd64       1.13-0.2           amd64        Light-weight C++ XML processing library
ii  librsvg2-2:amd64          2.54.5+dfsg-1      amd64        SAX-based renderer library for SVG files (runtime)
ii  libsdl2-2.0-0:amd64       2.26.1+dfsg-1      amd64        Simple DirectMedia Layer
ii  libsecret-1-0:amd64       0.20.5-3           amd64        Secret store
ii  libsqlite3-0:amd64        3.40.1-1           amd64        SQLite 3 shared library
ii  libstdc++6:amd64          13.2.0-1           amd64        GNU Standard C++ Library v3
ii  libtiff6:amd64            4.5.0-5            amd64        Tag Image File Format (TIFF) library
ii  libwebp7:amd64            1.3.2-0.3          amd64        Lossy compression of digital photographic images
ii  libwebpmux3:amd64         1.3.2-0.3          amd64        Lossy compression of digital photographic images
ii  libx11-6:amd64            2:1.8.7-1          amd64        X11 client-side library
ii  libxml2:amd64             2.9.14+dfsg-1.1+b2 amd64        GNOME XML library
ii  libxrandr2:amd64          2:1.5.2-2+b1       amd64        X11 RandR extension library
ii  zlib1g:amd64              1:1.2.13.dfsg-1    amd64        compression library - runtime

Are you using OpenCL GPU in darktable?

No

If yes, what is the GPU card and driver?

No response

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

github-actions[bot] commented 5 months ago

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

ralfbrown commented 3 weeks ago

16908 (just merged) is likely to fix this crash. If you are able, please test with the next nightly build.