1. Igor Perisic
  2. PowerBuilder
  3. Monday, 28 November 2022 13:26 PM UTC

Hi everyone, 

I am still trying to read and understand crash dumps that are created when PowerBuilder throws an error. I compared a crash dump file from C++ with PowerBuilders. In c++ it shows exactly what error happened, in which function and it even provides the sample faulting source code with the highlighted line. PowerBuilder doesn't show any of that. I am wondering if it's because of PBVM. 

C++

PowerBuilder

 

You can see the differences between the two, but PowerBuilder fails to include the function name and also fails to include the crashed code in its logs.  So I am trying to understand how PowerBuilder works, but to my understanding PBVM is PowerBuilder DLL implementation for Virtual Memory, hence the "pbvm!" lines. This PBVM might also be the reason why my offests are so high, like 0x23844, these are usually supposed to be less than x200. I'm thinking it's just not able to make a proper crash log c++ because of PBVM. I've asked similar questions about my crash log files but I am trying my best to figure out how to read them properly. Does anyone understand why the two crash dumps are different, is PBVM the culprit of the differences and I am just out of luck? Can I get the PB crash log to display information like a crash log from C++.

 

Thanks for your help! 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 28 November 2022 13:33 PM UTC
  2. PowerBuilder
  3. # 1

Hi Igor;

   Yes, the PBVM is running the execution and thus it's a whole different ball game.You need the PBVM source code in order to decider what's going on.

Regards ... Chris 

Comment
  1. Igor Perisic
  2. Tuesday, 29 November 2022 20:48 PM UTC
Using PBVM source code to decided what's going on seems like it might be out of my reach. How am I able to achieve that? I tried compiling in Machine Code in hopes of getting different results but had no luck with that.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Tuesday, 29 November 2022 21:20 PM UTC
It's the same because the PBVM is still in control of the PB App's execution - whether it is a P-Code or an M-Code compiled App.
  1. Helpful 1
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.