IS4Code / YSF

YSF Server Functions
Other
98 stars 34 forks source link

0.3DL Crash #115

Closed MaxAndolini closed 4 years ago

MaxAndolini commented 4 years ago

I switched back to 0.3DL version. I made YSF to YSF_DL from server.cfg. It crashes when turning on the server. Meanwhile, I installed the latest version.

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

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

[19:48:30] 
[19:48:30] Server Plugins
[19:48:30] --------------
[19:48:30]  Loading plugin: crashdetect
[19:48:30]   CrashDetect plugin 4.19.1
[19:48:30]   Loaded.
[19:48:30]  Loading plugin: jit
[19:48:30]   JIT plugin must be loaded before 'crashdetect.DLL'
[19:48:30]   Failed.
[19:48:30]  Loading plugin: pawn-memory
[19:48:30] ========================
[19:48:30] = Memory access plugin =
[19:48:30] =       Made by BigETI =
[19:48:30] = Loaded!              =
[19:48:30] ========================
[19:48:30]   Loaded.
[19:48:30]  Loading plugin: streamer
[19:48:30] 

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

[19:48:30]   Loaded.
[19:48:30]  Loading plugin: sscanf
[19:48:30] 

[19:48:30]  ===============================

[19:48:30]       sscanf plugin loaded.     

[19:48:30]          Version:  2.8.3        

[19:48:30]   (c) 2018 Alex "Y_Less" Cole  

[19:48:30]  ===============================

