Memory leak starting new scene #69705

Closed
opened 2019-09-10 10:38:52 +02:00 by Brecht Van Lommel · 5 comments

System Information
Operating system: Linux-4.15.0-58-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: Quadro RTX 5000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 435.08

Blender Version
Broken: version: 2.81 (sub 10), 3e81c1c

Exact steps for others to reproduce the error

  • ./blender --debug-memory
  • Ctrl + N > General
  • Exit
Error: Not freed memory blocks: 8, total unfreed memory 0.008484 MB
rna_global_pool len: 64 0x7f2556679d38
memory pool len: 48 0x7f25c5770b88
BLI_Mempool Chunk len: 2024 0x7f255660f638
rna_id len: 64 0x7f2556679db8
memory pool len: 48 0x7f25c57705d8
BLI_Mempool Chunk len: 2024 0x7f2556714038
ghash_buckets_resize len: 88 0x7f2584b0b4b8
ghash_buckets_resize len: 88 0x7f2552f9c9d8
**System Information** Operating system: Linux-4.15.0-58-generic-x86_64-with-debian-buster-sid 64 Bits Graphics card: Quadro RTX 5000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 435.08 **Blender Version** Broken: version: 2.81 (sub 10), `3e81c1c` **Exact steps for others to reproduce the error** * `./blender --debug-memory` * Ctrl + N > General * Exit ``` Error: Not freed memory blocks: 8, total unfreed memory 0.008484 MB rna_global_pool len: 64 0x7f2556679d38 memory pool len: 48 0x7f25c5770b88 BLI_Mempool Chunk len: 2024 0x7f255660f638 rna_id len: 64 0x7f2556679db8 memory pool len: 48 0x7f25c57705d8 BLI_Mempool Chunk len: 2024 0x7f2556714038 ghash_buckets_resize len: 88 0x7f2584b0b4b8 ghash_buckets_resize len: 88 0x7f2552f9c9d8 ```
Author
Owner

Added subscriber: @brecht

Added subscriber: @brecht

Added subscriber: @Josephbburg

Added subscriber: @Josephbburg

I don't see the error in Windows when I open Blender with --debug-memory. Here's my Blender Build information:

version: 2.81 (sub 10), branch: master, commit date: 2019-09-10 20:05, hash: fa12428ede9a, type: 
build date: Tue 09/10/2019, 04:16 PM
platform: Windows
binary path: 'D:\\git-blender\\2.81\\bin\\Release\\blender.exe'
build cflags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /nologo /J /Gd /MP /bigobj -openmp     
build cxxflags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /nologo /J /Gd /MP /EHsc /bigobj -openmp     
build linkflags: /MACHINE:X64  /SUBSYSTEM:CONSOLE /STACK:2097152 /INCREMENTAL:NO  /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcmrt.lib /NODEFAULTLIB:msvcurt.lib /NODEFAULTLIB:msvcrtd.lib  /ignore:4049 /ignore:4217 /ignore:4221
build system: CMake
I don't see the error in Windows when I open Blender with `--debug-memory`. Here's my Blender Build information: ``` version: 2.81 (sub 10), branch: master, commit date: 2019-09-10 20:05, hash: fa12428ede9a, type: build date: Tue 09/10/2019, 04:16 PM platform: Windows binary path: 'D:\\git-blender\\2.81\\bin\\Release\\blender.exe' build cflags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /nologo /J /Gd /MP /bigobj -openmp build cxxflags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /nologo /J /Gd /MP /EHsc /bigobj -openmp build linkflags: /MACHINE:X64 /SUBSYSTEM:CONSOLE /STACK:2097152 /INCREMENTAL:NO /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcmrt.lib /NODEFAULTLIB:msvcurt.lib /NODEFAULTLIB:msvcrtd.lib /ignore:4049 /ignore:4217 /ignore:4221 build system: CMake ```
Author
Owner

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Brecht Van Lommel self-assigned this 2019-09-29 14:13:38 +02:00
Author
Owner

This is caused by WITH_PYTHON_SAFETY, not actually an issue I think though would be good to fix that once.

This is caused by `WITH_PYTHON_SAFETY`, not actually an issue I think though would be good to fix that once.
Thomas Dinges added this to the 2.81 milestone 2023-02-08 16:46:57 +01:00
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
2 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#69705
No description provided.