Giter Site home page Giter Site logo

Comments (13)

kobalicek avatar kobalicek commented on May 22, 2024

I will check this out tonight, thanks for the report!

About the virtual memory manager I'm not sure without having some snippet that can reproduce the issue.

from asmjit.

kobalicek avatar kobalicek commented on May 22, 2024

Well, when using set instruction you should cast the register to 8-bit by using r8(), because it works on byte registers only. I think that I can remove this restriction, but I kept it to be strict in this case so the user knows that the rest of the register will not be cleared.

from asmjit.

Nekotekina avatar Nekotekina commented on May 22, 2024

Thanks, I'll try r8(), maybe it'll fix first error too.

from asmjit.

kobalicek avatar kobalicek commented on May 22, 2024

Hi, what about the virtual memory issue, do you have more info about it?

from asmjit.

Nekotekina avatar Nekotekina commented on May 22, 2024

Hi, unfortunately, I can't reproduce it, it appeared only once or twice...

from asmjit.

Nekotekina avatar Nekotekina commented on May 22, 2024

Error
VirtualAllocEx() failed with error 0x57: (Wrong parameters ???)
(mSize=0x0, protect=0x40, hProcess=0xffffffffffffffff)

I added some code to detect "No virtual memory" error...
Seems size is zero for some reason.

from asmjit.

kobalicek avatar kobalicek commented on May 22, 2024

I'm confused with this one, I double-checked for possible bugs related to this, but couldn't find anything. I'm gonna merge v1.2 branch soon and add more tracking.

from asmjit.

Nekotekina avatar Nekotekina commented on May 22, 2024

I changed previous message a bit, now I have full data.

from asmjit.

kobalicek avatar kobalicek commented on May 22, 2024

Okay, the only explanation would be that there is a race condition when initializing VMemLocal. If you call VMemUtil::getPageSize() at the start of your app it can workaround this one.

I think this should be fixed by #42 I'm planning to merge today or tomorrow.

from asmjit.

Nekotekina avatar Nekotekina commented on May 22, 2024

Thank you, I hope it's been fixed.

from asmjit.

kobalicek avatar kobalicek commented on May 22, 2024

Hi Ivan, do you still have problems with this ? I would close otherwise.

from asmjit.

Nekotekina avatar Nekotekina commented on May 22, 2024

Hi, it never occured last time. I think it can be closed.

from asmjit.

kobalicek avatar kobalicek commented on May 22, 2024

thanks, closing.

from asmjit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.