Note that there are some explanatory texts on larger screens.

plurals
  1. POPB 12 IDE (and Application) crash after closing
    primarykey
    data
    text
    <p>Good Morning,</p> <p>I seem to be experiencing an issue with both our PowerBuilder 12.1 Classic (Build 6639) and our resulting PowerBuilder Application. We are currently experiencing an issue where the application (or, if we are running through the code, the IDE) crashes after closing the main MDI. Unfortunately, there is no consistent pattern to the crash. I can close it right as the MDI opens and sometimes it will crash, other times it will close properly.</p> <p>Initially, I had figured that there was something going wrong with the Application object's close event, or something is happening where the systemerror event is being thrown. I debugged through the close event and every single line executed successfully, but the application still crashed.</p> <p>I thought I would try and use the /PBDEBUG flag on the application and try to get the debug information for a successful close and an unsuccessful close. I managed to do so, and the file contains the exact same information. They all finish with the following information:</p> <pre><code> Executing object function +DESTROY for class TRANSACTION, lib entry _TYPEDEF Executing instruction at line 2325 Executing object function DESTROYTRANSACTION for class TRANSACTION, lib entry _TYPEDEF Executing system dll function End class function DESTROYTRANSACTION for class TRANSACTION, lib entry _TYPEDEF Executing instruction at line 2326 End class function +DESTROY for class TRANSACTION, lib entry _TYPEDEF </code></pre> <p>I checked the Windows Application Event Viewer, and this is what gets displayed:</p> <pre><code>Fault bucket , type 0 Event Name: CLR20r3 Response: Not available Cab Id: 0 Problem signature: P1: txintf.exe P2: 11.1.18.1 P3: 4cec7a53 P4: System P5: 2.0.0.0 P6: 506c18e6 P7: 2d4a P8: 36 P9: System.ObjectDisposedException P10: </code></pre> <p>I was told that these issues started to occur when we migrated our PB11 project over to PB12 Classic. Not sure if that has anything to do with it, but I thought I'd throw it out there.</p> <p>Has anyone experienced a similar issue, or have any additional tips that I can use to attempt to diagnose this problem?</p> <p>Thank you.</p> <p>EDIT: I've noticed that sometimes the Error is being shown in the Windows Event Log, and here is some of the information:</p> <pre><code>Faulting application name: txintf.exe, version: 13.0.2.3, time stamp: 0x4cec7a53 Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b83c8a Exception code: 0xe0434f4d Fault offset: 0x0000c41f Faulting process id: 0x2120 Faulting application start time: 0x01ce0099b3021b60 Faulting application path: MyApplicationPath\txintf.exe Faulting module path: C:\Windows\syswow64\KERNELBASE.dll </code></pre> <p>There are also some rare times when the Just-In-Time Debugger pops up, showing that an exception of System.ObjectDisposedException has been caught. Judging by that information, it looks like there is an object that has been destroyed that is being accessed by something.</p> <p>I checked the Call Stack through the debugger, and it doesn't appear to have anything after the Application.Close() event.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload