airdcpp / airdcpp-windows

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

Fatal exception error - Code: c0000005 #111

Open Persnickety-Econ opened 8 months ago

Persnickety-Econ commented 8 months ago

Prerequisites

Describe the issue

Crash error message while running in the background with 1 bundle in download queue and a few (approx 3) bundles in the upload queue. Error forced full shut down of client.

Expected behavior

Expected no error and/or for the client to continue running as typically expected.

Actual behavior

Fatal exception error message while client running in background.

Steps to reproduce the behavior if needed

Unknown - unsure if related to specific bundle or some other element. As mentioned, client was running in the background. I was not actively utilizing it or searching anything when the error occurred.

Screenshot

Failed to take screenshot. If happens again will try to do so.

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-02-13 14:22:57
TTH: XVD7Y4Y3ZK7WZVKBIITFBKENJZ4XJD7NOWVPHVY

D:\a\_work\1\s\src\vctools\crt\vcruntime\src\string\amd64\memcmp.asm(72): memcmp
C:\Projects\airdc-git\airdcpp\airdcpp\Util.h(70): dcpp::compare<std::basic_string<char=0x14679BBA,std::char_traits<char>=0x00007FF7,std::allocator<char> > >
C:\Projects\airdc-git\airdcpp\airdcpp\QueueItem.cpp(749): dcpp::QueueItem::removeDownload
C:\Projects\airdc-git\airdcpp\airdcpp\QueueManager.cpp(1889): dcpp::QueueManager::onFileDownloadCompleted
C:\Projects\airdc-git\airdcpp\airdcpp\QueueManager.cpp(1754): dcpp::QueueManager::putDownloadHooked
C:\Projects\airdc-git\airdcpp\airdcpp\DownloadManager.cpp(509): dcpp::DownloadManager::endData
C:\Projects\airdc-git\airdcpp\airdcpp\DownloadManager.cpp(453): dcpp::DownloadManager::on
C:\Projects\airdc-git\airdcpp\airdcpp\UserConnection.cpp(348): dcpp::UserConnection::on
C:\Projects\airdc-git\airdcpp\airdcpp\BufferedSocket.cpp(274): dcpp::BufferedSocket::threadRead
C:\Projects\airdc-git\airdcpp\airdcpp\BufferedSocket.cpp(491): dcpp::BufferedSocket::checkSocket
C:\Projects\airdc-git\airdcpp\airdcpp\BufferedSocket.cpp(505): dcpp::BufferedSocket::run
C:\Projects\airdc-git\airdcpp\airdcpp\Thread.cpp(59): dcpp::Thread::starter
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(97): thread_start<unsigned int (__cdecl*)(void *)=0x0B97257D,1>
KERNEL32!0x7FFF0B97257D: BaseThreadInitThunk
ntdll!0x7FFF0C40AA58: RtlUserThreadStart

AirDC++ version and architecture (x86 or x64)

4.21 x64

Operating System name, version and architecture

Win 11 Pro Build 22621.ni_release.220506-1250

Additional information

Happened twice - this time and about 30 minutes prior - queue was very similar. same bundle being dl'ed, probably different upload queue, but about the same number of bundles were being uploaded.

Persnickety-Econ commented 8 months ago

Just happened a 3rd time, must be the specific bundle.

Code: c0000005 ( Access violation )
Version: AirDC++ 4.21 x64
Build: 4688
Major: 6
Minor: 2
Build: 9200
SP: 0
Type: 1
Time: 2024-02-13 15:19:48
TTH: XVD7Y4Y3ZK7WZVKBIITFBKENJZ4XJD7NOWVPHVY

