Delphi-PRAXiS
Seite 1 von 2  1 2      

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Die Delphi-IDE (https://www.delphipraxis.net/62-die-delphi-ide/)
-   -   Delphi 10.3.2 Zugriffsverletzung beim Öffnen von Forms in DLL oder Group mit DLL (https://www.delphipraxis.net/201740-delphi-10-3-2-zugriffsverletzung-beim-oeffnen-von-forms-dll-oder-group-mit-dll.html)

norwegen60 22. Aug 2019 07:19

Delphi 10.3.2 Zugriffsverletzung beim Öffnen von Forms in DLL oder Group mit DLL
 
Hallo,

da meine Subscription ausläuft dachte ich dass ich noch auf 10.3.2 update. Jetzt habe ich das Problem, dass in einem Projekt beim Öffnen von vielen Forms die Fehlermeldung "Zugriffsverletzung bei Adresse 00000000in Modul 'bds.exe'. Lesen von Adresse 00000000". Manche Forms öffnen problemlos.

Folgendes habe ich fetsgestellt:
  • bei den Forms mit Fehlermeldung fehlt der Eintrag "Livebindings-Designer" im Objektinspektor. Ich verwende keine Livebindings.
  • Sobald ich alle Eingabe-Komponenten (TEdit, TRadioGroup, TMemo, ...) in einem betroffenen Form lösche, ist die Fehlermeldung weg. Sobald ich wieder ein TEdit einfüge, ist die Fehlermeldung beim Öffnen wieder da.
  • Der Fehler tritt nur auf, wenn ich das Projekt als Projektgruppe öffne. Öffne ich es einzeln, ist der Fehler weg.
  • Ich habe eine neue Projektgruppe erstellt. Nur mit dem Projekt ist der Fehler weg. Sobald ich eine zweites Projekt, eine DLL, hinzufüge, ist der Fehler da
  • Öffne ich nur ein DLL-Projekt (mit Formular mit Eingabe-Komponenten) tritt der Fehler auch auf
  • Das Projekt lässt sich aber trotz Fehlermeldung problemlos kompilieren.

Hat jemand eine Idee, was man da machen kann?

Hier noch die Details, falls die helfen

Zitat:

(FFFFF215){ } [12090215]
[5005A2B7]{rtl260.bpl } System.@ReallocMem (Line 4983, "System.pas" + 91) + $0
[19A847EF]{dclbindcomp260.bpl} VisualizationClasses.{System.Generics.Collections} TDictionary<VisualizationServicesAPI.IVGNode,Syste m.Generics.Collections.TDictionary<System.string,V isualizationServicesAPI.IVGSubNode>>.AddOrSetValue (Line 7272, "System.Generics.Collections.pas" + 14) + $E
[19D50122]{bindcomp260.bpl} Data.Bind.Components.{System.Generics.Collections} TList<Data.Bind.Components.TBindEditorFactoryClass >.TEnumerator.Create (Line 5340, "System.Generics.Collections.pas" + 4) + $6
[19D11CCC]{bindcomp260.bpl} Data.Bind.Components.GetBindEditor (Line 3598, "Data.Bind.Components.pas" + 3) + $4
[19A6397E]{dclbindcomp260.bpl} VisualizationClasses.TVGElement.IsExternalComponen t (Line 691, "VisualizationClasses.pas" + 8) + $20
[19CD5DE4]{bindcomp260.bpl} Data.Bind.Editors.IsLinkFillControl (Line 149, "Data.Bind.Editors.pas" + 5) + $D
[19CD5DAB]{bindcomp260.bpl} Data.Bind.Editors.IsLinkFillControl (Line 138, "Data.Bind.Editors.pas" + 1) + $2
[19B427B0]{dclbindcomp260.bpl} BindCompRelationshipsReg.GetControlValuePropertyNa me (Line 4171, "BindCompRelationshipsReg.pas" + 2) + $6
[19B442FC]{dclbindcomp260.bpl} BindCompRelationshipsReg.TControlBindableMembersFa ctory.CreateMembers (Line 4554, "BindCompRelationshipsReg.pas" + 2) + $A
[198D633C]{dclbindcomp260.bpl} BindCompRelationships.GetBindableMembers (Line 402, "BindCompRelationships.pas" + 12) + $A
[500679B9]{rtl260.bpl } System.@IntfCopy (Line 38206, "System.pas" + 6) + $0
[19AECE7A]{dclbindcomp260.bpl} LiveBindingsGraphHandler.TBindGraphModel.AddNode (Line 491, "LiveBindingsGraphHandler.pas" + 22) + $1C
[19A67C40]{dclbindcomp260.bpl} VisualizationClasses.TVGModel.AddElement (Line 2027, "VisualizationClasses.pas" + 4) + $6
[19AFFC0D]{dclbindcomp260.bpl} LiveBindingsGraphHandler.TBindGraphModule.MakeMode l (Line 2234, "LiveBindingsGraphHandler.pas" + 29) + $7
[19AFF31D]{dclbindcomp260.bpl} LiveBindingsGraphHandler.TBindGraphModule.Create (Line 2123, "LiveBindingsGraphHandler.pas" + 2) + $7
[19AECCBB]{dclbindcomp260.bpl} LiveBindingsGraphHandler.TBindGraphHandler.CreateM odule (Line 447, "LiveBindingsGraphHandler.pas" + 1) + $B
[19A63221]{dclbindcomp260.bpl} VisualizationClasses.TVGHandler.AddModule (Line 493, "VisualizationClasses.pas" + 1) + $B
[11268AD3]{VisualizationServiceIDE260.bpl} VisualizationIDE.TIDEVGHandler.AddModule (Line 1481, "VisualizationIDE.pas" + 1) + $E
[1126A378]{VisualizationServiceIDE260.bpl} VisualizationIDE.TIDEVGModuleHandler.InitHandler (Line 1735, "VisualizationIDE.pas" + 4) + $E
[1126684D]{VisualizationServiceIDE260.bpl} VisualizationIDE.TVGIDEGauntletHandler.AttachHandl er (Line 885, "VisualizationIDE.pas" + 15) + $8
[208F82D5]{coreide260.bpl} DocModul.TModuleHandlerGauntlet.RunGauntlet (Line 3236, "DocModul.pas" + 4) + $26
[208F374D]{coreide260.bpl} DocModul.TDocModule.AfterConstruction (Line 957, "DocModul.pas" + 5) + $3
[2070C29B]{coreide260.bpl} SourceModule.TSourceModule.AfterConstruction (Line 782, "SourceModule.pas" + 4) + $7
[50060079]{rtl260.bpl } System.@AfterConstruction (Line 18814, "System.pas" + 2) + $5
[2070B0D0]{coreide260.bpl} SourceModule.TSourceModule.Create (Line 364, "SourceModule.pas" + 6) + $29
[21D4973B]{delphicoreide260.bpl} CommonPasReg.TPascalFileOpenHandler.FileOpen (Line 516, "CommonPasReg.pas" + 3) + $D
[208F30A4]{coreide260.bpl} DocModul.TFilterList.OpenFile (Line 808, "DocModul.pas" + 37) + $2
[208F70C3]{coreide260.bpl} DocModul.CallDefaultOpenProc (Line 2653, "DocModul.pas" + 3) + $1D
[2066D967]{coreide260.bpl} ProjectModule.OpenFile (Line 2878, "ProjectModule.pas" + 22) + $D
[21CE5CF1]{delphicoreide260.bpl} BaseDelphiProject.TDelphiProjectModuleHandler.Open Module (Line 4588, "BaseDelphiProject.pas" + 31) + $D
[5005FA28]{rtl260.bpl } System.TObject.GetInterface (Line 17832, "System.pas" + 8) + $A
[5005FA71]{rtl260.bpl } System.TObject.GetInterface (Line 17839, "System.pas" + 15) + $10
[50068DF3]{rtl260.bpl } System.TInterfacedObject.QueryInterface (Line 39295, "System.pas" + 1) + $8
[50231553]{rtl260.bpl } System.SyncObjs.TCriticalSection.Destroy (Line 1041, "System.SyncObjs.pas" + 3) + $11
[50063FD8]{rtl260.bpl } System.@FinalizeArray (Line 32812, "System.pas" + 144) + $0
[21CE5FE1]{delphicoreide260.bpl} BaseDelphiProject.TDelphiProjectModuleHandler.Quer yInterface (Line 4643, "BaseDelphiProject.pas" + 27) + $1B
[50231553]{rtl260.bpl } System.SyncObjs.TCriticalSection.Destroy (Line 1041, "System.SyncObjs.pas" + 3) + $11
[5023157E]{rtl260.bpl } System.SyncObjs.TCriticalSection.TryEnter (Line 1055, "System.SyncObjs.pas" + 1) + $1
[208F72A8]{coreide260.bpl} DocModul.TCodeIDocModule.QueryInterface (Line 2721, "DocModul.pas" + 31) + $8
[500679A8]{rtl260.bpl } System.@IntfClear (Line 38159, "System.pas" + 10) + $0
[208F72C5]{coreide260.bpl} DocModul.TCodeIDocModule.QueryInterface (Line 2724, "DocModul.pas" + 34) + $18
[2066DA36]{coreide260.bpl} ProjectModule.TCustomCodeIProject.QueryInterface (Line 2907, "ProjectModule.pas" + 1) + $A
[2066DA7F]{coreide260.bpl} ProjectModule.TCustomCodeIProject.QueryInterface (Line 2910, "ProjectModule.pas" + 4) + $14
[500679EE]{rtl260.bpl } System.@IntfCast (Line 38281, "System.pas" + 12) + $0
[21CD424E]{delphicoreide260.bpl} BaseDelphiProject.TBaseDelphiProject.OpenModule (Line 1248, "BaseDelphiProject.pas" + 3) + $10
[2066CE9C]{coreide260.bpl} ProjectModule.TCustomCodeIProject.OpenModule (Line 2636, "ProjectModule.pas" + 1) + $13
[20776CA2]{coreide260.bpl} Containers.TStdFileContainer.OpenItem (Line 4007, "Containers.pas" + 16) + $1C
[2068565F]{coreide260.bpl} ProjectMgr.TProjectManager.HandleDblClick (Line 657, "ProjectMgr.pas" + 4) + $1
[206FE8FA]{coreide260.bpl} ProjectFrm.TProjectManagerForm.ProjectTree2DblClic k (Line 2302, "ProjectFrm.pas" + 13) + $16
[50D15809]{vcl260.bpl } Vcl.Controls.TControl.DblClick (Line 7541, "Vcl.Controls.pas" + 1) + $14
[50D15980]{vcl260.bpl } Vcl.Controls.TControl.WMLButtonDblClk (Line 7584, "Vcl.Controls.pas" + 4) + $C
[212DA8AA]{vclide260.bpl} IDEVirtualTrees.TBaseVirtualTree.WMLButtonDblClk (Line 16659, "IDEVirtualTrees.pas" + 2) + $4
[212E574F]{vclide260.bpl} IDEVirtualTrees.TBaseVirtualTree.WndProc (Line 23707, "IDEVirtualTrees.pas" + 19) + $6
[50D19314]{vcl260.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9977, "Vcl.Controls.pas" + 3) + $6
[501796A4]{rtl260.bpl } System.Classes.StdWndProc (Line 17932, "System.Classes.pas" + 11) + $2
[50E6EC33]{vcl260.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10747, "Vcl.Forms.pas" + 23) + $1
[50E6EC76]{vcl260.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10777, "Vcl.Forms.pas" + 1) + $4
[50E6EFA9]{vcl260.bpl } Vcl.Forms.TApplication.Run (Line 10915, "Vcl.Forms.pas" + 26) + $3
[0051D022]{bds.exe } bds.bds (Line 214, "" + 7) + $7
Danke für eure Unterstützung
Gerd

Codehunter 22. Aug 2019 21:47

AW: Delphi 10.3.2 Zugriffsverletzung beim Öffnen von Forms in DLL oder Group mit DLL
 
Mach mal ein Backup des Projektes, lösche alle DCU, DPROJ und GROUPPROJ, öffne nur die DPR und erstelle die Projekt-Konfiguration neu.

norwegen60 22. Aug 2019 22:27

AW: Delphi 10.3.2 Zugriffsverletzung beim Öffnen von Forms in DLL oder Group mit DLL
 
Hallo,

habe alle Dateien gelöscht. Danach war es noch schlimmer. Danach kamen die Fehlermeldungen auch, als ich nur das Projekt über .dpr geöffnet habe.

Grüße
Gerd

norwegen60 23. Aug 2019 21:07

AW: Delphi 10.3.2 Zugriffsverletzung beim Öffnen von Forms in DLL oder Group mit DLL
 
Liste der Anhänge anzeigen (Anzahl: 1)
Hallo,

ich habe mal eine Projektgruppe angehängt in der nur ein neu erstelltes Formular und eine alte, total abgespecktes DLL eingebunden ist. Sobald ich das Formular Unit2.pas oder in_Splash.pas öffne kommt "Zugriffsverletzung bei 19D71CCC in Modul 'bindcomp260.bpl'. Lesen von Adresse 2190D7EC".

Könnte mal jemand mit 10.3.2 probieren, was bei ihm passiert?

Vielen Dank
Gerd

Uwe Raabe 23. Aug 2019 21:58

AW: Delphi 10.3.2 Zugriffsverletzung beim Öffnen von Forms in DLL oder Group mit DLL
 
Hier keine Auffälligkeiten. Du solltest vielleicht mal deine Delphi-Installation überprüfen.

norwegen60 24. Aug 2019 08:19

AW: Delphi 10.3.2 Zugriffsverletzung beim Öffnen von Forms in DLL oder Group mit DLL
 
Mmhh, und worauf muss/kann ich da schauen? Oder heißt das noch mal neu installieren?

Grüße
Gerd

Luckie 24. Aug 2019 08:50

AW: Delphi 10.3.2 Zugriffsverletzung beim Öffnen von Forms in DLL oder Group mit DLL
 
Wenn der Installer eine Reparaturinstallation zu lässt, würde ich erst mal das probieren.

norwegen60 24. Aug 2019 09:50

AW: Delphi 10.3.2 Zugriffsverletzung beim Öffnen von Forms in DLL oder Group mit DLL
 
Das habe ich gemacht. Ohne Erfolg. Habe auch die Komponenten neu installiert. Auch ohne Erfolg.

Habe danach noch mal rum probiert.

In der Installation von 10.3.1 hatte ich die Livebindings ausgeschalten da die Forms sehr lange zum Laden gebraucht haben. Nach der Installation von 10.3.2 waren sie wieder an. Ich habe die drei LiveBindings wieder deaktiviert. Danach sind die Fehlermeldungen weg.

Möchte ich die LiveBindings wieder aktivieren, kommt die Fehlermeldung "Eine Methode mit dem Namen ListItemIndes ist bereits vorhanden." und die bleiben deaktiv. Jetzt stört mich nicht besonders, wenn die Livebindings deaktiv sind. Aber falls ich sie doch mal einsetzen will:

Hat jemand eine Idee, woher die Fehlermeldung "Eine Methode mit dem Namen ListItemIndes ist bereits vorhanden." kommen kann?
Ich habe u.A TMS Componentpack, TeeChart, QuickReport 6, UniDac, JCL und JVCL installiert. Die habe ich nach Update von 10.3.1 auf 10.30.2 nicht neu installiert.

Grüße
Gerd

Luckie 24. Aug 2019 10:02

AW: Delphi 10.3.2 Zugriffsverletzung beim Öffnen von Forms in DLL oder Group mit DLL
 
Also hast du jetzt eine nackte IDE ohne Fremdkomponenten, die dazwischen funken könnten?

Uwe Raabe 24. Aug 2019 11:12

AW: Delphi 10.3.2 Zugriffsverletzung beim Öffnen von Forms in DLL oder Group mit DLL
 
Zitat:

Zitat von norwegen60 (Beitrag 1442924)
Hat jemand eine Idee, woher die Fehlermeldung "Eine Methode mit dem Namen ListItemIndes ist bereits vorhanden." kommen kann?

Das ist ein bekannter Fehler in der Unit Data.Bind.EngExt.pas. Die Methode ListItemIndex wird im initialization Teil registriert, aber im finalization nicht wieder de-registriert. Daher kommt es beim erneuten Laden des Package zu dieser Doublette.

Data.Bind.EngExt doesn't clean up properly in UnregisterMethods


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:44 Uhr.
Seite 1 von 2  1 2      

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