** I have just copied the code to another machine with the same version of PowerBuilder and it compile with no errors **
** It seems to be an environmental problem I guess my laptop is no longer capable of compiling this code. This may be because of corporate policy changes as well as other things of course **
Be nice if powerbuilder failed in a more friendly manner
Whether its a build, PowerClient Build and Deploy or standard build its gets past attaching to the database and is scrolling through the scripts and then PowerBuilder just terminates. No messages, no nothing, it just disappears.
The event viewer gives me:
Application: PB220.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 5FD6CCB0
Stack:
Application: PB220.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 5FD6CCB0
Stack:
Log Name: Application
Source: Application Error
Date: 11/09/2023 8:50:04 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: WCC-5CG2232GNQ
Description:
Faulting application name: PB220.exe, version: 22.1.0.2819, time stamp: 0x64c36da2
Faulting module name: PBSHR.dll, version: 22.1.0.2819, time stamp: 0x64c7774c
Exception code: 0xc0000005
Fault offset: 0x001cccb0
Faulting process id: 0x118c
Faulting application start time: 0x01d9e427a98d6be2
Faulting application path: C:\Program Files (x86)\Appeon\PowerBuilder 22.0\PB220.exe
Faulting module path: C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime 22.1.0.2819\PBSHR.dll
Report Id: a1183b4b-7c9f-4135-a91f-d486e68b62a1
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>100</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2023-09-10T20:50:04.7993461Z" />
<EventRecordID>142583</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>WCC-5CG2232GNQ</Computer>
<Security />
</System>
<EventData>
<Data>PB220.exe</Data>
<Data>22.1.0.2819</Data>
<Data>64c36da2</Data>
<Data>PBSHR.dll</Data>
<Data>22.1.0.2819</Data>
<Data>64c7774c</Data>
<Data>c0000005</Data>
<Data>001cccb0</Data>
<Data>118c</Data>
<Data>01d9e427a98d6be2</Data>
<Data>C:\Program Files (x86)\Appeon\PowerBuilder 22.0\PB220.exe</Data>
<Data>C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime 22.1.0.2819\PBSHR.dll</Data>
<Data>a1183b4b-7c9f-4135-a91f-d486e68b62a1</Data>
<Data>
</Data>
<Data>
</Data>
</EventData>
</Event>
If it builds & deploys OK on another PC then your crashing issue sounds more environmental related than PB.
On the PC that builds OK, is it using the same OS version, Antivirus, SCM, etc software?
Regards ... Chris