airdcpp / airdcpp-windows

http://www.airdcpp.net
GNU General Public License v3.0
80 stars 19 forks source link

When changing hub in the file list window crashed the client #115

Open Sopor opened 5 months ago

Sopor commented 5 months ago

Prerequisites

Describe the issue

The client crashed when i changed file list.

Expected behavior

I was changing Browse via in an already open file list and instead of changing hub it crashed.

Actual behavior

It should have changed file list.

Steps to reproduce the behavior if needed

No response

Screenshot

No response

Crash log

Code: 0 ( std::terminate was called )
Version: AirDC++ 4.21-9-ga2804 x64
Build: 4697
Major: 6
Minor: 2
Build: 9200
SP: 0
Type: 1
Time: 2024-03-29 15:41:19
TTH: 45X6MYQA47UTOWB5XBMBF7AJOE6VUH3DMMCM2EQ

c:\Projects\airdc-git\windows\ExtendedTrace.cpp(376): StackTrace
c:\Projects\airdc-git\windows\main.cpp(194): handleCrash
c:\Projects\airdc-git\windows\main.cpp(264): `wWinMain'::`2'::<lambda_1>::operator()
c:\Projects\airdc-git\windows\main.cpp(265): `wWinMain'::`2'::<lambda_1>::<lambda_invoker_cdecl>
minkernel\crts\ucrt\src\appcrt\misc\terminate.cpp(49): terminate
D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\frame.cpp(739): FindHandler<__FrameHandler4>
D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\frame.cpp(403): __InternalCxxFrameHandler<__FrameHandler4>
D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\frame.cpp(236): __InternalCxxFrameHandlerWrapper<__FrameHandler4>
D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\risctrnsctrl.cpp(306): __CxxFrameHandler4
ntdll!0x7FFF29B21FFF: __chkstk
ntdll!0x7FFF29AEAAD9: RtlRaiseException
ntdll!0x7FFF29AEA893: RtlRaiseException
KERNELBASE!0x7FFF26A33FA9: RaiseException
D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\throw.cpp(82): _CxxThrowException
D:\a\_work\1\s\src\vctools\crt\github\stl\src\xthrow.cpp(13): std::_Xbad_alloc
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\heap\new_scalar.cpp(49): operator new
c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\xmemory(143): std::_Allocate_manually_vector_aligned<std::_Default_allocate_traits>
c:\Projects\airdc-git\airdcpp\airdcpp\DirectoryListing.cpp(118): dcpp::DirectoryListing::addHubUrlChangeTask
c:\Projects\airdc-git\windows\DirectoryListingFrm.cpp(2329): DirectoryListingFrame::onComboSelChanged
c:\Projects\airdc-git\windows\DirectoryListingFrm.cpp(2438): DirectoryListingFrame::onComboSelChanged
c:\Projects\airdc-git\windows\DirectoryListingFrm.h(172): DirectoryListingFrame::ProcessWindowMessage
c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\atlmfc\include\atlwin.h(4622): ATL::CContainedWindowT<ATL::CWindow=0x01B93A88,ATL::CWinTraits<1442840576=0x00007FFF,0> >::WindowProc
atlthunk!0x7FFF01B93A88: ?
USER32!0x7FFF27CD5C0D: CallWindowProcW
USER32!0x7FFF27CD521C: SendMessageW
USER32!0x7FFF27CD4F88: SendMessageW
COMCTL32!0x7FFF0F6A1FDF: TaskDialog
COMCTL32!0x7FFF0F6A0B5F: TaskDialog
COMCTL32!0x7FFF0F6A2AE1: TaskDialog
COMCTL32!0x7FFF0F63FD17: Ordinal20
USER32!0x7FFF27CD5C0D: CallWindowProcW
USER32!0x7FFF27CD5602: DispatchMessageW
c:\Projects\airdc-git\windows\WTL\atlapp.h(666): WTL::CMessageLoop::Run
c:\Projects\airdc-git\windows\WinClient.cpp(458): WinClient::run
c:\Projects\airdc-git\windows\main.cpp(337): wWinMain
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(288): __scrt_common_main_seh
KERNEL32!0x7FFF28A87C24: BaseThreadInitThunk
ntdll!0x7FFF29AED721: RtlUserThreadStart

AirDC++ version and architecture (x86 or x64)

4.21 x64

Operating System name, version and architecture

Windows 10 22H2 x64

Additional information

No response