Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.3DL Crash 2 #119

Open
MaxAndolini opened this issue Jun 26, 2020 · 45 comments
Open

0.3DL Crash 2 #119

MaxAndolini opened this issue Jun 26, 2020 · 45 comments

Comments

@MaxAndolini
Copy link

I compiled the final version. When I log in to the server and enter the password, the server crashes.

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.DL-R1, (C)2005-2018 SA-MP Team

[00:34:34] 
[00:34:34] Server Plugins
[00:34:34] --------------
[00:34:34]  Loading plugin: crashdetect
[00:34:34]   CrashDetect plugin 4.19.1
[00:34:34]   Loaded.
[00:34:34]  Loading plugin: pawn-memory
[00:34:34] ========================
[00:34:34] = Memory access plugin =
[00:34:34] =       Made by BigETI =
[00:34:34] = Loaded!              =
[00:34:34] ========================
[00:34:34]   Loaded.
[00:34:34]  Loading plugin: streamer
[00:34:34] 

*** Streamer Plugin v2.9.4 by Incognito loaded ***

[00:34:34]   Loaded.
[00:34:34]  Loading plugin: sscanf
[00:34:34] 

[00:34:34]  ===============================

[00:34:34]       sscanf plugin loaded.     

[00:34:34]          Version:  2.8.3        

[00:34:34]   (c) 2018 Alex "Y_Less" Cole  

[00:34:34]  ===============================

[00:34:34]   Loaded.
[00:34:34]  Loading plugin: Whirlpool
[00:34:34]  
[00:34:34]  ==================
[00:34:34]  
[00:34:34]   Whirlpool loaded
[00:34:34]  
[00:34:34]  ==================
[00:34:34]  
[00:34:34]   Loaded.
[00:34:34]  Loading plugin: pawncmd
[00:34:34] [Pawn.CMD] plugin v3.3.3 by urShadow loaded
[00:34:34]   Loaded.
[00:34:34]  Loading plugin: mapandreas
[00:34:34]   Loaded.
[00:34:34]  Loading plugin: mysql
[00:34:34]  >> plugin.mysql: R41-4 successfully loaded.
[00:34:34]   Loaded.
[00:34:34]  Loading plugin: GPS
[00:34:34] [GPS plugin]: Read 84462 lines, loaded 27608 nodes and 55891 connections.
[00:34:34]   Loaded.
[00:34:34]  Loading plugin: YSF_DL
[00:34:34] 
[00:34:34]  ===============================
[00:34:34]         YSF - kurta999's version 2.0 loaded
[00:34:34]    (c) 2008 Alex "Y_Less" Cole - (c) 2010 - 2016 kurta999
[00:34:34]     Server version: 0.3.DL R1
[00:34:34]     Operating System: Windows
[00:34:34]     Built on: Jun 27 2020 at 00:33:58
[00:34:34]  ===============================
[00:34:34] 
[00:34:34]   Loaded.
[00:34:34]  Loading plugin: nativechecker
[00:34:34]   Loaded.
[00:34:34]  Loaded 11 plugins.

[00:34:34] 
[00:34:34] Filterscripts
[00:34:34] ---------------
[00:34:34]   Loading filterscript 'sonkalemaps.amx'...
[00:34:34] Haritalar yuklendi.
[00:34:34]   Loaded 1 filterscripts.

[00:34:34]   Filterscript '../scriptfiles/callbackfix.amx' loaded.
[00:34:34]  
[00:34:34]  ========================================== 
[00:34:34]  |                                        | 
[00:34:34]  |    Generating code, this may take a    | 
[00:34:34]  |           little bit of time.          | 
[00:34:34]  |                                        | 
[00:34:34]  |             Please wait...             | 
[00:34:34]  |                                        | 
[00:34:34]  | You can disable this message with:     | 
[00:34:34]  |                                        | 
[00:34:34]  |   #define YSI_NO_OPTIMISATION_MESSAGE  | 
[00:34:34]  |                                        | 
[00:34:34]  ========================================== 
[00:34:34]  |                                        | 
[00:34:34]  | Note that this code generation works   | 
[00:34:34]  | best with the JIT plugin, which you    | 
[00:34:34]  | are not currently using.  Get it here: | 
[00:34:34]  |                                        | 
[00:34:34]  |        https://git.io/jit-plugin       | 
[00:34:34]  |                                        | 
[00:34:34]  ========================================== 
[00:34:34]  
[00:34:38]  
[00:34:38]  
[00:34:38]  
[00:34:38]  ========================================== 
[00:34:38]  |                                        | 
[00:34:38]  |         YSI version 5.03.0689          | 
[00:34:38]  |         By Alex "Y_Less" Cole          | 
[00:34:38]  |                                        | 
[00:34:38]  | You can disabled this message with:    | 
[00:34:38]  |                                        | 
[00:34:38]  |   #define YSI_NO_VERSION_CHECK         | 
[00:34:38]  |                                        | 
[00:34:38]  ========================================== 
[00:34:38]  
[00:34:38] MapFix by Nexius v4.1.1 loaded (include version).
[00:34:38] 
			Son Kale Roleplay
