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

qBt 4.6.2 crashes on Arch Linux (stops when changing to libtorrent v2) #20279

Open
BuckeyeCoder opened this issue Jan 16, 2024 · 4 comments
Open
Labels
Crash Waiting diagnosis Issue needs troubleshooting

Comments

@BuckeyeCoder
Copy link

BuckeyeCoder commented Jan 16, 2024

qBittorrent & operating system versions

qBittorrent v4.6.2 (64-bit) (but actually 4.6.2-2, see below)

$ pacman -Q qbittorrent libtorrent-rasterbar
qbittorrent 4.6.2-2
libtorrent-rasterbar 1:2.0.9-3

From the Help > About clippy

Qt: 6.6.1
Libtorrent: 2.0.9.0
Boost: 1.83.0
OpenSSL: 3.2.0
zlib: 1.3

NeoFetch

OS: EndeavourOS Linux x86_64 (fully updated via `pacman -Syu`)
Kernel: 6.7.0-arch3-1 
Packages: 1078 (pacman) 
Shell: bash 5.2.21 
Resolution: 1680x1050, 1680x1050 
DE: Plasma 5.27.10 
WM: KWin 
Theme: [Plasma], Breeze [GTK2/3] 
Icons: [Plasma], breeze [GTK2/3] 
Terminal: konsole 
CPU: 12th Gen Intel i9-12900K (24) @ 5.100GHz 
GPU: AMD ATI Radeon RX 6650 XT / 6700S / 6800S 
Memory: 3607MiB / 128557MiB (this is not a typo)

What is the problem?

qBittorrent randomly crashes about 3x per 24 hour period. After reading several other issue reports here, the following seems relevant to say:

  1. no user-related activity is involved before the crash (e.g. adding a torrent);
  2. about 30 torrents are seeding and 6 leeching;
  3. bad tracker seems unlikely given that all torrents are using the 20 best trackers list;
  4. qBt can be up for 1 hour or 8 hours before crashing; there is no predictability.

Crash report from journalctl:

Process 18225 (qbittorrent) of user 1000 dumped core.

Stack trace of thread 18229:
#0  0x00007fbf75402a04 n/a (libtorrent-rasterbar.so.2.0 + 0x402a04)
#1  0x00007fbf7513643c n/a (libtorrent-rasterbar.so.2.0 + 0x13643c)
#2  0x00007fbf7515b42a n/a (libtorrent-rasterbar.so.2.0 + 0x15b42a)
#3  0x00007fbf753c4751 n/a (libtorrent-rasterbar.so.2.0 + 0x3c4751)
#4  0x00007fbf75233fbf n/a (libtorrent-rasterbar.so.2.0 + 0x233fbf)
#5  0x00007fbf740e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#6  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#7  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18225:
#0  0x00007fbf73ea74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fbf73eac5f3 n/a (libc.so.6 + 0x8e5f3)
#2  0x00007fbf740e19b8 __gthread_join (libstdc++.so.6 + 0xe19b8)
#3  0x00007fbf7522e8a0 _ZN10libtorrent7sessionD1Ev (libtorrent-rasterbar.so.2.0 + 0x22e8a0)
#4  0x000055d061f4fd19 _ZN10BitTorrent11SessionImplD1Ev (qbittorrent + 0x213d19)
#5  0x000055d061ef1b43 _ZN11Application7cleanupEv (qbittorrent + 0x1b5b43)
#6  0x00007fbf745b9ec9 n/a (libQt6Core.so.6 + 0x1b9ec9)
#7  0x00007fbf7456323e _ZN16QCoreApplication4exitEi (libQt6Core.so.6 + 0x16323e)
#8  0x000055d0620be433 _ZN10MainWindow10closeEventEP11QCloseEvent (qbittorrent + 0x382433)
#9  0x00007fbf761c3aca _ZN7QWidget5eventEP6QEvent (libQt6Widgets.so.6 + 0x1c3aca)
#10 0x00007fbf7617319b _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0x17319b)
#11 0x00007fbf74562a78 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x162a78)
#12 0x00007fbf761cab16 n/a (libQt6Widgets.so.6 + 0x1cab16)
#13 0x00007fbf761d44b8 n/a (libQt6Widgets.so.6 + 0x1d44b8)
#14 0x00007fbf75809a68 _ZN7QWindow5eventEP6QEvent (libQt6Gui.so.6 + 0x209a68)
#15 0x00007fbf7617319b _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0x17319b)
#16 0x00007fbf74562a78 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x162a78)
#17 0x00007fbf757a4553 _ZN22QGuiApplicationPrivate17processCloseEventEPN29QWindowSystemInterfacePrivate10CloseEventE (libQt6Gui.so.6 + 0x1a4553)
#18 0x00007fbf75810c3c _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Gui.so.6 + 0x210c3c)
#19 0x00007fbf703b199f n/a (libQt6XcbQpa.so.6 + 0x4f99f)
#20 0x00007fbf73be8f69 n/a (libglib-2.0.so.0 + 0x59f69)
#21 0x00007fbf73c47367 n/a (libglib-2.0.so.0 + 0xb8367)
#22 0x00007fbf73be7162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#23 0x00007fbf7479d074 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x39d074)
#24 0x00007fbf7456cf5e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x16cf5e)
#25 0x00007fbf74565518 _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x165518)
#26 0x000055d061ef9050 _ZN11Application4execEv (qbittorrent + 0x1bd050)
#27 0x000055d061ec31a0 main (qbittorrent + 0x1871a0)
#28 0x00007fbf73e45cd0 n/a (libc.so.6 + 0x27cd0)
#29 0x00007fbf73e45d8a __libc_start_main (libc.so.6 + 0x27d8a)
#30 0x000055d061eede25 _start (qbittorrent + 0x1b1e25)

