airdcpp / airdcpp-windows

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

🐛 [Bug]: <title>constant crashes #135

Closed mandrix1 closed 1 month ago

mandrix1 commented 2 months ago

Prerequisites

Describe the issue

AIRDCPP is crashing constantly (daily)

Can someone interpret this file and tell me what is happening

Expected behavior

No crashes?

Actual behavior

Crashes almost daily.

Steps to reproduce the behavior if needed

No response

Screenshot

No response

Crash log

Code: c0000006 ( Page error )
Version: AirDC++ 4.21 x64
Build: 4688
Major: 6
Minor: 2
Build: 9200
SP: 0
Type: 1
Time: 2024-08-27 06:00:18
TTH: XVD7Y4Y3ZK7WZVKBIITFBKENJZ4XJD7NOWVPHVY

C:\Projects\airdc-git\leveldb\table\format.cc(97): leveldb::ReadBlock
C:\Projects\airdc-git\leveldb\table\table.cc(177): leveldb::Table::BlockReader
C:\Projects\airdc-git\leveldb\table\table.cc(228): leveldb::Table::InternalGet
C:\Projects\airdc-git\leveldb\db\table_cache.cc(108): leveldb::TableCache::Get
C:\Projects\airdc-git\leveldb\db\version_set.cc(354): `leveldb::Version::Get'::`2'::State::Match
C:\Projects\airdc-git\leveldb\db\version_set.cc(316): leveldb::Version::ForEachOverlapping
C:\Projects\airdc-git\leveldb\db\version_set.cc(399): leveldb::Version::Get
C:\Projects\airdc-git\leveldb\db\db_impl.cc(1147): leveldb::DBImpl::Get
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\functional(841): std::_Func_impl_no_alloc<`dcpp::LevelDB::get'::`2'::<lambda_1>=0x322079BB,leveldb::Status>::_Do_call
C:\Projects\airdc-git\airdcpp\airdcpp\LevelDB.cpp(241): dcpp::LevelDB::performDbOperation
C:\Projects\airdc-git\airdcpp\airdcpp\LevelDB.cpp(141): dcpp::LevelDB::get
C:\Projects\airdc-git\airdcpp\airdcpp\HashStore.cpp(187): dcpp::HashStore::getTree
C:\Projects\airdc-git\airdcpp\airdcpp\HashManager.cpp(107): dcpp::HashManager::getTree
C:\Projects\airdc-git\airdcpp\airdcpp\ShareManager.cpp(462): dcpp::ShareManager::getTree
C:\Projects\airdc-git\airdcpp\airdcpp\UploadManager.cpp(322): dcpp::UploadManager::prepareFile
C:\Projects\airdc-git\airdcpp\airdcpp\UploadManager.cpp(971): dcpp::UploadManager::on
C:\Projects\airdc-git\airdcpp\airdcpp\AdcCommand.h(218): dcpp::CommandHandler<dcpp::UserConnection>::dispatch<>
C:\Projects\airdc-git\airdcpp\airdcpp\UserConnection.cpp(143): dcpp::UserConnection::on
C:\Projects\airdc-git\airdcpp\airdcpp\Speaker.h(48): dcpp::Speaker<dcpp::FavoriteManagerListener>::fire<dcpp::FavoriteManagerListener::X<2>=0x321C635E,boost::intrusive_ptr<dcpp::FavoriteHubEntry> const &>
C:\Projects\airdc-git\airdcpp\airdcpp\BufferedSocket.cpp(257): 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 *)=0x3BBF7374,1>
KERNEL32!0x7FF83BBF7374: BaseThreadInitThunk
ntdll!0x7FF83BD3CC91: RtlUserThreadStart

AirDC++ version and architecture (x86 or x64)

4.21 x64

Operating System name, version and architecture

WINDOWS 11 22H2

Additional information

No response

maksis commented 2 months ago

How much memory do you have available when the crashes happen?

mandrix1 commented 2 months ago

I will have to wait for another crash to determine that. The only other software the machine runs concurrently is aquasuite. The machine is basically soley for running the DC++ client and associated storage.

maksis commented 2 months ago

You should run the hash database integrity check from "Settings" -> "Hashing". If it crashes, the database might be corrupted in a way that you have to rehash your share.