[00:34:38] 			Gelistirici: Frex ve Max Andolini

[00:34:38] Number of vehicle models: 0
[00:35:02] [connection] incoming connection: 127.0.0.1:52190 id: 0
[00:35:02] [join] Test_Character has joined the server (0:127.0.0.1)
[00:35:12] [debug] Server crashed due to an unknown error
[00:35:12] [debug] Native backtrace:
[00:35:12] [debug] #0 78cc3072 in ?? () from plugins\YSF_DL.DLL
[00:35:12] [debug] #1 788b6c96 in ?? () from plugins\streamer.DLL
[00:35:12] [debug] #2 788f6828 in ?? () from plugins\streamer.DLL
[00:35:12] [debug] #3 788f357c in ?? () from plugins\streamer.DLL
[00:35:12] [debug] #4 788f9ba4 in ?? () from plugins\streamer.DLL
[00:35:12] [debug] #5 00469c16 in ?? () from samp-server.exe
[00:35:12] [debug] #6 00492cab in ?? () from samp-server.exe
[00:35:12] [debug] #7 004a1d61 in ?? () from samp-server.exe
[00:35:12] [debug] #8 004a1d71 in ?? () from samp-server.exe
[00:35:12] [debug] Registers:
[00:35:12] [debug] EAX: 00000000 EBX: 02b4e6a0 ECX: 00000011 EDX: 00000000
[00:35:12] [debug] ESI: 00000030 EDI: 00000000 EBP: 004a1d61 ESP: 0019fe88
[00:35:12] [debug] EIP: 004a1d71 EFLAGS: 00010246
[00:35:12] [debug] Stack:
[00:35:12] [debug] ESP+00000000: 004b1e20 0019ff60 004b1a1c ffffffff
[00:35:12] [debug] ESP+00000020: 00000094 00000006 00000002 000023f0
[00:35:12] [debug] ESP+00000040: 00000000 00000000 00000000 00000000
[00:35:12] [debug] ESP+00000060: 00000000 00000000 00000000 00000000
[00:35:12] [debug] ESP+00000080: 00000000 00000000 00000000 00000000
[00:35:12] [debug] ESP+000000a0: 00000000 00000000 00000000 00000000
[00:35:12] [debug] ESP+000000c0: 00000000 00000000 c0000005 00000000
[00:35:12] [debug] ESP+000000e0: 004c0790 00000000 0019ff80 7694f989
[00:35:12] [debug] ESP+00000100: 00341000 f4d62d0e 00000000 00000000
[00:35:12] [debug] ESP+00000120: 00000000 00000000 00000000 00000000
[00:35:12] [debug] ESP+00000140: 00000000 0019ffe4 77e69420 832064fa
[00:35:12] [debug] ESP+00000160: 77e7629d 00000000 00000000 004a3427
[00:35:12] [debug] ESP+00000180: 00000001 000032e4 000000dc 00000000
[00:35:12] [debug] ESP+000001a0: 00000007 00000034 0000017c 00000001
[00:35:12] [debug] ESP+000001c0: 00000000 00000002 1a26ef4e 00000298
[00:35:12] [debug] ESP+000001e0: f33271ba 00000534 0000004a 00000580
[00:35:12] [debug] ESP+00000200: 00000032 000008ec 000002fa 00000000
[00:35:12] [debug] ESP+00000220: 00000324 00000000 38505fc8 00000f50
[00:35:12] [debug] ESP+00000240: b1280544 00001308 00000056 00001360
[00:35:12] [debug] ESP+00000260: 00000002 00000001 0000017c 000015a4
[00:35:12] [debug] ESP+00000280: 00000001 00000003 00001ec0 00000e8c
[00:35:12] [debug] ESP+000002a0: 00000002 00000005 00003060 00000098
[00:35:12] [debug] ESP+000002c0: 00000002 00000007 000031c4 000000f0
[00:35:12] [debug] ESP+000002e0: 00000002 0000000b 000032dc 00000008
[00:35:12] [debug] ESP+00000300: 00000001 00000001 00000006 0000008c
[00:35:12] [debug] ESP+00000320: 0000005e 00000000 00000000 00000000
[00:35:12] [debug] ESP+00000340: 00000000 00000000 00000002 00000024
[00:35:12] [debug] ESP+00000360: 006e0069 006f0064 00730077 0057005c
[00:35:12] [debug] ESP+00000380: 1a26ef4e 0000011c 00000044 00000164
[00:35:12] [debug] ESP+000003a0: 0000004a 00000404 00000336 00000002
[00:35:12] [debug] ESP+000003c0: 000002fa 00000003 32ceeacd 00000a6c
[00:35:12] [debug] ESP+000003e0: 38505fc8 00000dd4 0000005e 00000e34
[00:35:12] [debug] Loaded modules:
[00:35:12] [debug] 00400000 - 0051f000 samp-server.exe
[00:35:12] [debug] 77df0000 - 77f92000 ntdll.dll
[00:35:12] [debug] 76930000 - 76a20000 KERNEL32.DLL
[00:35:12] [debug] 77850000 - 77a63000 KERNELBASE.dll
[00:35:12] [debug] 76bf0000 - 77199000 SHELL32.dll
[00:35:12] [debug] 764d0000 - 7654b000 msvcp_win.dll
[00:35:12] [debug] 75cd0000 - 75df0000 ucrtbase.dll
[00:35:12] [debug] 77c20000 - 77db3000 USER32.dll
[00:35:12] [debug] 77dc0000 - 77dd8000 win32u.dll
[00:35:12] [debug] 76a20000 - 76a43000 GDI32.dll
[00:35:12] [debug] 76850000 - 7692a000 gdi32full.dll
[00:35:12] [debug] 66090000 - 66098000 WSOCK32.dll
[00:35:12] [debug] 74b60000 - 74b88000 WINMM.dll
[00:35:12] [debug] 77b60000 - 77c1f000 msvcrt.dll
[00:35:12] [debug] 75df0000 - 75e53000 ws2_32.DLL
[00:35:12] [debug] 76640000 - 766fa000 RPCRT4.dll
[00:35:12] [debug] 77820000 - 77845000 IMM32.DLL
[00:35:12] [debug] 78e50000 - 78ea1000 crashdetect.DLL
[00:35:12] [debug] 78de0000 - 78e49000 MSVCP100.dll
[00:35:12] [debug] 78eb0000 - 78f6f000 MSVCR100.dll
[00:35:12] [debug] 5ef40000 - 5ef4a000 pawn-memory.DLL
[00:35:12] [debug] 75010000 - 75080000 MSVCP140.dll
[00:35:12] [debug] 74b90000 - 74ba4000 VCRUNTIME140.dll
[00:35:12] [debug] 788b0000 - 78917000 streamer.DLL
[00:35:12] [debug] 10000000 - 1000e000 sscanf.DLL
[00:35:12] [debug] 023e0000 - 023ec000 Whirlpool.DLL
[00:35:12] [debug] 78f70000 - 7900b000 MSVCR80.dll
[00:35:12] [debug] 78820000 - 788ae000 pawncmd.DLL
[00:35:12] [debug] 5ef30000 - 5ef3f000 mapandreas.DLL
[00:35:12] [debug] 79010000 - 7905e000 mysql.DLL
[00:35:12] [debug] 5ef10000 - 5ef2a000 log-core.dll
[00:35:12] [debug] 79060000 - 7912d000 libmariadb.dll
[00:35:12] [debug] 765f0000 - 76635000 SHLWAPI.dll
[00:35:12] [debug] 77230000 - 7732f000 CRYPT32.dll
[00:35:12] [debug] 76550000 - 765c9000 ADVAPI32.dll
[00:35:12] [debug] 76a60000 - 76ad5000 sechost.dll
[00:35:12] [debug] 6d9b0000 - 6d9ba000 Secur32.dll
[00:35:12] [debug] 6e5a0000 - 6e5c1000 SSPICLI.DLL
[00:35:12] [debug] 71d60000 - 71d6a000 CRYPTBASE.DLL
[00:35:12] [debug] 744f0000 - 744ff000 kernel.appcore.dll
[00:35:12] [debug] 6a760000 - 6a771000 napinsp.dll
[00:35:12] [debug] 6a740000 - 6a756000 pnrpnsp.dll
[00:35:12] [debug] 6a730000 - 6a740000 wshbth.dll
[00:35:12] [debug] 6a710000 - 6a726000 NLAapi.dll
[00:35:12] [debug] 73b70000 - 73ba2000 IPHLPAPI.DLL
[00:35:12] [debug] 71bc0000 - 71c12000 mswsock.dll
[00:35:12] [debug] 73ac0000 - 73b50000 DNSAPI.dll
[00:35:12] [debug] 76be0000 - 76be7000 NSI.dll
[00:35:12] [debug] 6a700000 - 6a70e000 winrnr.dll
[00:35:12] [debug] 71b20000 - 71b28000 rasadhlp.dll
[00:35:12] [debug] 79130000 - 79146000 GPS.DLL
[00:35:12] [debug] 76740000 - 7679c000 bcryptPrimitives.dll
[00:35:12] [debug] 78b80000 - 78dd4000 YSF_DL.DLL
[00:35:12] [debug] 77a70000 - 77b53000 ole32.dll
[00:35:12] [debug] 77390000 - 77610000 combase.dll
[00:35:12] [debug] 76ae0000 - 76b76000 OLEAUT32.dll
[00:35:12] [debug] 79170000 - 79226000 MSVCP140D.dll
[00:35:12] [debug] 79150000 - 7916d000 VCRUNTIME140D.dll
[00:35:12] [debug] 79230000 - 793a5000 ucrtbased.dll
[00:35:12] [debug] 793b0000 - 793b5000 nativechecker.DLL
[00:35:12] [debug] 71ac0000 - 71b18000 fwpuclnt.dll
[00:35:12] [debug] 765d0000 - 765e9000 bcrypt.dll
@n0bodysec
Copy link
Contributor

Hello!

Could u add '-g3' at the end of L8 and L9 of makefile? Then compile again (YSF will compile with debug symbols)
See: https://github.com/IllidanS4/YSF/blob/master/makefile#L8

Also, is your gamemode based on NGG?

@MaxAndolini
Copy link
Author

MaxAndolini commented Jun 27, 2020

Hello!

Could u add '-g3' at the end of L8 and L9 of makefile? Then compile again (YSF will compile with debug symbols)
See: https://github.com/IllidanS4/YSF/blob/master/makefile#L8

Also, is your gamemode based on NGG?

Does it seem NGG, no. Sublime but I developed it a lot.

I am using windows and visual studio enterprise, what is debug symbol on windows.

@IS4Code
Copy link
Owner

IS4Code commented Jun 27, 2020

Please upload the dll so that I can check the address. Also no need to mention me every time; I do get notified of new issues.

@MaxAndolini
Copy link
Author

MaxAndolini commented Jun 27, 2020

Please upload the dll so that I can check the address. Also no need to mention me every time; I do get notified of new issues.

Okey, here.

YSF_DL.zip

@n0bodysec
Copy link
Contributor

I am using windows and visual studio enterprise, what is debug symbol on windows.

Oops, my mistake! I didn't notice the libraries list on the debug 😆
Well on VS u can build in "Debug" mode from menu.

@IS4Code
Copy link
Owner

IS4Code commented Jun 28, 2020

The crash seems to originate from the hook for SetPlayerObjectMaterial. Can you try StorePlayerObjectsMaterial 0 in YSF.cfg?

@MaxAndolini
Copy link
Author

The crash seems to originate from the hook for SetPlayerObjectMaterial. Can you try StorePlayerObjectsMaterial 0 in YSF.cfg?

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.DL-R1, (C)2005-2018 SA-MP Team

[16:30:57] 
[16:30:57] Server Plugins
[16:30:57] --------------
[16:30:57]  Loading plugin: crashdetect
[16:30:57]   CrashDetect plugin 4.19.1
[16:30:57]   Loaded.
[16:30:57]  Loading plugin: pawn-memory
[16:30:57] ========================
[16:30:57] = Memory access plugin =
[16:30:57] =       Made by BigETI =
[16:30:57] = Loaded!              =
[16:30:57] ========================
[16:30:57]   Loaded.
[16:30:57]  Loading plugin: streamer
[16:30:57] 

*** Streamer Plugin v2.9.4 by Incognito loaded ***

[16:30:57]   Loaded.
[16:30:57]  Loading plugin: sscanf
[16:30:57] 

[16:30:57]  ===============================

[16:30:57]       sscanf plugin loaded.     

[16:30:57]          Version:  2.8.3        

[16:30:57]   (c) 2018 Alex "Y_Less" Cole  

[16:30:57]  ===============================

[16:30:57]   Loaded.
[16:30:57]  Loading plugin: Whirlpool
[16:30:57]  
[16:30:57]  ==================
[16:30:57]  
[16:30:57]   Whirlpool loaded
[16:30:57]  
[16:30:57]  ==================
[16:30:57]  
[16:30:57]   Loaded.
[16:30:57]  Loading plugin: pawncmd
[16:30:57] [Pawn.CMD] plugin v3.3.3 by urShadow loaded
[16:30:57]   Loaded.
[16:30:57]  Loading plugin: mapandreas
[16:30:57]   Loaded.
[16:30:57]  Loading plugin: mysql
[16:30:57]  >> plugin.mysql: R41-4 successfully loaded.
[16:30:57]   Loaded.
[16:30:57]  Loading plugin: GPS
[16:30:58] [GPS plugin]: Read 84462 lines, loaded 27608 nodes and 55891 connections.
[16:30:58]   Loaded.
[16:30:58]  Loading plugin: YSF_DL
[16:30:58] 
[16:30:58]  ===============================
[16:30:58]         YSF - kurta999's version 2.0 loaded
[16:30:58]    (c) 2008 Alex "Y_Less" Cole - (c) 2010 - 2016 kurta999
[16:30:58]     Server version: 0.3.DL R1
[16:30:58]     Operating System: Windows
[16:30:58]     Built on: Jun 27 2020 at 13:42:39
[16:30:58]  ===============================
[16:30:58] 
[16:30:58]   Loaded.
[16:30:58]  Loading plugin: nativechecker
[16:30:58]   Loaded.
[16:30:58]  Loaded 11 plugins.

[16:30:58] 
[16:30:58] Filterscripts
[16:30:58] ---------------
[16:30:58]   Loading filterscript 'sonkalemaps.amx'...
[16:30:58] Haritalar yuklendi.
[16:30:58]   Loaded 1 filterscripts.

