darktable icon indicating copy to clipboard operation
darktable copied to clipboard

darktable hangs on image previously processed with no error

Open kofa73 opened this issue 1 year ago • 2 comments

Describe the bug

A previously (a long time ago) developed and exported JPG now causes darktable to hang (even if config is removed). With/without OpenCL. I don't see errors reported.

I processed and exported the image years ago, on 30 September 2021, without problems.

Steps to reproduce

  1. Get the files from https://tech.kovacs-telekes.org/files/2024-05-10-dt-hangs/
  2. Run darktable --disable-opencl IMG_20210826_165631.jpg

Expected behavior

dt should not hang

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

self compiled

darktable version

4.7.0+1157~g223bcf62a7

What OS are you using?

Linux

What is the version of your OS?

Ubuntu 23.10

Describe your system?

No response

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

NVidia 1060 with 6 GB, driver 535.171.04

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

freezes with/without --disable-opencl

kofa73 avatar May 10 '24 05:05 kofa73

Fresh installation of dt 4.7.0+1116~g36354ab986, Ubuntu 22.04, OpenCL enabled or disabled Can reproduce if I use your jpg in combination with the xmp sidecar. The jpg alone loads smoothly.

This is the log of -d all, starting the import at 31.9585 sec, stopped with CTRL-C in terminal at 48.3144 sec: dt-log.zip

pehar1 avatar May 10 '24 07:05 pehar1

Problem seems to be here:

    11,0632 [iop_validate_params] `ashift' failed for type "float", field: crop_factor
    11,0632 [iop_validate_params] `ashift' failed for type "float", field: aspect
    11,0632 [iop_validate_params] `ashift' failed for type "dt_iop_ashift_crop_t", field: cropmode
    11,0632 [iop_validate_params] `ashift' failed for type "dt_iop_ashift_params_t"
    11,0632 commit params                 [full]           ashift                 piece hash=a1d01bcbcf6c20f6, 
    11,0632 synch all modules done        [full]                                  defaults 0,0220s, history 0,0051s
    11,0633 modify roi OUT                [full]           ashift                 (   0/   0) 1600x1394 scale=1,0000 --> (   0/   0)    0x   0 scale=1,0000 

we should not have "nothing" (1x1) as image size here.

jenshannoschwalm avatar May 10 '24 08:05 jenshannoschwalm