Bug Array::sortasc dump

Автор темы #1
Дата рег
19 Фев 2011
Сообщения
197
Симпатии
72
Сортировка массива дампает при кастомном классе, с объявленным оператором сравнения:
Код:
class T
{
	int opCmp( T other )
	{
		...
	}
}
Код:
Message
 
 
Application
Name		FOnline
Version	 812
OS		  6.2.9200 ()
Timestamp   2018.09.26 04:13:44
 
Exception
Code	  EXCEPTION_ACCESS_VIOLATION
Address   0x00007FF66D25DF9A
Flags	 0x0
Info	  Attempted to read to an 0x0000000000000000
 
Thread 23132 (, current)
FOnline64, Script::MakeContextTraceback + 842, script.cpp (878)
FOnline64, Script::HandleException + 188, script.cpp (818)
FOnline64, Script::CallbackException + 418, script.cpp (2178)
FOnline64, asCContext::CallExceptionCallback + 54, as_context.cpp (5115)
FOnline64, asCContext::CallInterfaceMethod + 143, as_context.cpp (1814)
FOnline64, asCContext::ExecuteNext + 6678, as_context.cpp (3464)
FOnline64, asCContext::Execute + 734, as_context.cpp (1306)
FOnline64, CScriptArray::Less + 399, scriptarray.cpp (1052)
FOnline64, CScriptArray::Sort + 504, scriptarray.cpp (1501)
FOnline64, CallX64 + 149, as_callfunc_x64_msvc_asm.asm (139)
FOnline64, CallSystemFunctionNative + 766, as_callfunc_x64_msvc.cpp (201)
FOnline64, CallSystemFunction + 351, as_callfunc.cpp (740)
FOnline64, asCContext::ExecuteNext + 2750, as_context.cpp (2525)
FOnline64, asCContext::Execute + 734, as_context.cpp (1306)
FOnline64, Script::RunPrepared + 445, script.cpp (1879)
FOnline64, EventPragma::ScriptEvent::RaiseImpl + 2556, scriptpragmas.cpp (1203)
FOnline64, EventPragma::ScriptEvent::RaiseInternal + 567, scriptpragmas.cpp (1118)
FOnline64, Script::RaiseInternalEvent + 60, script.cpp (954)
FOnline64, FOClient::ShowMainScreen + 120, clientinterface.cpp (246)
FOnline64, FOClient::Net_OnEndParseToGame + 393, client.cpp (3503)
FOnline64, FOClient::NetProcess + 866, client.cpp (1894)
FOnline64, FOClient::ParseSocket + 48, client.cpp (1709)
FOnline64, FOClient::MainLoop + 2574, client.cpp (1031)
FOnline64, SDL_main + 564, mainclient.cpp (84)
FOnline64, main_getcmdline + 184, sdl_windows_main.c (162)
FOnline64, __scrt_common_main_seh + 262, exe_common.inl (288)
KERNEL32, BaseThreadInitThunk + 20
ntdll, RtlUserThreadStart + 33
 
Thread 32688 ()
ntdll, ZwWaitForWorkViaWorkerFactory + 20
ntdll, RtlReleaseSRWLockExclusive + 1398
KERNEL32, BaseThreadInitThunk + 20
ntdll, RtlUserThreadStart + 33
 
Thread 7564 ()
ntdll, NtWaitForSingleObject + 20
KERNELBASE, WaitForSingleObjectEx + 162
nvoglv64, DrvValidateVersion + 42874
nvoglv64, (function-name not available) + 0
nvoglv64, (function-name not available) + 0
nvoglv64, DrvValidateVersion + 45691
KERNEL32, BaseThreadInitThunk + 20
ntdll, RtlUserThreadStart + 33
 
Thread 1456 ()
ntdll, ZwWaitForMultipleObjects + 20
KERNELBASE, WaitForMultipleObjectsEx + 249
KERNELBASE, WaitForMultipleObjects + 14
nvoglv64, DrvPresentBuffers + 39893
nvoglv64, DrvPresentBuffers + 38217
nvoglv64, vk_optimusGetInstanceProcAddr + 567468
KERNEL32, BaseThreadInitThunk + 20
ntdll, RtlUserThreadStart + 33
 