mandrix1 commented 2 months ago

I have been running it after every crash.

mandrix1 commented 2 months ago

I can not run that file. ESET stops it every time, even if I pause protection.

maksis commented 2 months ago

I can not run that file. ESET stops it every time, even if I pause protection.

You shouldn't open virus links from spammers

mandrix1 commented 2 months ago

Yes I was working on two pc's and missed that it was not you that posted it. Very stupid.

mandrix1 commented 2 months ago

One of several crashes, this was the latest exceptioninfo.txt. Can't see as it's running out of memory. IDK at the time I noticed the crash, I checked available memory and only 20% was in use before I closed out the error message, restarted the app, ran the hash check, (no problems). As it resides on a separate pc than my main rig it's hard to know when it's crashed except when I switch pc's and check on it.

exceptioninfo.txt

maksis commented 2 months ago

If you can't think of any other reason that might cause an error when reading the database (e.g. hardware problem), I recommend deleting the hash database (FileIndex and HashData directories) and rehashing your share

mandrix1 commented 2 months ago

Yikes! We’re talking 36TB here. But if that’s what it takes…. Thanks

g

From: maksis @.> Sent: Sunday, September 1, 2024 3:12 AM To: airdcpp/airdcpp-windows @.> Cc: mandrix1 @.>; Author @.> Subject: Re: [airdcpp/airdcpp-windows] 🐛 [Bug]: constant crashes (Issue #135)</p> <p>If you can't think of any other reason that might cause an error when reading the database (e.g. hardware problem), I recommend deleting the hash database (FileIndex and HashData directories) and rehashing your share</p> <p>— Reply to this email directly, view it on GitHub<a href="https://github.com/airdcpp/airdcpp-windows/issues/135#issuecomment-2323204685">https://github.com/airdcpp/airdcpp-windows/issues/135#issuecomment-2323204685</a>, or unsubscribe<a href="https://github.com/notifications/unsubscribe-auth/BK2IRKTPKVNLPMD226KPGWLZUK45LAVCNFSM6AAAAABNGIRIC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRTGIYDINRYGU">https://github.com/notifications/unsubscribe-auth/BK2IRKTPKVNLPMD226KPGWLZUK45LAVCNFSM6AAAAABNGIRIC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRTGIYDINRYGU</a>. You are receiving this because you authored the thread.Message ID: <strong><em>@</em></strong>.***></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/mandrix1"><img src="https://avatars.githubusercontent.com/u/179603626?v=4" />mandrix1</a> commented <strong> 1 month ago</strong> </div> <div class="markdown-body"> <p>Apparently AirDC is having trouble reading the hash table at times. I have no clue why. My Documents folder is on the D: drive, which is an SSD. But rehashing everything helped, but did not stop some errors about hashing, which was made clear in the System Log yesterday. I had to stop the client, restart it and optimize the database.</p> <p>So far since total rehash I have not had the popup stating a file had been written, and AirDC stopping.</p> <p>By all means close it out though.</p> <p>g</p> <p>From: maksis <strong><em>@</em></strong>.<strong><em>> Sent: Monday, September 16, 2024 10:28 AM To: airdcpp/airdcpp-windows </em></strong>@<strong><em>.</em></strong>> Cc: mandrix1 <strong><em>@</em></strong>.<strong><em>>; Author </em></strong>@<strong><em>.</em></strong>> Subject: Re: [airdcpp/airdcpp-windows] 🐛 [Bug]: <title>constant crashes (Issue #135)</p> <p>Closed #135<a href="https://github.com/airdcpp/airdcpp-windows/issues/135">https://github.com/airdcpp/airdcpp-windows/issues/135</a> as completed.</p> <p>— Reply to this email directly, view it on GitHub<a href="https://github.com/airdcpp/airdcpp-windows/issues/135#event-14274256969">https://github.com/airdcpp/airdcpp-windows/issues/135#event-14274256969</a>, or unsubscribe<a href="https://github.com/notifications/unsubscribe-auth/BK2IRKV4LR7QQVUFMPTIHXLZW3TFZAVCNFSM6AAAAABNGIRIC6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGI3TIMRVGY4TMOI">https://github.com/notifications/unsubscribe-auth/BK2IRKV4LR7QQVUFMPTIHXLZW3TFZAVCNFSM6AAAAABNGIRIC6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGI3TIMRVGY4TMOI</a>. You are receiving this because you authored the thread.Message ID: <strong><em>@</em></strong>.***></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/maksis"><img src="https://avatars.githubusercontent.com/u/5640804?v=4" />maksis</a> commented <strong> 1 month ago</strong> </div> <div class="markdown-body"> <p>What are the errors that you are getting...?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/mandrix1"><img src="https://avatars.githubusercontent.com/u/179603626?v=4" />mandrix1</a> commented <strong> 1 month ago</strong> </div> <div class="markdown-body"> <p>Unable to read hash database, or similar.</p> <p>Is the app looking for the Documents folder to be on the C: drive? I always move Documents and Downloads to other drives (I have 14).</p> <p>g</p> <p>From: maksis <strong><em>@</em></strong>.<strong><em>> Sent: Monday, September 16, 2024 3:12 PM To: airdcpp/airdcpp-windows </em></strong>@<strong><em>.</em></strong>> Cc: mandrix1 <strong><em>@</em></strong>.<strong><em>>; Author </em></strong>@<strong><em>.</em></strong>> Subject: Re: [airdcpp/airdcpp-windows] 🐛 [Bug]: <title>constant crashes (Issue #135)</p> <p>What are the errors that you are getting...?</p> <p>— Reply to this email directly, view it on GitHub<a href="https://github.com/airdcpp/airdcpp-windows/issues/135#issuecomment-2353711245">https://github.com/airdcpp/airdcpp-windows/issues/135#issuecomment-2353711245</a>, or unsubscribe<a href="https://github.com/notifications/unsubscribe-auth/BK2IRKQDURQ5L5UZO5TRVKLZW4UO5AVCNFSM6AAAAABNGIRIC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJTG4YTCMRUGU">https://github.com/notifications/unsubscribe-auth/BK2IRKQDURQ5L5UZO5TRVKLZW4UO5AVCNFSM6AAAAABNGIRIC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJTG4YTCMRUGU</a>. You are receiving this because you authored the thread.Message ID: <strong><em>@</em></strong>.***></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/maksis"><img src="https://avatars.githubusercontent.com/u/5640804?v=4" />maksis</a> commented <strong> 1 month ago</strong> </div> <div class="markdown-body"> <p>The application doesn't care about the drive letters. Have you performed disk checks and system stress tests? You can also try moving the application to a different disk to see if it fixes the errors.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/mandrix1"><img src="https://avatars.githubusercontent.com/u/179603626?v=4" />mandrix1</a> commented <strong> 1 month ago</strong> </div> <div class="markdown-body"> <p>Yes the disc’s check out OK. AirDC is the only app running on a dedicated pc as well. (Well it also runs Aquasuite since I have a fan/pump controller). The pc has 6 HDD’s and two SSD’s, one for the OS and the other has the Doc’s folder on it.</p> <p>About 36TB of data is hashed.</p> <p>FWIW.</p> <p>I guess if the Documents folder isn’t moved then all the hash data should be intact. I may try moving the install location to the same drive as the Doc’s folder and see if that helps.</p> <p>Thanks.</p> <p>g</p> <p>From: maksis <strong><em>@</em></strong>.<strong><em>> Sent: Monday, September 16, 2024 3:21 PM To: airdcpp/airdcpp-windows </em></strong>@<strong><em>.</em></strong>> Cc: mandrix1 <strong><em>@</em></strong>.<strong><em>>; Author </em></strong>@<strong><em>.</em></strong>> Subject: Re: [airdcpp/airdcpp-windows] 🐛 [Bug]: <title>constant crashes (Issue #135)</p> <p>The application doesn't care about the drive letters. Have you performed disk checks and system stress tests? You can also try moving the application to a different disk to see if it fixes the errors.</p> <p>— Reply to this email directly, view it on GitHub<a href="https://github.com/airdcpp/airdcpp-windows/issues/135#issuecomment-2353730307">https://github.com/airdcpp/airdcpp-windows/issues/135#issuecomment-2353730307</a>, or unsubscribe<a href="https://github.com/notifications/unsubscribe-auth/BK2IRKQIUGEEUEEUY3AJHFTZW4VR3AVCNFSM6AAAAABNGIRIC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJTG4ZTAMZQG4">https://github.com/notifications/unsubscribe-auth/BK2IRKQIUGEEUEEUY3AJHFTZW4VR3AVCNFSM6AAAAABNGIRIC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJTG4ZTAMZQG4</a>. You are receiving this because you authored the thread.Message ID: <strong><em>@</em></strong>.***></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/mandrix1"><img src="https://avatars.githubusercontent.com/u/179603626?v=4" />mandrix1</a> commented <strong> 1 month ago</strong> </div> <div class="markdown-body"> <p>I realized I listed number of drives for two different machines. I used to run AirDC from my main rig (with all the drives) now it’s run from a dedicated machine, to be clear, with 6 HDD’s and two SSD’s.</p> <p>Sorry I’m in the middle of figuring out some software for creating RAID with my SAS card on the main rig and mixed things up.</p> <p>g</p> <p>From: maksis <strong><em>@</em></strong>.<strong><em>> Sent: Monday, September 16, 2024 3:12 PM To: airdcpp/airdcpp-windows </em></strong>@<strong><em>.</em></strong>> Cc: mandrix1 <strong><em>@</em></strong>.<strong><em>>; Author </em></strong>@<strong><em>.</em></strong>> Subject: Re: [airdcpp/airdcpp-windows] 🐛 [Bug]: <title>constant crashes (Issue #135)</p> <p>What are the errors that you are getting...?</p> <p>— Reply to this email directly, view it on GitHub<a href="https://github.com/airdcpp/airdcpp-windows/issues/135#issuecomment-2353711245">https://github.com/airdcpp/airdcpp-windows/issues/135#issuecomment-2353711245</a>, or unsubscribe<a href="https://github.com/notifications/unsubscribe-auth/BK2IRKQDURQ5L5UZO5TRVKLZW4UO5AVCNFSM6AAAAABNGIRIC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJTG4YTCMRUGU">https://github.com/notifications/unsubscribe-auth/BK2IRKQDURQ5L5UZO5TRVKLZW4UO5AVCNFSM6AAAAABNGIRIC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJTG4YTCMRUGU</a>. You are receiving this because you authored the thread.Message ID: <strong><em>@</em></strong>.***></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/mandrix1"><img src="https://avatars.githubusercontent.com/u/179603626?v=4" />mandrix1</a> commented <strong> 1 month ago</strong> </div> <div class="markdown-body"> <p>Yes everything looks ok. May try moving the app to the Doc’s drive.</p> <p>Thanks.</p> <p>From: maksis <strong><em>@</em></strong>.<strong><em>> Sent: Monday, September 16, 2024 3:21 PM To: airdcpp/airdcpp-windows </em></strong>@<strong><em>.</em></strong>> Cc: mandrix1 <strong><em>@</em></strong>.<strong><em>>; Author </em></strong>@<strong><em>.</em></strong>> Subject: Re: [airdcpp/airdcpp-windows] 🐛 [Bug]: <title>constant crashes (Issue #135)</p> <p>The application doesn't care about the drive letters. Have you performed disk checks and system stress tests? You can also try moving the application to a different disk to see if it fixes the errors.</p> <p>— Reply to this email directly, view it on GitHub<a href="https://github.com/airdcpp/airdcpp-windows/issues/135#issuecomment-2353730307">https://github.com/airdcpp/airdcpp-windows/issues/135#issuecomment-2353730307</a>, or unsubscribe<a href="https://github.com/notifications/unsubscribe-auth/BK2IRKQIUGEEUEEUY3AJHFTZW4VR3AVCNFSM6AAAAABNGIRIC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJTG4ZTAMZQG4">https://github.com/notifications/unsubscribe-auth/BK2IRKQIUGEEUEEUY3AJHFTZW4VR3AVCNFSM6AAAAABNGIRIC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJTG4ZTAMZQG4</a>. You are receiving this because you authored the thread.Message ID: <strong><em>@</em></strong>.***></p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>