Blender 3.0 Motion tracking footage just crashes blender #93935

Closed
opened 2021-12-10 10:49:48 +01:00 by Ahmad Naveed · 33 comments

Having troubles tracking footage inside of the latest official blender, tracking footage works for a few seconds before the program just closes, footage works just fine in Blender 2.93.

Footage Information
35.2MB, 3840x2160 29.97 FPS, mp4

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.09

Blender Version
Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: f1cca30557
Worked: (newest version of Blender that worked as expected)

Short description of error
[Please fill out a short description of the error here]

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

Having troubles tracking footage inside of the latest official blender, tracking footage works for a few seconds before the program just closes, footage works just fine in Blender 2.93. **Footage Information** 35.2MB, 3840x2160 29.97 FPS, mp4 **System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.09 **Blender Version** Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: `f1cca30557` Worked: (newest version of Blender that worked as expected) **Short description of error** [Please fill out a short description of the error here] **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] [Based on the default startup or an attached .blend file (as simple as possible)]
Author

Added subscriber: @Ahmadisshark

Added subscriber: @Ahmadisshark

#94114 was marked as duplicate of this issue

#94114 was marked as duplicate of this issue

#94312 was marked as duplicate of this issue

#94312 was marked as duplicate of this issue

#94107 was marked as duplicate of this issue

#94107 was marked as duplicate of this issue

#94099 was marked as duplicate of this issue

#94099 was marked as duplicate of this issue

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Please upload footage that causes crash.

Please upload footage that causes crash.

Added subscriber: @AndyThirtover

Added subscriber: @AndyThirtover

I can confirm that this happens very consistently with 4K footage and will also happen with HD. I've tried both H264 and H265 encoding.

ForTracking.mov

This does track, but fails shortly afterwards in moving through the timeline.

Regards

Andy

I can confirm that this happens very consistently with 4K footage and will also happen with HD. I've tried both H264 and H265 encoding. [ForTracking.mov](https://archive.blender.org/developer/F12742319/ForTracking.mov) This does track, but fails shortly afterwards in moving through the timeline. Regards Andy

Added subscriber: @GraemeBull

Added subscriber: @GraemeBull

I can confirm this happens very consistently. Sometimes it will track through, but then when you set the tracking scene it crashes, the VFX area for motion tracking seems to have had a change to it that causes unending crashes now though.test-for-tracking-v1.mp4
Running windows 10 blender 3.0 with RTX 2060

