[Plugin] JIT compiler
#21

nice, I will test this. had a problem loading it, but I solved it myself
Reply
#22

Very nice your plugins are awesome Zeex !
Reply
#23

Awwwww.. I first thought: AWESOME, then I went trying, and it pretty much didnt do what I wanted, and crashed few times D:

Waiting for a fix :P
Reply
#24

I cannot seem to find the DLL? Or am I missing something here?
Reply
#25

Quote:
Originally Posted by Slice
Посмотреть сообщение
I love how you make incredible things then just explain them with one paragraph like it's nothing! GREAT job!
ah lol yeah :d

xD this is really amazing going to test it now *
Reply
#26

Quote:
Originally Posted by Vince
Посмотреть сообщение
I cannot seem to find the DLL? Or am I missing something here?
https://github.com/Zeex/samp-jit-plugin/downloads -> Select 'jit-0.1.4-win32.zip'
Reply
#27

Filterscript won't load and execution stops.
Reply
#28

Quote:
Originally Posted by RobinOwnz
Посмотреть сообщение
Dafuq did I download yesterday then? Thanks.

Edit: tested it, server crashes at OnPlayerSpawn.
Reply
#29

Quote:
Originally Posted by SPAWN_METAL
View Post
Size of amx file - 30 MB
dafaq, what are you doing with your gamemode?!
I got 94k lines and my amx is 6.9 MB ...
Reply
#30

Quote:
Originally Posted by Meta
Посмотреть сообщение
dafaq, what are you doing with your gamemode?!
I got 94k lines and my amx is 6.9 MB ...
offtopic but
90k lines, 10 mb for Initialize structures, coordinates etc, 7 mb for clan structures, 10 mb for variables MAX_PLAYERS 800
Reply
#31

His account is gone from this forum, not from GitHub. He's still updating it.

Recent changes: https://github.com/Zeex/samp-jit-plugin/commits/master
Reply
#32

JIT didnt like my gamemode :/
pawn Код:
[22:09:05] [debug] Server crashed due to an unknown error
[22:09:05] [debug] Thread backtrace:
[22:09:05] [debug] #0  0xb684f2ce in crashdetect::PrintThreadBacktrace(int) () from plugins/crashdetect.so
[22:09:05] [debug] #1  0xb684de04 in crashdetect::Crash() () from plugins/crashdetect.so
[22:09:05] [debug] #2  0xb6858815 in ?? () from plugins/crashdetect.so
[22:09:05] [debug] #3  0xb7c955d8 in ?? () from /lib/libc.so.6
[22:09:05] [debug] #4  0xb687cf09 in jit::Jitter::CallFunction(int, int*, int*) () from plugins/jit.so
[22:09:05] [debug] #5  0xb687cd7d in jit::Jitter::CallPublicFunction(int, int*) () from plugins/jit.so
[22:09:05] [debug] #6  0xb68874f3 in ?? () from plugins/jit.so
[22:09:05] [debug] #7  0x806b5a6 in ?? () from ./samp03svr
[22:09:05] [debug] #8  0x807a691 in ?? () from ./samp03svr
[22:09:05] [debug] #9  0x807a99a in ?? () from ./samp03svr
[22:09:05] [debug] #10 0x8077bd7 in ?? () from ./samp03svr
[22:09:05] [debug] #11 0xb7c81c76 in __libc_start_main () from /lib/libc.so.6
[22:09:05] [debug] #12 0x804b4c1 in __gxx_personality_v0 () from ./samp03svr
Using debian 6 with mysql r7, IRC plugin 1.4.2, streamer plugin 2.6, sscanf 2.6, rwthread by jernejl and crashdetect 4.7.3 is OK.
Reply
#33

Which version of the JIT plugin? There's one uploaded just 2 hours ago.
Reply
#34

Im using version 0.3.5, the one that was recently uploaded there. At first i though it was running, but it turned out it had to be loaded before crashdetect, after i did that it crashed :/
Reply
#35

Richie© try 0.3.6
Reply
#36

Thanks! JIT plugin v0.3.6 is OK.
Reply
#37

Anyone have any idea of the results of compiling without -O1 (JIT optimization) which is default?
Reply
#38

