title: Delphi XE7 crashses at shutdown
body: <p>Since I installed Delphi XE7 I have this nasty crash as shutdown:</p>
  
  <pre><code>Description:
    Stopped working
  
  Problem signature:
    Problem Event Name:   APPCRASH
    Application Name: bds.exe
    Application Version:  21.0.17707.5020
    Application Timestamp:    545bd62d
    Fault Module Name:    rtl210.bpl
    Fault Module Version: 21.0.17707.5020
    Fault Module Timestamp:   545bd940
    Exception Code:   c0000005
    Exception Offset: 00016a9c
    OS Version:   6.1.7601.2.1.0.768.3
    Locale ID:    1033
  </code></pre>
  
  <p>After I click the 'Close program' I get:</p>
  
  <blockquote>
    <p>Exception EAccessViolation in module rtl210.bpl at 00016A9C.<br>
    Access violation at address 50066A9C in module 'rtl210.bpl'. Read of
    address 075F2AF8.</p>
  </blockquote>
  
  <p>I checked the call stack but it doesn't really makes any sense.</p>
  
  <p>To see the call stack I started Delphi, then in 'Load process' I entered Delphi's path ( "C:\Delphi\XE7\bin\bds.exe" ).<br>
  I cannot set the '-p delphi' parameter in 'Parameters' box because when the second Delphi process is started it will complain that it cannot access the license file (which is blocked by the first Delphi process).</p>
  
  <p>Call stack:</p>
  
  <pre><code>:50066a9c rtl210.@System@@IntfClear$qqrr44System@%DelphiInterface$17System@IInterface% + 0x10
  :08baffdd fmx210.@System@Generics@Collections@%TList__1$56System@%DelphiInterface$29Fmx@Behaviormanager@IListener%%@SetCount$qqri + 0x49
  :50061099 rtl210.@System@@Halt0$qqrv + 0xb1
  :77378bd4 ntdll.wcsncmp + 0x88
  :77342710 ; ntdll.dll
  :7737cb10 ntdll.LdrUnloadDll + 0x4a
  :753b8be4 KERNELBASE.FreeLibrary + 0x82
  :2063a191 coreide210.@Exptmain@TExpertLib@$bdtr$qqrv + 0xa9
  :5005f10b rtl210.@System@TObject@Free$qqrv + 0xb
  :5070ba40 vcl210.@Vcl@Forms@TCustomForm@$bdtr$qqrv + 0x58
  :210f57c0 designide210.@Deskform@TDesktopForm@$bdtr$qqrv + 0x40
  :761aee1c kernel32.BaseThreadInitThunk + 0x12
  :7738399b ntdll.RtlInitializeExceptionChain + 0xef
  :7738396e ntdll.RtlInitializeExceptionChain + 0xc2
  </code></pre>
  
  <p>It says something about FMX but I never do FMX projects (still too unripe to be used). So I disable it.<br>
  What could cause the crash?</p>