I can confirm this happens very consistently. Sometimes it will track through, but then when you set the tracking scene it crashes, the VFX area for motion tracking seems to have had a change to it that causes unending crashes now though.[test-for-tracking-v1.mp4](https://archive.blender.org/developer/F12744594/test-for-tracking-v1.mp4) Running windows 10 blender 3.0 with RTX 2060
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Cannot reproduce here

**System Information**
Operating system: Linux-5.13.0-0.rc6.45.fc35.x86_64-x86_64-with-glibc2.34.9000 64 Bits
Graphics card: NVIDIA GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 495.44
version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: `rBf1cca3055776`

Please open Blender's installation directory and double click on the blender_debug_gpu.cmd. This will start Blender in debug mode and create log files. Try to reproduce the error again. Once it crashes or you close Blender manually the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in C:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt (or simply type %TEMP% into the path bar of the Windows Explorer).2019_12_04_upload_icon_developer_blender_org.png

Cannot reproduce here ``` **System Information** Operating system: Linux-5.13.0-0.rc6.45.fc35.x86_64-x86_64-with-glibc2.34.9000 64 Bits Graphics card: NVIDIA GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 495.44 version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: `rBf1cca3055776` ``` Please open Blender's installation directory and double click on the `blender_debug_gpu.cmd`. This will start Blender in debug mode and create log files. Try to reproduce the error again. Once it crashes or you close Blender manually the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in `C:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt` (or simply type `%TEMP%` into the path bar of the Windows Explorer).![2019_12_04_upload_icon_developer_blender_org.png](https://archive.blender.org/developer/F8190038/2019_12_04_upload_icon_developer_blender_org.png)

blender.crash.txt There's the crash report, explorer did not open with the two files showing after the crash though. Where do I find those files?
I can say for sure that this is a very repeatable problem. In fact, it has never succeeded.

[blender.crash.txt](https://archive.blender.org/developer/F12748745/blender.crash.txt) There's the crash report, explorer did not open with the two files showing after the crash though. Where do I find those files? I can say for sure that this is a very repeatable problem. In fact, it has never succeeded.

Sorry I didn't put in steps to reproduce. Here they are:
Open blender, go to VFX->motion tracking layout
Drag in footage, set scene frames and prefetch
Zoom out on the timeline to select the middle of the clip and then detect features
Set tracking to affine and prev frame
Click track forward to track the second half of the clip first, when done (if it actually works and doesn't crash there) click back in the middle and track back. Somewhere on the tracking it will crash. If by chance it doesn't (which has only once made it through in about 6 times or so) then set up the scene. I've never made it farther than that

Sorry I didn't put in steps to reproduce. Here they are: Open blender, go to VFX->motion tracking layout Drag in footage, set scene frames and prefetch Zoom out on the timeline to select the middle of the clip and then detect features Set tracking to affine and prev frame Click track forward to track the second half of the clip first, when done (if it actually works and doesn't crash there) click back in the middle and track back. Somewhere on the tracking it will crash. If by chance it doesn't (which has only once made it through in about 6 times or so) then set up the scene. I've never made it farther than that

blender_system_info.txt found the system one but the debug one is half a gig... how do I get that to be a smaller file? delete it and have blender start from scratch?

[blender_system_info.txt](https://archive.blender.org/developer/F12748795/blender_system_info.txt) found the system one but the debug one is half a gig... how do I get that to be a smaller file? delete it and have blender start from scratch?

On MacOSX:

Andy-iMac-Pro:MacOS andy$ ./Blender
Read prefs: /Users/andy/Library/Application Support/Blender/3.0/config/userpref.blend
Exception in module register(): /Users/andy/Library/Application Support/Blender/3.0/scripts/addons/DECALmachine/init.py
Traceback (most recent call last):

File "/Applications/Blender.app/Contents/Resources/3.0/scripts/modules/addon_utils.py", line 387, in enable
  mod.register()
File "/Users/andy/Library/Application Support/Blender/3.0/scripts/addons/DECALmachine/__init__.py", line 122, in register
  bpy.types.TOPBAR_MT_app_system.append(draw_debug)

AttributeError: 'module' object has no attribute 'TOPBAR_MT_app_system'
botaniq is not installed in one of the default locations, please make sure the path is set in botaniq addon preferences!
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '0' matches no enum in 'HG_SETTINGS', '', 'pose_sub'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '0' matches no enum in 'HG_SETTINGS', '', 'outfit_sub'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '0' matches no enum in 'HG_SETTINGS', '', 'hair_sub'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '0' matches no enum in 'HG_SETTINGS', '', 'face_hair_sub'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '0' matches no enum in 'HG_SETTINGS', '', 'expressions_sub'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '0' matches no enum in 'HG_SETTINGS', '', 'footwear_sub'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '0' matches no enum in 'HG_SETTINGS', '', 'patterns_sub'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '0' matches no enum in 'HG_SETTINGS', '', 'texture_library'
HG_INFO: Activating HumGen
Writing: /var/folders/n7/9zddf8mn2rlcmy0ffcpdkbsh0000gn/T/blender.crash.txt
Segmentation fault: 11

and here is the log:

blender.crash.txt

the instructions by Graeme are exactly what I did!

Regards

Andy

On MacOSX: Andy-iMac-Pro:MacOS andy$ ./Blender Read prefs: /Users/andy/Library/Application Support/Blender/3.0/config/userpref.blend Exception in module register(): /Users/andy/Library/Application Support/Blender/3.0/scripts/addons/DECALmachine/__init__.py Traceback (most recent call last): ``` File "/Applications/Blender.app/Contents/Resources/3.0/scripts/modules/addon_utils.py", line 387, in enable mod.register() File "/Users/andy/Library/Application Support/Blender/3.0/scripts/addons/DECALmachine/__init__.py", line 122, in register bpy.types.TOPBAR_MT_app_system.append(draw_debug) ``` AttributeError: 'module' object has no attribute 'TOPBAR_MT_app_system' botaniq is not installed in one of the default locations, please make sure the path is set in botaniq addon preferences! WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '0' matches no enum in 'HG_SETTINGS', '', 'pose_sub' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '0' matches no enum in 'HG_SETTINGS', '', 'outfit_sub' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '0' matches no enum in 'HG_SETTINGS', '', 'hair_sub' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '0' matches no enum in 'HG_SETTINGS', '', 'face_hair_sub' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '0' matches no enum in 'HG_SETTINGS', '', 'expressions_sub' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '0' matches no enum in 'HG_SETTINGS', '', 'footwear_sub' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '0' matches no enum in 'HG_SETTINGS', '', 'patterns_sub' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1352 pyrna_enum_to_py: current value '0' matches no enum in 'HG_SETTINGS', '', 'texture_library' HG_INFO: Activating HumGen Writing: /var/folders/n7/9zddf8mn2rlcmy0ffcpdkbsh0000gn/T/blender.crash.txt Segmentation fault: 11 and here is the log: [blender.crash.txt](https://archive.blender.org/developer/F12749900/blender.crash.txt) the instructions by Graeme are exactly what I did! Regards Andy
Member

Added subscribers: @deadpin, @EAW

Added subscribers: @deadpin, @EAW
Member

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Member

Both crash stacktraces point to moviecache_valfree.

Marking as confirmed due to this and the other reports on the tracker involving crashing and moviefiles.

@deadpin it looks like you got bit by the old “commit into release, merge release into master switcharoo” 😀

As far as I can tell, Your fixes were only merged into master, and not the 3.0 release branch.

@lichtwerk if I am correct, then the the following two fixes will need to be added to the 3.0 corrective release
7061d1e39f and
D13122: Cleanup: Correct order of guard and lock in moviecache_valfree

Both crash stacktraces point to `moviecache_valfree`. Marking as confirmed due to this and the other reports on the tracker involving crashing and moviefiles. @deadpin it looks like you got bit by the old “commit into release, merge release into master switcharoo” 😀 As far as I can tell, Your fixes were only merged into master, and not the 3.0 release branch. @lichtwerk if I am correct, then the the following two fixes will need to be added to the 3.0 corrective release 7061d1e39f and [D13122: Cleanup: Correct order of guard and lock in moviecache_valfree](https://archive.blender.org/developer/D13122)
Member

Added subscriber: @h.disabuse

Added subscriber: @h.disabuse
Member

Added subscriber: @John2022

Added subscriber: @John2022

I can confirm that 3.1 alpha does not crash and that build is off of the master. I hope you guys can update 3.0 pretty soon!

I can confirm that 3.1 alpha does not crash and that build is off of the master. I hope you guys can update 3.0 pretty soon!
Member

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'
Member

I have added the tow fixes to the list #93479 (3.0 Potential candidates for corrective releases).

So to sum up: 3.1 [that is master] is fine in that regards (workaround advice is to use that for tracking), 3.0 release has this issue, should be resolved by a potential (but rather likely) 3.0.1 corrective release.

No need to have a special report open for this though, will close this one, please keep an eye on release announcements for 3.0.1.

Thx everyone for investigations!

I have added the tow fixes to the list #93479 (3.0 Potential candidates for corrective releases). So to sum up: 3.1 [that is master] is fine in that regards (workaround advice is to use that for tracking), 3.0 release has this issue, should be resolved by a potential (but rather likely) 3.0.1 corrective release. No need to have a special report open for this though, will close this one, please keep an eye on release announcements for 3.0.1. Thx everyone for investigations!

Added subscriber: @peter-32

Added subscriber: @peter-32
Member

Added subscribers: @shanedk, @KD6-3.7

Added subscribers: @shanedk, @KD6-3.7
Member

Added subscriber: @Lunddesigns

Added subscriber: @Lunddesigns

Added subscriber: @NIKIFOROS-BAFAS

Added subscriber: @NIKIFOROS-BAFAS

Yep, Blender 3.0 crashes when tracking a footage but only after I have "Setup Tracking Scene". Then, if I move the timeline back and forth a few times it crashes. I reproduced the same steps even with the KCycles version. Excactly the same crash.
So, I did some tests to figure out any possible reasons and here is what I discovered.

FHD resolution, MP4 H264
24fps: Crashes
25fps: Crashes
30fps: No Crash
60fps: Crashes

4K resolution, MP4 H264
24fps: Crashes
25fps: Crashes
30fps: Crashes
60fps: Crashes

It looks like blender 3.0 cannot handle specific fps and resolution. At least this is happening on my PC. To help you more my rig setup is:
OS: WINDOWS 1O PRO 64bit (updated to latest firmware)
GPU: MSI NVIDIA GEFORCE RTX3090 24GB (drivers are all updated to latest firmware)
RAM: 128GB DDR4 3200MHz
CPU: AMD Ryzen Threadripper 3960X 24-core

And it crashes.

Yep, Blender 3.0 crashes when tracking a footage but only after I have "Setup Tracking Scene". Then, if I move the timeline back and forth a few times it crashes. I reproduced the same steps even with the KCycles version. Excactly the same crash. So, I did some tests to figure out any possible reasons and here is what I discovered. **FHD resolution, MP4 H264** 24fps: Crashes 25fps: Crashes **30fps: No Crash** 60fps: Crashes **4K resolution, MP4 H264** 24fps: Crashes 25fps: Crashes 30fps: Crashes 60fps: Crashes It looks like blender 3.0 cannot handle specific fps and resolution. At least this is happening on my PC. To help you more my rig setup is: OS: WINDOWS 1O PRO 64bit (updated to latest firmware) GPU: MSI NVIDIA GEFORCE RTX3090 24GB (drivers are all updated to latest firmware) RAM: 128GB DDR4 3200MHz CPU: AMD Ryzen Threadripper 3960X 24-core And it crashes.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
9 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#93935
No description provided.