Stack trace of thread 18230:
#0  0x00007fbf73f20f6f __poll (libc.so.6 + 0x102f6f)
#1  0x00007fbf73f55157 n/a (libc.so.6 + 0x137157)
#2  0x00007fbf73f55e33 __res_context_send (libc.so.6 + 0x137e33)
#3  0x00007fbf73f5322a __res_context_query (libc.so.6 + 0x13522a)
#4  0x00007fbf73f53fd5 __res_context_search (libc.so.6 + 0x135fd5)
#5  0x00007fbf73f4d141 _nss_dns_gethostbyname4_r (libc.so.6 + 0x12f141)
#6  0x00007fbf73f00bfa getaddrinfo (libc.so.6 + 0xe2bfa)
#7  0x00007fbf75135a1e n/a (libtorrent-rasterbar.so.2.0 + 0x135a1e)
#8  0x00007fbf7515b05b n/a (libtorrent-rasterbar.so.2.0 + 0x15b05b)
#9  0x00007fbf753c4751 n/a (libtorrent-rasterbar.so.2.0 + 0x3c4751)
#10 0x00007fbf751155ed n/a (libtorrent-rasterbar.so.2.0 + 0x1155ed)
#11 0x00007fbf7510a973 n/a (libtorrent-rasterbar.so.2.0 + 0x10a973)
#12 0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#13 0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18228:
#0  0x00007fbf73f20f6f __poll (libc.so.6 + 0x102f6f)
#1  0x00007fbf7323520b n/a (libxcb.so.1 + 0xd20b)
#2  0x00007fbf73236f3d xcb_wait_for_event (libxcb.so.1 + 0xef3d)
#3  0x00007fbf703b0d0e n/a (libQt6XcbQpa.so.6 + 0x4ed0e)
#4  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#5  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18227:
#0  0x00007fbf73f20f6f __poll (libc.so.6 + 0x102f6f)
#1  0x00007fbf73c472b6 n/a (libglib-2.0.so.0 + 0xb82b6)
#2  0x00007fbf73be7162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#3  0x00007fbf7479d074 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x39d074)
#4  0x00007fbf7456cf5e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x16cf5e)
#5  0x00007fbf7464a13f _ZN7QThread4execEv (libQt6Core.so.6 + 0x24a13f)
#6  0x00007fbf7557695f n/a (libQt6DBus.so.6 + 0x2f95f)
#7  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#8  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#9  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18238:
#0  0x00007fbf73ea74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fbf73eaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fbf746ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
#3  0x00007fbf746cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
#4  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#5  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18233:
#0  0x00007fbf73f20f6f __poll (libc.so.6 + 0x102f6f)
#1  0x00007fbf73c472b6 n/a (libglib-2.0.so.0 + 0xb82b6)
#2  0x00007fbf73be7162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#3  0x00007fbf7479d074 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x39d074)
#4  0x00007fbf7456cf5e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x16cf5e)
#5  0x00007fbf7464a23f _ZN7QThread3runEv (libQt6Core.so.6 + 0x24a23f)
#6  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#7  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#8  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18793:
#0  0x00007fbf73ea74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fbf73eaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fbf746ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
#3  0x00007fbf746cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
#4  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#5  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18728:
#0  0x00007fbf73ea74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fbf73eaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fbf746ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
#3  0x00007fbf746cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
#4  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#5  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18794:
#0  0x00007fbf73ea74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fbf73eaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fbf746ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
#3  0x00007fbf746cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
#4  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#5  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18814:
#0  0x00007fbf73ea74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fbf73eaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fbf746ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
#3  0x00007fbf746cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
#4  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#5  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 19040:
#0  0x00007fbf73ea74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fbf73eaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fbf746ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
#3  0x00007fbf746cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
#4  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#5  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 19039:
#0  0x00007fbf73ea74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fbf73eaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fbf746ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
#3  0x00007fbf746cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
#4  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#5  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18254:
#0  0x00007fbf73ea74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fbf73eaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fbf746ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
#3  0x00007fbf746cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
#4  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#5  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18231:
#0  0x00007fbf73f20f6f __poll (libc.so.6 + 0x102f6f)
#1  0x00007fbf73c472b6 n/a (libglib-2.0.so.0 + 0xb82b6)
#2  0x00007fbf73be7162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#3  0x00007fbf7479d074 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x39d074)
#4  0x00007fbf7456cf5e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x16cf5e)
#5  0x00007fbf7464a23f _ZN7QThread3runEv (libQt6Core.so.6 + 0x24a23f)
#6  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#7  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#8  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18253:
#0  0x00007fbf73ea74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fbf73eaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fbf746ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
#3  0x00007fbf746cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
#4  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#5  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18252:
#0  0x00007fbf73ea74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fbf73eaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fbf746ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
#3  0x00007fbf746cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
#4  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#5  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18237:
#0  0x00007fbf73ea74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fbf73eaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fbf746ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
#3  0x00007fbf746cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
#4  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#5  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18255:
#0  0x00007fbf73ea74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fbf73eaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fbf746ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
#3  0x00007fbf746cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
#4  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#5  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18813:
#0  0x00007fbf73ea74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fbf73eaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fbf746ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
#3  0x00007fbf746cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
#4  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#5  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18235:
#0  0x00007fbf73ea74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fbf73eaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fbf746ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
#3  0x00007fbf746cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
#4  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#5  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 18236:
#0  0x00007fbf73ea74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fbf73eaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fbf746ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
#3  0x00007fbf746cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
#4  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#5  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)

