SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 16/04/2012, 12:54 PM   #91
Slice
High-roller
 
Join Date: Mar 2008
Location: Sweden
Posts: 1,831
Reputation: 1607
Default Re: JIT compiler v0.3.2

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
Slice is offline   Reply With Quote
Old 16/04/2012, 09:06 PM   #92
RichieŠ
Banned
 
Join Date: Feb 2012
Location: Norway
Posts: 369
Reputation: 53
Default Re: JIT compiler v0.3.2

JIT didnt like my gamemode :/
pawn Code:
[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.
RichieŠ is offline   Reply With Quote
Old 16/04/2012, 09:16 PM   #93
Slice
High-roller
 
Join Date: Mar 2008
Location: Sweden
Posts: 1,831
Reputation: 1607
Default Re: JIT compiler v0.3.2

Which version of the JIT plugin? There's one uploaded just 2 hours ago.
Slice is offline   Reply With Quote
Old 16/04/2012, 09:22 PM   #94
RichieŠ
Banned
 
Join Date: Feb 2012
Location: Norway
Posts: 369
Reputation: 53
Default Re: JIT compiler v0.3.2

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 :/
RichieŠ is offline   Reply With Quote
Old 20/04/2012, 06:30 AM   #95
][Noname][
Gangsta
 
][Noname]['s Avatar
 
Join Date: Dec 2010
Posts: 632
Reputation: 92
Default

RichieŠ try 0.3.6
__________________
Owner of Absolute Play and SAMP Addon

Last edited by ][Noname][; 20/04/2012 at 04:38 PM.
][Noname][ is offline   Reply With Quote
Old 20/04/2012, 07:04 PM   #96
RichieŠ
Banned
 
Join Date: Feb 2012
Location: Norway
Posts: 369
Reputation: 53
Default Re: JIT compiler v0.3.2

Thanks! JIT plugin v0.3.6 is OK.
RichieŠ is offline   Reply With Quote
Old 22/04/2012, 06:41 PM   #97
steki.
High-roller
 
steki.'s Avatar
 
Join Date: Nov 2010
Location: Săo Paulo, Brasil
Posts: 2,557
Reputation: 315
Default Re: JIT compiler v0.3.2

Anyone have any idea of the results of compiling without -O1 (JIT optimization) which is default?
__________________
Rio
steki. is offline   Reply With Quote
Old 22/04/2012, 07:09 PM   #98
Slice
High-roller
 
Join Date: Mar 2008
Location: Sweden
Posts: 1,831
Reputation: 1607
Default Re: JIT compiler v0.3.2

You can compile with anything but -O3, which will make non-JIT compatible optimizations. That's not supported even without the JIT compiler, anyway.
Slice is offline   Reply With Quote
Old 02/05/2012, 08:06 PM   #99
Hanger
Big Clucker
 
Join Date: Apr 2012
Location: UK
Posts: 161
Reputation: 32
Default Re: JIT compiler v0.3.2

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

Code:

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

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)
__________________

Last edited by Hanger; 04/05/2012 at 05:31 PM.
Hanger is offline   Reply With Quote
Old 04/05/2012, 07:45 PM   #100
RichieŠ
Banned
 
Join Date: Feb 2012
Location: Norway
Posts: 369
Reputation: 53
Default Re: JIT compiler v0.3.2

My script didnt like the 0.4.1 version of jit.

pawn Code:
[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.
RichieŠ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PAWN Compiler Error Unable to execute Compiler.. Geeboi_Mehdi General 13 07/11/2015 05:26 PM
Zeex's compiler or original compiler? And why? Rodney Francalim Scripting Help 1 23/09/2014 01:26 AM
Please help ( PAWN Compiler "Error Unable to execute Compiler...") morocco Scripting Help 4 05/02/2013 04:34 PM
about the compiler Geeboi_Mehdi Scripting Help 1 13/08/2012 05:35 PM
[Pawno Compiler] Unable to Execute the Compiler Fabio11 Client Support 6 26/09/2010 10:37 PM


All times are GMT. The time now is 12:51 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.