|
|
On 3/16/23 20:51 Albrecht Schlosser wrote:
On 3/16/23 20:23 Rob McDonald wrote:
It took a while for me to figure out what he was doing -- it feels
much more complex than a singly linked list should be. It took even
longer to convince myself that the fix is right.
Yes, I also had a hard time to find this out. I added a lot of debug
statements in destructors to see when the first occurrence of the
double free happened exactly. ASAN was a big help, but finally you
need to understand what he was doing. I was surprised that he didn't
include pointers in the objects but used the linked list
[hit send too early, should continue with]
... as separate objects. But I didn't pursue this further, I just wanted
to fix the bug, be it in Cartesian or FLTK.
I'm glad that this fixes the issue for you, thanks for confirmation.
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/838e1e21-9395-0c78-e9d1-ff9aa508deb2%40online.de.
[ Direct Link to Message ] | |
|
| |