[19:48:30]   Loaded.
[19:48:30]  Loading plugin: Whirlpool
[19:48:30]  
[19:48:30]  ==================
[19:48:30]  
[19:48:30]   Whirlpool loaded
[19:48:30]  
[19:48:30]  ==================
[19:48:30]  
[19:48:30]   Loaded.
[19:48:30]  Loading plugin: pawncmd
[19:48:30] [Pawn.CMD] plugin v3.3.3 by urShadow loaded
[19:48:30]   Loaded.
[19:48:30]  Loading plugin: mapandreas
[19:48:30]   Loaded.
[19:48:30]  Loading plugin: mysql
[19:48:30]  >> plugin.mysql: R41-4 successfully loaded.
[19:48:30]   Loaded.
[19:48:30]  Loading plugin: GPS
[19:48:30] [GPS plugin]: Read 84462 lines, loaded 27608 nodes and 55891 connections.
[19:48:30]   Loaded.
[19:48:30]  Loading plugin: YSF_DL
[19:48:30] [debug] Server crashed due to an unknown error
[19:48:31] [debug] Native backtrace:
[19:48:31] [debug] #0 7777505c in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[19:48:31] [debug] #1 777435c6 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[19:48:31] [debug] #2 63587a46 in ?? () from C:\Windows\SYSTEM32\VCRUNTIME140.dll
[19:48:31] [debug] #3 031b1262 in ?? () from plugins\YSF_DL.DLL
[19:48:31] [debug] #4 031b2335 in ?? () from plugins\YSF_DL.DLL
[19:48:31] [debug] #5 0046a6db in ?? () from samp-server.exe
[19:48:31] [debug] Registers:
[19:48:31] [debug] EAX: 0019f568 EBX: 00000000 ECX: 00000000 EDX: 00000000
[19:48:31] [debug] ESI: 0019f5d8 EDI: 0019ff60 EBP: 00000000 ESP: 0019fbb4
[19:48:31] [debug] EIP: 0046a6db EFLAGS: 00000202
[19:48:31] [debug] Stack:
[19:48:31] [debug] ESP+00000000: 76b9f4b0 02398c40 000c000b 004bb9f4
[19:48:31] [debug] ESP+00000020: 004bb9f4 0046a6db 02398c40 ec3d369d
[19:48:31] [debug] ESP+00000040: ffffffff 023994d0 0046a83c 0019fd14
[19:48:31] [debug] ESP+00000060: 5c736e69 00640000 00690064 006b0073
[19:48:31] [debug] ESP+00000080: 00730055 00720065 000007ff 00000201
[19:48:31] [debug] ESP+000000a0: 00000000 00000000 006f0053 00000099
[19:48:31] [debug] ESP+000000c0: 00000181 00000000 68000a62 02398178
[19:48:31] [debug] ESP+000000e0: 02390000 00000002 00000001 01000169
[19:48:31] [debug] ESP+00000100: 02398c38 02398c40 73726576 00000000
[19:48:31] [debug] ESP+00000120: 020100f8 02395638 00726576 0000003b
[19:48:31] [debug] ESP+00000140: 00000000 00000000 0019fdf0 77749420
[19:48:31] [debug] ESP+00000160: 67756c70 5c736e69 5f465359 65004c44
[19:48:31] [debug] ESP+00000180: 00000062 00000020 770387e0 000007ff
[19:48:31] [debug] ESP+000001a0: 02395638 00000000 00000000 00000000
[19:48:31] [debug] ESP+000001c0: 00000003 02390000 000004c8 001f0003
[19:48:31] [debug] ESP+000001e0: 02398c40 0019fdb0 0019fdb0 0019fdc4
[19:48:31] [debug] ESP+00000200: 00000000 000004c0 00000001 00000000
[19:48:31] [debug] ESP+00000220: 0049f61b 004bf8a1 02398ac1 00000000
[19:48:31] [debug] ESP+00000240: 004a3af4 004c03a8 ffffffff 0049f61b
[19:48:31] [debug] ESP+00000260: 00000001 00492bc8 004bbab0 00000000
[19:48:31] [debug] ESP+00000280: 00010101 000000c8 00001e62 00000168
[19:48:31] [debug] ESP+000002a0: 00003531 004ca020 004ca01c 003b7000
[19:48:31] [debug] ESP+000002c0: 004a3af4 004c0558 ffffffff 004a1d61
[19:48:31] [debug] ESP+000002e0: ffffffff 004a3593 00000001 02391428
[19:48:31] [debug] ESP+00000300: 000023f0 00000002 00000000 00000000
[19:48:31] [debug] ESP+00000320: 00000000 00000000 00000000 00000000
[19:48:31] [debug] ESP+00000340: 00000000 00000000 00000000 00000000
[19:48:31] [debug] ESP+00000360: 00000000 00000000 00000000 00000000
[19:48:31] [debug] ESP+00000380: 00000000 004a343f 004a3427 004a3427
[19:48:31] [debug] ESP+000003a0: 00000000 0019fea8 0019ef7c 0019ffcc
[19:48:31] [debug] ESP+000003c0: 76b9f989 003b7000 76b9f970 0019ffdc
[19:48:31] [debug] ESP+000003e0: 00000000 003b7000 00000000 00000000
[19:48:31] [debug] Loaded modules:
[19:48:31] [debug] 00400000 - 0051f000 samp-server.exe
[19:48:31] [debug] 776d0000 - 77872000 ntdll.dll
[19:48:31] [debug] 76b80000 - 76c70000 KERNEL32.DLL
[19:48:31] [debug] 76e60000 - 77073000 KERNELBASE.dll
[19:48:31] [debug] 75a50000 - 75ff9000 SHELL32.dll
[19:48:31] [debug] 774f0000 - 7756b000 msvcp_win.dll
[19:48:31] [debug] 75770000 - 75890000 ucrtbase.dll
[19:48:31] [debug] 76c70000 - 76e03000 USER32.dll
[19:48:31] [debug] 760e0000 - 760f8000 win32u.dll
[19:48:31] [debug] 759c0000 - 759e3000 GDI32.dll
[19:48:31] [debug] 76000000 - 760da000 gdi32full.dll
[19:48:31] [debug] 752b0000 - 752d8000 WINMM.dll
[19:48:31] [debug] 69c10000 - 69c18000 WSOCK32.dll
[19:48:31] [debug] 77370000 - 7742f000 msvcrt.dll
[19:48:31] [debug] 77300000 - 77363000 ws2_32.DLL
[19:48:31] [debug] 77430000 - 774ea000 RPCRT4.dll
[19:48:31] [debug] 755b0000 - 755d5000 IMM32.DLL
[19:48:31] [debug] 666a0000 - 666f1000 crashdetect.DLL
[19:48:31] [debug] 66630000 - 66699000 MSVCP100.dll
[19:48:31] [debug] 66550000 - 6660f000 MSVCR100.dll
[19:48:31] [debug] 696b0000 - 696ba000 pawn-memory.DLL
[19:48:31] [debug] 61e40000 - 61eb0000 MSVCP140.dll
[19:48:31] [debug] 63580000 - 63594000 VCRUNTIME140.dll
[19:48:31] [debug] 664e0000 - 66547000 streamer.DLL
[19:48:31] [debug] 10000000 - 1000e000 sscanf.DLL
[19:48:31] [debug] 02380000 - 0238c000 Whirlpool.DLL
[19:48:31] [debug] 66440000 - 664db000 MSVCR80.dll
[19:48:31] [debug] 663b0000 - 6643e000 pawncmd.DLL
[19:48:31] [debug] 691c0000 - 691cf000 mapandreas.DLL
[19:48:31] [debug] 66360000 - 663ae000 mysql.DLL
[19:48:31] [debug] 66340000 - 6635a000 log-core.dll
[19:48:31] [debug] 66270000 - 6633d000 libmariadb.dll
[19:48:31] [debug] 76b30000 - 76b75000 SHLWAPI.dll
[19:48:31] [debug] 76880000 - 7697f000 CRYPT32.dll
[19:48:31] [debug] 77580000 - 775f9000 ADVAPI32.dll
[19:48:31] [debug] 66260000 - 6626a000 Secur32.dll
[19:48:31] [debug] 76a60000 - 76ad5000 sechost.dll
[19:48:31] [debug] 723d0000 - 723f1000 SSPICLI.DLL
[19:48:31] [debug] 74960000 - 7496a000 CRYPTBASE.DLL
[19:48:31] [debug] 74c60000 - 74c6f000 kernel.appcore.dll
[19:48:31] [debug] 745a0000 - 745b1000 napinsp.dll
[19:48:31] [debug] 6aee0000 - 6aef6000 pnrpnsp.dll
[19:48:31] [debug] 74590000 - 745a0000 wshbth.dll
[19:48:31] [debug] 6aec0000 - 6aed6000 NLAapi.dll
[19:48:31] [debug] 74a60000 - 74a92000 IPHLPAPI.DLL
[19:48:31] [debug] 74b30000 - 74b82000 mswsock.dll
[19:48:31] [debug] 74aa0000 - 74b30000 DNSAPI.dll
[19:48:31] [debug] 76e10000 - 76e17000 NSI.dll
[19:48:31] [debug] 74090000 - 7409e000 winrnr.dll
[19:48:31] [debug] 74a50000 - 74a58000 rasadhlp.dll
[19:48:31] [debug] 66240000 - 66256000 GPS.DLL
[19:48:31] [debug] 766b0000 - 7670c000 bcryptPrimitives.dll
[19:48:31] [debug] 031a0000 - 03247000 YSF_DL.DLL
[19:48:31] [debug] 765c0000 - 766a3000 ole32.dll
[19:48:31] [debug] 77080000 - 77300000 combase.dll
[19:48:31] [debug] 75920000 - 759b6000 OLEAUT32.dll
MaxAndolini commented 4 years ago

