Bug 509622 - Mask plugin constantly crashing
Summary: Mask plugin constantly crashing
Status: REPORTED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (other bugs)
Version First Reported In: 25.08.0
Platform: Microsoft Windows Other
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-17 22:49 UTC by Renato Dias
Modified: 2025-09-19 00:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Dias 2025-09-17 22:49:50 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Mask plugin crashing after 2 or so minutes after creating a mask. Log says dependencies don't exist, but the mentioned files ARE in the specified folder.

STEPS TO REPRODUCE
1. Add a mask and wait
2. 
3. 

OBSERVED RESULT
A orange window pops up at the bottom of the effects panel, saying "Mask plugin crashed". Show log button only displays at the first time it happens.

EXPECTED RESULT
Mask should work

SOFTWARE/OS VERSIONS
Windows: 11: 
KDEnlive: 25.08.0
KDE Frameworks: 6.17

ADDITIONAL INFORMATION
Traceback (most recent call last):
  File "C:\Apps\KDEnlive\kdenlive-25.08.0_standalone\bin\data\kdenlive\scripts\automask\sam-objectmask.py", line 9, in <module>
    import torch
  File "C:\Users\Renato\AppData\Local\kdenlive\venv-sam\Lib\site-packages\torch\__init__.py", line 278, in <module>
    _load_dll_libraries()
    ~~~~~~~~~~~~~~~~~~~^^
  File "C:\Users\Renato\AppData\Local\kdenlive\venv-sam\Lib\site-packages\torch\__init__.py", line 274, in _load_dll_libraries
    raise err
OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\Renato\AppData\Local\kdenlive\venv-sam\Lib\site-packages\torch\lib\caffe2_nvrtc.dll" or one of its dependencies.