Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes on startup when loading header state - Fixed via (QTBUG-104425) #17249

Closed
sp-merrow opened this issue Jun 21, 2022 · 6 comments
Closed
Labels
Crash Qt bugs Bug resides in Qt library

Comments

@sp-merrow
Copy link

qBittorrent & operating system versions

OS: Arch Linux, kernel version 5.18.5-arch1-1
Qt: 6.3.1-1
libtorrent-rasterbar: 1:2.0.6-2
qBittorrent version: v4.4.3.1

What is the problem?

Will not launch, crashes on startup.

Crash report:

Caught signal: SIGSEGV
Stack trace:
/usr/lib/libQt6Widgets.so.6 : QHeaderView::initializeSections(int, int)+0x54d [0x7f394c6abbbd]
/usr/lib/libQt6Widgets.so.6 : QHeaderView::initializeSections()+0x9d [0x7f394c6ac03d]
/usr/lib/libQt6Widgets.so.6 : QTreeView::doItemsLayout()+0xa3 [0x7f394c70d903]
/usr/lib/libQt6Widgets.so.6 : QTreeViewPrivate::updateScrollBars()+0x7e [0x7f394c716aee]
/usr/lib/libQt6Widgets.so.6 : QTreeView::updateGeometries()+0x108 [0x7f394c716fc8]
/usr/lib/libQt6Widgets.so.6 : QWidget::event(QEvent*)+0x750 [0x7f394c448280]
/usr/lib/libQt6Widgets.so.6 : QFrame::event(QEvent*)+0x37 [0x7f394c4d3b37]
/usr/lib/libQt6Core.so.6 : QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)+0x108 [0x7f394abd1c88]
/usr/lib/libQt6Widgets.so.6 : QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x8c [0x7f394c4049cc]
/usr/lib/libQt6Core.so.6 : QCoreApplication::notifyInternal2(QObject*, QEvent*)+0x128 [0x7f394abd3088]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool)+0x13b [0x7f394c444fcb]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::show_helper()+0x38 [0x7f394c4466e8]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::setVisible(bool)+0x1b5 [0x7f394c446d95]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::showChildren(bool)+0x169 [0x7f394c446b69]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::show_helper()+0x56 [0x7f394c446706]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::setVisible(bool)+0x1b5 [0x7f394c446d95]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::showChildren(bool)+0x169 [0x7f394c446b69]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::show_helper()+0x56 [0x7f394c446706]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::setVisible(bool)+0x1b5 [0x7f394c446d95]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::showChildren(bool)+0x169 [0x7f394c446b69]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::show_helper()+0x56 [0x7f394c446706]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::showChildren(bool)+0x154 [0x7f394c446b54]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::show_helper()+0x56 [0x7f394c446706]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::setVisible(bool)+0x1b5 [0x7f394c446d95]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::showChildren(bool)+0x169 [0x7f394c446b69]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::show_helper()+0x56 [0x7f394c446706]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::setVisible(bool)+0x1b5 [0x7f394c446d95]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::showChildren(bool)+0x169 [0x7f394c446b69]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::show_helper()+0x56 [0x7f394c446706]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::setVisible(bool)+0x1b5 [0x7f394c446d95]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::showChildren(bool)+0x169 [0x7f394c446b69]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::show_helper()+0x56 [0x7f394c446706]
/usr/lib/libQt6Widgets.so.6 : QWidgetPrivate::setVisible(bool)+0x1b5 [0x7f394c446d95]
qbittorrent : ()+0x33721d [0x56345eb8b21d]
qbittorrent : ()+0xcf324 [0x56345e923324]
qbittorrent : ()+0xbf22c [0x56345e91322c]
/usr/lib/libc.so.6 : ()+0x29290 [0x7f394a59d290]
/usr/lib/libc.so.6 : __libc_start_main()+0x8a [0x7f394a59d34a]
qbittorrent : ()+0xc6f15 [0x56345e91af15]
[1] 1747 segmentation fault (core dumped) qbittorrent

Steps to reproduce

Attempt to launch qBittorrent from either the desktop environment, or the terminal.

Additional context

No response

Log(s) & preferences file(s)

No response

@userdocs
Copy link

Can this issue maybe get pinned since it's a going to keep happening on any OS using Qt 6.3.1 until this is fixed

#17230 (comment)

It's this same issue

#17230

@xavier2k6 xavier2k6 added Crash Qt bugs Bug resides in Qt library labels Jun 21, 2022
@xavier2k6 xavier2k6 changed the title Crashes on startup Known Issue: Crashes on startup (QTBUG-104425) Jun 21, 2022
@xavier2k6 xavier2k6 pinned this issue Jun 21, 2022
@ghost
Copy link

ghost commented Jul 7, 2022

Seems like a critical issue judging from the ticket filed at Qt. qBt might have to remove the corrupted configs.

@userdocs
Copy link

userdocs commented Aug 4, 2022

Some updates, for those not following it

https://bugreports.qt.io/browse/QTBUG-104425

@glassez glassez unpinned this issue Aug 5, 2022
@HeadphonesEnjoyer
Copy link

In case someone else is still having this issue try the following:

  1. Uninstall qBittorrent
  2. Delete the ~/.config/qBittorrent folder
  3. Re-install qBittorrent

@xavier2k6
Copy link
Member

It's suggested that Qt 6.2.4, Qt 6.3.2 & Qt 6.4.0 all have the fix/workaround for this issue but only Qt 6.4.0 officially references it (QTBUG-104425 Crash when loading header state in QBittorent) in it's Changelog

This is fixed by https://codereview.qt-project.org/c/qt/qtbase/+/425133 right?

https://bugreports.qt.io/browse/QTBUG-104425?focusedCommentId=681434&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-681434

Yes, if QBittorent works in a 6.4, 6.3.2 or 6.2.4 environment.

https://bugreports.qt.io/browse/QTBUG-104425?focusedCommentId=681443&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-681443

We should probably make Qt 6.2.4 our minimum supported Qt 6 version.

@xavier2k6 xavier2k6 changed the title Known Issue: Crashes on startup (QTBUG-104425) Known Issue: Crashes on startup when loading header state - (QTBUG-104425) Sep 26, 2023
@xavier2k6
Copy link
Member

Fixed upstream via QTBUG-104425

@xavier2k6 xavier2k6 changed the title Known Issue: Crashes on startup when loading header state - (QTBUG-104425) Crashes on startup when loading header state - Fixed via (QTBUG-104425) Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash Qt bugs Bug resides in Qt library
Projects
None yet
Development

No branches or pull requests

4 participants