Object Collection Manager: causes loading new files from templates to crash #75474

Closed
opened 2020-04-07 10:33:38 +02:00 by Vyacheslav Kobozev · 7 comments

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.59

Blender Version
Broken: version: 2.83 (sub 11), branch: master, commit date: 2020-04-05 22:52, hash: blender/blender@d0d20de183

Bug Appears starting from: blender-2.83-6f4dbb661f10-windows64
Last working version, that I have: blender-2.83-a9963669f9d2-windows64

2020-04-07_11-18-03.mp4
my startup general and userpref 2.83.zip

Tested again few times. Looks lmore like conflict with userpref.

**System Information** Operating system: Windows-7-6.1.7601-SP1 64 Bits Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.59 **Blender Version** Broken: version: 2.83 (sub 11), branch: master, commit date: 2020-04-05 22:52, hash: `blender/blender@d0d20de183` Bug Appears starting from: blender-2.83-6f4dbb661f10-windows64 Last working version, that I have: blender-2.83-a9963669f9d2-windows64 [2020-04-07_11-18-03.mp4](https://archive.blender.org/developer/F8454298/2020-04-07_11-18-03.mp4) [my startup general and userpref 2.83.zip](https://archive.blender.org/developer/F8454302/my_startup_general_and_userpref_2.83.zip) Tested again few times. Looks lmore like conflict with userpref.

Added subscriber: @Vyach

Added subscriber: @Vyach

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

This is a bug in the object collection manager accessing data which has been freed.

The line of the Python code that crashes is:

addons/object_collection_manager/internals.py:380

state["exclude"].append(laycol["ptr"].exclude)


It looks like this is caused by the operators CollectionManager.__del__ function accessing collection data which has been freed when exiting Blender.

This is a bug in the object collection manager accessing data which has been freed. The line of the Python code that crashes is: `addons/object_collection_manager/internals.py:380` `state["exclude"].append(laycol["ptr"].exclude)` ---- It looks like this is caused by the operators `CollectionManager.__del__` function accessing collection data which has been freed when exiting Blender.
Campbell Barton changed title from Crash: load new files from templates to Object Collection Manager: causes loading new files from templates to crash 2020-04-07 15:04:49 +02:00
Ryan Inch was assigned by Campbell Barton 2020-04-07 15:06:28 +02:00

This issue was referenced by 4d30d104c4

This issue was referenced by 4d30d104c4c658bf422191a8b316090ab1fe1979
Member

This is caused by the destructor of my Collection Manager Operator being triggered when loading a new template. Not sure why this is happening, but thanks for letting me know @campbellbarton.

This is caused by the destructor of my Collection Manager Operator being triggered when loading a new template. Not sure why this is happening, but thanks for letting me know @campbellbarton.
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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-addons#75474
No description provided.