1. Riccardo Pasqualetti
  2. PowerServer
  3. Thursday, 16 November 2023 08:07 AM UTC

My application start without problems from IDE in debug.

But if I run application normally, always from IDE, application crash. I have in windows registry events an error, PBVM.DLL crash.

Any ideas why PBVM crash?

 

Name of the application that generated the error: mep_cloud.exe, version: 1.0.0.1, timestamp: 0x65314535
Name of the module that generated the error: PBVM.dll, version: 22.1.0.2828, timestamp: 0x653145aa
Exception code: 0xc0000005
Offset error 0x00317d77
Process ID that generated the error: 0x3920
Launch time of the application that generated the error: 0x01da17ded231e7f3
Path to the application that generated the error: C:\Users\umberto\AppData\Roaming\PBApps\Applications\localhost_mep_cloud\mep_cloud.exe
Path to the module that generated the error: C:\Users\umberto\AppData\Roaming\PBApps\Applications\Runtime\22.1.0.2828\PBVM.dll
Report ID: 9b026ec9-f947-451b-99e3-2d0ab12c3bf4
Full package name that generated the error:
Application ID for the package that generated the error:

Logan Liu @Appeon Accepted Answer Pending Moderation
  1. Thursday, 16 November 2023 10:34 AM UTC
  2. PowerServer
  3. # 1

Hi Riccardo,

Please check the following points first:

1) Have you ever tried to "Full Build" the PB application, and then "Full Build the PowerServer project?
2) When you have used any new feature in R2, but the dependent runtime of the new feature is not checked in the PowerServer project, PBVM will crash.
3) Have you uploaded some old versions of PowerBuilder's DLL to external files in the PowerServer project? This may cause the cloud app exe fail to start.
4) Do you use some PBD files in your project? The version compiled by PBD is inconsistent and may cause a crash issue.

Regards, Logan

Comment
  1. Riccardo Pasqualetti
  2. Friday, 17 November 2023 10:55 AM UTC
Hi Logan,

I found the reason causing the problem.

These instructions crash PBVM:



ContextKeyword lcxk_base

string ls_values[]

GetContextService("Keyword", lcxk_base)

lcxk_base.GetContextKeywords("TEMP", ls_values)



Any ideas why these instructions crash PBVM?



Regards, Riccardo

  1. Helpful
  1. Logan Liu @Appeon
  2. Monday, 20 November 2023 09:56 AM UTC
Hi Riccardo,

I failed to reproduce this issue using your code.

1) Could you write a small case to reproduce it? If yes, could send the .zip file of the case here?

2) You can debug the PowerServer project to know which LINE of code led to this crash.

Regards, Logan
  1. Helpful
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.