Stack trace of thread 19041:
#0  0x00007fbf73ea74ae n/a (libc.so.6 + 0x894ae)
#1  0x00007fbf73eaa055 pthread_cond_timedwait (libc.so.6 + 0x8c055)
#2  0x00007fbf746ccf94 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ccf94)
#3  0x00007fbf746cfaba n/a (libQt6Core.so.6 + 0x2cfaba)
#4  0x00007fbf746c9e63 n/a (libQt6Core.so.6 + 0x2c9e63)
#5  0x00007fbf73eaa9eb n/a (libc.so.6 + 0x8c9eb)
#6  0x00007fbf73f2e7cc n/a (libc.so.6 + 0x1107cc)
ELF object binary architecture: AMD x86-64

Steps to reproduce

This issue is intermittent and seemingly random.

Additional context

Log(s) & preferences file(s)

BTW, the instructions on this page say to look for qBittorrent.log but on Arch Linux anyway its little "b" as in qbittorrent.log. I don't use the "Watched Folders" feature. I have the other two requests however:

qbittorrent.log

(N) 2024-01-15T22:01:21 - qBittorrent v4.6.2 started
(N) 2024-01-15T22:01:21 - Using config directory: <clipped>
(N) 2024-01-15T22:01:21 - Trying to listen on the following list of IP addresses: <clipped>
(I) 2024-01-15T22:01:21 - Peer ID: <clipped>
(I) 2024-01-15T22:01:21 - HTTP User-Agent: "qBittorrent/4.6.2"
(I) 2024-01-15T22:01:21 - Distributed Hash Table (DHT) support: ON
(I) 2024-01-15T22:01:21 - Local Peer Discovery support: ON
(I) 2024-01-15T22:01:21 - Peer Exchange (PeX) support: ON
(I) 2024-01-15T22:01:21 - Anonymous mode: ON
(I) 2024-01-15T22:01:21 - Encryption support: FORCED
(I) 2024-01-15T22:01:21 - Successfully listening on IP. IP: <clipped>. Port: <clipped>
(I) 2024-01-15T22:01:21 - UPnP/NAT-PMP support: ON
(N) 2024-01-15T22:01:21 - Restored torrent. Torrent: <clipped>

<many restored torrent lined clipped>

