This happens when HeidiSQL is closed after connecting to a Postgres Database
date/time : 2017-10-03, 19:41:29, 572ms
computer name : REDACTED
wts client name : REDACTED
user name : REDACTED
registered owner : Windows User
operating system : REDACTED
system language : German
system up time : 16 hours 24 minutes
program up time : 8 minutes 32 seconds
processors : 4x Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz
physical memory : 27458/32768 MB (free/total)
free disk space : (C:) 12,99 GB
display mode : 1920x1200, 32 bit
process id : REDACTED
allocated memory : 43,17 MB
largest free block : 1,09 GB
executable : heidisql.exe
exec. date/time : 2017-09-04 08:19
version : 9.4.0.5174
compiled with : Delphi XE5
madExcept version : 4.0.12
callstack crc : $313f90c1, $8bc799b9, $dac0a440
exception number : 1
exception class : EAccessViolation
exception message : Access violation at address 004084B0 in module 'heidisql.exe'. Read of address 0000001C.
main thread ($9670):
004084b0 heidisql.exe System 196 +0 TObject.Free
00409846 heidisql.exe System 196 +0 @HandleFinallyInternal
77df389d ntdll.dll RtlUnwind
00408b55 heidisql.exe System 196 +0 @AfterConstruction
004543c3 heidisql.exe System.SysUtils Exception.CreateFmt
77da013e ntdll.dll KiUserExceptionDispatcher
004097ce heidisql.exe System 196 +0 @HandleFinally
77df389d ntdll.dll RtlUnwind
00408b55 heidisql.exe System 196 +0 @AfterConstruction
004543c3 heidisql.exe System.SysUtils Exception.CreateFmt
00409592 heidisql.exe System 196 +0 @HandleAnyException
77da013e ntdll.dll KiUserExceptionDispatcher
100052fc libpq.dll PQfinish
0084806a heidisql.exe dbconnection 1987 +47 TPgConnection.SetActive
00957c1c heidisql.exe Main 2175 +52 TMainForm.ConnectionsNotify
0040c978 heidisql.exe System 196 +0 DynArraySetLength
0086dc2a heidisql.exe dbconnection 38 +0 {System.Generics.Collections}TList<dbconnection.TDBConnection>.Notify
0086e89f heidisql.exe dbconnection 728 +0 {System.Generics.Collections}TObjectList<dbconnection.TDBConnection>.Notify
0086e438 heidisql.exe dbconnection 728 +0 {System.Generics.Collections}TList<dbconnection.TDBConnection>.DeleteRange
0086da90 heidisql.exe dbconnection 38 +0 {System.Generics.Collections}TList<dbconnection.TDBConnection>.SetCount
0067b8e5 heidisql.exe Vcl.Forms TCustomForm.DoDestroy
0067b736 heidisql.exe Vcl.Forms TCustomForm.Destroy
004084b0 heidisql.exe System 196 +0 TObject.Free
0053a4c3 heidisql.exe System.Classes TComponent.DestroyComponents
006794c5 heidisql.exe Vcl.Forms DoneApplication
0044c399 heidisql.exe System.SysUtils DoExitProc
00409fe9 heidisql.exe System 196 +0 @Halt0
75883368 kernel32.dll BaseThreadInitThunk
main thread ($9670), inner exception level 1:
>> EAccessViolation, Access violation at address 0040CB44 in module 'heidisql.exe'. Write of address 00E22AA0
0040cb44 heidisql.exe System 196 +0 @DynArrayClear
0086e457 heidisql.exe dbconnection 728 +0 {System.Generics.Collections}TList<dbconnection.TDBConnection>.DeleteRange
0086da90 heidisql.exe dbconnection 38 +0 {System.Generics.Collections}TList<dbconnection.TDBConnection>.SetCount
0067b8e5 heidisql.exe Vcl.Forms TCustomForm.DoDestroy
0067b736 heidisql.exe Vcl.Forms TCustomForm.Destroy
004084b0 heidisql.exe System 196 +0 TObject.Free
0053a4c3 heidisql.exe System.Classes TComponent.DestroyComponents
006794c5 heidisql.exe Vcl.Forms DoneApplication
0044c399 heidisql.exe System.SysUtils DoExitProc
00409fe9 heidisql.exe System 196 +0 @Halt0
75883368 kernel32.dll BaseThreadInitThunk
main thread ($9670), inner exception level 2:
>> EAccessViolation, Access violation at address 100073B1 in module 'libpq.dll'. Write of address 00190018
100073b1 libpq.dll
100052fc libpq.dll PQfinish
0084806a heidisql.exe dbconnection 1987 +47 TPgConnection.SetActive
00957c1c heidisql.exe Main 2175 +52 TMainForm.ConnectionsNotify
0040c978 heidisql.exe System 196 +0 DynArraySetLength
0086dc2a heidisql.exe dbconnection 38 +0 {System.Generics.Collections}TList<dbconnection.TDBConnection>.Notify
0086e89f heidisql.exe dbconnection 728 +0 {System.Generics.Collections}TObjectList<dbconnection.TDBConnection>.Notify
0086e438 heidisql.exe dbconnection 728 +0 {System.Generics.Collections}TList<dbconnection.TDBConnection>.DeleteRange
0086da90 heidisql.exe dbconnection 38 +0 {System.Generics.Collections}TList<dbconnection.TDBConnection>.SetCount
0067b8e5 heidisql.exe Vcl.Forms TCustomForm.DoDestroy
0067b736 heidisql.exe Vcl.Forms TCustomForm.Destroy
004084b0 heidisql.exe System 196 +0 TObject.Free
0053a4c3 heidisql.exe System.Classes TComponent.DestroyComponents
006794c5 heidisql.exe Vcl.Forms DoneApplication
0044c399 heidisql.exe System.SysUtils DoExitProc
00409fe9 heidisql.exe System 196 +0 @Halt0
75883368 kernel32.dll BaseThreadInitThunk