Crash when changing display configuration while qBittorrent is minimized #10018

Closed
opened 2026-02-21 20:30:59 -05:00 by deekerman · 3 comments
Owner

Originally created by @catalinp2004 on GitHub (Mar 30, 2020).

Please provide the following information

qBittorrent version and Operating System

qBittorrent v4.2.2 (64bit) on Macbook Pro 16" (2019)
Mac OS 10.15.4

Libraries:
Qt: 5.14.1
Libtorrent: 1.2.5.0
Boost: 1.72.0
OpenSSL: 1.1.1d
zlib: 1.2.11

What is the problem

qBittorrent crashes while minimized in the Dock Bar every time when changing video display configuration in Mac OS Catalina system preferences, such as adding / removing external monitor, switching between Mirror / Extended Displays, or changing main display. The issue does not occur if qBittorrent window is open (not minimized).

What is the expected behavior

qBittorrent should continue to run minimized, without crashing.

Steps to reproduce

  1. Open qBittorrent
  2. Minimize qBittorrent to Dock
  3. Any of the following:
    a) Add / Remove external monitor (power on or off / plug or unplug)
    - OR -
    b) (With multi-display) open System Preferences > Displays > Arrangement > Check or uncheck Mirror Displays
    - OR -
    c) (With multi-display) open System Preferences > Displays > Arrangement > Change Main Monitor by dragging the white mini-taskbar from one display to another

qBittorrent crashes immediately.

Extra info

I've tried connecting external monitors with miniDisplay Port through a Caldigit USB-C Pro Docking Station as well as with HDMI through a passive USB-C dongle with exactly the same outcome, so it seems the dock or dongle used should not be a factor.

Stack Trace Gist:
https://gist.github.com/catalinp2004/7e41ca5826a36341a24558ed6067eaea

Originally created by @catalinp2004 on GitHub (Mar 30, 2020). **Please provide the following information** ### qBittorrent version and Operating System qBittorrent v4.2.2 (64bit) on Macbook Pro 16" (2019) Mac OS 10.15.4 Libraries: Qt: 5.14.1 Libtorrent: 1.2.5.0 Boost: 1.72.0 OpenSSL: 1.1.1d zlib: 1.2.11 ### What is the problem qBittorrent crashes while minimized in the Dock Bar every time when changing video display configuration in Mac OS Catalina system preferences, such as adding / removing external monitor, switching between Mirror / Extended Displays, or changing main display. The issue does not occur if qBittorrent window is open (not minimized). ### What is the expected behavior qBittorrent should continue to run minimized, without crashing. ### Steps to reproduce 1. Open qBittorrent 2. Minimize qBittorrent to Dock 3. Any of the following: a) Add / Remove external monitor (power on or off / plug or unplug) \- OR - b) (With multi-display) open System Preferences > Displays > Arrangement > Check or uncheck Mirror Displays \- OR - c) (With multi-display) open System Preferences > Displays > Arrangement > Change Main Monitor by dragging the white mini-taskbar from one display to another qBittorrent crashes immediately. ### Extra info I've tried connecting external monitors with miniDisplay Port through a Caldigit USB-C Pro Docking Station as well as with HDMI through a passive USB-C dongle with exactly the same outcome, so it seems the dock or dongle used should not be a factor. Stack Trace Gist: https://gist.github.com/catalinp2004/7e41ca5826a36341a24558ed6067eaea
deekerman 2026-02-21 20:30:59 -05:00
Author
Owner

@Kolcha commented on GitHub (Mar 30, 2020):

will look into it today, seems to be a Qt bug

@Kolcha commented on GitHub (Mar 30, 2020): will look into it today, seems to be a Qt bug
Author
Owner

@Kolcha commented on GitHub (Mar 30, 2020):

some clarification: crash happens only when qBittorrent windows is closed (red "close" button was clicked), no window, but process still exists, new(?) window is created when icon is clicked. when app is minimized (yellow "minimize" button was clicked) crash doesn't happen, window just repainted.

according to attached callstack, this is Qt bug, I'll try to reproduce it on some small app.

@Kolcha commented on GitHub (Mar 30, 2020): some clarification: crash happens only when qBittorrent windows is closed (red "close" button was clicked), no window, but process still exists, new(?) window is created when icon is clicked. when app is minimized (yellow "minimize" button was clicked) crash doesn't happen, window just repainted. according to attached callstack, this is Qt bug, I'll try to reproduce it on some small app.
Author
Owner

@ghost commented on GitHub (Jul 17, 2022):

Issue was reported on a very old version. If anyone still experiencing this please comment to reopen or create a new ticket.

@ghost commented on GitHub (Jul 17, 2022): Issue was reported on a very old version. If anyone still experiencing this please comment to reopen or create a new ticket.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#10018
No description provided.