[16:30:58]   Filterscript '../scriptfiles/callbackfix.amx' loaded.
[16:30:58]  
[16:30:58]  ========================================== 
[16:30:58]  |                                        | 
[16:30:58]  |    Generating code, this may take a    | 
[16:30:58]  |           little bit of time.          | 
[16:30:58]  |                                        | 
[16:30:58]  |             Please wait...             | 
[16:30:58]  |                                        | 
[16:30:58]  | You can disable this message with:     | 
[16:30:58]  |                                        | 
[16:30:58]  |   #define YSI_NO_OPTIMISATION_MESSAGE  | 
[16:30:58]  |                                        | 
[16:30:58]  ========================================== 
[16:30:58]  |                                        | 
[16:30:58]  | Note that this code generation works   | 
[16:30:58]  | best with the JIT plugin, which you    | 
[16:30:58]  | are not currently using.  Get it here: | 
[16:30:58]  |                                        | 
[16:30:58]  |        https://git.io/jit-plugin       | 
[16:30:58]  |                                        | 
[16:30:58]  ========================================== 
[16:30:58]  
[16:31:02]  
[16:31:02]  
[16:31:02]  
[16:31:02]  ========================================== 
[16:31:02]  |                                        | 
[16:31:02]  |         YSI version 5.03.0689          | 
[16:31:02]  |         By Alex "Y_Less" Cole          | 
[16:31:02]  |                                        | 
[16:31:02]  | You can disabled this message with:    | 
[16:31:02]  |                                        | 
[16:31:02]  |   #define YSI_NO_VERSION_CHECK         | 
[16:31:02]  |                                        | 
[16:31:02]  ========================================== 
[16:31:02]  
[16:31:02] MapFix by Nexius v4.1.1 loaded (include version).
[16:31:02] 
			Son Kale Roleplay
[16:31:02] 			Gelistirici: Frex ve Max Andolini

