Meanwhile I also found out that this library adds more than one FLTK
widget to its parent group (or window) - which may cause the double
free under certain circumstances - and I could indeed make the
provided example program crash with double free if I only delete the
main window after `Fl::run()`.
This is an example I can work with, and I'll investigate this issue.
Please don't expect quick results though, today my time is very much
limited. I hope I can find something more tomorrow.
Current status of investigation:
1. the modified Cartesian example crashes with double free when
built with FLTK 1.4.0 (git)
2. it does not crash with FLTK 1.3.x (not sure which git commit
exactly), i.e. it exits silently
Note that this doesn't mean (yet) that the program doesn't *attempt*
a double free in FLTK 1.3. So far it only means that this is *not
diagnosed* by my current build of 1.3.x. I'll need to use a
memory checker to verify this and I need more time to debug it.
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.