Bug 6234

bootstrap import orca crash 30 March, 2021

Wojciech Sawicki
08 March, 2021
Product: PowerBuilder Category: PowerBuilder Compiler
Version: 2019 R3 Build: 2670
Classification: Publishing: Public
Priority: P4
Status: Reproducing Reason:
Communication Status: Waiting for Customer
Ken Guo @Appeon 30 March, 2021
#19
Hi Wojciech,

This is really strange. I checked the PBL generated by ORCA, except for d_dw2xls_object_sort_s and d_dw2xls_object_sort, which were not successfully imported, the source code for all the other objects, including n_xls_workbook_v5 and n_cst_hash_long, is correct.

We have no clue why this error would occur: n_xls_workbook_v5 C0123: Function of_add_worksheet differs from ancestor only by return type.

Could you provide us with the entire source code? So that we can reproduce the issue and debug it locally.


Regards,
Ken
Wojciech Sawicki 26 March, 2021
#18
TestCase.zip (1097KB)

upload orca
Wojciech Sawicki 25 March, 2021
#17
Hi,
I leave public status, maybe someone will need knowledge :)
WS
Ken Guo @Appeon 25 March, 2021
#16
Hi Wojciech,

I suggest you modify the Publishing field of this ticket from Public to Private and then reply to us with the id and password.

Of course, you can also directly send these info to my email address ken.guo@appeon.com.

Regards,
Ken
Wojciech Sawicki 25 March, 2021
#15
securely *send* of course.
WS
Wojciech Sawicki 25 March, 2021
#14
Hi,
I already have an environment. Hyperview with everything.
How to securely id and pass.
Regards
WS
Ken Guo @Appeon 24 March, 2021
#13
Hi Wojciech,

Since your application is a bit large, it will take a long time for us to debug and verify it together. 
Due to that our developers are in UTC + 8, I suggest you create a VM with TeamViewer installed for us so that our developers could remote access this machine to analyze it when they have the time. Thanks in advance.

Regards,
Ken
Wojciech Sawicki 12 March, 2021
#12
Hi,

I'm already changing.
Since I think the problem is size, 300 pbls and 20k objects, of course I can share access.
Ken Guo @Appeon 12 March, 2021
#11
Hi Wojciech,

I suggest you modify
scc set target ".\ERP700.pbt" "OUTOFDATE"
to
scc set target ".\ERP700.pbt" "refresh_all"

and then try again to see if it works. 
If the issue persists, could you please provide a VM for our developer to remote access and analyze? 

Regards,
Ken
Wojciech Sawicki 11 March, 2021
#10
orca.zip (387KB)

Hi,

1. Check whether the content in d:\simple.erp\gen700\build\kli\syskli\syskli.pbg is correct. 
done - is correct
2. In PB IDE, execute refresh or getlastversion to syskli.pbl.
done - no errors
3. Before executing ORCA, delete d:\simple.erp\gen700\build\kli\syskli\syskli.pbl.
there are no libraries in this directory

4. Add the below code before scc refresh target full.
scc exclude liblist "d:\simple.erp\gen700\build\pbd\erpapppbd\erpapppbd.pbd"
done
5. And then run ORCA again 
done

to see if the issue still exists.
Xml from windows event:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2021-03-11T13:57:11.364198400Z" /> 
  <EventRecordID>889958</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>WSawicki.simple.local</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>orcascr190.exe</Data> 
  <Data>19.2.0.2670</Data> 
  <Data>6009629c</Data> 
  <Data>PBVM.dll</Data> 
  <Data>19.2.0.2670</Data> 
  <Data>60096385</Data> 
  <Data>c0000005</Data> 
  <Data>001e309f</Data> 
  <Data>266c</Data> 
  <Data>01d7167059d9b04d</Data> 
  <Data>d:\SIMPLE.ERP\GEN700\Util\orcascr190.exe</Data> 
  <Data>C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime 19.2.0.2670\PBVM.dll</Data> 
  <Data>7616a130-f130-4807-91e0-1cee03f88ef6</Data> 
  <Data /> 
  <Data /> 
  </EventData>
  </Event>


Log as attachments.


Regards,
Ken
Ken Guo @Appeon 11 March, 2021
#9
Hi Wojciech,

I suggest you do the following:
1. Check whether the content in d:\simple.erp\gen700\build\kli\syskli\syskli.pbg is correct. 
2. In PB IDE, execute refresh or getlastversion to syskli.pbl.
3. Before executing ORCA, delete d:\simple.erp\gen700\build\kli\syskli\syskli.pbl.
4. Add the below code before scc refresh target full.
scc exclude liblist "d:\simple.erp\gen700\build\pbd\erpapppbd\erpapppbd.pbd"
5. And then run ORCA again to see if the issue still exists.

Regards,
Ken
Wojciech Sawicki 10 March, 2021
#8
Hi Ken,

Unable to process map file: d:\simple.erp\gen700\build\rap\temp_rap\temp_rap.pbg
d:\simple.erp\gen700\build\rap\temp_rap\temp_rap.pbl cannot be refreshed.
Unable to process map file: d:\simple.erp\gen700\build\rap\user_rap\user_rap.pbg
d:\simple.erp\gen700\build\rap\user_rap\user_rap.pbl cannot be refreshed.
Unable to process map file: d:\simple.erp\gen700\build\rap\public_rap\public_rap.pbg
d:\simple.erp\gen700\build\rap\public_rap\public_rap.pbl cannot be refreshed.

