qBittorrent icon indicating copy to clipboard operation
qBittorrent copied to clipboard

Frequent crashing after opening qbittorent after a night of seeding

Open UsmanTariq2 opened this issue 1 year ago • 26 comments

qBittorrent & operating system versions

qBittorent : 4.6.4 Windows: 11

What is the problem?

After a night of seeding, when i open qbittorrent, it crashes and closes without a message of any kind

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

qbittorrent.log qBittorrent.zip

UsmanTariq2 avatar May 21 '24 22:05 UsmanTariq2

it crashes and closes without a message of any kind

Not according to your log:

qBittorrent termination initiated qBittorrent is now ready to exit

thalieht avatar May 21 '24 22:05 thalieht

Yeah there are multiple log files . Dont know which one of them has the crash information. Here all multiple logs.zip

If they not there then crash info is not in log file since this is 1 day of logs

UsmanTariq2 avatar May 22 '24 00:05 UsmanTariq2

Yeah i don't think a crash would appear in logs. Anyway if it's a crash and you want to help https://github.com/qbittorrent/qBittorrent/issues/5785#issuecomment-250839116 FYI without steps to reproduce or a stacktrace there is nothing we can do to find the problem so we may as well close the issue if you don't want to do what's in the link.

thalieht avatar May 22 '24 08:05 thalieht

@UsmanTariq2 If there really is a crash happening, which could be a silent CTD (Crash To Desktop) scenario - there should be some *.dmp files in %LOCALAPPDATA%\CrashDumps or %userprofile%\AppData\Roaming\qBittorrent or there should be some information/error report under Windows Logs->Application of eventvwr

If there are *.dmp files, could you please provide them.

Examples: Screenshot 2024-05-22 100625


Screenshot 2024-05-22 100547

xavier2k6 avatar May 22 '24 09:05 xavier2k6

I did not find a *.dmp file at either location

I did find the crash event in Event viewer crash.zip

UsmanTariq2 avatar May 22 '24 09:05 UsmanTariq2

I did not find a *.dmp file at either location

I did find the crash event in Event viewer crash.zip

shows a 0XC0000409 exception...

@UsmanTariq2 In your logs, there are a large quantity of part file read alerts for a multitude of torrents.....have they been removed from your D:\ by any chance?

xavier2k6 avatar May 22 '24 09:05 xavier2k6

U mean basically missing torrent files on local disk?

UsmanTariq2 avatar May 22 '24 10:05 UsmanTariq2

The answer is on drive D i have been downloading a single torrent in parts, selective files, then deleting them as i dont need them anymore and then downloading other parts of the torrent . So yes I do have 1 torrent like that

Some of the files are occupying the disk space but not downloaded. I have deleted those. They were probably created because i accidently clicked on the whole folder Hope that helps

UsmanTariq2 avatar May 22 '24 10:05 UsmanTariq2

Some of the files are occupying the disk space but not downloaded. I have deleted those.

Ahh....another user reported something similar to this previously I believe.

xavier2k6 avatar May 22 '24 10:05 xavier2k6

Link me to it, mabye i can corroborate

UsmanTariq2 avatar May 22 '24 13:05 UsmanTariq2

Link me to it, mabye i can corroborate

It may or may not be same/similar to this #20362

Can you also run sfc /scannow in an elevated command prompt to ensure no corrupt OS files.

BTW what version & build of Windows 11 is this on?

xavier2k6 avatar May 23 '24 10:05 xavier2k6

Ok it crashed again, same steps 1- Uncheck multiple files from a torrent inside qbittorent 2- Delete SOME of those files from your harddisk ( leave some there). Now there is a mismatch of files in hdd and in qbttorrent 3- Minimize the qbittorent and let it seed for a while ( 30 mins for me) 4- Upon maximizing briefly gets stuck and crashes without any message.

Other logs provided above. Hope thats enough for replication

UsmanTariq2 avatar May 24 '24 14:05 UsmanTariq2

