cnpack / cnwizards

CnPack IDE Wizards
http://www.cnpack.org
576 stars 140 forks source link

AV at FFFFFF when double clicking on different project in a project group in Delphi 11.1 #158

Open ghost opened 2 years ago

ghost commented 2 years ago

I have a group project with a number of projects in it, if I double click on a project in the Projects window with CNWizards installed I get an AV.

Also happening in Delphi 10.4.2 and think it was happening in Delphi 11.0 (I don't have any older builds on machine) CNWizards is ) 1.2.2.1079 and has been happening for quite a while

It doesn't happen every time I double click on a different project but it does happen a lot and for some projects it seems to happen less often (or at least in the test I was just doing a few minutes ago)

Attached Delphi problem report zip which contains stack trace etc

QPInfo-20220406-0000.zip

shanzhashu commented 2 years ago

Oh, from the stack trace, I can't see any relation with CnWizards except a message hook.

The problem is about IDE's todo list Window, when it draws, it meet a NIL string. Could you check is there any weird TODO items in your project or unit source?

ghost commented 2 years ago

Thanks for letting me know that and so quickly! I'll report the issue to Embarcadero as it shouldn't AV on something like that I found 4 legacy TODO's in our code that didn't have any other info and a couple of legacy ones that had colon's in the message that were being treated as TODO fields that I've cleaned up. Lots of blank TODO's in third party libraries, especially Digital Metaphor's ReportBuilder