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

Random deadlock during batch processing #54124

Closed
2 tasks done
nicogodet opened this issue Aug 7, 2023 · 3 comments
Closed
2 tasks done

Random deadlock during batch processing #54124

nicogodet opened this issue Aug 7, 2023 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@nicogodet
Copy link
Member

nicogodet commented Aug 7, 2023

What is the bug or the crash?

Since few QGIS updates, I randomly encounter a deadlock during a batch processing of hundreds of file.
No crash, no nothing

Processing just stops during algorithm initialization, I'm unable to cancel.
image

In above image, there is a deadlock and it will be stuck at this step forever.

Windows process manager shows 0 activity
image

Steps to reproduce the issue

Use a simple alg on lightweight files (like warp)

  1. Open Warp
  2. Switch to batch processing
  3. Load lot of files (100 or 200 at least)
  4. Define output files (in my case file_path(file_path( @INPUT )) || '\\temp\\' || file_name( @INPUT ) )
  5. start processing

Random part...

  1. see deadlock

Versions

3.32.1 / Master on Win10

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

@haubourg can confirm too

Of course I can provide files to reproduce but I think that it can be easily reproduced.

For sure it didn't happen with 3.10 or 3.16 as I remember processing hundreds of file like I do now without issues.

May be linked to #47769 ? gentle ping @nyalldawson

@nicogodet nicogodet added Processing Relating to QGIS Processing framework or individual Processing algorithms Bug Either a bug report, or a bug fix. Let's hope for the latter! labels Aug 7, 2023
@roya0045
Copy link
Contributor

roya0045 commented Aug 7, 2023

Duplicate of #53806

@nicogodet
Copy link
Member Author

Oh yeah
Was on holidays when it was posted, I missed it.

@nicogodet nicogodet closed this as not planned Won't fix, can't repro, duplicate, stale Aug 7, 2023
@roya0045
Copy link
Contributor

roya0045 commented Aug 7, 2023

Happens, don't worry. I hope the holidays were good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

2 participants