pawn-lang / YSI-Includes

Just the YSI include files, none of the extra stuff.
211 stars 106 forks source link

Server crash by `y_hooks` #691

Open aujiz11 opened 2 months ago

aujiz11 commented 2 months ago

Hi, up until now my server has been using y_hooks and it has been working fine, however today I added the hook OnPlayerConnect(playerid), however when the BCrypt_AsyncVerify function is executed the server immediately crashed. I have removed all the code inside hook OnPlayerConnect however it still happens and until I remove hook OnPlayerConnect everything works fine again. I checked when starting other hooks this still happens.

[2024-09-11T20:28:08+0700] [Info] [debug] Server crashed due to an unknown error
[2024-09-11T20:28:09+0700] [Info] [debug] Native backtrace:
[2024-09-11T20:28:09+0700] [Info] [debug] #0 711af890 in ?? () in plugins\streamer.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] #1 759fc5fb in ?? () in C:\Windows\System32\ucrtbase.dll
[2024-09-11T20:28:09+0700] [Info] [debug] #2 711b5d69 in ?? () in plugins\streamer.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] #3 711af403 in ?? () in plugins\streamer.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] #4 712e400f in ?? () in plugins\samp_bcrypt.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] #5 712ee734 in ?? () in plugins\samp_bcrypt.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] #6 001dfe2e in ?? () in omp-server.exe
[2024-09-11T20:28:09+0700] [Info] [debug] #7 001d92a6 in ?? () in omp-server.exe
[2024-09-11T20:28:09+0700] [Info] [debug] #8 003fea90 in ?? () in omp-server.exe
[2024-09-11T20:28:09+0700] [Info] [debug] #9 762e6709 in ?? () in C:\Windows\System32\KERNEL32.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] #10 7726791d in ?? () in C:\Windows\SYSTEM32\ntdll.dll
[2024-09-11T20:28:09+0700] [Info] [debug] #11 772678eb in ?? () in C:\Windows\SYSTEM32\ntdll.dll
[2024-09-11T20:28:09+0700] [Info] [debug] Registers:
[2024-09-11T20:28:09+0700] [Info] [debug] EAX: 8f46cd7f EBX: 0000001e ECX: 22696218 EDX: 8f46cd7f
[2024-09-11T20:28:09+0700] [Info] [debug] ESI: 2047e85c EDI: 0000001f EBP: 008ff768 ESP: 008ff768
[2024-09-11T20:28:09+0700] [Info] [debug] EIP: 711af890 EFLAGS: 00210206
[2024-09-11T20:28:09+0700] [Info] [debug] Stack:
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000000: 008ff794 759fc5fb 8f46cd7f 2047e85c
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000020: 755a6720 2047e9d0 008ff7a4 008ff868
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000040: 0000000c 711af880 0000060c 224fd988
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000060: 8f46cd7f 00000020 5e200f10 224fd988
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000080: 210729e8 0000001e 0000001f 00000004
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+000000a0: 7367b76d 224fd988 00000028 7728ca7d
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+000000c0: 00000002 008ff85c 22b9b895 5e200f60
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+000000e0: 0000002f 008ff860 711b6391 00000000
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000100: 008ff88c 711af403 224fd988 8f46cd7f
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000120: 00000004 008ff9b8 712e400f 00000002
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000140: 17110810 7367b250 00000000 0000001e
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000160: 00000000 2d7b4ec8 0000001f 711befec
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000180: 008ff934 7725e2e7 c2c4b77a 7725e325
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+000001a0: 2d1a37e8 0005dc47 226aa048 0005dc47
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+000001c0: 226aa04c 00000f00 00000000 00000004
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+000001e0: 7f28cc01 0f300590 008ff994 00000000
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000200: 00000000 00000001 00000001 22c7e88a
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000220: 00000000 00000001 2d1a37c8 008ff9c0
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000240: 1d875b00 1d875b00 1d875b0f 1d875994
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000260: 008ff9d8 3708d0a8 0005dc47 7368f1c9
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000280: 0005dc47 3708d0a8 ffedea00 1d866eb0
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+000002a0: 008ffc38 73695f70 ffffffff 748530c0
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+000002c0: 008ffa9c 001dfe2e 0000137f 00000000
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+000002e0: 0000137f 3708d0a8 3708d0a8 0005dc47
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000300: 0270dd54 0e7fe3f8 00001388 00000000
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000320: 0270dd68 00000000 00000000 008ffaa4
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000340: 008ffa80 00000004 00000004 0000003a
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000360: 001d8047 00000017 0000001f 00a144f0
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+00000380: 0000001f 00a144a0 00007470 008ffc50
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+000003a0: 00991f3c 00991f30 009a69f0 009a6a08
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+000003c0: 00000001 0098fff8 00990038 00990038
[2024-09-11T20:28:09+0700] [Info] [debug] ESP+000003e0: 008ffaa4 009866b0 004921c8 004921c8
[2024-09-11T20:28:09+0700] [Info] [debug] Loaded modules:
[2024-09-11T20:28:09+0700] [Info] [debug] 001d0000 - 004b0000 omp-server.exe
[2024-09-11T20:28:09+0700] [Info] [debug] 77200000 - 773a7000 ntdll.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 762d0000 - 763c0000 KERNEL32.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] 75490000 - 756d3000 KERNELBASE.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 76df0000 - 76e55000 WS2_32.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 75b00000 - 75bbc000 RPCRT4.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 75cc0000 - 76296000 SHELL32.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 766e0000 - 7675e000 msvcp_win.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 759d0000 - 75ae3000 ucrtbase.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 75290000 - 75435000 USER32.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 75440000 - 7545a000 win32u.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 75460000 - 75483000 GDI32.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 76540000 - 7661f000 gdi32full.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 75030000 - 75133000 CRYPT32.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 76760000 - 767db000 ADVAPI32.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 767f0000 - 768b2000 msvcrt.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 76f40000 - 76fbb000 sechost.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 749a0000 - 749c8000 WINMM.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 74930000 - 7499d000 MSVCP140.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 74910000 - 74929000 bcrypt.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 748f0000 - 74905000 VCRUNTIME140.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 762a0000 - 762c5000 IMM32.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] 748c0000 - 748e2000 Actors.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 748a0000 - 748bc000 Checkpoints.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 74880000 - 7489f000 Classes.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 74840000 - 74871000 Console.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 747d0000 - 7483d000 CustomModels.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 74660000 - 74727000 Databases.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 747b0000 - 747cd000 Dialogs.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 74630000 - 74651000 GangZones.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 74600000 - 74625000 LegacyConfig.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 74520000 - 745cb000 LegacyNetwork.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 73840000 - 73861000 Menus.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 73800000 - 73832000 Objects.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 73660000 - 737fa000 Pawn.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 75140000 - 7518c000 SHLWAPI.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 735b0000 - 73654000 pawncmd.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 73510000 - 735a7000 pawnraknet.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 734e0000 - 73501000 Pickups.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 734b0000 - 734d9000 Recordings.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 73410000 - 734b0000 sampvoice.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 733e0000 - 7340a000 sscanf.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 733b0000 - 733d5000 TextDraws.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 73380000 - 733a4000 TextLabels.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 743f0000 - 74409000 Timers.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 716d0000 - 7337c000 Unicode.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 716b0000 - 716cd000 Variables.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 71680000 - 716af000 Vehicles.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 745d0000 - 745e2000 kernel.appcore.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 71600000 - 7167a000 crashdetect.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] 715b0000 - 715fe000 mysql.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] 714c0000 - 714da000 log-core.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 714e0000 - 715ad000 libmariadb.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 747a0000 - 747aa000 Secur32.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 71490000 - 714b5000 SSPICLI.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] 74750000 - 7475b000 CRYPTBASE.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] 71470000 - 71482000 napinsp.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 71410000 - 71461000 mswsock.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 71360000 - 71404000 DNSAPI.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 74080000 - 740a4000 IPHLPAPI.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] 751f0000 - 751f7000 NSI.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 745f0000 - 745fe000 winrnr.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 71340000 - 71359000 nlansp_c.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 71320000 - 71331000 wshbth.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 74510000 - 74518000 rasadhlp.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 712c0000 - 71317000 samp_bcrypt.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] 764d0000 - 76532000 bcryptprimitives.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 712b0000 - 712ba000 pawn-memory.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] 711e0000 - 712a7000 ColAndreas.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] 22b80000 - 22e4e000 PawnPlus.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] 71170000 - 711d6000 streamer.DLL
[2024-09-11T20:28:09+0700] [Info] [debug] 71110000 - 7116b000 fwpuclnt.dll
[2024-09-11T20:28:09+0700] [Info] [debug] 71100000 - 7110e000 MSASN1.dll