Ok first step its easy 
temp_rap,user_rap,public_rap are especially empty - remove from library list



Srcctl::Diff() SccDiff error.  Unable to read PBL source for  d:\simple.erp\gen700\build\kli\syskli\syskli.pbl(alu_dsp_d_pozwlasc.srd)
Srcctl::Diff() SccDiff error.  Unable to read PBL source for  d:\simple.erp\gen700\build\kli\syskli\syskli.pbl(alu_d_wytwor_dddw.srd)
Srcctl::Diff() SccDiff error.  Unable to read PBL source for  d:\simple.erp\gen700\build\kli\syskli\syskli.pbl(alu_d_wytwor_edy.srd)
Srcctl::Diff() SccDiff error.  Unable to read PBL source for  d:\simple.erp\gen700\build\kli\syskli\syskli.pbl(alu_d_wytwor_edy1.srd)
Srcctl::Diff() SccDiff error.  Unable to read PBL source for  d:\simple.erp\gen700\build\kli\syskli\syskli.pbl(alu_d_wytwor_edy2.srd)

Hhe second is more difficult
These objects are not in the library but are in VSS - that's what I want to import.
If they were, import would be unnecessary


Regards,
Ken Guo @Appeon 10 March, 2021
#7
Hi Wojciech,

I checked the log you provided and it shows the following error message. I suggest you check whether there are correct objects in these pbgs and corresponding directories.

Unable to process map file: d:\simple.erp\gen700\build\rap\temp_rap\temp_rap.pbg
d:\simple.erp\gen700\build\rap\temp_rap\temp_rap.pbl cannot be refreshed.
Unable to process map file: d:\simple.erp\gen700\build\rap\user_rap\user_rap.pbg
d:\simple.erp\gen700\build\rap\user_rap\user_rap.pbl cannot be refreshed.
Unable to process map file: d:\simple.erp\gen700\build\rap\public_rap\public_rap.pbg
d:\simple.erp\gen700\build\rap\public_rap\public_rap.pbl cannot be refreshed.
Srcctl::Diff() SccDiff error.  Unable to read PBL source for  d:\simple.erp\gen700\build\kli\syskli\syskli.pbl(alu_dsp_d_pozwlasc.srd)
Srcctl::Diff() SccDiff error.  Unable to read PBL source for  d:\simple.erp\gen700\build\kli\syskli\syskli.pbl(alu_d_wytwor_dddw.srd)
Srcctl::Diff() SccDiff error.  Unable to read PBL source for  d:\simple.erp\gen700\build\kli\syskli\syskli.pbl(alu_d_wytwor_edy.srd)
Srcctl::Diff() SccDiff error.  Unable to read PBL source for  d:\simple.erp\gen700\build\kli\syskli\syskli.pbl(alu_d_wytwor_edy1.srd)
Srcctl::Diff() SccDiff error.  Unable to read PBL source for  d:\simple.erp\gen700\build\kli\syskli\syskli.pbl(alu_d_wytwor_edy2.srd)


Regards,
Ken
Chris Pollach @Appeon 09 March, 2021
#6
Hi Wojciech;

  Thank you for trying the 3 pass option! Sorry that this did not solve your issue.

  I will now transfer this ticket over to the main Support / Engineering team for an ORCA specialist to review & advise.

Thanks ... Chris
Wojciech Sawicki 09 March, 2021
#5
orca.zip (387KB)

i tried 3 pass and both incremental and 3 pass
Chris Pollach @Appeon 08 March, 2021
#4
Hi Wojciech;

 Thank you for the ORCAScript command file that you are using!

Can you try .... 
   scc refresh target 3pass

Also, I see that you have logging tuned on. Can you also attach the "orca.log" file to this ticket as well.

Thanks ... Chris
Wojciech Sawicki 08 March, 2021
#3
orca.dat (16KB)

orca script
Chris Pollach @Appeon 08 March, 2021
#2
Hi Wojciech;

  Please attach the ORCAScript command file that you are using to this ticket.

Many thanks in advance!
Regards ... Chris
Wojciech Sawicki 08 March, 2021
#1
orca.txt (0KB)

Bootstrap import huge apps with orca script ending without any message with windows event:

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2021-03-08T13:43:25.178081400Z" /> 
  <EventRecordID>889346</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>WSawicki.simple.local</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>orcascr190.exe</Data> 
  <Data>19.2.0.2670</Data> 
  <Data>6009629c</Data> 
  <Data>PBVM.dll</Data> 
  <Data>19.2.0.2670</Data> 
  <Data>60096385</Data> 
  <Data>c0000005</Data> 
  <Data>001e309f</Data> 
  <Data>4f40</Data> 
  <Data>01d714156cf5490a</Data> 
  <Data>d:\SIMPLE.ERP\GEN700\Util\orcascr190.exe</Data> 
  <Data>C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime 19.2.0.2670\PBVM.dll</Data> 
  <Data>56b41bde-857d-42f2-9904-bd01446f4967</Data> 
  <Data /> 
  <Data /> 
  </EventData>
  </Event>
OS:
Windows 10
Platform:
64-bit
Database Type:
Microsoft SQL Server
Database Version:
14