Skip to content
Low-level programming · Higher-level thinking
Login Register
Forum / Bugs and Fixes

access violation with 1.1.28.1

A community discussion post from the original code:zIRON forum.

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

access violation with 1.1.28.1

i have just download the new version of ziron '1.1.28.1' and tring that

program WIN32CUI 'ssleep test';

ssleep  5;

ExitProcess(0);

i got that

Access violation at address 0054305B in module 'Sleep.dll'. Read of address 9A12B5F1

BTW , it was woring very well with latest beta version.

http://www.freewebs.com/ogremagic/index.htm

Replies

Colin admin
Posts
928
Threads
49
Location
Bulgaria

please get the latest beta and let me know if this fixes the problem.

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

with latest beta i got that error

[1,148]: Error 3123332 in [plugin buffer]

http://www.freewebs.com/ogremagic/index.htm

Colin admin
Posts
928
Threads
49
Location
Bulgaria

posting that is not very helpful, remember when posting about problems or errors you need to also post the line of code it displays.

That error could relate to add, sub, mov or lea if something is incorrect size

e.g.

mov qword[eax], 6

this would cause this error.

Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

ok here it is

Ziron Compiler 1.1.29.3 Copyright (C) 2011. OverHertz Ltd. All rights reserved. -------------------------------------------- 11/30/2011 6:36:40 PM -------------------------------------------- PlugSys: Basic plugin has loaded! PlugSys: Emit plugin has loaded! PlugSys: Masm plugin version 0.01 has loaded! PlugSys: Sleep seconds plugin has loaded [1,148]: Error 3123332 in [plugin buffer] Code: function H_strcpy(Dword dst,src) { Eax = dst; Edx = src; push Eax; BL = [Edx]; while ( BL != 0) { [Eax] = BL; Eax++; Edx++; BL = [Edx]; } [Eax] = 0; pop Eax;} -------------------------------------------- Press the [enter] key to exit.

http://www.freewebs.com/ogremagic/index.htm

Colin admin
Posts
928
Threads
49
Location
Bulgaria

ok i see the problem it will be fixed soon

but you have a mistake in your code that also is the cause of the syntax error

[Eax] = 0; 

this would be a dword move... you are moving 0x00000000 to [eax]... you need byte or char

char[Eax] = 0; 
Emil_halim member
Posts
639
Threads
104
Location
Alex, Egypt

ok i have fix it and now , everything is working okay.

thanks.

http://www.freewebs.com/ogremagic/index.htm