Thread 11536 ()
ntdll, ZwWaitForMultipleObjects + 20
KERNELBASE, WaitForMultipleObjectsEx + 249
KERNELBASE, WaitForMultipleObjects + 14
nvoglv64, DrvPresentBuffers + 174150
KERNEL32, BaseThreadInitThunk + 20
ntdll, RtlUserThreadStart + 33
 
Thread 24596 ()
win32u, NtUserMsgWaitForMultipleObjectsEx + 20
USER32, MsgWaitForMultipleObjectsEx + 157
nvoglv64, DrvValidateVersion + 15469
KERNEL32, BaseThreadInitThunk + 20
ntdll, RtlUserThreadStart + 33
 
Thread 23056 ()
ntdll, ZwWaitForWorkViaWorkerFactory + 20
ntdll, RtlReleaseSRWLockExclusive + 1398
KERNEL32, BaseThreadInitThunk + 20
ntdll, RtlUserThreadStart + 33
 
Thread 13912 ()
ntdll, NtDelayExecution + 20
KERNELBASE, SleepEx + 154
FOnline64, WASAPI_WaitDevice + 169, sdl_wasapi.c (535)
FOnline64, SDL_RunAudio + 367, sdl_audio.c (692)
FOnline64, SDL_RunThread + 69, sdl_thread.c (283)
FOnline64, RunThread + 30, sdl_systhread.c (91)
FOnline64, thread_start<unsigned int (__cdecl*)(void * __ptr64)> + 80, thread.cpp (115)
KERNEL32, BaseThreadInitThunk + 20
ntdll, RtlUserThreadStart + 33
 
Thread 12436 ()
ntdll, NtRemoveIoCompletion + 20
mswsock, Tcpip6_WSHStringToAddress + 5784
KERNEL32, BaseThreadInitThunk + 20
ntdll, RtlUserThreadStart + 33
 
Thread 30168 ()
ntdll, ZwWaitForWorkViaWorkerFactory + 20
ntdll, RtlReleaseSRWLockExclusive + 1398
KERNEL32, BaseThreadInitThunk + 20
ntdll, RtlUserThreadStart + 33
 
Thread 30928 ()
ntdll, ZwWaitForWorkViaWorkerFactory + 20
ntdll, RtlReleaseSRWLockExclusive + 1398
KERNEL32, BaseThreadInitThunk + 20
ntdll, RtlUserThreadStart + 33
 