(I) 2024-01-15T22:01:21 - IP geolocation database loaded. Type: DBIP-Country-Lite. Build time: Mon Jan 1 18:14:23 2024.
(I) 2024-01-15T22:01:38 - Detected external IP. IP: <clipped>

(And this is how it ends, no "termination initiated" like other successful sessions have)

qBittorrent.conf

[AboutDialog]
Size=@Size(545 331)

[AddNewTorrentDialog]
Attached=true
DialogSize=@Size(900 680)
DownloadPathHistory=
Enabled=true
RememberLastSavePath=false
SavePathHistory=<clipped>
TopLevel=true

[AddTrackersDialog]
Size=@Size(367 274)
TrackersListURL=

[Application]
FileLogger\Age=1
FileLogger\AgeType=1
FileLogger\Backup=true
FileLogger\DeleteOld=true
FileLogger\Enabled=true
FileLogger\MaxSizeBytes=66560
FileLogger\Path=<clipped>
GUI\Notifications\TorrentAdded=false
MemoryWorkingSetLimit=2000

[BitTorrent]
Session\AlternativeGlobalDLSpeedLimit=0
Session\AlternativeGlobalUPSpeedLimit=0
Session\AnonymousModeEnabled=true
Session\DefaultSavePath=<clipped>
Session\Encryption=1
Session\IPFilter=<clipped>
Session\IPFilteringEnabled=false
Session\Interface=<clipped - bound to a VPN>
Session\InterfaceAddress=
Session\InterfaceName=<clipped>
Session\MaxConnections=2000
Session\MaxConnectionsPerTorrent=500
Session\MaxUploadsPerTorrent=20
Session\Port=3544
Session\ProxyPeerConnections=true
Session\QueueingSystemEnabled=false
Session\ReannounceWhenAddressChanged=true
Session\UseAlternativeGlobalSpeedLimit=false

[Core]
AutoDeleteAddedTorrentFile=Never

[DownloadFromURLDialog]
Size=@Size(501 220)

[GUI]
DownloadTrackerFavicon=false
Log\Enabled=true
MainWindow\FiltersSidebarVisible=true
MainWindow\FiltersSidebarWidth=232
Qt6\AddNewTorrentDialog\SplitterState=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x2\x11\0\0\x1Z\0\xff\xff\xff\xff\x1\0\0\0\x1\0)
Qt6\AddNewTorrentDialog\TreeHeaderState=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x6\x34\0\0\0\x3\0\0\0\x5\0\0\0\x64\0\0\0\x2\0\0\0\x64\0\0\0\x4\0\0\0\x64\0\0\x1R\0\0\0\x6\x1\x1\0\x1\0\0\0\0\0\0\0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64\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)
StartUpWindowState=Minimized

[LegalNotice]
Accepted=true

[MainWindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x6\x90\0\0\0\0\0\0\r\x1f\0\0\x4\x19\0\0\x6\x90\0\0\0\x1c\0\0\r\x1d\0\0\x4\x19\0\0\0\x1\x2\0\0\0\x6\x90\0\0\x6\x90\0\0\0\x1c\0\0\r\x1f\0\0\x4\x19)

[Meta]
MigrationVersion=6

[Network]
PortForwardingEnabled=true
Proxy\AuthEnabled=true
Proxy\HostnameLookupEnabled=true
Proxy\IP=<clipped>
Proxy\Password=<clipped>
Proxy\Port=@Variant(\0\0\0\x85\x4\x38)
Proxy\Profiles\BitTorrent=true
Proxy\Type=SOCKS5
Proxy\Username=<clipped>

[OptionsDialog]
HorizontalSplitterSizes=123, 630
LastViewedPage=2
Size=@Size(779 591)

[Preferences]
General\CloseToTray=false
General\CloseToTrayNotified=true
General\Locale=en
General\SpeedInTitleBar=false
General\ToolbarDisplayed=true

[RSS]
AutoDownloader\DownloadRepacks=true
AutoDownloader\SmartEpisodeFilter=s(\\d+)e(\\d+), (\\d+)x(\\d+), "(\\d{4}[.\\-]\\d{1,2}[.\\-]\\d{1,2})", "(\\d{1,2}[.\\-]\\d{1,2}[.\\-]\\d{4})"

[StatisticsDialog]
Size=@Size(286 432)