[16:31:02] Number of vehicle models: 0
[16:31:28] [connection] incoming connection: 127.0.0.1:63227 id: 0
[16:31:28] [join] Test_Character has joined the server (0:127.0.0.1)
[16:31:33] [debug] Server crashed due to an unknown error
[16:31:33] [debug] Native backtrace:
[16:31:33] [debug] #0 60743072 in ?? () from plugins\YSF_DL.DLL
[16:31:33] [debug] #1 61fe6c96 in ?? () from plugins\streamer.DLL
[16:31:33] [debug] #2 62026828 in ?? () from plugins\streamer.DLL
[16:31:33] [debug] #3 6202357c in ?? () from plugins\streamer.DLL
[16:31:33] [debug] #4 62029ba4 in ?? () from plugins\streamer.DLL
[16:31:33] [debug] #5 00469c16 in ?? () from samp-server.exe
[16:31:33] [debug] #6 00492cab in ?? () from samp-server.exe
[16:31:33] [debug] #7 004a1d61 in ?? () from samp-server.exe
[16:31:33] [debug] #8 004a1d71 in ?? () from samp-server.exe
[16:31:33] [debug] Registers:
[16:31:33] [debug] EAX: 00000000 EBX: 03178568 ECX: 00000011 EDX: 00000000
[16:31:33] [debug] ESI: 00000030 EDI: 00000000 EBP: 004a1d61 ESP: 0019fe88
[16:31:33] [debug] EIP: 004a1d71 EFLAGS: 00010246
[16:31:33] [debug] Stack:
[16:31:33] [debug] ESP+00000000: 004b1e20 0019ff60 004b1a1c ffffffff
[16:31:33] [debug] ESP+00000020: 00000094 00000006 00000002 000023f0
[16:31:33] [debug] ESP+00000040: 00000000 00000000 00000000 00000000
[16:31:33] [debug] ESP+00000060: 00000000 00000000 00000000 00000000
[16:31:33] [debug] ESP+00000080: 00000000 00000000 00000000 00000000
[16:31:33] [debug] ESP+000000a0: 00000000 00000000 00000000 00000000
[16:31:33] [debug] ESP+000000c0: 00000000 00000000 c0000005 00000000
[16:31:33] [debug] ESP+000000e0: 004c0790 00000000 0019ff80 7694f989
[16:31:33] [debug] ESP+00000100: 003d5000 ed819696 00000000 00000000
[16:31:33] [debug] ESP+00000120: 00000000 00000000 00000000 00000000
[16:31:33] [debug] ESP+00000140: 00000000 0019ffe4 77e69420 9a77df62
[16:31:33] [debug] ESP+00000160: 77e762c5 00000000 00000000 004a3427
[16:31:33] [debug] ESP+00000180: 00000001 000032e4 000000dc 00000000
[16:31:33] [debug] ESP+000001a0: 00000007 00000034 0000017c 00000001
[16:31:33] [debug] ESP+000001c0: 00000000 00000002 1a26ef4e 00000298
[16:31:33] [debug] ESP+000001e0: f33271ba 00000534 0000004a 00000580
[16:31:33] [debug] ESP+00000200: 00000032 000008ec 000002fa 00000000
[16:31:33] [debug] ESP+00000220: 00000324 00000000 38505fc8 00000f50
[16:31:33] [debug] ESP+00000240: b1280544 00001308 00000056 00001360
[16:31:33] [debug] ESP+00000260: 00000002 00000001 0000017c 000015a4
[16:31:33] [debug] ESP+00000280: 00000001 00000003 00001ec0 00000e8c
[16:31:33] [debug] ESP+000002a0: 00000002 00000005 00003060 00000098
[16:31:33] [debug] ESP+000002c0: 00000002 00000007 000031c4 000000f0
[16:31:33] [debug] ESP+000002e0: 00000002 0000000b 000032dc 00000008
[16:31:33] [debug] ESP+00000300: 00000001 00000001 00000006 0000008c
[16:31:33] [debug] ESP+00000320: 0000005e 00000000 00000000 00000000
[16:31:33] [debug] ESP+00000340: 00000000 00000000 00000002 00000024
[16:31:33] [debug] ESP+00000360: 006e0069 006f0064 00730077 0057005c
[16:31:33] [debug] ESP+00000380: 1a26ef4e 0000011c 00000044 00000164
[16:31:33] [debug] ESP+000003a0: 0000004a 00000404 00000336 00000002
[16:31:33] [debug] ESP+000003c0: 000002fa 00000003 32ceeacd 00000a6c
[16:31:33] [debug] ESP+000003e0: 38505fc8 00000dd4 0000005e 00000e34
[16:31:33] [debug] Loaded modules:
[16:31:33] [debug] 00400000 - 0051f000 samp-server.exe
[16:31:33] [debug] 77df0000 - 77f92000 ntdll.dll
[16:31:33] [debug] 76930000 - 76a20000 KERNEL32.DLL
[16:31:33] [debug] 77850000 - 77a63000 KERNELBASE.dll
[16:31:33] [debug] 76bf0000 - 77199000 SHELL32.dll
[16:31:33] [debug] 764d0000 - 7654b000 msvcp_win.dll
[16:31:33] [debug] 75cd0000 - 75df0000 ucrtbase.dll
[16:31:33] [debug] 77c20000 - 77db3000 USER32.dll
[16:31:33] [debug] 77dc0000 - 77dd8000 win32u.dll
[16:31:33] [debug] 76a20000 - 76a43000 GDI32.dll
[16:31:33] [debug] 76850000 - 7692a000 gdi32full.dll
[16:31:33] [debug] 6d5c0000 - 6d5c8000 WSOCK32.dll
[16:31:33] [debug] 74b60000 - 74b88000 WINMM.dll
[16:31:33] [debug] 77b60000 - 77c1f000 msvcrt.dll
[16:31:33] [debug] 75df0000 - 75e53000 ws2_32.DLL
[16:31:33] [debug] 76640000 - 766fa000 RPCRT4.dll
[16:31:33] [debug] 77820000 - 77845000 IMM32.DLL
[16:31:33] [debug] 6d560000 - 6d5b1000 crashdetect.DLL
[16:31:33] [debug] 6d4f0000 - 6d559000 MSVCP100.dll
[16:31:33] [debug] 65740000 - 657ff000 MSVCR100.dll
[16:31:33] [debug] 6d4e0000 - 6d4ea000 pawn-memory.DLL
[16:31:33] [debug] 74b90000 - 74ba4000 VCRUNTIME140.dll
[16:31:33] [debug] 75010000 - 75080000 MSVCP140.dll
[16:31:33] [debug] 61fe0000 - 62047000 streamer.DLL
[16:31:33] [debug] 10000000 - 1000e000 sscanf.DLL
[16:31:33] [debug] 006f0000 - 006fc000 Whirlpool.DLL
[16:31:33] [debug] 61f40000 - 61fdb000 MSVCR80.dll
[16:31:33] [debug] 61eb0000 - 61f3e000 pawncmd.DLL
[16:31:33] [debug] 6c660000 - 6c66f000 mapandreas.DLL
[16:31:33] [debug] 656f0000 - 6573e000 mysql.DLL
[16:31:33] [debug] 61de0000 - 61ead000 libmariadb.dll
[16:31:33] [debug] 765f0000 - 76635000 SHLWAPI.dll
[16:31:33] [debug] 77230000 - 7732f000 CRYPT32.dll
[16:31:33] [debug] 76550000 - 765c9000 ADVAPI32.dll
[16:31:33] [debug] 76a60000 - 76ad5000 sechost.dll
[16:31:33] [debug] 6d9b0000 - 6d9ba000 Secur32.dll
[16:31:33] [debug] 6e5a0000 - 6e5c1000 SSPICLI.DLL
[16:31:33] [debug] 71d60000 - 71d6a000 CRYPTBASE.DLL
[16:31:33] [debug] 65b50000 - 65b6a000 log-core.dll
[16:31:33] [debug] 744f0000 - 744ff000 kernel.appcore.dll
[16:31:33] [debug] 6a760000 - 6a771000 napinsp.dll
[16:31:33] [debug] 6a740000 - 6a756000 pnrpnsp.dll
[16:31:33] [debug] 6a730000 - 6a740000 wshbth.dll
[16:31:33] [debug] 6a710000 - 6a726000 NLAapi.dll
[16:31:33] [debug] 73b70000 - 73ba2000 IPHLPAPI.DLL
[16:31:33] [debug] 71bc0000 - 71c12000 mswsock.dll
[16:31:33] [debug] 73ac0000 - 73b50000 DNSAPI.dll
[16:31:33] [debug] 76be0000 - 76be7000 NSI.dll
[16:31:33] [debug] 6a700000 - 6a70e000 winrnr.dll
[16:31:33] [debug] 71b20000 - 71b28000 rasadhlp.dll
[16:31:33] [debug] 65b30000 - 65b46000 GPS.DLL
[16:31:33] [debug] 76740000 - 7679c000 bcryptPrimitives.dll
[16:31:33] [debug] 60600000 - 60854000 YSF_DL.DLL
[16:31:33] [debug] 77a70000 - 77b53000 ole32.dll
[16:31:33] [debug] 77390000 - 77610000 combase.dll
[16:31:33] [debug] 76ae0000 - 76b76000 OLEAUT32.dll
[16:31:33] [debug] 64f10000 - 64f2d000 VCRUNTIME140D.dll
[16:31:33] [debug] 60540000 - 605f6000 MSVCP140D.dll
[16:31:33] [debug] 603c0000 - 60535000 ucrtbased.dll
[16:31:33] [debug] 6a520000 - 6a525000 nativechecker.DLL
[16:31:33] [debug] 71ac0000 - 71b18000 fwpuclnt.dll
[16:31:33] [debug] 765d0000 - 765e9000 bcrypt.dll

