1. Marco Armbruster
  2. PowerBuilder
  3. Thursday, 11 April 2024 11:17 AM UTC

Hello,

we migrate our app from PB115 to PB2022R3 recently.

After migration all seems to run perfect.

Now the app crashes without "any sound". Not always but sometimes.

Most crashes occur when many windows are opened.

It´s not a special line of code which causes the crash.

It seems to occur rather randomly.

I'm stuck. I need urgent help.

Can someone help me please.

 

 

In the windows event log we face this entries:

Fehlerbucket 1394676334701338409, Typ 1
Ereignisname: APPCRASH
Antwort: Nicht verfügbar
CAB-Datei-ID: 0

Problemsignatur:
P1: PB220.exe
P2: 22.2.0.3289
P3: 658d10f4
P4: PBSHR.dll
P5: 22.2.0.3289
P6: 658d10a8
P7: c0000005
P8: 001d6210
P9:
P10:

Name der fehlerhaften Anwendung: PB220.exe, Version: 22.2.0.3289, Zeitstempel: 0x658d10f4
Name des fehlerhaften Moduls: PBSHR.dll, Version: 22.2.0.3289, Zeitstempel: 0x658d10a8
Ausnahmecode: 0x4000001f
Fehleroffset: 0x001d8d6c
ID des fehlerhaften Prozesses: 0xc30
Startzeit der fehlerhaften Anwendung: 0x01da8bf7aa5054b6
Pfad der fehlerhaften Anwendung: C:\Program Files (x86)\Appeon\PowerBuilder 22.0\PB220.exe
Pfad des fehlerhaften Moduls: C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime 22.2.0.3289\PBSHR.dll
Berichtskennung: bdc0ac93-1583-47b0-8d91-a844952cfc97
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:

 

 

 

 

Marco Armbruster Accepted Answer Pending Moderation
  1. Friday, 12 April 2024 18:00 PM UTC
  2. PowerBuilder
  3. # 1

At last we checked our lines of code and found the mistake.

Older versions of Powerbuilder in connection with SQL Anywhere 11 was more tolerant in using embedded SQL statements.

We had some calls of stored procedures which doesn´t return a result set. In some special cases (I don´t know which exactly) this call couses the crashes.

We added a simple "dummy result" to our SQL procedures and it´s running fine now.

Many thx for your support.

Comment
There are no comments made yet.
Nasir Ahmad Accepted Answer Pending Moderation
  1. Thursday, 11 April 2024 14:28 PM UTC
  2. PowerBuilder
  3. # 2

Try to update the Powerbuilder 2022 installation to latest build 3356 , As it has fixed few of such issues that we faced with earlier build. Without knowing the code behind the button it will be difficult for someone to help. 

If you are using third party external dlls then double check their definitions as sometimes new function is available and overflowing of long data type can occur if building 64 bits. 

Comment
There are no comments made yet.
Marco Armbruster Accepted Answer Pending Moderation
  1. Thursday, 11 April 2024 12:00 PM UTC
  2. PowerBuilder
  3. # 3

Hi Chris,

thx for your quick reply.

I think it was a misunderstanding: Our app was running without any issue

but after migration to pb2022r3 we have these issues.

It crashes without any report besides the window error log.

I checked GDI and memory but there are no abnormalities.

It´s mysterious. The same function runs 10 times well and about 2 times wrong while processing always the same data.

I see only a connection to missing resources because the probability to crash increases with more open windows in the app.

Any idea how to find the error or does anyone has a work around?

Regards

Marco

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 11 April 2024 11:41 AM UTC
  2. PowerBuilder
  3. # 4

Hi Marco;

   The crash in PBSHR.dll is where the PB runtime interfaces to the O/S SDK wise. This is normally where requests for resources are being made. So I suspect that the issue could be GDI or Memory related (as just a guess at the moment).

  It's hard to guess the reasons for the crashing where you stated that the app was working well initially. So I would approach this current issue with the old mechanics approach to such a problem ... "What's changed recently"?

Regards ... Chris 

Comment
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.