Comments (14)
Which version are you using?
from samp-plugin-crashdetect.
Latest version, i downloaded yesterday crashdetect-4.10-linux.tar.gz and tested... this problem happend before also, and my gamemode is to bih to rewrap lines with notepad++, i need days for do that...
I tested lvdm few hours ago, and when i have more than 65and something thousands lines, crashdetect plugin wont print line in gamemode...
from samp-plugin-crashdetect.
I have new information, i think that problem with line numbers is only with linux version. On windows server even wont crash on wrong array index, on linux is same only if number of gamemode lines is under 65535 lines
Can that be fixed? Or i must reduce line numbers in gamemode?
from samp-plugin-crashdetect.
There's a patch for the pawn compiler here: https://github.com/Zeex/pawn-3.2.3664_patches/tree/master/not_samp_compatible (actually in two files) that fixes that limitation but you'll have to re-compile crashdetect as well (with the new header) to make it work.
from samp-plugin-crashdetect.
Ok, thanks, i will test it today
from samp-plugin-crashdetect.
"but you'll have to re-compile crashdetect as well (with the new header) to make it work." - can you tell me how to compile crashdetect plugin with new header? what i must change frow original source and how?
from samp-plugin-crashdetect.
If you already patched the compiler then you just copy the new amxdbg.h
from pawn/source/amx/
to crashdetect/amx/
and build crashdetect
from samp-plugin-crashdetect.
Ok, i have downloaded new patched compiler from link(Pre-compiled binaries): https://github.com/Zeex/pawn-3.2.3664_patches
Now where can i find new amxdbg.h to recompile crashdetect plugin?
from samp-plugin-crashdetect.
Those binaries contain only SA-MP compatible patches, so you have to patch it yourself adding the patches from not_samp_compatible/
(just use apply_all.sh
instead of apply_compatible.sh
)
from samp-plugin-crashdetect.
Ok, i have try, but its not working. Can you tell me did i do something wrong:
1.) I have follow Build Instructions on this link: https://github.com/Zeex/pawn-3.2.3664_patches
- And compile with apply_all-sh
2.) Downloaded crashdetect master
3.) Replaced amxdbg.h in crashdetect/amx/ width amxdbg.h from pawn patches
4.) Compile crashdetect plugin i got crashdetect.so
5.) Placed in plugins folder
6.) Recompile samp gamemode with new pawncc
And everything is the same, its not showing information about crash.
I have try -d2, -d3 flags, nothing, its still problem with number of lines in gamemode...
Tested on Ubuntu and Centos.
Do you have solution? Did you tested any gamemode with more than 65535 lines?
from samp-plugin-crashdetect.
Hontestly I've never tested a gamemode with more than 65k lines with that compiler but I'm sure it should work.
Are you sure all the patches have been applied? I've just found a minor mistake in that script that was preventing the not_samp_compatible
patches from being applied (seems like I forgot to test in combination with apply_all.sh
).
Anyway, I'm going to build the compiler with those patches and upload new binaries today, stay tuned.
from samp-plugin-crashdetect.
Here you go:
https://github.com/Zeex/pawn-3.2.3664_patches/raw/downloads/pawncc-windows-all.zip
https://github.com/Zeex/pawn-3.2.3664_patches/raw/downloads/pawncc-linux-all.tar.gz
The patched amxdbg.h
is here:
https://gist.github.com/Zeex/5128070
CrashDetect:
https://dl.dropbox.com/u/26413047/crashdetect-4.10-win32.zip
from samp-plugin-crashdetect.
Thanks, i will test later on centos and ubuntu with compiling crashdetect plugin with new amxdbg.h.
from samp-plugin-crashdetect.
Thanks Zeex, i have recompiled plugin for ubuntu and everything is working fine.
from samp-plugin-crashdetect.
Related Issues (20)
- How do i know which function/callback that made server crash? HOT 1
- Server crashed due to an unknown error
- Crashdetector cannot extract a readable error information
- Server crashed due to an unknown error [Random]
- Server crashed due to an unknown error
- Crash Cannot be Found and Something Fish HOT 1
- GLIBC not found (Y-Less crashdetect)
- crashdetect 4.20 for openmp crashes the server, it randomly crashes, no error line HOT 1
- errors in crashdetect? HOT 1
- help with debug info HOT 1
- Server crashed due to an unknown error HOT 2
- #0 000680a0 in ?? () in <unknown> (in open mp, from the long name of the interception) HOT 4
- crashdetect_log for open mp
- Execução longa de retorno de chamada detectada (travamento ou problema de desempenho) HOT 1
- Long callback execution detected (hang or performance issue)
- Segmentation fault in combination with PawnPlus since 4.20
- Issues with Plugin Load Order
- crashdetect reports incorrect location of error with open.mp latest release HOT 1
- Server Crashed due to an unknown error HOT 2
- Could not load plugin: The specified module could not be found 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-crashdetect.