@IS4Code
Copy link
Owner

IS4Code commented Jun 28, 2020

Ah, sorry, seems like the function didn't react to the config option. Try compiling the latest commit.

@MaxAndolini
Copy link
Author

MaxAndolini commented Jun 28, 2020

Ah, sorry, seems like the function didn't react to the config option. Try compiling the latest commit.

I am not getting an error now, but some of the functions on the server are not working.

There is a strange problem.

Like joined message and tying messages and others...

I am back to the R20-RC4 version. There's no problem with that version.

@MaxAndolini
Copy link
Author

Any idea?

@IS4Code
Copy link
Owner

IS4Code commented Jun 30, 2020

Can you try replacing the lib/subhook folder from the latest version with the one from the version that works for you?

@n0bodysec
Copy link
Contributor

Just to be sure, the server crash on OnPlayerConnect only? Are there random crashes if you startup the server and don't let anyone join?

Could u disable OnPlayerConnect on your gamemode and check if the crash still happen?

Thanks.

@MaxAndolini
Copy link
Author

Can you try replacing the lib/subhook folder from the latest version with the one from the version that works for you?

I don't have version R20-RC4 source. I am just using it from the release.

@MaxAndolini
Copy link
Author

MaxAndolini commented Jun 30, 2020

Just to be sure, the server crash on OnPlayerConnect only? Are there random crashes if you startup the server and don't let anyone join?

Could u disable OnPlayerConnect on your gamemode and check if the crash still happen?

Thanks.

No problem with version R20-RC4.

@n0bodysec
Copy link
Contributor

I don't have version R20-RC4 source. I am just using it from the release.

Source available here: https://github.com/IllidanS4/YSF/archive/R20-RC4.tar.gz

No problem with version R20-RC4.

It's okay but can u test it anyway? Thanks!

@MaxAndolini
Copy link
Author

I don't have version R20-RC4 source. I am just using it from the release.

Source available here: https://github.com/IllidanS4/YSF/archive/R20-RC4.tar.gz

No problem with version R20-RC4.

It's okay but can u test it anyway? Thanks!

Same problem.

@n0bodysec
Copy link
Contributor

Ok, thanks!

I'm trying to reproduce the issue but I can't do so. I'll continue testing.

@MaxAndolini
Copy link
Author

Ok, thanks!

I'm trying to reproduce the issue but I can't do so. I'll continue testing.

I suggest you look at the changes between the two versions. Good luck.

@n0bodysec
Copy link
Contributor

n0bodysec commented Jun 30, 2020

~snip~ Good luck.

Thanks!

~snip~ When I log in to the server and enter the password, the server crashes.

I didn't remember this, sorry about that!

So the server doesn't crash if you don't log in?

@MaxAndolini
Copy link
Author

snip Good luck.

Thanks!

snip When I log in to the server and enter the password, the server crashes.

I didn't remember this, sorry about that!

So the server doesn't crash if you don't log in?

The problem is

Ah, sorry, seems like the function didn't react to the config option. Try compiling the latest commit.

I am not getting an error now, but some of the functions on the server are not working.

There is a strange problem.

Like joined message and tying messages and others...

I am back to the R20-RC4 version. There's no problem with that version.

@MaxAndolini
Copy link
Author

Any idea 😂

@IS4Code
Copy link
Owner

IS4Code commented Jul 6, 2020

