GithubHelp home page GithubHelp logo

Illegal instruction about box64 HOT 5 CLOSED

davidzengxhsh avatar davidzengxhsh commented on May 28, 2024
Illegal instruction

from box64.

Comments (5)

ptitSeb avatar ptitSeb commented on May 28, 2024

The SIGILL is probably a consequence of something else going wrong here. Can you run with BOX64_ROLLING_LOG=1 to see what are the latest wrapped function call, as it maybe an issue with one.

from box64.

davidzengxhsh avatar davidzengxhsh commented on May 28, 2024

This is the log with BOX64_ROLLING_LOG=1:
Using native(wrapped) libm.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Last calls
466304|0xcf79ce: Calling calloc (./gcc-x64)(0x1, 0x40, 0x41, ...) => return 0x61FC7C80
466304|0xbcc3e6: Calling ???(/lib64/libc.so.6+0xffff89868480)(0x61FBC000, 0x0, 0x820, ...) => return 0x61FBC000
466304|0xbcb708: Calling ???(/lib64/libc.so.6+0xffff89868480)(0x61FB8320, 0x0, 0x28, ...) => return 0x61FB8320
466304|0xbcb708: Calling ???(/lib64/libc.so.6+0xffff89868480)(0x61FB3900, 0x0, 0x30, ...) => return 0x61FB3900
466304|0xbd3819: Calling strlen (/lib64/libc.so.6)("cleanup") => return 0x7
466304|0x530a8a: Calling memcmp (/lib64/libc.so.6)(0x61F7CB60, 0xFFFF86C4C3B8, 0xD, ...) => return 0x0
466304|0x530d2a: Calling memcmp (/lib64/libc.so.6)(0x61F2B678, 0xFFFF86C4C3C6, 0x5, ...) => return 0x0
466304|0xbcb708: Calling ???(/lib64/libc.so.6+0xffff89868480)(0x61F16200, 0x0, 0x40, ...) => return 0x61F16200
466304|0x530a8a: Calling memcmp (/lib64/libc.so.6)(0x61F37618, 0xFFFF86C4C3D0, 0x13, ...) => return 0x0
466304|0x530d2a: Calling memcmp (/lib64/libc.so.6)(0x61DD2218, 0xFFFF86C4C3E7, 0x6, ...) => return 0x0
466304|0xca408c: Calling ???(/lib64/libc.so.6+0xffff89867950)(0x61E0A86A, 0xFFFF86C4C3F0, 0x2, ...) => return 0x61E0A86A
466304|0x530d2a: Calling memcmp (/lib64/libc.so.6)(0x61DD21B8, 0xFFFF86C4C3F6, 0x6, ...) => return 0x0
466304|0x530a8a: Calling memcmp (/lib64/libc.so.6)(0x61F37618, 0xFFFF86C4C3FE, 0x13, ...) => return 0x0
PltResolver => return 0x61E29B00
466304|0x437237: Calling my__obstack_newchunk (./gcc-x64)(0xF7A540, 0x38, 0x38, ...) => return
466304|0x65435e: Calling free (./gcc-x64)(0x61FC7C80, 0xC, 0x41, ...) => return 0xF743E8
466304|SIGILL @0xc1e230 (???(0xc1e230)) (x64pc=0x50113/???:"???", rsp=0xffff88c93e58, stack=0xffff88497000:0xffff88c97000 own=(nil) fp=0x61dcb038), for accessing 0xc1e230 (code=1/prot=87), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x0000000061dcb038 RSP-0x18:0x0000000061e06460 RSP-0x10:0x0000000061d3a670 RSP-0x08:0x0000000000000006
RSP+0x00:0x0000000000437237 RSP+0x08:0x0000ffff88c93ed0 RSP+0x10:0x0000000000484c3e RSP+0x18:0x0000ffff88c94068 opcode=48 85 FF B8 01 00 00 00 (C3 00 00 00 00)
Illegal instruction (core dumped)

from box64.

ptitSeb avatar ptitSeb commented on May 28, 2024

Yeah, so issue will be the wrapped _obstack_newchunk(...). I need to analyse what that function is supposed to do and check with what the wrapper is actually doing.

from box64.

ptitSeb avatar ptitSeb commented on May 28, 2024

I tried some fix, can you update box64 and try again?

from box64.

davidzengxhsh avatar davidzengxhsh commented on May 28, 2024

Tried with the latest code, issue fixed.
Thanks!

from box64.

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.