Open Utini2000 opened 11 months ago
@PriitUring where should I move which settings to? I couldn't find anything regarding legacy data directory and recommended new place?
I usually update quite frequently on Arch. So I guess just the version right before the current release.
where should I move which settings to
The legacy data directory '/home/username/.local/share/data/qBittorrent' is used. It is recommended to move its content to '/home/username/.local/share/qBittorrent'
Although probably unrelated to the crash. Btw you didn't provide Qt, libtorrent versions.
Okay I moved everything from: '/home/username/.local/share/data/qBittorrent' To: '/home/username/.local/share/qBittorrent'
qBittorrent started with all settings/torrents intact and re-created the old folder but only with "logs" as content. That is probably because I had manually selected that path for logs. I also changed this in settings now to the new path.
libtorrent-rasterbar 1:2.0.9-1 qtdiag: Qt 5.15.10 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.1.1 20230429) on "xcb" OS: Arch Linux [linux version 6.4.3-arch1-1] qt6-base-6.5.1-5 qt5-base 5.15.10+kde+r130-1
@PriitUring Yes, sadly :(
Jul 28 18:47:25 HTPC systemd[592]: Started qBittorrent - BitTorrent client.
Jul 28 18:56:00 HTPC qbittorrent[128752]: OpenType support missing for "Droid Sans", script 11
Jul 29 09:58:48 HTPC qbittorrent[128752]: qt.qpa.xcb: xcb_shm_create_segment() can't be called for size 17170170384, maximumallowed size is 4294967295
Jul 29 10:00:50 HTPC systemd-coredump[137367]: Process 128752 (qbittorrent) of user 1000 dumped core.
#46 0x000055b684410523 _ZN11Application4execERK5QListI7QStringE (qbittorrent + 0x1ab523)
#47 0x000055b6843e5656 main (qbittorrent + 0x180656)
#50 0x000055b6844058a5 _start (qbittorrent + 0x1a08a5)
Jul 29 10:00:51 HTPC systemd[592]: app-org.qbittorrent.qBittorrent-839e4a9f755e43cca95cdd97e6cdd142.scope:
Consumed 3h 39min 48.535s CPU time.
JFYI, @Utini2000 three ticks (```) are needed for markdown code blocks
This is a
code block
@luzpaz woopsie thanks!
Yep, still crashing again.
Searching for _"qt.qpa.xcb: xcb_shm_createsegment() can't be called for size 17170170384, maximumallowed size is 4294967295" returns multiple similar problems of different Qt based applications. IIRC, it is related to screen scaling. Some people suggests export QT_AUTO_SCREEN_SCALE_FACTOR=0
as a solution.
Hmm I have scaling at default (100% in KDE) but I am running 1080p on a 4k TV screen. Anyway, I added QT_AUTO_SCREEN_SCALE_FACTOR=0 to /etc/environment and rebooted.
I will report back :)
still crashing :/
Aug 01 18:18:11 HTPC systemd[592]: Starting qBittorrent...
Aug 01 18:18:11 HTPC systemd[592]: Started qBittorrent.
Aug 03 16:24:45 HTPC qbittorrent[895]: qt.qpa.xcb: xcb_shm_create_segment() can't be called for size 17170170384, maximumallowed size is 4294967295
Aug 03 16:26:41 HTPC systemd-coredump[14913]: Process 895 (qbittorrent) of user 1000 dumped core.
#46 0x000055c616da3523 _ZN11Application4execERK5QListI7QStringE (qbittorrent + 0x1ab523)
#47 0x000055c616d78656 main (qbittorrent + 0x180656)
#50 0x000055c616d988a5 _start (qbittorrent + 0x1a08a5)
Aug 03 16:26:42 HTPC systemd[592]: app-qbittorrent@autostart.service: Main process exited, code=dumped, status=11/SEGV
Aug 03 16:26:42 HTPC systemd[592]: app-qbittorrent@autostart.service: Failed with result 'core-dump'.
Aug 03 16:26:42 HTPC systemd[592]: app-qbittorrent@autostart.service: Consumed 11h 15min 31.488s CPU time.
Anyway it looks like Qt issue. Could you report it to Qt?
@Utini2000 Did you create a report with Qt & can you post Qt ticket reference here please?
@xavier2k6 @glassez no I am sorry, I didn't have the time yet and even forgot about it in the mean time. Qbittorrent is still crashing though. I will try to create an account + ticket at QT issue tracker some time soon.
@xavier2k6 @glassez okay nevermind. I did a quick one but I have no idea if this is the correct place and the correct section to report. Link: https://bugreports.qt.io/browse/QTBUG-117702
@Utini2000 per upstream:
utini2000 I didn't manage to reproduce the issue locally. But could you have a try with https://codereview.qt-project.org/c/qt/qtbase/+/518935 in your local build of qt libs? Thanks.
qBittorrent & operating system versions
qBittorrent: 4.5.4 Arch Linux, Linux Kernel, all latest packages
What is the problem?
qBittorrent randomly crashes. According to journalctl the core is being dumped:
Steps to reproduce
Start qBittorrent and wait
Additional context
No response
Log(s) & preferences file(s)
settings.zip