Can you please upload the whole server setup you use (or another one that also crashes) here?

@MaxAndolini
Copy link
Author

MaxAndolini commented Jul 6, 2020

Can you please upload the whole server setup you use (or another one that also crashes) here?

I can't upload my server files. It's not related to my server. It's about the plugin because I am not getting any crash or problem in version R20-RC4.

@IS4Code
Copy link
Owner

IS4Code commented Jul 6, 2020

I cannot reproduce the crash on my setup, so if I am to be able to inspect it, I need an example server where this happens.

@MaxAndolini
Copy link
Author

I cannot reproduce the crash on my setup, so if I am to be able to inspect it, I need an example server where this happens.

The last problem is not crash. Some of the functions on the server are not working.

Like joined message and tying messages and others...

@n0bodysec
Copy link
Contributor

@MaxAndolini could you make a minimal working and reproducible example?
Like a empty pawn file with only snippets of your gamemode (like 'join' messages and so).

I cannot reproduce it either.

Which is your Windows version? 32 or 64 bits?
Did you test your gamemode on a Linux host?

@MaxAndolini
Copy link
Author

@MaxAndolini could you make a minimal working and reproducible example?
Like a empty pawn file with only snippets of your gamemode (like 'join' messages and so).

I cannot reproduce it either.

Which is your Windows version? 32 or 64 bits?
Did you test your gamemode on a Linux host?

Windows 10 x64 bit, I don't have a Linux host.

Could you try a different gamemode with latest YSF on 0.3DL?

@n0bodysec
Copy link
Contributor

Could you try a different gamemode with latest YSF on 0.3DL?

I tested two gamemodes and both worked fine 😢
One question that maybe or maybe not related.
How do u print those messages that doesn't appear? I mean, which funcion do u use? SendClientMessage, printf, SendClientMessagetoAll.

Do u use y_hooks or y_va?

@MaxAndolini
Copy link
Author

Could you try a different gamemode with latest YSF on 0.3DL?

I tested two gamemodes and both worked fine 😢
One question that maybe or maybe not related.
How do u print those messages that doesn't appear? I mean, which funcion do u use? SendClientMessage, printf, SendClientMessagetoAll.

Do u use y_hooks or y_va?

SendClientMessageEx

and yes, I am using y_hooks

@n0bodysec
Copy link
Contributor

These messages that don't work are called in a hook?

@MaxAndolini
Copy link
Author

These messages that don't work are called in a hook?

Just using in ProxDetector

@n0bodysec
Copy link
Contributor

And only some ProxDetector calls dont't work of just all calls?

@MaxAndolini
Copy link
Author

And only some ProxDetector calls dont't work of just all calls?

Not just ProxDetector, its example for onplayertext messages

@n0bodysec
Copy link
Contributor

n0bodysec commented Jul 6, 2020

Can you replace your not working SendClientMessageEx to SendClientMessagef shipped on YSF plz? Just for test

At least in one place (e.g. ProxDetector)

@MaxAndolini
Copy link
Author

Can you replace your not working SendClientMessageEx to SendClientMessagef shipped on YSF plz? Just for test

At least in one place (e.g. ProxDetector)

Same not working.

@n0bodysec
Copy link
Contributor

@MaxAndolini can u send me your samp-server.exe binary? I'm going to check all addrs that YSF hooks.

@MaxAndolini
Copy link
Author

@MaxAndolini can u send me your samp-server.exe binary? I'm going to check all addrs that YSF hooks.

SAMP.zip

@n0bodysec
Copy link
Contributor

n0bodysec commented Jul 7, 2020

Thanks! All addrs tested atm are right. I'm still checking...

EDIT: Just tested all addrs. All looks right.

@MaxAndolini
Copy link
Author

Any update?

@n0bodysec
Copy link
Contributor

Unfortunately not. I could not reproduce the issue. I tested in many ways (even with an NGG script) and it was working fine

@MaxAndolini
Copy link
Author

Unfortunately not. I could not reproduce the issue. I tested in many ways (even with an NGG script) and it was working fine

I told you, I am not using NGG. I will use previous version, until the stable update.

@n0bodysec
Copy link
Contributor

Yeah I know you told me, but I tried to use lot of gamemodes, including NGG, because I've a gamemode based on NGG.

@n0bodysec
Copy link
Contributor

@MaxAndolini how are you?

Could u share with us exactly what functions of YSF are u using?

Also (if isn't too difficult to do) could you try to delete all related YSF code and try to load the server just with YSF loaded but without extra code?

Thanks!

@MaxAndolini
Copy link
Author

@MaxAndolini how are you?

Could u share with us exactly what functions of YSF are u using?

Also (if isn't too difficult to do) could you try to delete all related YSF code and try to load the server just with YSF loaded but without extra code?

Thanks!

I am fine thanks, you?

AttachDynamicObjectToObject with Streamer

@n0bodysec
Copy link
Contributor

I'm fine too. Thanks.

Could u try to load your gamemode without AttachDynamicObjectToObject but with YSF loaded?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants