AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen Die Delphi-IDE Zugriffsverletzung beim Öffnen einer neuen Unit

Zugriffsverletzung beim Öffnen einer neuen Unit

Ein Thema von TigerLilly · begonnen am 7. Jan 2021 · letzter Beitrag vom 26. Mai 2021
Antwort Antwort
Seite 2 von 2     12
TigerLilly

Registriert seit: 24. Mai 2017
Ort: Wien, Österreich
1.172 Beiträge
 
Delphi 11 Alexandria
 
#11

AW: Zugriffsverletzung beim Öffnen einer neuen Unit

  Alt 9. Jan 2021, 10:01
Passiert immer, egal wie die Unit geöffnet wird + egal, was auf ihr drauf ist - auch wenn es nur ein leerer Form oder Datenmodul ist. Ohne DFM aber kein Problem.

Alle Plugins habe ich auch mal dekativiert - no success.

Das Deaktivieren der Plugins versuche ich mal.
  Mit Zitat antworten Zitat
Benutzerbild von NoGAD
NoGAD

Registriert seit: 31. Jan 2006
Ort: Weimar
305 Beiträge
 
Delphi 10.4 Sydney
 
#12

AW: Zugriffsverletzung beim Öffnen einer neuen Unit

  Alt 25. Mai 2021, 19:35
Hallo, ich hänge mich mal dran.

Seit gestern passiert das bei mir auch sporadisch:

