Jump to content
Tommi Prami

Stumbled upon serious looking bug report

Recommended Posts

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
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
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.

 

image.thumb.png.f4e718e2bb8ee4884067216a574b0138.png

Edited by Vandrovnik

Share this post


Link to post
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
19 hours ago, Vandrovnik said:

You have probably changed the unit; in my environment, access violation occurs, too.

 

image.thumb.png.f4e718e2bb8ee4884067216a574b0138.png

Please report to the Bug Report that you could reproduce it...

Share this post


Link to post

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×