airdcpp / airdcpp-windows

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

Code: c0000005 ( Access violation ) while subtracting list #116

Open ljestep opened 3 months ago

ljestep commented 3 months ago

Prerequisites

Describe the issue

Received this fatal error while subtracting one file list from another. Both were file lists obtained from different users using the "get file list" process.

Expected behavior

A file list with files from the second list removed.

Actual behavior

Fatal crash with Code: c0000005 ( Access violation )

Steps to reproduce the behavior if needed

Unable to reproduce at this time

Screenshot

Didn't think to grab a screen shot, but it was just the pop-up indicating the crash and sending me here.

Crash log

Code: c0000005 ( Access violation )
Version: AirDC++ 4.21 x64
Build: 4688
Major: 6
Minor: 2
Build: 9200
SP: 0
Type: 1
Time: 2024-04-10 20:56:07
TTH: XVD7Y4Y3ZK7WZVKBIITFBKENJZ4XJD7NOWVPHVY

C:\Projects\airdc-git\airdcpp\airdcpp\DirectoryListing.cpp(825): dcpp::DirectoryListing::Directory::getAdcPath
C:\Projects\airdc-git\airdcpp\airdcpp\DirectoryListing.cpp(826): dcpp::DirectoryListing::Directory::getAdcPath
C:\Projects\airdc-git\airdcpp\airdcpp\DirectoryListing.cpp(826): dcpp::DirectoryListing::Directory::getAdcPath
C:\Projects\airdc-git\airdcpp\airdcpp\DirectoryListing.cpp(1214): dcpp::DirectoryListing::changeDirectoryImpl
C:\Projects\airdc-git\airdcpp\airdcpp\DirectoryListing.cpp(969): dcpp::DirectoryListing::dispatch
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\functional(839): std::_Func_impl_no_alloc<std::_Binder<std::_Unforced=0x87D5D4E8,bool (__cdecl webserver::ExtensionManager::*)(std::basic_string<char=0x00007FF6,std::char_traits<char>=0xFD0697A0,std::allocator<char> > const &=0x00000237,std::basic_string<char=0x00000000,std::char_traits<char>=0x00000000,std::allocator<char> > const &=0x00000000,std::basic_string<char=0x00000FAD,std::char_traits<char>=0x00000A78,std::allocator<char> > const &) noexcept=0x00000000,webserver::ExtensionManager *=0x00000000,std::_Ph<1> const &=0x00000000,std::_Ph<2> const &=0x87DCBFFA,std::_Ph<3> const &>=0x00007FF6,void=0x89A065A0,std::basic_string<char=0x00000237,std::char_traits<char>=0x00000000,std::allocator<char> > const

AirDC++ version and architecture (x86 or x64)

4.21 x64

Operating System name, version and architecture

Windows 10 Pro -- version 22H2 -- build 19045.4170 -- x64 -- AMD Ryzen 5 5600G with Radeon Graphics 3.90 GHz

Additional information

This looks similar to #111 as there were downloads running at the time, but it happened while I was subtracting one large list from another. Coincidence or related? I'm not sure so I opened it as a separate issue.

andree392 commented 2 months ago

not sure if this should be it's own issue as it's not identical error, but i just had a similar crash.

Code: c0000005 ( Access violation )
Version: AirDC++ 4.21 x64
Build: 4688
Major: 6
Minor: 2
Build: 9200
SP: 0
Type: 1
Time: 2024-05-07 12:00:46
TTH: XVD7Y4Y3ZK7WZVKBIITFBKENJZ4XJD7NOWVPHVY

C:\Projects\airdc-git\windows\MainFrm.h(97): MainFrame::ProcessWindowMessage
C:\Projects\airdc-git\windows\WTL\atlframe.h(1229): WTL::CMDIFrameWindowImpl<MainFrame=0x91E31122,WTL::CMDIWindow=0x00007FFA,ATL::CWinTraits<114229248=0x00000000,262400> >::MDIFrameWindowProc
atlthunk!0x7FFA91E31122: AtlThunk_AllocateData
USER32!0x7FFAE72B89A1: DispatchMessageW
USER32!0x7FFAE72B81EB: CallWindowProcW
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\atlmfc\include\atlwin.h(4627): ATL::CContainedWindowT<ATL::CWindow=0x91E31792,ATL::CWinTraits<1442840576=0x00007FFA,0> >::WindowProc
atlthunk!0x7FFA91E31792: AtlThunk_DataToCode
USER32!0x7FFAE72B89A1: DispatchMessageW
USER32!0x7FFAE72B865C: DispatchMessageW
USER32!0x7FFAE72C3B9D: GetClassLongW
ntdll!0x7FFAE9613994: KiUserCallbackDispatcher
win32u!0x7FFAE6ACC634: NtUserTrackPopupMenuEx
USER32!0x7FFAE731745B: TrackPopupMenu
C:\Projects\airdc-git\windows\OMenu.cpp(223): OMenu::open
C:\Projects\airdc-git\windows\ShellContextMenu.cpp(68): ShellMenu::open
C:\Projects\airdc-git\windows\DirectoryListingFrm.cpp(1557): DirectoryListingFrame::appendListContextMenu
C:\Projects\airdc-git\windows\DirectoryListingFrm.cpp(1450): DirectoryListingFrame::onContextMenu
C:\Projects\airdc-git\windows\DirectoryListingFrm.h(167): DirectoryListingFrame::ProcessWindowMessage
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\atlmfc\include\atlwin.h(4622): ATL::CContainedWindowT<ATL::CWindow=0x231A3352,ATL::CWinTraits<1442840576=0x00000219,0> >::WindowProc
0x219231A3352: ?