You can compile with anything but -O3, which will make non-JIT compatible optimizations. That's not supported even without the JIT compiler, anyway.
Reply
#39

EDIT: found the source of crash - timerfix by slice !

Last versons are crashing my windows server, not tested on linux yet. Crashdetect - Unknown error.
Using mysql sscanf streamer plugins as well

Код:

--------------------------

SA-MP Server: 0.3e



Exception At Address: 0x0000635C Module: (Unknown)



Registers:

EAX: 0x00000000	EBX: 0x02772970	ECX: 0x001415DC	EDX: 0x001415E8

ESI: 0x02772AF0	EDI: 0x03B411DC	EBP: 0x03B411B4	ESP: 0x03B411DC

EFLAGS: 0x00010206



Stack:

+0000: 0x00000000   0xFFFFFFFF   0x00000001   0x00000000

+0010: 0x000339F4   0x003994DA   0x001415F0   0x707F8D02

+0020: 0x00000000   0x00000000   0x00000000   0x00000000

+0030: 0x00000000   0x00000000   0x00000000   0x00000000

+0040: 0x00000000   0x00000000   0x00000000   0x00000000

+0050: 0x00000000   0x00000000   0x00000000   0x00000000

+0060: 0x00000000   0x00000000   0x00000000   0x00000000

+0070: 0x00000000   0x00000000   0x00000000   0x00000000

+0080: 0x00000000   0x00000000   0x00000000   0x00000000

+0090: 0x00000000   0x00000000   0x00000000   0x00000000

+00A0: 0x00000000   0x00000000   0x00000000   0x00000000

+00B0: 0x00000000   0x00000000   0x00000000   0x00000000

+00C0: 0x00000000   0x00000000   0x00000000   0x00000000

+00D0: 0x00000000   0x00000000   0x00000000   0x00000000

+00E0: 0x00000000   0x00000000   0x00000000   0x00000000

+00F0: 0x00000000   0x00000000   0x00000000   0x00000000

+0100: 0x00000000   0x00000000   0x00000000   0x00000000

+0110: 0x00000000   0x00000000   0x00000000   0x00000000

+0120: 0x00000000   0x00000000   0x00000000   0x00000000

+0130: 0x00000000   0x00000000   0x00000000   0x00000000



--------------------------



Loaded Modules:

samp-server.exe	A: 0x00400000 - 0x004EE000	(C:\Users\TROLOLOaa_TROLOLO\Desktop\samp03\samp-server.exe)

ntdll.dll	A: 0x77AD0000 - 0x77C50000	(C:\Windows\SysWOW64\ntdll.dll)

kernel32.dll	A: 0x757F0000 - 0x758F0000	(C:\Windows\syswow64\kernel32.dll)

KERNELBASE.dll	A: 0x76610000 - 0x76656000	(C:\Windows\syswow64\KERNELBASE.dll)

SHELL32.dll	A: 0x759C0000 - 0x76609000	(C:\Windows\syswow64\SHELL32.dll)

msvcrt.dll	A: 0x766B0000 - 0x7675C000	(C:\Windows\syswow64\msvcrt.dll)

SHLWAPI.dll	A: 0x76830000 - 0x76887000	(C:\Windows\syswow64\SHLWAPI.dll)

GDI32.dll	A: 0x75640000 - 0x756D0000	(C:\Windows\syswow64\GDI32.dll)

USER32.dll	A: 0x76CA0000 - 0x76DA0000	(C:\Windows\syswow64\USER32.dll)

ADVAPI32.dll	A: 0x76890000 - 0x76930000	(C:\Windows\syswow64\ADVAPI32.dll)

sechost.dll	A: 0x76810000 - 0x76829000	(C:\Windows\SysWOW64\sechost.dll)

RPCRT4.dll	A: 0x76930000 - 0x76A20000	(C:\Windows\syswow64\RPCRT4.dll)

SspiCli.dll	A: 0x751C0000 - 0x75220000	(C:\Windows\syswow64\SspiCli.dll)

CRYPTBASE.dll	A: 0x751B0000 - 0x751BC000	(C:\Windows\syswow64\CRYPTBASE.dll)

LPK.dll	A: 0x77AA0000 - 0x77AAA000	(C:\Windows\syswow64\LPK.dll)

