Tommi Prami 130 Posted September 28, 2022 https://quality.embarcadero.com/browse/RSP-39546?filter=18027 Vote and/or collaborate if feels serious to you... -Tee- Share this post Link to post
Sherlock 663 Posted September 28, 2022 Looks peculiar enough to say: I don't understand half of what is written there. Is the compiler not deterministic anymore? Share this post Link to post
Attila Kovacs 629 Posted September 28, 2022 Unit1.pas.20: begin 0041A868 55 push ebp 0041A869 8BEC mov ebp,esp 0041A86B 6A00 push $00 0041A86D 6A00 push $00 0041A86F 6A00 push $00 0041A871 53 push ebx 0041A872 8B5D08 mov ebx,[ebp+$08] 0041A875 8B5B0C mov ebx,[ebx+$0c] ebx is very well initialized Share this post Link to post
Vandrovnik 214 Posted September 28, 2022 (edited) 3 hours ago, Attila Kovacs said: Unit1.pas.20: begin 0041A868 55 push ebp 0041A869 8BEC mov ebp,esp 0041A86B 6A00 push $00 0041A86D 6A00 push $00 0041A86F 6A00 push $00 0041A871 53 push ebx 0041A872 8B5D08 mov ebx,[ebp+$08] 0041A875 8B5B0C mov ebx,[ebx+$0c] ebx is very well initialized You have probably changed the unit; in my environment, access violation occurs, too. Edited September 28, 2022 by Vandrovnik Share this post Link to post
Attila Kovacs 629 Posted September 28, 2022 @Vandrovnik How get you run that "unit" without touching it? Share this post Link to post
Vandrovnik 214 Posted September 28, 2022 17 minutes ago, Attila Kovacs said: @Vandrovnik How get you run that "unit" without touching it? Just added to existing (command-line) project using menu Project, Add to project. Share this post Link to post
Tommi Prami 130 Posted September 29, 2022 19 hours ago, Vandrovnik said: You have probably changed the unit; in my environment, access violation occurs, too. Please report to the Bug Report that you could reproduce it... Share this post Link to post
Vandrovnik 214 Posted September 29, 2022 7 minutes ago, Tommi Prami said: Please report to the Bug Report that you could reproduce it... Done. 1 Share this post Link to post
Tommi Prami 130 Posted September 29, 2022 Even tough this is very weird example, but seems like something that with some bad luck one could get hit by that. -Tee- Share this post Link to post
Vandrovnik 214 Posted September 29, 2022 8 minutes ago, Tommi Prami said: Even tough this is very weird example, but seems like something that with some bad luck one could get hit by that. -Tee- Exactly... When compiled to Windows-64, it works fine. Share this post Link to post