From: Dima K. <di...@se...> - 2025-06-27 18:16:20
|
Hi. Thanks for looking. I just dug into it a bit also, and it started to look familiar. We already looked into this sort of thing here: https://sourceforge.net/p/pyfltk/mailman/pyfltk-user/thread/1014543129.14367.1712509274536%40bluewin.ch/#msg58757564 The punchline is that swig has a bug: it should do most of its deallocation in tp_finalize, but instead it puts everything into tp_destroy. This makes it possible for stuff to be cleaned-up out of order. In THIS case it looks like the derived Fl_Window type in Fl_Gl_Image_Widget is being cleaned up twice, or something of that nature. I don't know if this swig problem is THE problem here, but it's adjacent. Did either of you happen to talk to the swig folks about it the last time around? Thanks |