Giter Club home page Giter Club logo

Comments (4)

ptitSeb avatar ptitSeb commented on August 27, 2024

try to get ome box log. Use those env. var. to launch the server: BOX86_LOG=1 BOX86_SHOWSEGV=1 BOX86_SHOWBT=1 BOX86_TRACE_FILE=logs.txt that will generate logs in "logs.txt", and will print the segfault.

You can also try to run the server with BOX86_DYNAREC_STRONGMEM=1 in case this is a multi-threading issue (it can be, because it seems pseudo random).

from box86.

tiagojofran avatar tiagojofran commented on August 27, 2024

I applied the variables as requested, including BOX86_DYNAREC_STRONGMEM=1, which didn't seem to help.
This issue really seems to be random, I had to force the crash a few times to reproduce the segfault, because the "hanging" without a segfault occurs more often.
The logs I've obtained were pretty much identical as before, the difference were these lines, which I believe are describing the segfault:

3197510|SIGSEGV @0x6294900c (???(./ucc-bin-real/0x6294900c)) (x86pc=0x4004007b/???:"???", esp=0xea7fc04c, stack=0xea000000:0xea800000 own=(nil) fp=0xea7fc078), for accessing 0x1b (code=1/prot=0), db=(nil)((ni>ESP-0x10:0x36f00000 ESP-0x0c:0xea7fc06c ESP-0x08:0x65b538a4 ESP-0x04:0xea7fc078
ESP+0x00:0x08057315 ESP+0x04:0x65b53314 ESP+0x08:0x65b53028 ESP+0x0c:0xea7fc088
Native bactrace:

The logs just end there.

Also, the server logs showed these after different crashes:

Apr 17 08:26:45 oci-server ucc-bin[3197510]: malloc(): invalid size (unsorted)

Apr 17 08:48:08 oci-server ucc-bin[3203276]: corrupted size vs. prev_size

Are these of any help?

from box86.

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.