I'm not really an expert on IntraWeb, I'm not sure why it's crashing. Have you tried asking IntraWeb support about it, seeing that it's their code which crashes? A call to UserSession seems innocent enough. Maybe they don't like multi-threading?
Make sure your Madshi version matches the IW version. They "hack" into
IW in a binary way and it breaks from time to time.
We have offered to work with them to put in official hooks for them, but
I've never heard back from them. Maybe its in their spam folder, or
maybe they arent interested. Not sure.
If you have contact with them, please alert them that our offer is still
open so they don't have to hack in in a brittle manner.
I've seen your reply, but I'm currently busy on a project for a high-priority customer. Might get to the IntraWeb problem early next week.
FWIW, I'm somewhat doubtful that the way madExcept hooks into the IW exceptions is at fault for this problem. It's possible, but then why does the crash occur in the moment when accessing "UserSession"?
Can you reproduce this problem with a small test project, ideally one that doesn't require a webserver with ISAPI report or things like that. So IW standalone somehow?
Can you reproduce this problem with a small test project, ideally one that doesn't require a webserver with ISAPI report or things like that. So IW standalone somehow?