Comments (3)
It might be some runtime error, e.g. an out-of-bounds error if the script had bounds opcodes (compiled with -d1 and above). You might want to run the same gamemode with crashdetect and see if it detects any errors.
from samp-plugin-jit.
Alright. I will investigate. An option to enable logging (perhaps even a backtrace) when a BOUNDS
opcode fails would be really helpful, however.
from samp-plugin-jit.
Yeah, I should add something like that.
For the time being I have an idea: add a debug break inside the bounds opcode like this:
...
asm_.bind(halt_label);
asm_.int3(); // int 3 = debug break
asm_.mov(edi, AMX_ERR_BOUNDS);
asm_.jmp(halt_helper_label_);
asm_.bind(exit_label);
and run the server under gdb, so when the bounds check fails gdb will stop immediately (with a SIGTRAP signal) giving you a chance to get a stack trace.
It would be possible then to use the debugging method described on the wiki to find the location of that bounds opcode (using a modified pawndisasm from here).
from samp-plugin-jit.
Related Issues (20)
- Inconsistency HOT 2
- Crashes HOT 2
- floatlog is slower with jit. HOT 2
- LCTRL 8 / SCTRL 8 - get/set ASM pointer HOT 3
- IsJITPresent returns false in OnJITCompile HOT 4
- `alt` not preserved across SYSREQ.C calls. HOT 3
- sampctl support HOT 3
- crashdetect must be loaded before jit, jit must be loaded before crashdetect HOT 3
- [error]ubuntu 14.04 HOT 7
- AMX_EXEC_CONT (and context switching) support HOT 38
- Centos 7 JIT Crash HOT 1
- JIT bug Debian 9
- JIT crashes with Extended Vehicle Info HOT 1
- JIT Sleep: ExecContHelper tries to jump to null address. HOT 2
- crashed palyers
- package ensure failure for sampctl
- [jit] Compilation was disabled with streamer.dll enabled with jit 2.4.1 and 2.4
- [jit] Compilation was disabled , Problem & .AMX Size problem. HOT 1
- JIT and Crashdetect togetherCrashdetect HOT 1
- Invalid or unsupported instruction HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from samp-plugin-jit.