Michael Collier 1 Posted March 3, 2022 Hello, I get an Access Violation when opening my Project Group from Welcome Page, I believe I hit Return Key on my project group (rather than mouse click, but not sure). I can still carry on compiling etc. [216A947A]{WelcomePageIDE280.bpl} Welcomepage.Listview.TWPPluginListView.DoOnItemClick + $3A [50CCEB49]{vcl280.bpl } Vcl.Controls.TWinControl.WMChar (Line 11737, "Vcl.Controls.pas" + 7) + $6 [50CC7CCA]{vcl280.bpl } Vcl.Controls.TControl.WndProc (Line 7544, "Vcl.Controls.pas" + 91) + $6 [5006076C]{rtl280.bpl } System.TMonitor.Destroy (Line 19558, "System.pas" + 0) + $0 [50064774]{rtl280.bpl } System.@FinalizeRecord (Line 32815, "System.pas" + 76) + $2 [50DCDE51]{vcl280.bpl } Vcl.Themes.TStyleManager.GetStyle (Line 5789, "Vcl.Themes.pas" + 7) + $D [50061544]{rtl280.bpl } System.@TryFinallyExit (Line 23404, "System.pas" + 8) + $0 [50DCDF3F]{vcl280.bpl } Vcl.Themes.TStyleManager.GetStyle (Line 5800, "Vcl.Themes.pas" + 18) + $1E [50CC97AE]{vcl280.bpl } Vcl.Controls.TControl.GetStyleName (Line 8578, "Vcl.Controls.pas" + 5) + $7 [50EF0AA3]{vcl280.bpl } Vcl.Styles.TCustomStyle.SourceLoaded (Line 3315, "Vcl.Styles.pas" + 1) + $13 [500602C7]{rtl280.bpl } System.TObject.Dispatch (Line 18874, "System.pas" + 11) + $0 [50DD1DB9]{vcl280.bpl } Vcl.Themes.TStyleHook.WndProc (Line 7684, "Vcl.Themes.pas" + 38) + $6 [50DD1F90]{vcl280.bpl } Vcl.Themes.TMouseTrackControlStyleHook.WndProc (Line 7784, "Vcl.Themes.pas" + 0) + $0 [50E13C70]{vcl280.bpl } Vcl.Forms.TScrollingStyleHook.WndProc (Line 14791, "Vcl.Forms.pas" + 0) + $0 [50DD15DE]{vcl280.bpl } Vcl.Themes.TStyleHook.HandleMessage (Line 7389, "Vcl.Themes.pas" + 20) + $6 [50EF128E]{vcl280.bpl } Vcl.Styles.TStyleEngine.HandleMessage (Line 3603, "Vcl.Styles.pas" + 22) + $B [50DCE070]{vcl280.bpl } Vcl.Themes.TStyleManager.HandleMessage (Line 5858, "Vcl.Themes.pas" + 11) + $11 [50CCAE2F]{vcl280.bpl } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9408, "Vcl.Controls.pas" + 0) + $F [50CCCDBD]{vcl280.bpl } Vcl.Controls.TWinControl.WndProc (Line 10579, "Vcl.Controls.pas" + 170) + $6 [00B23247]{vclwinx280.bpl} Vcl.ControlList.TCustomControlList.WndProc (Line 1392, "Vcl.ControlList.pas" + 18) + $4 [50CCC338]{vcl280.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 10267, "Vcl.Controls.pas" + 3) + $6 [50174200]{rtl280.bpl } System.Classes.StdWndProc (Line 18318, "System.Classes.pas" + 8) + $0 [50E0D68F]{vcl280.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 11317, "Vcl.Forms.pas" + 23) + $1 [50E0D6D2]{vcl280.bpl } Vcl.Forms.TApplication.HandleMessage (Line 11347, "Vcl.Forms.pas" + 1) + $4 [50E0DA11]{vcl280.bpl } Vcl.Forms.TApplication.Run (Line 11486, "Vcl.Forms.pas" + 27) + $3 [004F6F82]{bds.exe } bds.bds (Line 227, "" + 16) + $2 Share this post Link to post
Lars Fosdal 1792 Posted March 4, 2022 Which version of Delphi? Any IDE plugins or designtime data-aware components? Share this post Link to post
Michael Collier 1 Posted March 4, 2022 29 minutes ago, Lars Fosdal said: Which version of Delphi? 32 minutes ago, Lars Fosdal said: Any IDE plugins or designtime data-aware components? No IDE Plugins & just TForm and TMemo Slightly different message this time.. [20F73ABE]{designide280.bpl} DeskForm.UnlockIDEDrawing (Line 289, "DeskForm.pas" + 9) + $9 [216A947A]{WelcomePageIDE280.bpl} Welcomepage.Listview.TWPPluginListView.DoOnItemClick + $3A [50CCEB49]{vcl280.bpl } Vcl.Controls.TWinControl.WMChar (Line 11737, "Vcl.Controls.pas" + 7) + $6 [50CC7CCA]{vcl280.bpl } Vcl.Controls.TControl.WndProc (Line 7544, "Vcl.Controls.pas" + 91) + $6 [5006076C]{rtl280.bpl } System.TMonitor.Destroy (Line 19558, "System.pas" + 0) + $0 [50064774]{rtl280.bpl } System.@FinalizeRecord (Line 32815, "System.pas" + 76) + $2 [50DCDE51]{vcl280.bpl } Vcl.Themes.TStyleManager.GetStyle (Line 5789, "Vcl.Themes.pas" + 7) + $D [50061544]{rtl280.bpl } System.@TryFinallyExit (Line 23404, "System.pas" + 8) + $0 [50DCDF3F]{vcl280.bpl } Vcl.Themes.TStyleManager.GetStyle (Line 5800, "Vcl.Themes.pas" + 18) + $1E [50CC97AE]{vcl280.bpl } Vcl.Controls.TControl.GetStyleName (Line 8578, "Vcl.Controls.pas" + 5) + $7 [50EF0AA3]{vcl280.bpl } Vcl.Styles.TCustomStyle.SourceLoaded (Line 3315, "Vcl.Styles.pas" + 1) + $13 [500602C7]{rtl280.bpl } System.TObject.Dispatch (Line 18874, "System.pas" + 11) + $0 [50DD1DB9]{vcl280.bpl } Vcl.Themes.TStyleHook.WndProc (Line 7684, "Vcl.Themes.pas" + 38) + $6 [50DD1F90]{vcl280.bpl } Vcl.Themes.TMouseTrackControlStyleHook.WndProc (Line 7784, "Vcl.Themes.pas" + 0) + $0 [50E13C70]{vcl280.bpl } Vcl.Forms.TScrollingStyleHook.WndProc (Line 14791, "Vcl.Forms.pas" + 0) + $0 [50DD15DE]{vcl280.bpl } Vcl.Themes.TStyleHook.HandleMessage (Line 7389, "Vcl.Themes.pas" + 20) + $6 [50EF128E]{vcl280.bpl } Vcl.Styles.TStyleEngine.HandleMessage (Line 3603, "Vcl.Styles.pas" + 22) + $B [50DCE070]{vcl280.bpl } Vcl.Themes.TStyleManager.HandleMessage (Line 5858, "Vcl.Themes.pas" + 11) + $11 [50CCAE2F]{vcl280.bpl } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9408, "Vcl.Controls.pas" + 0) + $F [50CCCDBD]{vcl280.bpl } Vcl.Controls.TWinControl.WndProc (Line 10579, "Vcl.Controls.pas" + 170) + $6 [017F3247]{vclwinx280.bpl} Vcl.ControlList.TCustomControlList.WndProc (Line 1392, "Vcl.ControlList.pas" + 18) + $4 [50CCC338]{vcl280.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 10267, "Vcl.Controls.pas" + 3) + $6 [50174200]{rtl280.bpl } System.Classes.StdWndProc (Line 18318, "System.Classes.pas" + 8) + $0 [50E0D68F]{vcl280.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 11317, "Vcl.Forms.pas" + 23) + $1 [50E0D6D2]{vcl280.bpl } Vcl.Forms.TApplication.HandleMessage (Line 11347, "Vcl.Forms.pas" + 1) + $4 [50E0DA11]{vcl280.bpl } Vcl.Forms.TApplication.Run (Line 11486, "Vcl.Forms.pas" + 27) + $3 [004F6F82]{bds.exe } bds.bds (Line 227, "" + 16) + $2 Share this post Link to post
Lars Fosdal 1792 Posted March 4, 2022 If you close your projects and start a new one and empty one - do you get the same errors when you start the IDE? Share this post Link to post
Stéphane Wierzbicki 45 Posted March 4, 2022 (edited) I'm getting as well a lot of Access violation... As soon as I display a form in my project. I thought that this was solved by restarting my VM but this is happening again... https://quality.embarcadero.com/browse/RSP-37078 I will not be surprised if this is related to their protection system! Edited March 4, 2022 by Stéphane Wierzbicki More info Share this post Link to post
SwiftExpat 65 Posted March 4, 2022 Have you tried running the IDE without the welcome page? The option is -np cd "c:\Program Files (x86)\Embarcadero\Studio\22.0"\bin c:\Program Files (x86)\Embarcadero\Studio\22.0\bin>bds -np Share this post Link to post
Uwe Raabe 2057 Posted March 4, 2022 40 minutes ago, SwiftExpat said: The option is -np Are you sure that still works with Delphi 11? Share this post Link to post
Lars Fosdal 1792 Posted March 4, 2022 3 minutes ago, Uwe Raabe said: Are you sure that still works with Delphi 11? It actually works in 11.0 too. Share this post Link to post
SwiftExpat 65 Posted March 4, 2022 3 minutes ago, Uwe Raabe said: Are you sure that still works with Delphi 11? It still works with 11.0, you can always click on "View" --> Welcome page. I used it yesterday to cut some time when I was debugging an IDE expert. The IDE loads a little faster, the welcome page really stumbles ( gittery to size the panes and the youtube video list takes a long time to load) on my system. Share this post Link to post
Stano 143 Posted March 4, 2022 That's why I only have one panel on the Welcome Page. With a list of projects. Share this post Link to post
SwiftExpat 65 Posted March 4, 2022 Did you modify the layout, using the edit layout? You have likely found a bug and need to file it in QP. I would isolate it by starting without the Welcome page and choose file open project. If you do not get the exception, you know it is a bug. Share this post Link to post
Michael Collier 1 Posted March 4, 2022 5 hours ago, Lars Fosdal said: If you close your projects and start a new one and empty one - do you get the same errors when you start the IDE? No - that seems to be ok To get the same error at your end try downloading demos from here: https://github.com/DelphiWorlds/Kastri 1) Open project group KastriDemosGroup 2) Make sure that the NFCDemo project is the Active Project in the Project Group and Save All. 3) Open RAD Studio and in Welcome Screen hit Enter Key on KastriDemosGroup Repeat but at step (3) but Double Click with mouse and you won't get the error. 1 Share this post Link to post
Michael Collier 1 Posted March 4, 2022 1 hour ago, SwiftExpat said: Did you modify the layout, using the edit layout? No, didn't do that Share this post Link to post
SwiftExpat 65 Posted March 4, 2022 2 hours ago, Michael Collier said: 1) Open project group KastriDemosGroup 2) Make sure that the NFCDemo project is the Active Project in the Project Group and Save All. 3) Open RAD Studio and in Welcome Screen hit Enter Key on KastriDemosGroup Repeat but at step (3) but Double Click with mouse and you won't get the error. I can reproduce using the Kastri demos and other projects & project groups. Seems like onclick has a different path than on keypress. I think it is reproduce-able enough to file it, Ill give it a vote. Even if it does not get fixed it is nice to have an explaination Great job on documenting the steps to reproduce. Share this post Link to post
Michael Collier 1 Posted March 5, 2022 5 hours ago, SwiftExpat said: Great job on documenting the steps to reproduce. Thank you 🙂 ... Hopefully the bug will be fixed quickly.. Share this post Link to post