USP10.dll	A: 0x76DA0000 - 0x76E3D000	(C:\Windows\syswow64\USP10.dll)

WSOCK32.dll	A: 0x71930000 - 0x71937000	(C:\Windows\system32\WSOCK32.dll)

WS2_32.dll	A: 0x76760000 - 0x76795000	(C:\Windows\syswow64\WS2_32.dll)

NSI.dll	A: 0x76AB0000 - 0x76AB6000	(C:\Windows\syswow64\NSI.dll)

WINMM.dll	A: 0x74E70000 - 0x74EA2000	(C:\Windows\system32\WINMM.dll)

IMM32.DLL	A: 0x76FF0000 - 0x77050000	(C:\Windows\system32\IMM32.DLL)

MSCTF.dll	A: 0x758F0000 - 0x759BC000	(C:\Windows\syswow64\MSCTF.dll)

sscanf.DLL	A: 0x10000000 - 0x1000C000	(C:\Users\TROLOLOaa_TROLOLO\Desktop\samp03\plugins\sscanf.DLL)

MSVCR100.dll	A: 0x708F0000 - 0x709AF000	(C:\Windows\system32\MSVCR100.dll)

mysql.DLL	A: 0x002A0000 - 0x002B5000	(C:\Users\TROLOLOaa_TROLOLO\Desktop\samp03\plugins\mysql.DLL)

LIBMYSQL.dll	A: 0x02780000 - 0x028F6000	(C:\Users\TROLOLOaa_TROLOLO\Desktop\samp03\LIBMYSQL.dll)

MSVCR90.dll	A: 0x73E80000 - 0x73F23000	(C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\MSVCR90.dll)

MSVCP90.dll	A: 0x70860000 - 0x708EE000	(C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\MSVCP90.dll)

NLAapi.dll	A: 0x718E0000 - 0x718F0000	(C:\Windows\system32\NLAapi.dll)

mswsock.dll	A: 0x733C0000 - 0x733FC000	(C:\Windows\System32\mswsock.dll)

DNSAPI.dll	A: 0x71890000 - 0x718D4000	(C:\Windows\system32\DNSAPI.dll)

winrnr.dll	A: 0x71880000 - 0x71888000	(C:\Windows\System32\winrnr.dll)

napinsp.dll	A: 0x71860000 - 0x71870000	(C:\Windows\system32\napinsp.dll)

pnrpnsp.dll	A: 0x71840000 - 0x71852000	(C:\Windows\system32\pnrpnsp.dll)

rasadhlp.dll	A: 0x71870000 - 0x71876000	(C:\Windows\system32\rasadhlp.dll)

streamer.DLL	A: 0x70820000 - 0x7085B000	(C:\Users\TROLOLOaa_TROLOLO\Desktop\samp03\plugins\streamer.DLL)

jit.DLL	A: 0x707F0000 - 0x7081E000	(C:\Users\TROLOLOaa_TROLOLO\Desktop\samp03\plugins\jit.DLL)

MSVCP100.dll	A: 0x70780000 - 0x707E9000	(C:\Windows\system32\MSVCP100.dll)

wshtcpip.dll	A: 0x733B0000 - 0x733B5000	(C:\Windows\System32\wshtcpip.dll)

IPHLPAPI.DLL	A: 0x737E0000 - 0x737FC000	(C:\Windows\system32\IPHLPAPI.DLL)

WINNSI.DLL	A: 0x73F60000 - 0x73F67000	(C:\Windows\system32\WINNSI.DLL)
Reply
#40

My script didnt like the 0.4.1 version of jit.

pawn Код:
[20:50:25] [debug] Server crashed due to an unknown error
[20:50:25] [debug] Thread backtrace:
[20:50:25] [debug] #0  b68fe4ad in crashdetect::PrintThreadBacktrace () from plugins/crashdetect.so
[20:50:25] [debug] #1  b6900bbc in crashdetect::Crash () from plugins/crashdetect.so
[20:50:25] [debug] #2  b6905d4e in ?? () from plugins/crashdetect.so
[20:50:25] [debug] #3  b7d325d8 in ?? () from /lib/libc.so.6
0.3.6 works fine though, so i stick with that for now.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)