mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Invalid Handle Crash Dump #13036
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#13036
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rugabunda on GitHub (Feb 9, 2022).
qBittorrent & operating system versions
qBittorrent 4.4.0
Win 11x64 21h2 (10.0.22000)
What is the problem?
Invalid handle, while minimized without user interaction; tends to happen shortly after initial load.
`
Microsoft (R) Windows Debugger Version 10.0.22000.194 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [C:\Users\Ty\AppData\Local\CrashDumps\backup\qbittorrent.exe.10456.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available
Symbol search path is: srv*
Executable search path is:
Windows 10 Version 22000 MP (12 procs) Free x64
Product: WinNt, suite: SingleUserTS
Edition build lab: 22000.1.amd64fre.co_release.210604-1628
Machine Name:
Debug session time: Wed Feb 9 01:09:35.000 2022 (UTC - 7:00)
System Uptime: not available
Process Uptime: 0 days 0:00:40.000
................................................................
.......................
Loading unloaded module list
..........
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(28d8.2a48): Invalid handle - code c0000008 (first/second chance not available)
For analysis of this file, run !analyze -v
ntdll!NtWaitForMultipleObjects+0x14:
00007ffc`9a2642a4 c3 ret
0:012> !analyze -v
*** WARNING: Unable to verify checksum for qbittorrent.exe
KEY_VALUES_STRING: 1
NTGLOBALFLAG: 0
PROCESS_BAM_CURRENT_THROTTLED: 0
PROCESS_BAM_PREVIOUS_THROTTLED: 0
APPLICATION_VERIFIER_FLAGS: 0
APPLICATION_VERIFIER_LOADED: 1
CONTEXT: (.ecxr)
rax=000001df9821e790 rbx=0000000000000001 rcx=0000000000000000
rdx=00007ffc8aae908e rsi=000001df981f80f0 rdi=0000000000000000
rip=00007ffc9a26777a rsp=0000006247dfefe0 rbp=0000006247dff440
r8=000001df9faae000 r9=0000000000017000 r10=000001df00000004
r11=ffffffffffffffff r12=000001df978b8870 r13=000001df981fe170
r14=000001df9eb08a50 r15=000001df9eb08a40
iopl=0 nv up ei pl nz na pe nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000202
ntdll!KiRaiseUserExceptionDispatcher+0x3a:
00007ffc
9a26777a 8b8424c0000000 mov eax,dword ptr [rsp+0C0h] ss:0000006247dff0a0=c0000008Resetting default scope
EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00007ffc9a26777a (ntdll!KiRaiseUserExceptionDispatcher+0x000000000000003a)
ExceptionCode: c0000008 (Invalid handle)
ExceptionFlags: 00000080
NumberParameters: 0
Thread tried to close a handle that was invalid or illegal to close
PROCESS_NAME: qbittorrent.exe
ERROR_CODE: (NTSTATUS) 0xc0000008 - An invalid HANDLE was specified.
EXCEPTION_CODE_STR: c0000008
STACK_TEXT:
00000062
47dfefe0 00007ffc96c836a6 : 0000000000000000 0000000000000001 000001df981f80f0 0000000000000000 : ntdll!KiRaiseUserExceptionDispatcher+0x3a00000062
47dff0b0 00007ffc99da2402 : 0000000000000000 0000000000000000 0000cbb479d45750 000001df957c7ce0 : mswsock!WSPSelect+0x53600000062
47dff260 00007ff7821949cc : 0000006200000000 0000000000000000 0000006247dff878 ffffffffffffffff : ws2_32!select+0x15200000062
47dff340 00007ff782194d69 : 0000006247dff8a0 000001df95777a00 000001df95777a00 0000000000000001 : qbittorrent+0x3d49cc00000062
47dff850 00007ff78212e0b8 : 000001df957cd590 0000000000000000 000001df957cd560 0000000000000000 : qbittorrent+0x3d4d6900000062
47dff8d0 00007ff782c93400 : 000001df957cd560 000001df957cd590 0000000000000000 0000000000000000 : qbittorrent+0x36e0b800000062
47dff910 00007ffc99ae54e0 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : qbittorrent+0xed340000000062
47dff940 00007ffc9a1c485b : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : kernel32!BaseThreadInitThunk+0x1000000062
47dff970 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : ntdll!RtlUserThreadStart+0x2bSYMBOL_NAME: mswsock!WSPSelect+536
MODULE_NAME: mswsock
IMAGE_NAME: mswsock.dll
STACK_COMMAND: ~12s ; .ecxr ; kb
FAILURE_BUCKET_ID: INVALID_HANDLE_AVRF_c0000008_mswsock.dll!WSPSelect
OS_VERSION: 10.0.22000.1
BUILDLAB_STR: co_release
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
IMAGE_VERSION: 10.0.22000.1
FAILURE_ID_HASH: {679ee48b-0cb0-3e87-1dda-806e7b390877}
Followup: MachineOwner
`
Steps to reproduce
Enable handle validation for qbit, Load Qbittorrent, patiently wait.
Additional context
No response
Log(s) & preferences file(s)
No response
@rugabunda commented on GitHub (Feb 9, 2022):
Dump. qbittorrent.exe.12692.7z.zip
@rugabunda commented on GitHub (Feb 10, 2022):
Same crash happens regularly
@rugabunda commented on GitHub (Feb 11, 2022):
Happened again today trying update search engines,
qbittorrent.exe.8196.7z.zip
@xavier2k6 commented on GitHub (Mar 16, 2025):
subscribe to #12329