1. Jiří Polák
  2. PowerBuilder
  3. Friday, 16 November 2018 13:22 PM

I made specific compiler using ORCA API before long time in Java. This compiler worked fine in some versions, after substitution relevant version of ORCA library. It were versions 7, 9, 10.5, 11.5.
Now my company uses PowerBuilder 11.5 and we try to use Appeon 2017 R3 (version 17.0). Migration of code is OK, our applications work fine in PB 17.0. But compiler in this version has problems.
If I use compiler on little application "hello world" type, build is successfull. But if I Compile application with 208 PBL files with size 340MB, compiler crashes during call function for fullrebuild with message:

# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x646bb937, pid=18856, tid=0x00004b40
#
# JRE version: Java(TM) SE Runtime Environment (8.0_162-b12) (build 1.8.0_162-b12)
# Java VM: Java HotSpot(TM) Client VM (25.162-b12 mixed mode windows-x86 )
# Problematic frame:
# C [PBVM170.dll+0x18b937]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# c:\prac\PB170\elbospb\EbTctw\SMain\MElbosMainGui\PblApp\build\temp\pbl\hs_err_pid18856.log
#

FullRebuild of the same application in PowerBuilder develop environment is ok. Has someone some idea?

 

Thanks

Jura

Accepted Answer
Jiří Polák Accepted Answer Pending Moderation
  1. Monday, 19 November 2018 08:48 AM
  2. PowerBuilder
  3. # Permalink
0
Votes
Undo

Hi, Chris. Thank You. PBC is similar to my compiler, it seems to me. It is ineteresting, I didn't know it.

But I found mistake in my Library list. I'm stupid, I forgot replace two PBD libraries in liblist of application: pbdom115.pbd and pbsoapclient115.pbd. When i changed this libraries to correct version (170), all is ok.

Thanks once more

Jura

 

Comment


I am super glad that you found your problem Jura - excellent news! :-)
  1. Chris Pollach @Appeon
  2. Monday, 19 November 2018 17:05 PM
I tried pbc170.exe . I miss input parameter for icon of executable. It is not implemented or documented(?) :-( It is possible specify icon in ORCA API in function PBORCA_ExecutableCreate.
  1. Jiří Polák
  2. Monday, 19 November 2018 23:03 PM
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 16 November 2018 15:30 PM
  2. PowerBuilder
  3. # 1
0
Votes
Undo

Hi Jura;

  What about changing your Java based compile App to now call the built-in "standalone" (PBC.exe) compiler provided in Appeon PB instad of using the ORCA API. Also for any ORCA "repository" functionality, use the newer "ORCAScript" utility instead?

  Food for thought.

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.