You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version: 1.11.1, 2.0.0
Operating System: Windows 10
My Issue/Question
Trying to delete a custom series causes my application to crash. I see this issue has been raised in #1864 and the ticket has been closed but the problem is still present.
To Reproduce
Steps to reproduce the behavior:
Create a window
Create a plot
Add a custom series to the plot
Attempt to delete the custom series or the parent window
Expected behavior
The parent window and/or the custom series should be deleted
Standalone, minimal, complete and verifiable example
When the series widget is deleted, the mvAppItem object that item is pointing to is deleted as well, and the code above tries to access memory that has been freed.
I believe it's a common issue in the current release of DPG, where many widgets submit their callbacks by calling mvAddCallback via mvSubmitCallback (just like the custom series widget does). Ideally callback scheduling needs a certain amount of rework to remove this extra mvSubmitCallback call and to provide safe memory referencing. I've tried to fix this in my local build but so far still have one race condition to resolve; that's why I prefer not to publish the fix yet.
Version of Dear PyGui
Version: 1.11.1, 2.0.0
Operating System: Windows 10
My Issue/Question
Trying to delete a custom series causes my application to crash. I see this issue has been raised in #1864 and the ticket has been closed but the problem is still present.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The parent window and/or the custom series should be deleted
Standalone, minimal, complete and verifiable example
This is basically the same example used in #1864
The text was updated successfully, but these errors were encountered: