Maniphest T54371

Memory Leak closing from menu
Closed, Resolved

Assigned To
Julian Eisel (Severin)
Authored By
Antonio Vazquez (antoniov)
Mar 20 2018, 11:48 AM
Tags
  • BF Blender: 2.8
Subscribers
Antonio Vazquez (antoniov)
Clément Foucault (fclem)
Dalai Felinto (dfelinto)
Julian Eisel (Severin)
Vuk Gardašević (lijenstina)

Description

Windows 64 bits - Blender 2.8 branch - Compiled with last source code at 11:45 Today

To reproduce:

  1. Start from cmd with factory defaults.
  2. Close Blender using Quit menu option
  3. See a memory leak of huge ammount (the number looks totally wrong)

Try again:

  1. Start from cmd with factory defaults.
  2. Close Blender using window top right close icon (X)
  3. Blender quits with no memory leak

Log of the command window: P639

Trace P640

Related Objects

Event Timeline

Antonio Vazquez (antoniov) created this task.Mar 20 2018, 11:48 AM
Antonio Vazquez (antoniov) added a subscriber: Dalai Felinto (dfelinto).
Antonio Vazquez (antoniov) updated the task description.Mar 20 2018, 11:52 AM
Antonio Vazquez (antoniov) updated the task description.Mar 20 2018, 12:01 PM
Antonio Vazquez (antoniov) added a comment.Mar 20 2018, 12:07 PM

This is the window that you can see when close using Quit menu option.

Vuk Gardašević (lijenstina) added a subscriber: Vuk Gardašević (lijenstina).EditedMar 20 2018, 2:00 PM

Is this similar to T48027?

Edit: After some testing the issue is still present in 2.80 build 04b8b1a167 on Linux.
Changing the INFO_MT_file entry to use layout.operator_context = 'INVOKE_AREA' seems to avoid the issue like it does for 2.79 in the previous task.

Julian Eisel (Severin) added subscribers: Clément Foucault (fclem), Julian Eisel (Severin).EditedMar 20 2018, 3:17 PM

Doubt they are related, this issue happens within the draw-manager.

Had a ASan crash about this, rB8a9be95cfb16 should fix it though. @Clément Foucault (fclem) would have been easy to catch this if you compiled with ASan ;P

Assume this is fixed now.

Julian Eisel (Severin) changed the task status from Unknown Status to Resolved.Mar 20 2018, 3:17 PM
Julian Eisel (Severin) claimed this task.