@UsmanTariq2 Please update to qBittorrent 4.6.5.

If you still experience this issue/can reliably reproduce with that version & are willing to apply a debugger with defined rules, please let me know as I can't repro with current steps.

xavier2k6 avatar May 29 '24 12:05 xavier2k6

i upgraded to 4.6.5, let me check if that still happens. WIll report back .Yes i would be willing to do apply a debugger

UsmanTariq2 avatar May 30 '24 04:05 UsmanTariq2

Hello, Please tell me how do i apply the debugger so i can provide you with the information

UsmanTariq2 avatar Jun 13 '24 13:06 UsmanTariq2

I presume that it's still happening with 4.6.5?? as you were going to update/feedback.

xavier2k6 avatar Jun 13 '24 14:06 xavier2k6

yes it is still present

UsmanTariq2 avatar Jun 13 '24 14:06 UsmanTariq2

yes it is still present

Ok, I'll come back to you over the weekend.

xavier2k6 avatar Jun 13 '24 14:06 xavier2k6

Link the instructions for the debugger, i can follow them. Otherwise im waiting

UsmanTariq2 avatar Jun 14 '24 17:06 UsmanTariq2

To aid us in any silent CTD (Crash To Desktop) scenario on Windows OS, where no user presented Crash Report is provided.

Close any instance of qBittorrent!

Please download & install Debug Diagnostic Tool

Download & extract these predefined rules -> DebugDiag_Rules_14.Jun.24.zip to your desktop or where you would like to.

Screenshot 2024-03-13 131806

Run DebugDiag 2 Collection from your start menu. (There may be a COM+ dialog pop-up) On the bottom right of the main window, you will find an Import button. Click the Import button & point it to where you extracted the rules above. DebugDiag_Rules_14.Jun.24.ddconfig The debugger rules should show active. You may now start qBittorrent As soon as there's a crash while running qBittorrent - it will capture a "stacktrace"

This will hopefully help point us in the right direction to where there's a problem in the program.

Please provide any qBittorrent related logs from C:\Program Files\DebugDiag\Logs (This should contain stack traces we need)

NOTE:

Your memory usage will probably increase more so than normal & the program itself may become unresponsive for a period of time or lag in certain user interactions due to having a debugger attached.

As soon as a crash occurs/stacktrace is created, it will be ok to "deactivate rules" & exit the debugger.

xavier2k6 avatar Jun 14 '24 20:06 xavier2k6

Also, qbitorrent is consuming considerable cpu resources and getting my device heated up, whilst bittorent(recent switcher) didnt consume or heat up my device as much. Might be worth looking into as well

UsmanTariq2 avatar Jun 15 '24 22:06 UsmanTariq2

WIll get on this in a day or 2

UsmanTariq2 avatar Jun 15 '24 22:06 UsmanTariq2

@UsmanTariq2 Any further crashes??

xavier2k6 avatar Jun 26 '24 13:06 xavier2k6

DIdnt test it unfortunately. Will get on it

UsmanTariq2 avatar Jun 26 '24 19:06 UsmanTariq2

@UsmanTariq2 Can you also grab/install latest Microsoft Visual C++ Redistributable. Latest Microsoft Visual C++ Redistributable Version

xavier2k6 avatar Jun 27 '24 20:06 xavier2k6

will do

UsmanTariq2 avatar Jun 28 '24 00:06 UsmanTariq2

@UsmanTariq2 Any update?

xavier2k6 avatar Jul 20 '24 13:07 xavier2k6

@UsmanTariq2 ping

luzpaz avatar Jul 23 '24 11:07 luzpaz

@UsmanTariq2 We'll have to close this ticket soon unless further feedback/crash report is provided.

xavier2k6 avatar Aug 14 '24 14:08 xavier2k6

Hey, the machine that i was using for this thread became faulty and i just got it back. Will be testing it for 2-3 days and then will begin work on it, including updates on this issue

UsmanTariq2 avatar Aug 17 '24 19:08 UsmanTariq2