D:\a\_work\1\s\src\vctools\crt\vcruntime\src\string\amd64\memcmp.asm(72): memcmp
C:\Projects\airdc-git\airdcpp\airdcpp\Util.h(70): dcpp::compare<std::basic_string<char=0x14679BBA,std::char_traits<char>=0x00007FF7,std::allocator<char> > >
C:\Projects\airdc-git\airdcpp\airdcpp\QueueItem.cpp(749): dcpp::QueueItem::removeDownload
C:\Projects\airdc-git\airdcpp\airdcpp\QueueManager.cpp(1889): dcpp::QueueManager::onFileDownloadCompleted
C:\Projects\airdc-git\airdcpp\airdcpp\QueueManager.cpp(1754): dcpp::QueueManager::putDownloadHooked
C:\Projects\airdc-git\airdcpp\airdcpp\DownloadManager.cpp(509): dcpp::DownloadManager::endData
C:\Projects\airdc-git\airdcpp\airdcpp\DownloadManager.cpp(453): dcpp::DownloadManager::on
C:\Projects\airdc-git\airdcpp\airdcpp\UserConnection.cpp(348): dcpp::UserConnection::on
C:\Projects\airdc-git\airdcpp\airdcpp\BufferedSocket.cpp(274): dcpp::BufferedSocket::threadRead
C:\Projects\airdc-git\airdcpp\airdcpp\BufferedSocket.cpp(491): dcpp::BufferedSocket::checkSocket
C:\Projects\airdc-git\airdcpp\airdcpp\BufferedSocket.cpp(505): dcpp::BufferedSocket::run
C:\Projects\airdc-git\airdcpp\airdcpp\Thread.cpp(59): dcpp::Thread::starter
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(97): thread_start<unsigned int (__cdecl*)(void *)=0x0B97257D,1>
KERNEL32!0x7FFF0B97257D: BaseThreadInitThunk
ntdll!0x7FFF0C40AA58: RtlUserThreadStart
Persnickety-Econ commented 8 months ago

Once I grabbed that specific bundle, the error didn't come back. Didn't happen prior to that bundle and hasn't happened since.

AzonicTech commented 5 months ago

I had this happen to me 2x now. Here is my copy of the exception file to help: Winning on Win 10 Pro, 22H2, Intel Core i3-3217U @ 1.80 GHz, 8 GB Ram

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

C:\Projects\airdc-git\airdcpp\airdcpp\Util.h(70): dcpp::compare<std::basic_string<char=0x00000000,std::char_traits=0x00000004,std::allocator > > C:\Projects\airdc-git\airdcpp\airdcpp\QueueItem.cpp(749): dcpp::QueueItem::removeDownload C:\Projects\airdc-git\airdcpp\airdcpp\QueueManager.cpp(1797): dcpp::QueueManager::onDownloadFailed C:\Projects\airdc-git\airdcpp\airdcpp\QueueManager.cpp(1748): dcpp::QueueManager::putDownloadHooked C:\Projects\airdc-git\airdcpp\airdcpp\DownloadManager.cpp(577): dcpp::DownloadManager::failDownload C:\Projects\airdc-git\airdcpp\airdcpp\DownloadManager.h(113): dcpp::DownloadManager::on C:\Projects\airdc-git\airdcpp\airdcpp\UserConnection.cpp(367): dcpp::UserConnection::on C:\Projects\airdc-git\airdcpp\airdcpp\BufferedSocket.cpp(519): dcpp::BufferedSocket::fail C:\Projects\airdc-git\airdcpp\airdcpp\BufferedSocket.cpp(508): dcpp::BufferedSocket::run'::1'::catch$0 D:\a_work\1\s\src\vctools\crt\vcruntime\src\eh\amd64\handlers.asm(98): _CallSettingFrame_LookupContinuationIndex D:\a_work\1\s\src\vctools\crt\vcruntime\src\eh\frame.cpp(1439): __FrameHandler4::CxxCallCatchBlock ntdll!0x7FFE27B91716: RtlCaptureContext2 C:\Projects\airdc-git\airdcpp\airdcpp\BufferedSocket.cpp(501): dcpp::BufferedSocket::run C:\Projects\airdc-git\airdcpp\airdcpp\Thread.cpp(59): dcpp::Thread::starter minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(97): thread_start<unsigned int (__cdecl)(void )=0x27547344,1> KERNEL32!0x7FFE27547344: BaseThreadInitThunk ntdll!0x7FFE27B426B1: RtlUserThreadStart