@IllidanS4

n0bodysec commented 4 years ago

Well actually would be useful to load a YSF compiled with debug flags.

Just add -g3 to COMPILE_FLAGS in makefile and build YSF. Then load the server with this version to see what's happening.

MaxAndolini commented 4 years ago

Well actually would be useful to load a YSF compiled with debug flags.

Just add -g3 to COMPILE_FLAGS in makefile and build YSF. Then load the server with this version to see what's happening.

I am just using released version 2.0

MaxAndolini commented 4 years ago

Any help @IllidanS4 ?

IS4Code commented 4 years ago

Can you post the size and MD5 hash of your samp-server.exe executable? 0046a6db seems to be offset in some way from a call to a plugin in my version.

MaxAndolini commented 4 years ago

Can you post the size and MD5 hash of your samp-server.exe executable? 0046a6db seems to be offset in some way from a call to a plugin in my version.

956 KB (978.944 bayt)

MD5: 103F16CBC307FD004D757E992DCA77E7

MaxAndolini commented 4 years ago

What do you think the problem is? @IllidanS4

IS4Code commented 4 years ago

Alright, I seem to have the same version and get the same crash even. Strangely it is coming from InstallPreHooks, which several people have also reported to cause crashes for them. Will need more investigation.

MaxAndolini commented 4 years ago

Alright, I seem to have the same version and get the same crash even. Strangely it is coming from InstallPreHooks, which several people have also reported to cause crashes for them. Will need more investigation.

I'll be waiting for the update. Good luck.

IS4Code commented 4 years ago

Fixed in f3f52ebb30afcdae4334b0326dfb5bb42306b840.

MaxAndolini commented 4 years ago

Fixed in f3f52eb.

Can you compile for 0.3DL?

MaxAndolini commented 4 years ago

@IllidanS4

IS4Code commented 4 years ago

Next version will be released in a couple of days.

MaxAndolini commented 4 years ago

@IllidanS4 Thanks. I am waiting.