Loaded modules
F:\FOnlineSDK\Binaries\Client\Windows\FOnline64.exe (00007FF66D1E0000)
C:\WINDOWS\SYSTEM32\ntdll.dll (00007FFD41700000)
C:\WINDOWS\System32\KERNEL32.DLL (00007FFD40F90000)
C:\WINDOWS\System32\KERNELBASE.dll (00007FFD3E870000)
C:\WINDOWS\System32\USER32.dll (00007FFD413B0000)
C:\WINDOWS\System32\win32u.dll (00007FFD3E580000)
C:\WINDOWS\System32\GDI32.dll (00007FFD407C0000)
C:\WINDOWS\System32\gdi32full.dll (00007FFD3E600000)
C:\WINDOWS\System32\msvcp_win.dll (00007FFD3EAF0000)
C:\WINDOWS\System32\ucrtbase.dll (00007FFD3DCC0000)
C:\WINDOWS\System32\IMM32.dll (00007FFD41210000)
C:\WINDOWS\System32\ole32.dll (00007FFD40E30000)
C:\WINDOWS\System32\combase.dll (00007FFD3EC40000)
C:\WINDOWS\System32\RPCRT4.dll (00007FFD41540000)
C:\WINDOWS\System32\bcryptPrimitives.dll (00007FFD3E7F0000)
C:\WINDOWS\SYSTEM32\WINMM.dll (00007FFD32C50000)
C:\WINDOWS\System32\sechost.dll (00007FFD41240000)
C:\WINDOWS\System32\msvcrt.dll (00007FFD41100000)
C:\WINDOWS\System32\OLEAUT32.dll (00007FFD40C40000)
C:\WINDOWS\System32\SHELL32.dll (00007FFD3EFF0000)
C:\WINDOWS\SYSTEM32\WINMMBASE.dll (00007FFD32C20000)
C:\WINDOWS\System32\cfgmgr32.dll (00007FFD3E7A0000)
C:\WINDOWS\System32\shcore.dll (00007FFD40D80000)
C:\WINDOWS\System32\windows.storage.dll (00007FFD3DDC0000)
C:\WINDOWS\SYSTEM32\VERSION.dll (00007FFD3AB90000)
C:\WINDOWS\System32\advapi32.dll (00007FFD41050000)
C:\WINDOWS\System32\shlwapi.dll (00007FFD40D20000)
C:\WINDOWS\System32\kernel.appcore.dll (00007FFD3DA70000)
C:\WINDOWS\System32\profapi.dll (00007FFD3DAB0000)
C:\WINDOWS\System32\powrprof.dll (00007FFD3DA20000)
C:\WINDOWS\System32\FLTLIB.DLL (00007FFD3DA10000)
C:\WINDOWS\System32\WS2_32.dll (00007FFD411A0000)
C:\WINDOWS\SYSTEM32\dbghelp.dll (00007FFD39390000)
C:\WINDOWS\SYSTEM32\OPENGL32.dll (00007FFD1DB00000)
C:\WINDOWS\SYSTEM32\GLU32.dll (00007FFD36A40000)
C:\WINDOWS\system32\uxtheme.dll (00007FFD3BBF0000)
C:\WINDOWS\system32\IconCodecService.dll (00007FFD377A0000)
C:\WINDOWS\SYSTEM32\WindowsCodecs.dll (00007FFD39D70000)
C:\WINDOWS\System32\MSCTF.dll (00007FFD40430000)
c:\program files\nvidia corporation\nvstreamsrv\nvinject.dll (00007FFD18D60000)
C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_485c1c3102021986\nvoglv64.dll (0000000073830000)
C:\WINDOWS\System32\SETUPAPI.dll (00007FFD407F0000)
C:\WINDOWS\SYSTEM32\WTSAPI32.dll (00007FFD3B840000)
C:\WINDOWS\SYSTEM32\DEVOBJ.dll (00007FFD3D820000)
C:\WINDOWS\System32\WINTRUST.dll (00007FFD3E5A0000)
C:\WINDOWS\System32\MSASN1.dll (00007FFD3DA90000)
C:\WINDOWS\System32\CRYPT32.dll (00007FFD3DAD0000)
C:\WINDOWS\SYSTEM32\ntmarta.dll (00007FFD3CB00000)
C:\WINDOWS\system32\dwmapi.dll (00007FFD3BED0000)
C:\WINDOWS\system32\nvspcap64.dll (00007FFCE4B20000)
C:\WINDOWS\SYSTEM32\WINSTA.dll (00007FFD3CB70000)
C:\WINDOWS\System32\clbcatq.dll (00007FFD3EBA0000)
C:\WINDOWS\SYSTEM32\TextInputFramework.dll (00007FFD26DA0000)
C:\WINDOWS\SYSTEM32\CoreMessaging.dll (00007FFD38F20000)
C:\WINDOWS\SYSTEM32\CoreUIComponents.dll (00007FFD295D0000)
C:\WINDOWS\SYSTEM32\wintypes.dll (00007FFD3A490000)
C:\WINDOWS\System32\MMDevApi.dll (00007FFD397A0000)
C:\WINDOWS\System32\PROPSYS.dll (00007FFD3C780000)
C:\WINDOWS\SYSTEM32\avrt.dll (00007FFD357A0000)
C:\WINDOWS\SYSTEM32\AUDIOSES.DLL (00007FFD1BA10000)
C:\WINDOWS\system32\napinsp.dll (00007FFD27370000)
C:\WINDOWS\system32\pnrpnsp.dll (00007FFD27350000)
C:\WINDOWS\system32\NLAapi.dll (00007FFD3B500000)
C:\WINDOWS\System32\mswsock.dll (00007FFD3D290000)
C:\WINDOWS\SYSTEM32\DNSAPI.dll (00007FFD3D050000)
C:\WINDOWS\System32\NSI.dll (00007FFD405B0000)
C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL (00007FFD3D010000)
C:\WINDOWS\System32\winrnr.dll (00007FFD26EA0000)
C:\WINDOWS\System32\fwpuclnt.dll (00007FFD39AC0000)
C:\WINDOWS\SYSTEM32\bcrypt.dll (00007FFD3D570000)
C:\Windows\System32\rasadhlp.dll (00007FFD37900000)