-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when exporting (Windows) #15876
Comments
I'm getting no crash with size setting 0 x 800. |
Probably a memory issue. The HQ export needs lot of memory. |
Last lines in darktable.log :
Magick: caught exception 0xC0000005 "Access violation"... |
I cannot reproduce. I built darktable 4.5.0+1448~g857a694abb on Win11. I tested with OpenCL and CPU only. I noticed that your build says dirty. (4.5.0+1435~g6d4cfccf32-dirty) Can you reproduce using the nightly or bills weekly? |
It could be there is still a module doing memory requirement calculations wrong. Please share an xmp with raw to be checked. |
RAF here. |
Additional info: I have build with setting USE_GMIC = NO. |
Using the same build darktable 4.5.0+1448~g857a694abb on Win11. I'm able to reproduce using the RAF file + xmp and CPU path. https://pastebin.com/L7S22mwe I modified the xmp to rule out other modules and tested with OpenCL and I can reproduce too. Output using verbose has some more information. The issue is in the pixel interpolator scaling. I tried change from lanczos3 to bicubic or bilinear, but no effect.
|
Hanno, I tried to reproduce on Fedora 39 KDE (4.5.0~git1459.9491da2c). I cant. edit:
|
Doing bisect on Windows takes a long time to build. But I had some old install files saved. I get the issue with:
I noticed that for the issue to happen,
|
Is that with up scaling enabled too? |
Upscale is set to no. |
Without upscaling we shouldn't have a larger output- than input region. |
I had some free time today to further explore this. I'm mostly interested in learning more about this works. So far this is what I discover:
The part I dont understand is why do the scaling down affect this module? It's my understanding that the downscale scale happens at the end of the pipe when the resampling is selected. |
@gi-man thanks for your testing. Indeed with high quality resampling being ON we will downscale at the very end of the pipe. But for some reason 1) roi_in & roi_out differ in demosaic and there is some scaling and 2) there seems to be something wrong with |
I think i got it, basically finalscale is "overexpanding". Could you test #15885 ? |
I saw a similar warning yesterday. These are executable files that CMake creates to test the presence of certain features on the platform. Therefore, they cannot contain a virus in any way. This is a false positive. |
Never used windows - don't know what that means and those warnings look just silly ... |
Ok, I have added darktable to the whitelist. |
Describe the bug
darktable crashes when exporting an image with settings maxheight 1080, use-hq-reampling yes.
Steps to reproduce
Expected behavior
no crash should occur
Logfile | Screenshot | Screencast
No response
Commit
No response
Where did you obtain darktable from?
self compiled
darktable version
4.5.0+1435~g6d4cfccf32-dirty
What OS are you using?
Windows
What is the version of your OS?
Windows 10 64 bit
Describe your system?
The installer was build using MSYS.
Are you using OpenCL GPU in darktable?
None
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
The text was updated successfully, but these errors were encountered: