BBS: TELESC.NET.BR
Assunto: Win32 debug heap assertion after reading a cached filter filter while
De: Rob Swindell
Data: Mon, 16 Mar 2026 04:47:53 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/issues/1099#note_8601
More experimentation, I just placed this code at the beginning of `mail_server()` (though this could be any of the servers) and it reliably reproduces the crash. Playing with the `SLEEP()` duration changes to the crash point:
```
startup = (mail_startup_t*)arg;
SLEEP(200);
scfg.cache_filter_files = 1;
SAFECOPY(scfg.ctrl_dir, startup->ctrl_dir);
SAFECOPY(scfg.text_dir, "../text/");
ip_can.init(&scfg, "ip");
ip_can.listed("");
ip_can.reset();
ip_can.listed("");
ip_can.reset();
ip_can.listed("");
ip_can.reset();
ip_can.listed("");
ip_can.reset();
ip_can.listed("");
ip_can.reset();
ip_can.listed("");
ip_can.reset();
ip_can.listed("");
ip_can.reset();
ip_can.listed("");
ip_can.reset();
```
It crashes in one of the `.listed()` calls (in `strListFree()->free`), just like always.
So it doesn't appear to be caused by any code in the servers.
n
---
mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net
-----------------------------------------------------------
[Voltar]