Page MenuHome

Not freed memory blocks at exit
Closed, InvalidPublic

Description

an error appears when you exit the program via clicking on the menu File->Quit

Error: Not freed memory blocks: 2

tested on:
blender-2.62 linux 64bit
blender-2.62 windows XP 32bit
blender svn build r44275 linux 62bit

Details

Type
Bug

Event Timeline

same on osx 10.7.2:

Error: Not freed memory blocks: 2
IDProperty group len: 128 0x10de67908
uiAfterFunc len: 720 0x10de65028

I can confirm the issue on linux64.

There are no leaks(along with no messages) when quitting with Ctrl-Q

Can’t confirm this (also using linux64)… Rather strange!

It should be possible to redo this on any platform, but you have to use the File menu. It's a stupid issue in the user interface code, the operator quits Blender and the UI doesn't get the chance to free some temporarily allocated data. Totally harmless, but tricky to fix..

Well, it's annoying but totally harmless. Wouldn't consider this is a real bug.

$ blender diamond2.blend
read blend: /home/user/3d/diamond/diamond2.blend
Error: Not freed memory blocks: 7

Blender quit

I open a blend file with blender, then in python console I just type bpy.ops.wm.quit_blender(). I perform no other operation. But blender quits with Error: Not freed memory blocks: 7. I'm on 64-bits Linux.

$ uname -a
Linux pc31 3.5.0-49-generic #74~precise1-Ubuntu SMP Fri May 2 21:32:31 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ blender --version
Blender 2.70 (sub 4)
	build date: 2014-04-25
	build time: 08:02:19
	build commit date: 2014-04-25
	build commit time: 01:32
	build hash: 3b75d6c
	build platform: Linux
	build type: RelWithDebInfo
	build c flags:  -Wall -Wcast-align -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=return-type -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wlogical-op -Wundef -Winit-self -Wnonnull -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Wno-error=unused-but-set-variable -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security  -fopenmp  -msse2  -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing
	build c++ flags:  -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Wundef -Wmissing-declarations -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security  -D__STDC_CONSTANT_MACROS -fopenmp  -msse2  -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing
	build link flags:  -Wl,--version-script=/build/buildd/blender-2.70+git201404250132.3b75d6c/source/creator/blender.map -pthread
	build system: CMake

Please always attach .blend file which demonstrates the issue. And it's usually more efficient to open new report than keeping poking around in old ones.