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

9 views
Skip to first unread message

Nick

unread,
Mar 2, 2026, 7:54:16 PM (8 hours ago) Mar 2
to MapInfo-L
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.

Uffe Kousgaard

unread,
2:31 AM (1 hour ago) 2:31 AM
to mapi...@googlegroups.com
Hi,

Why don't you just call "End MapInfo" ?
Your code seems to be doing the same thing.

Regards
Uffe Kousgaard
--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mapinfo-l/15a485b8-dfbd-4596-ad0a-4731941a6aa7n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages