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áš
Today I got some new info from our customer. They are running our app using Terminal Service. It is installed on a server and users run it from there. Out of 10 users, there are 3 of them who experience crashes. They got crashes repeatedly on the same places, for example when sending mail using MAPI. We have no info on users' machines (so far). When we connect to their server and run the app, it is ok.
I have some logs from event viewer. I will post it in a new support ticket, as Chris suggested.
Regards,
Tomáš