Hello,
I am still stuggling with a PB2022 app random crashes. I had the same issues with PB2021 and created a ticket.
I thought that with PB2022, being W11 compliant, these crashes won't reoccur. But it is still the same. It happens in different places all over the app. Very rarely it happens on my developer machine.
Errors we are getting:
pbdwe.dll
error code 0xc0000005 (Access violation)
pbshr.dll
error code 0x80000003 (A breakpoint has been reached)
comctl32.dll
error code 0xc000041d (An unhandled exception was encountered during a user callback)
What have I tried:
install all the dlls using Powerbuilder Runtime Packager
settings in the pb.ini:
[Data Window]
Accessibility=0
[DataStore Behavior]
UseHwnd=no
When the app starts to crash, it crashes every time on the same place. The only thing that helps (temporarily) is a restart. But that's not what we can advise to our customers.
It looks like these are memory related issues. We need some solution ASAP. Is there some sort of logging we can do to collect more info? Anything helpful will be appreciated.
The same app runs nicely using PB 12.1.
Regards,
Tomáš