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.54k stars 1.13k forks source link

Multiple shoot timelapse/tethered crashes Darktable if the interval is <2s #16526

Open norru opened 5 months ago

norru commented 5 months ago

Describe the bug

DartkTable 4.6.1 on Debian Sid

Attempting to perform a timelapse with interval < 2 s causes Darktable to crash

Steps to reproduce

Result:

Expected behavior

Expecting 3 images to be captured in 3 seconds

Logfile | Screenshot | Screencast

    11.7954 [import_session] File /home/nico/Pictures/Darktable/20240327_tether_test/20240327_0001.arw exists.
    11.7955 [import_session] Testing /home/nico/Pictures/Darktable/20240327_tether_test/20240327_0002.arw.
    11.7955 [import_session] Testing /home/nico/Pictures/Darktable/20240327_tether_test/20240327_0003.arw.
    11.7955 [import_session] Testing /home/nico/Pictures/Darktable/20240327_tether_test/20240327_0004.arw.
    11.7955 [import_session] Testing /home/nico/Pictures/Darktable/20240327_tether_test/20240327_0005.arw.
    11.7955 [import_session] Using filename 20240327_0005.arw.
    35.9242 [import_session] Using filename 20240327_0006.arw.
munmap_chunk(): invalid pointer
Aborted
nico@thinkpad-x1-debian:/usr/share/darktable/rawspeed$ darktable --version
this is darktable 4.6.1
Copyright (C) 2012-2024 Johannes Hanika and other contributors.

Compile options:
  Bit depth              -> 64 bit
  Debug                  -> DISABLED
  SSE2 optimizations     -> ENABLED
  OpenMP                 -> ENABLED
  OpenCL                 -> ENABLED
  Lua                    -> ENABLED  - API version 9.2.0
  Colord                 -> ENABLED
  gPhoto2                -> ENABLED
  GMIC                   -> DISABLED - Compressed LUTs are NOT supported
  GraphicsMagick         -> ENABLED
  ImageMagick            -> DISABLED
  libavif                -> ENABLED
  libheif                -> ENABLED
  libjxl                 -> ENABLED
  OpenJPEG               -> ENABLED
  OpenEXR                -> ENABLED
  WebP                   -> ENABLED

See https://www.darktable.org/resources/ for detailed documentation.
See https://github.com/darktable-org/darktable/issues/new/choose to report bugs.
Lua support enabled

Commit

No response

Where did you obtain darktable from?

distro packaging

darktable version

4.6.1

What OS are you using?

Linux

What is the version of your OS?

Debian SID, kernel Linux thinkpad-x1-debian 6.7.7-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.7-1 (2024-03-02) x86_64 GNU/Linux

Describe your system?

Lenovo Carbon X1 Gen 11 14" laptop

Are you using OpenCL GPU in darktable?

None

If yes, what is the GPU card and driver?

Intel Corporation Raptor Lake-P [Iris Xe Graphics] (rev 04)

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 3 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.