Code:
[50E52F55]{vcl270.bpl } Vcl.Forms.TCustomForm.DefocusControl (Line 6125, "Vcl.Forms.pas" + 4) + $10
[50E52F33]{vcl270.bpl } Vcl.Forms.TCustomForm.DefocusControl (Line 6124, "Vcl.Forms.pas" + 3) + $8
[50CFA13B]{vcl270.bpl } Vcl.Controls.TWinControl.RemoveFocus (Line 9392, "Vcl.Controls.pas" + 2) + $8
[50CF8E3E]{vcl270.bpl } Vcl.Controls.TWinControl.Destroy (Line 8735, "Vcl.Controls.pas" + 17) + $4
[500601FE]{rtl270.bpl } System.@ClassDestroy (Line 19047, "System.pas" + 0) + $2
[50E4DF4B]{vcl270.bpl } Vcl.Forms.TScrollingWinControl.Destroy (Line 3267, "Vcl.Forms.pas" + 3) + $6
[50E4F3DC]{vcl270.bpl } Vcl.Forms.TCustomForm.Destroy (Line 3972, "Vcl.Forms.pas" + 33) + $A
[210554C4]{designide270.bpl} Proxies.DestroyHook (Line 281, "Proxies.pas" + 2) + $6
[5005FA2C]{rtl270.bpl } System.TObject.Free (Line 17683, "System.pas" + 1) + $4
[528A1B8E]{vcldesigner270.bpl} VCLFormDesigner.TVCLRootDesigner.FreeRoot (Line 581, "VCLFormDesigner.pas" + 0) + $2
[210920AF]{designide270.bpl} ComponentDesigner.TComponentRoot.InternalDeinitializeDesigner (Line 4979, "ComponentDesigner.pas" + 24) + $B
[21094CD9]{designide270.bpl} ComponentDesigner.TComponentRoot.Close (Line 5914, "ComponentDesigner.pas" + 5) + $5
[21D69CDC]{delphicoreide270.bpl} DelphiModule.TPascalCodeMgrModHandler.GetActiveProject (Line 768, "DelphiModule.pas" + 2) + $2D
[208CD259]{coreide270.bpl} DocModul.TCodeIDocModule.NotifyDestroyed (Line 2446, "DocModul.pas" + 2) + $5
[21067FC9]{designide270.bpl} ToolUtils.ForEach (Line 100, "ToolUtils.pas" + 5) + $F
[208CD1CA]{coreide270.bpl} DocModul.TCodeIDocModule.NotifyDestruction (Line 2430, "DocModul.pas" + 2) + $B
[208CA214]{coreide270.bpl} DocModul.TDocModule.BeforeDestruction (Line 1001, "DocModul.pas" + 16) + $0
[5006025D]{rtl270.bpl } System.@BeforeDestruction (Line 19087, "System.pas" + 10) + $0
[206C660A]{coreide270.bpl} SourceModule.TSourceModule.Destroy (Line 434, "SourceModule.pas" + 0) + $2
[5005FA2C]{rtl270.bpl } System.TObject.Free (Line 17683, "System.pas" + 1) + $4
[208CB41A]{coreide270.bpl} DocModul.WalkDependencies (Line 1638, "DocModul.pas" + 9) + $2
[208CB465]{coreide270.bpl} DocModul.TDocModule.WalkDependencies (Line 1647, "DocModul.pas" + 1) + $1
[208CA53F]{coreide270.bpl} DocModul.TDocModule.Close (Line 1113, "DocModul.pas" + 12) + $F
[20622DD8]{coreide270.bpl} ProjectModule.TBaseProject.BeforeDestruction (Line 1100, "ProjectModule.pas" + 37) + $6
[21CD40B1]{delphicoreide270.bpl} BaseDelphiProject.TBaseDelphiProject.PerformModuleCleanup (Line 4015, "BaseDelphiProject.pas" + 0) + $9
[5006025D]{rtl270.bpl } System.@BeforeDestruction (Line 19087, "System.pas" + 10) + $0
[21CC2FA3]{delphicoreide270.bpl} BaseDelphiProject.TBaseDelphiProject.Destroy (Line 979, "BaseDelphiProject.pas" + 0) + $7
[5005FA2C]{rtl270.bpl } System.TObject.Free (Line 17683, "System.pas" + 1) + $4
[2055A0EE]{coreide270.bpl} ProjectGroup.TProjectGroup.BeforeDestruction (Line 966, "ProjectGroup.pas" + 52) + $2
[5006025D]{rtl270.bpl } System.@BeforeDestruction (Line 19087, "System.pas" + 10) + $0
[20559E56]{coreide270.bpl} ProjectGroup.TProjectGroup.Destroy (Line 899, "ProjectGroup.pas" + 0) + $2
[5005FA2C]{rtl270.bpl } System.TObject.Free (Line 17683, "System.pas" + 1) + $4
[205606B6]{coreide270.bpl} ProjectGroup.TProjectGroupWrapper.Close (Line 2834, "ProjectGroup.pas" + 2) + $5
[004ABE8F]{bds.exe    } AppMain.TAppBuilder.DestroyProjectGroup (Line 2664, "AppMain.pas" + 15) + $9
[004AF3FC]{bds.exe    } AppMain.TAppBuilder.WindowCloseQuery (Line 3946, "AppMain.pas" + 47) + $3
[50E55581]{vcl270.bpl } Vcl.Forms.TCustomForm.CloseQuery (Line 7462, "Vcl.Forms.pas" + 8) + $14
[50E554A9]{vcl270.bpl } Vcl.Forms.TCustomForm.Close (Line 7434, "Vcl.Forms.pas" + 4) + $4
[50E54274]{vcl270.bpl } Vcl.Forms.TCustomForm.WMClose (Line 6764, "Vcl.Forms.pas" + 0) + $0
[50CF6DBE]{vcl270.bpl } Vcl.Controls.TControl.WndProc (Line 7480, "Vcl.Controls.pas" + 91) + $6
[50064541]{rtl270.bpl } System.@FinalizeArray (Line 32995, "System.pas" + 24) + $6
[500643D8]{rtl270.bpl } System.@FinalizeRecord (Line 32811, "System.pas" + 56) + $1E
[50DF39AF]{vcl270.bpl } Vcl.Themes.TStyleManager.GetStyle (Line 5633, "Vcl.Themes.pas" + 18) + $1E
[50F4C237]{vcl270.bpl } Vcl.Styles.TCustomStyle.SourceLoaded (Line 3310, "Vcl.Styles.pas" + 1) + $F
[5005FF43]{rtl270.bpl } System.TObject.Dispatch (Line 18563, "System.pas" + 11) + $0
[50DF729E]{vcl270.bpl } Vcl.Themes.TStyleHook.WndProc (Line 7394, "Vcl.Themes.pas" + 38) + $6
[50DF7494]{vcl270.bpl } Vcl.Themes.TMouseTrackControlStyleHook.WndProc (Line 7502, "Vcl.Themes.pas" + 0) + $0
[50DF6AC2]{vcl270.bpl } Vcl.Themes.TStyleHook.HandleMessage (Line 7107, "Vcl.Themes.pas" + 20) + $6
[50F4CA16]{vcl270.bpl } Vcl.Styles.TStyleEngine.HandleMessage (Line 3598, "Vcl.Styles.pas" + 22) + $7
[50DF3A5C]{vcl270.bpl } Vcl.Themes.TStyleManager.HandleMessage (Line 5662, "Vcl.Themes.pas" + 11) + $11
[50CF9FBF]{vcl270.bpl } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9344, "Vcl.Controls.pas" + 0) + $F
[50CFBCAF]{vcl270.bpl } Vcl.Controls.TWinControl.WndProc (Line 10424, "Vcl.Controls.pas" + 169) + $6
[50CF9FBF]{vcl270.bpl } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9344, "Vcl.Controls.pas" + 0) + $F
[50CFBCAF]{vcl270.bpl } Vcl.Controls.TWinControl.WndProc (Line 10424, "Vcl.Controls.pas" + 169) + $6
[50E50439]{vcl270.bpl } Vcl.Forms.TCustomForm.WndProc (Line 4572, "Vcl.Forms.pas" + 1) + $37
[50E50A85]{vcl270.bpl } Vcl.Forms.TCustomForm.WndProc (Line 4784, "Vcl.Forms.pas" + 213) + $5
[50CFB228]{vcl270.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 10120, "Vcl.Controls.pas" + 3) + $6
[50181184]{rtl270.bpl } System.Classes.StdWndProc (Line 17989, "System.Classes.pas" + 8) + $0
[21895A87]{vclactnband270.bpl} Vcl.ActnMenus.CallWindowHook (Line 759, "Vcl.ActnMenus.pas" + 20) + $F
[50CFBDBA]{vcl270.bpl } Vcl.Controls.TWinControl.DefaultHandler (Line 10465, "Vcl.Controls.pas" + 30) + $19
[50E52E1E]{vcl270.bpl } Vcl.Forms.TCustomForm.DefaultHandler (Line 6088, "Vcl.Forms.pas" + 11) + $4
[50CFDE39]{vcl270.bpl } Vcl.Controls.TWinControl.WMSysCommand (Line 11679, "Vcl.Controls.pas" + 20) + $7
[50E54345]{vcl270.bpl } Vcl.Forms.TCustomForm.WMSysCommand (Line 6815, "Vcl.Forms.pas" + 14) + $4
[207C7828]{coreide270.bpl} WorkFrm.TWorkForm.WMSysCommand (Line 71, "WorkFrm.pas" + 27) + $4
[207C8216]{coreide270.bpl} MainWorkFrm.TMainWorkForm.WMSysCommand (Line 128, "MainWorkFrm.pas" + 2) + $4
[50CF6DBE]{vcl270.bpl } Vcl.Controls.TControl.WndProc (Line 7480, "Vcl.Controls.pas" + 91) + $6
[50064541]{rtl270.bpl } System.@FinalizeArray (Line 32995, "System.pas" + 24) + $6
[500643D8]{rtl270.bpl } System.@FinalizeRecord (Line 32811, "System.pas" + 56) + $1E
[50DF39AF]{vcl270.bpl } Vcl.Themes.TStyleManager.GetStyle (Line 5633, "Vcl.Themes.pas" + 18) + $1E
[50F4C237]{vcl270.bpl } Vcl.Styles.TCustomStyle.SourceLoaded (Line 3310, "Vcl.Styles.pas" + 1) + $F
[08CF4B64]{themeloader270.bpl} Idetheme.Vclstylehooks.TCustomFormIDEStyleHook.WMSysCommand + $C
[50DF729E]{vcl270.bpl } Vcl.Themes.TStyleHook.WndProc (Line 7394, "Vcl.Themes.pas" + 38) + $6
[50DF7494]{vcl270.bpl } Vcl.Themes.TMouseTrackControlStyleHook.WndProc (Line 7502, "Vcl.Themes.pas" + 0) + $0
[50DF6AC2]{vcl270.bpl } Vcl.Themes.TStyleHook.HandleMessage (Line 7107, "Vcl.Themes.pas" + 20) + $6
[50F4CA16]{vcl270.bpl } Vcl.Styles.TStyleEngine.HandleMessage (Line 3598, "Vcl.Styles.pas" + 22) + $7
[50DF3A5C]{vcl270.bpl } Vcl.Themes.TStyleManager.HandleMessage (Line 5662, "Vcl.Themes.pas" + 11) + $11
[50CF9FBF]{vcl270.bpl } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9344, "Vcl.Controls.pas" + 0) + $F
[50CFBCAF]{vcl270.bpl } Vcl.Controls.TWinControl.WndProc (Line 10424, "Vcl.Controls.pas" + 169) + $6
[50E50439]{vcl270.bpl } Vcl.Forms.TCustomForm.WndProc (Line 4572, "Vcl.Forms.pas" + 1) + $37
[50E50A85]{vcl270.bpl } Vcl.Forms.TCustomForm.WndProc (Line 4784, "Vcl.Forms.pas" + 213) + $5
[50CD6F9B]{vcl270.bpl } Vcl.Graphics.FreeMemoryContexts (Line 7278, "Vcl.Graphics.pas" + 12) + $8
[50CFB228]{vcl270.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 10120, "Vcl.Controls.pas" + 3) + $6
[50181184]{rtl270.bpl } System.Classes.StdWndProc (Line 17989, "System.Classes.pas" + 8) + $0
[50E5A7CF]{vcl270.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 11005, "Vcl.Forms.pas" + 23) + $1
[50E5A812]{vcl270.bpl } Vcl.Forms.TApplication.HandleMessage (Line 11035, "Vcl.Forms.pas" + 1) + $4
[50E5AB45]{vcl270.bpl } Vcl.Forms.TApplication.Run (Line 11173, "Vcl.Forms.pas" + 26) + $3
[0051E104]{bds.exe    } bds.bds (Line 222, "" + 13) + $2
Kann hier jemand anhand des Logfiles etwas erkennen?
Mathias
Ich vergesse einfach zu viel.
  Mit Zitat antworten Zitat
berens

Registriert seit: 3. Sep 2004
430 Beiträge
 
Delphi 2010 Professional
 
#13

AW: Zugriffsverletzung beim Öffnen einer neuen Unit

  Alt 26. Mai 2021, 18:59
Hatte mal das gleiche Problem. Es konnte sich damals lösen lassen, indem die betroffene Unit im UTF-8 Format gespeichert wurde (zur Not in einem externen Programm wie Notepad++). Siehe Anlage.
Miniaturansicht angehängter Grafiken
2021-05-26-18_58_00-window.png  
Delphi 10.4 32-Bit auf Windows 10 Pro 64-Bit, ehem. Delphi 2010 32-Bit auf Windows 10 Pro 64-Bit
  Mit Zitat antworten Zitat
Benutzerbild von NoGAD
NoGAD

Registriert seit: 31. Jan 2006
Ort: Weimar
305 Beiträge
 
Delphi 10.4 Sydney
 
#14

AW: Zugriffsverletzung beim Öffnen einer neuen Unit

  Alt 26. Mai 2021, 22:10
Danke für den Tipp, probiere ich morgen aus. 😀👋🏻

LG Mathias
Mathias
Ich vergesse einfach zu viel.
  Mit Zitat antworten Zitat
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 08:58 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz