Skip to content
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

Another infinite loop #18396

Open
1 task done
kofa73 opened this issue Feb 10, 2025 · 0 comments
Open
1 task done

Another infinite loop #18396

kofa73 opened this issue Feb 10, 2025 · 0 comments

Comments

@kofa73
Copy link
Contributor

kofa73 commented Feb 10, 2025

Is there an existing issue for this?

  • I checked and did not find my issue in the already reported ones

Describe the bug

I was trying to adjust the feathering of a drawn mask when I found the UI was no longer responsive. At the console, a huge amount of text was scrolling, Ctrl+C and killall darktable did not help, I had to resort to kill -9.

I removed the iop_validate_params from the logs (there were well over 700 MB worth of that), hope the rest is enough.
console-without-iop_validate_params.zip

Edit: I've managed to extract logs from the beginning of the loop. There's a pixelpipe run that ends at timestamp 941.9052, and the infinite one starts at 949.6302. Here are 10k lines:
shorter.zip

I've included 10k lines because at first it appears the following sequence is repeated forever, but it's not, just many times:

   953.9238 [masks dynbuf 'path intersections'] freed (was 0x56a832a69040)
   953.9238 [masks intbuf 'path gap_fill_segs'] freed (was 0x56a83494d5c0)
   953.9398 [masks dynbuf 'path dpoints'] with initial size 1000000 (is 0x7920bc200040)
   953.9399 [masks dynbuf 'path dborder'] with initial size 1000000 (is 0x79207c400040)
   953.9399 [masks dynbuf 'path intersections'] with initial size 50 (is 0x56a832a69040)
   953.9399 [masks intbuf 'path gap_fill_segs'] with initial size 50 (is 0x56a83491ce00)
   953.9399 [masks ] path_points init took 0.0000 sec

This ends at 957.8950, and processing continues, but eventually processing just goes on and on:

   957.8950 [masks ] path_points end took 0.0002 sec
   957.8950 [masks dynbuf 'path intersections'] freed (was 0x56a832a69040)
   957.8950 [masks intbuf 'path gap_fill_segs'] freed (was 0x56a834811100)
   957.9040 [histogram] took 0.003 secs (0.002 CPU) scope draw
   957.9427 [masks dynbuf 'path dpoints'] with initial size 1000000 (is 0x7920bc200040)
   957.9427 [dt_dev_process_image_job] loading image. took 0.000 secs (0.000 CPU)
   957.9427 dev_pixelpipe_change          [full]                                        top changed, synch all, 
   957.9428 synch all module defaults     [full]                                        
   957.9427 [masks dynbuf 'path dborder'] with initial size 1000000 (is 0x79207c400040)
   957.9428 [masks dynbuf 'path intersections'] with initial size 60 (is 0x56a8348ac040)
   957.9428 [masks intbuf 'path gap_fill_segs'] with initial size 60 (is 0x56a8349c8e80)
   957.9427 [dt_dev_process_image_job] loading image. took 0.000 secs (0.000 CPU)
   957.9428 [masks path #4] path_points init took 0.0001 sec
   957.9432 [masks dynbuf 'path dpoints'] freed (was (nil))
   957.9432 [masks dynbuf 'path dborder'] freed (was (nil))
   957.9432 [masks path #4] path_points point recurs 0.0005 sec
   957.9433 [masks dynbuf 'path extra'] with initial size 100000 (is 0x7921532a8040)
   957.9434 [masks dynbuf 'path extra'] freed (was 0x7921532a8040)
   957.9434 [masks path #4] path_points self-intersect took 0.0002 sec
   958.0092 [commit color calibration]  temp=4591  xy=0.3588 0.3686 - XYZ=0.9736 1.0000 0.7397 - LMS=1.0028 0.9947 0.7520  DT_ILLUMINANT_D

@ralfbrown , perhaps?

Steps to reproduce

I don't know how to reproduce it. It did not occur immediately, and I applied a number of drawn masks.
I can try to reproduce this at some other time, if necessary.

Expected behavior

No response

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.1.0+339~g299da67658

What OS are you using?

Linux

What is the version of your OS?

Ubuntu 24.10

Describe your system

No response

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant