MapInfo Pro

 View Only

MapInfo Pro v2021.1 Build 33 Process ID hangs while ending MapInfo

  • 1.  MapInfo Pro v2021.1 Build 33 Process ID hangs while ending MapInfo

    Posted 2 hours ago

    All,

    I have had several automated instances of MapInfo Professional  that run to analyze .TAB files throughout the day.  These have been running for almost 15 years. I upgraded them to the latest version we are using which is MapInfo Pro v 2021.1 Build 33.
    Starting on February 25th for some reason, at the end of the processing, the code runs a MapBasic command to kill the process ID that the MapInfo Professional instance is running on the server.  (See mapbasic code below)
    ====================================================
    Declare Sub Main()
    Declare Function TerminateProcess Lib "kernel32" (ByVal hProcess As integer, ByVal uExitCode As integer) As integer
    Declare Function GetCurrentProcessId Lib "kernel32" () As integer
    Declare Function GetExitCodeProcess Lib "kernel32" Alias "GetExitCodeProcess" (ByVal hProcess As integer, lpExitCode As integer) As integer
    Declare Sub ExitProcess Lib "kernel32" Alias "ExitProcess" (ByVal uExitCode As integer)

    Sub Main
    Dim pid As integer, excode as integer, retval as integer

    pid = GetCurrentProcessId()

    IF pid > 0 THEN
    retval = GetExitCodeProcess(pid,excode)
    call ExitProcess(excode)
    END IF
    End Sub
    ====================================================
    My question is what could all of sudden cause this to happen?  
    - MapInfo Pro was not updated in any way
    - The server did not have any Windows Updates installed
    The only lead I have is the server's Event Viewer log is showing the following:
    ================================================
    Faulting application name: MapInfoPro.exe, version: 21.0.1.33, time stamp: 0x639b24f8
    Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
    Exception code: 0xc0000005
    Fault offset: 0x000000000000000c
    Faulting process id: 0x7e4
    Faulting application start time: 0x01dca699ba728fea
    Faulting application path: C:\Program Files\MapInfo\Professional\MapInfoPro.exe
    Faulting module path: unknown
    Report Id: 09f4ab29-1292-11f1-80fc-005056986225
    Faulting package full name:
    Faulting package-relative application ID:

    EventRecordID 1449822
    EventID 1000 
    ================================================
    Anyone that may of experience this same thing?  I would appreciate any insight if anyone has had a similar experience.
    Thank you.


    ------------------------------
    Nicholas Evanish
    Senior Program Analyst
    ------------------------------