[TorrentCreator]
Comments=
IgnoreRatio=true
LastAddPath=<clipped>
LastSavePath=<clipped>
PieceSize=0
PrivateTorrent=false
Size=@Size(592 731)
Source=
StartSeeding=true
TorrentFormat=1
TrackerList=udp://tracker.opentrackr.org:1337/announce\n\nudp://opentracker.i2p.rocks:6969/announce\n\nudp://open.demonii.com:1337/announce\n\nhttp://tracker.openbittorrent.com:80/announce\n\nudp://tracker.openbittorrent.com:6969/announce\n\nudp://open.stealth.si:80/announce\n\nudp://tracker.torrent.eu.org:451/announce\n\nudp://exodus.desync.com:6969/announce\n\nudp://tracker.auctor.tv:6969/announce\n\nudp://explodie.org:6969/announce\n\nudp://tracker1.bt.moack.co.kr:80/announce\n\nudp://uploads.gamecoast.net:6969/announce\n\nudp://tracker.tiny-vps.com:6969/announce\n\nudp://tracker.therarbg.com:6969/announce\n\nudp://tracker.theoks.net:6969/announce\n\nudp://tracker.skyts.net:6969/announce\n\nudp://tracker.moeking.me:6969/announce\n\nudp://thinking.duckdns.org:6969/announce\n\nudp://tamas3.ynh.fr:6969/announce\n\nudp://retracker01-msk-virt.corbina.net:80/announce\n\n
WebSeedList=

[TorrentOptionsDialog]
Size=@Size(450 658)

[TorrentProperties]
CurrentTab=2
SplitterSizes="653,240"
Visible=true

[TrackerEntriesDialog]
Size=@Size(506 500)

[TransferList]
SubSortColumn=11
SubSortOrder=1

[TransferListFilters]
selectedFilterIndex=0

@BuckeyeCoder BuckeyeCoder changed the title qBt randomly crashes on Arch Linux (EndeavorOS / KDE Plasma) qBt randomly crashes on Arch Linux Jan 16, 2024
@thalieht thalieht added the Crash label Jan 16, 2024
@HanabishiRecca
Copy link
Contributor

I don't see the cause here, like SIGSEGV or something.
Are you sure the client is not simply OOM killed? You can lookup it in the journal/dmesg.

@BuckeyeCoder
Copy link
Author

Are you sure the client is not simply OOM killed?

Its possible, not sure how to answer. The rig has 128GB of ram so its not going to run out of memory that way, but is the program only allocated so much by the OS and it could OOM by exceeding its allocation?

I ask because I found something interesting; the connection had a misconfiguration. In the "Advanced" section the network interface was bound to a VPN while at the same time in the "Connection" section a proxy was also setup. I didn't realize both methods were active at the same time. Since I have removed the proxy and kept the VPN bound, I haven't experienced a crash. That might be luck or not enough testing time has past.

Even if the crash is solved, it seems like there should be some logging added here in this situation to help debug. I intend to keep testing and I'll report back.

@adem4ik
Copy link
Contributor

adem4ik commented Jan 21, 2024

I have Manjaro & qBittorrent from the official repos seems unstable as shit: random crashes, random freezes, zombie process, it even blocks system restart and corrupts my NTFS' disks. I guess the main problem is Libtorrent v2.

That's why I've switched to AUR's versions, especially to Libtorrent v1. Currently I have this and this installed.

@BuckeyeCoder
Copy link
Author

I'm going to call this crashing issue "solved", but leave it to the maintainers to decide if this issue should be closed just yet. I think the solution raises a couple more issues.

After many days of observing stable performance, I am certain that my previous answer definitely contains the source of the crashing. The only thing I have to add is that IPv6 was disabled on this box which seems to have created a circular situation where IPv6 access is continually being requested and denied.

Before closing this issue, consider if the lessons learned here might impact logging or design, specifically:

  1. Is having the SOCKS5 proxy on one tab of the Preferences dialog and the network interface binding on another the best design? Perhaps having all the connection related items together on the Connection tab would be less confusing.
  2. If having both an interface binding and a proxy setup is inadvisable, a radio button activating only one of these sections at a time should be considered.
  3. Again, if having both configured is a problem causing misconfiguration, then it seems a misconfiguration warning (or at least logging) is appropriate here. If the problem is only occurring when IPv6 is disabled then this would need to be added to the warning. But at present there is precious little to go on.

It took a long time to diagnose this. Please consider making a couple changes.

@luzpaz luzpaz changed the title qBt randomly crashes on Arch Linux qBt 4.6.2 crashes on Arch Linux (stops when changing to libtorrent v2) Feb 11, 2024
@luzpaz luzpaz added the Waiting diagnosis Issue needs troubleshooting label Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash Waiting diagnosis Issue needs troubleshooting
Projects
None yet
Development

No branches or pull requests

5 participants