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

qbittorrent-nox crash (closing itself?) on 4.13 & 4.14, consistently. #10001

Closed
jaxjexjox opened this issue Dec 13, 2018 · 15 comments
Closed

qbittorrent-nox crash (closing itself?) on 4.13 & 4.14, consistently. #10001

jaxjexjox opened this issue Dec 13, 2018 · 15 comments
Labels
Crash OS: Linux Issues specific to Linux distributions

Comments

@jaxjexjox
Copy link

jaxjexjox commented Dec 13, 2018

Please provide the following information

qBittorrent version and Operating System

4.1.3 from freshports / freenas plugin
4.14 from freshports / freenas manual jail creation and pkg update / pkg upgrade

If on linux, libtorrent and Qt version

I do not know, but I can provide the qbittorrent.log files for both systems
please tell me / help me enable debugging (??) in the qBittorrent.conf file - it might help?

What is the problem

I have been dealing with this for days possibly weeks! (ARGH!)
I've been diagnosing FreeNAS, as to why it won't "open" qbittorent when I start my FreeBSD (NAS) jail.
After investigation, qbittorrent does (!) open up, checks torrent files, gets to 100% of checking, then just closes and or crashes. Depending on performance of system, this may seem like it's not starting at all.

Please note! - initially it works, for a while - maybe an hour, maybe a day - maybe 2 weeks, sooner or later, I do something (??) which sets it off to break. I don't know.

What is the expected behavior

Not crashing

Steps to reproduce

Restarting the system (jail)
I can ssh fast enough into the jails to see qbittorrent-nox is running, in "top" command and then just dies out.

Extra info(if any)

VERY IMPORTANT.
One of your developers told me to put these 4 stings in my config file to fix a different bug? maybe they are causing it? @thalieht (sorry for mention!)
#9574

Session\DisableAutoTMMByDefault=false
Session\DisableAutoTMMTriggers\CategoryChanged=false
Session\DisableAutoTMMTriggers\CategorySavePathChanged=false
Session\DisableAutoTMMTriggers\DefaultSavePathChanged=true


WARNING: End of log file, sorry!!


(N) 2018-12-13T14:01:23 - qBittorrent v4.1.4 started
(N) 2018-12-13T14:01:23 - qBittorrent v4.1.4 started
(I) 2018-12-13T14:01:23 - qBittorrent is trying to listen on any interface port: 8999
(N) 2018-12-13T14:01:23 - Peer ID: -qB4140-
(N) 2018-12-13T14:01:23 - HTTP User-Agent is 'qBittorrent/4.1.4'
(I) 2018-12-13T14:01:23 - DHT support [OFF]
(I) 2018-12-13T14:01:23 - Local Peer Discovery support [OFF]
(I) 2018-12-13T14:01:23 - PeX support [OFF]
(I) 2018-12-13T14:01:23 - Anonymous mode [OFF]
(I) 2018-12-13T14:01:23 - Encryption support [FORCED]
(I) 2018-12-13T14:01:23 - Embedded Tracker [OFF]
(I) 2018-12-13T14:01:23 - UPnP / NAT-PMP support [ON]
(I) 2018-12-13T14:01:23 - GeoIP database loaded. Type: GeoLite2-Country. Build time: Wed Dec 5 11:20:59 2018.
(N) 2018-12-13T14:01:23 - Watching local folder: "/mnt/downloadONSSD/_blackhole"
(N) 2018-12-13T14:01:23 - Using built-in Web UI.
(W) 2018-12-13T14:01:23 - Couldn't load Web UI translation for selected locale (en_US). Falling back to default (en).
(N) 2018-12-13T14:01:23 - Web UI: Now listening on IP: *, port: 56168

((# NOTE: XXXX Yes, I do remap the port! XXXX*))

(I) 2018-12-13T14:01:23 - Python not detected
(I) 2018-12-13T14:01:23 - Python not detected
(I) 2018-12-13T14:01:23 - Python not detected
(I) 2018-12-13T14:01:23 - Python not detected
(I) 2018-12-13T14:01:23 - Python not detected
(I) 2018-12-13T14:01:23 - qBittorrent is successfully listening on interface :: port: TCP/8999
(I) 2018-12-13T14:01:23 - qBittorrent is successfully listening on interface 0.0.0.0 port: TCP/8999
(I) 2018-12-13T14:01:23 - qBittorrent is successfully listening on interface 0.0.0.0 port: UDP/8999
(C) 2018-12-13T14:01:23 - UPnP/NAT-PMP: Port mapping failure, message: could not map port using UPnP: unknown UPnP error (403)
(N) 2018-12-13T14:01:23 - 'XXXNAME OF TORRENT CONTENTS HEREXXX.mp4' restored.
(C) 2018-12-13T14:01:23 - UPnP/NAT-PMP: Port mapping failure, message: could not map port using UPnP: unknown UPnP error (403)
(N) 2018-12-13T14:01:23 - 'XXXNAME OF TORRENT HEREXXX' restored.
(C) 2018-12-13T14:01:23 - UPnP/NAT-PMP: Port mapping failure, message: could not map port using UPnP: unknown UPnP error (403)
(C) 2018-12-13T14:01:23 - UPnP/NAT-PMP: Port mapping failure, message: could not map port using UPnP: unknown UPnP error (403)
(C) 2018-12-13T14:01:23 - UPnP/NAT-PMP: Port mapping failure, message: could not map port using UPnP: unknown UPnP error (403)
(C) 2018-12-13T14:01:23 - UPnP/NAT-PMP: Port mapping failure, message: could not map port using UPnP: unknown UPnP error (403)
(C) 2018-12-13T14:01:23 - Fast resume data was rejected for torrent 'XXXNAME OF TORRENT HEREXXX'. Reason: XXXNAME OF TORRENT HEREXXX fast resume rejected. check resume():

(that's the end, it just dies!?)


Second log, entirely different system!!!


(N) 2018-12-13T14:07:39 - qBittorrent v4.1.3 started
(N) 2018-12-13T14:07:39 - qBittorrent v4.1.3 started
(I) 2018-12-13T14:07:39 - qBittorrent is trying to listen on any interface port: 8999
(N) 2018-12-13T14:07:39 - Peer ID: -qB4130-
(N) 2018-12-13T14:07:39 - HTTP User-Agent is 'qBittorrent/4.1.3'
(I) 2018-12-13T14:07:39 - DHT support [OFF]
(I) 2018-12-13T14:07:39 - Local Peer Discovery support [OFF]
(I) 2018-12-13T14:07:39 - PeX support [OFF]
(I) 2018-12-13T14:07:39 - Anonymous mode [OFF]
(I) 2018-12-13T14:07:39 - Encryption support [FORCED]
(I) 2018-12-13T14:07:39 - Embedded Tracker [OFF]
(I) 2018-12-13T14:07:39 - UPnP / NAT-PMP support [ON]
(I) 2018-12-13T14:07:39 - GeoIP database loaded. Type: GeoLite2-Country. Build time: Wed Nov 28 00:56:19 2018.
(N) 2018-12-13T14:07:39 - Web UI: Now listening on IP: *, port: 56197

((# NOTE: XXXX Yes, I do remap the port! XXXX*))

(I) 2018-12-13T14:07:39 - qBittorrent is successfully listening on interface :: port: TCP/8999
(I) 2018-12-13T14:07:39 - qBittorrent is successfully listening on interface 0.0.0.0 port: TCP/8999
(I) 2018-12-13T14:07:39 - qBittorrent is successfully listening on interface 0.0.0.0 port: UDP/8999
(C) 2018-12-13T14:07:39 - Queue positions were corrected in 1 resume files
(N) 2018-12-13T14:07:39 - 'XXXTORRENT INFORMATIONXXX restored.
(N) 2018-12-13T14:07:39 - 'XXXTORRENT INFORMATIONXXX' restored.
(N) 2018-12-13T14:07:39 - 'XXXTORRENT INFORMATIONXXX' restored.
(N) 2018-12-13T14:07:39 - 'XXXTORRENT INFORMATIONXXX' restored.
(N) 2018-12-13T14:07:39 - 'XXXTORRENT INFORMATIONXXX' restored.
(N) 2018-12-13T14:07:39 - 'XXXTORRENT INFORMATIONXXX' restored.
(N) 2018-12-13T14:07:39 - 'XXXTORRENT INFORMATIONXXX' restored.
(N) 2018-12-13T14:07:39 - 'XXXTORRENT INFORMATIONXXX' restored.
(N) 2018-12-13T14:07:39 - 'XXXTORRENT INFORMATIONXXX' restored.
(N) 2018-12-13T14:07:39 - 'XXXTORRENT INFORMATIONXXX' restored.
(N) 2018-12-13T14:07:39 - 'XXXTORRENT INFORMATIONXXX' restored.
(C) 2018-12-13T14:07:39 - UPnP/NAT-PMP: Port mapping failure, message: could not map port using UPnP: unknown UPnP error (403)
(C) 2018-12-13T14:07:39 - UPnP/NAT-PMP: Port mapping failure, message: could not map port using UPnP: unknown UPnP error (403)
(C) 2018-12-13T14:07:39 - UPnP/NAT-PMP: Port mapping failure, message: could not map port using UPnP: unknown UPnP error (403)
(C) 2018-12-13T14:07:39 - UPnP/NAT-PMP: Port mapping failure, message: could not map port using UPnP: unknown UPnP error (403)
(C) 2018-12-13T14:07:39 - UPnP/NAT-PMP: Port mapping failure, message: could not map port using UPnP: unknown UPnP error (403)
(C) 2018-12-13T14:07:39 - UPnP/NAT-PMP: Port mapping failure, message: could not map port using UPnP: unknown UPnP error (403)
(C) 2018-12-13T14:07:39 - Fast resume data was rejected for torrent 'XXXTORRENT INFORMATIONXXX'. Reason: XXXTORRENT INFORMATIONXXX fast resume rejected. stat(/mnt/downloadONSSD/incompleteXXXTORRENT INFORMATIONXXX/XXXTORRENT INFORMATIONXXX.mp4): mismatching file timestamp. Checking again...
(C) 2018-12-13T14:07:39 - Fast resume data was rejected for torrent 'XXXTORRENT INFORMATIONXXX'. Reason:XXXTORRENT INFORMATIONXXX fast resume reje
cted. stat(/mnt/downloadONSSD/incomplete/XXXTORRENT INFORMATIONXXX/XXXTORRENT INFORMATIONXXX): mismatching file timestamp. Checking again...
(N) 2018-12-13T14:07:39 - Successfully moved torrent: XXXTORRENT INFORMATIONXXX. New path: /mnt/downloadONSSD/incomplete/

Again, this is the end of the log, it just dies???


Config file for qbittorrent:


[AutoRun]
enabled=true
program="/usr/local/bin/unrar" x -ibck -inul "%F/.r" "%F/"

[BitTorrent]
Session\Categories="@variant(\0\0\0\b\0\0\0\x3\0\0\0\b\0P\0o\0r\0n\0\0\0\n\0\0\0*\0/\0m\0\x65\0\x64\0i\0\x61\0/\0!\0\x63\0o\0m\0p\0l\0\x65\0t\0\x65\0/\0P\0o\0r\0n\0\0\0\x6\0!\0T\0V\0\0\0\n\0\0\0\x34\0/\0m\0
x65\0\x64\0i\0\x61\0/\0\x63\0o\0m\0p\0l\0\x65\0t\0\x65\0/\0T\0V\0\x43\0o\0m\0p\0l\0\x65\0t\0\x65\0\0\0\x14\0!\0N\0\x65\0w\0M\0o\0v\0i\0\x65\0s\0\0\0\n\0\0\0,\0/\0m\0n\0t\0/\0m\0o\0v\0i\0\x65\0T\0\x45\0M\0P\0
o\0n\0\x41\0R\0R\0\x41\0Y\0/)"
Session\DisableAutoTMMByDefault=false
Session\DisableAutoTMMTriggers\CategoryChanged=false
Session\DisableAutoTMMTriggers\CategorySavePathChanged=false
Session\DisableAutoTMMTriggers\DefaultSavePathChanged=true

[Preferences]
Bittorrent\AddTrackers=false
Bittorrent\DHT=false
Bittorrent\Encryption=1
Bittorrent\LSD=false
Bittorrent\MaxConnecs=130
Bittorrent\MaxConnecsPerTorrent=20
Bittorrent\MaxRatioAction=0
Bittorrent\PeX=false
Connection\GlobalDLLimit=0
Connection\GlobalDLLimitAlt=0
Connection\GlobalUPLimit=1
Connection\GlobalUPLimitAlt=0
Downloads\PreAllocation=false
Downloads\SavePath=/media/complete/RegularTorrents/
Downloads\ScanDirsV2=@variant(\0\0\0\x1c\0\0\0\x1\0\0\0<\0/\0m\0n\0t\0/\0\x64\0o\0w\0n\0l\0o\0\x61\0\x64\0O\0N\0S\0S\0\x44\0/\0_\0\x62\0l\0\x61\0\x63\0k\0h\0o\0l\0\x65\0/\0\0\0\x2\0\0\0\x1)
Downloads\TempPath=/mnt/downloadONSSD/incomplete/
Downloads\TempPathEnabled=true
DynDNS\DomainName=changeme.dyndns.org
DynDNS\Enabled=false
DynDNS\Password=
DynDNS\Service=0
DynDNS\Username=
General\Locale=
General\UseRandomPort=false
MailNotification\email=
MailNotification\enabled=false
MailNotification\password=
MailNotification\req_auth=true
MailNotification\req_ssl=false
MailNotification\smtp_server=smtp.changeme.com
MailNotification\username=
Queueing\MaxActiveTorrents=3
Queueing\MaxActiveUploads=1
WebUI\Address=*
WebUI\AuthSubnetWhitelist=@invalid()
WebUI\AuthSubnetWhitelistEnabled=false
WebUI\CSRFProtection=true
WebUI\ClickjackingProtection=true
WebUI\HTTPS\Enabled=false
WebUI\LocalHostAuth=true
WebUI\Port=56197
WebUI\ServerDomains=*
WebUI\UseUPnP=true
WebUI\Username=admin
~

@jaxjexjox
Copy link
Author

Just to re-state, if that's too much words.

When rebooting my jail / starting qbittorrent, it will crash / close itself, VERY quickly, but it does start.
This is multiple versions of qbittorrent. Across multiple systems

I do not know what is causing it, perhaps it's me changing WebUI port? Perhaps it's my changing of those 4 lines in the config file, I couldn't be sure - but it is doing it and it's writing very little useful stuff to the log file for me to diagnose the cause.'

Thanks

@jaxjexjox
Copy link
Author

I learnt how to gather more information

*System number1.

Dec 3 14:08:51 qbittorrent pkg: libXdmcp-1.1.2_2 installed
Dec 3 14:08:51 qbittorrent pkg: libXau-1.0.8_5 installed
Dec 3 14:08:51 qbittorrent pkg: libxml2-2.9.7 installed
Dec 3 14:08:51 qbittorrent pkg: libpthread-stubs-0.4 installed
Dec 3 14:08:55 qbittorrent pkg: python27-2.7.15 installed
Dec 3 14:09:01 qbittorrent pkg: perl5-5.26.2_1 installed
Dec 3 14:09:01 qbittorrent pkg: pcre-8.42 installed
Dec 3 14:09:01 qbittorrent pkg: libiconv-1.14_11 installed
Dec 3 14:09:02 qbittorrent pkg: libxcb-1.13.1 installed
Dec 3 14:09:02 qbittorrent pkg: libICE-1.0.9_3,1 installed
Dec 3 14:09:02 qbittorrent pkg: qtchooser-66 installed
Dec 3 14:09:03 qbittorrent pkg: pcre2-10.31 installed
Dec 3 14:09:04 qbittorrent pkg: icu-63.1,1 installed
Dec 3 14:09:05 qbittorrent pkg: glib-2.56.1_2,1 installed
Dec 3 14:09:06 qbittorrent pkg: libX11-1.6.6_1,1 installed
Dec 3 14:09:06 qbittorrent pkg: libSM-1.2.3,1 installed
Dec 3 14:09:06 qbittorrent pkg: expat-2.2.6_1 installed
Dec 3 14:09:07 qbittorrent pkg: qt5-core-5.11.2_1 installed
Dec 3 14:09:07 qbittorrent pkg: ca_root_nss-3.40 installed
Dec 3 14:09:13 qbittorrent pkg: boost-libs-1.68.0_2 installed
Dec 3 14:09:13 qbittorrent pkg: dbus-1.10.16_1 installed
Dec 3 14:09:13 qbittorrent pkg: qt5-xml-5.11.2 installed
Dec 3 14:09:14 qbittorrent pkg: qt5-network-5.11.2 installed
Dec 3 14:09:14 qbittorrent pkg: libtorrent-rasterbar-1.1.10 installed
Dec 3 14:09:14 qbittorrent pkg: qt5-dbus-5.11.2 installed
Dec 3 14:09:14 qbittorrent pkg: qbittorrent-nox-4.1.3_1 installed

*System number 2

Dec 13 13:19:04 qbittorrent1 pkg: pkg upgraded: 1.10.5_3 -> 1.10.5_5
Dec 13 13:20:46 qbittorrent1 pkg: libxcb upgraded: 1.13 -> 1.13.1
Dec 13 13:20:46 qbittorrent1 pkg: pciids upgraded: 20180812 -> 20181113
Dec 13 13:20:47 qbittorrent1 pkg: libX11 upgraded: 1.6.6_1,1 -> 1.6.7,1
Dec 13 13:20:47 qbittorrent1 pkg: readline upgraded: 7.0.3_1 -> 7.0.5
Dec 13 13:20:47 qbittorrent1 pkg: libffi upgraded: 3.2.1_2 -> 3.2.1_3
Dec 13 13:20:47 qbittorrent1 pkg: libSM upgraded: 1.2.2_5,1 -> 1.2.3,1
Dec 13 13:20:47 qbittorrent1 pkg: gettext-runtime upgraded: 0.19.8.1_1 -> 0.19.8.1_2
Dec 13 13:20:47 qbittorrent1 pkg: libepoll-shim-0.0.20161220_1 installed
Dec 13 13:20:53 qbittorrent1 pkg: perl5 upgraded: 5.26.2 -> 5.26.3
Dec 13 13:20:53 qbittorrent1 pkg: libdrm upgraded: 2.4.93,1 -> 2.4.96,1
Dec 13 13:20:53 qbittorrent1 pkg: wayland-1.16.0 installed
Dec 13 13:20:53 qbittorrent1 pkg: qtchooser upgraded: 39 -> 66
Dec 13 13:20:53 qbittorrent1 pkg: pixman upgraded: 0.34.0 -> 0.34.0_1
Dec 13 13:20:53 qbittorrent1 pkg: mesa-libs upgraded: 18.1.8_1 -> 18.1.9_4
Dec 13 13:20:55 qbittorrent1 pkg: icu upgraded: 62.1_2,1 -> 63.1,1
Dec 13 13:20:56 qbittorrent1 pkg: glib upgraded: 2.50.3_5,1 -> 2.56.3_1,1
Dec 13 13:20:57 qbittorrent1 pkg: qt5-core upgraded: 5.11.1 -> 5.11.2_1
Dec 13 13:20:57 qbittorrent1 pkg: cairo upgraded: 1.14.8_3,2 -> 1.15.12,2
Dec 13 13:20:57 qbittorrent1 pkg: ca_root_nss upgraded: 3.39 -> 3.40.1
Dec 13 13:20:57 qbittorrent1 pkg: qt5-network upgraded: 5.11.1 -> 5.11.2_1
Dec 13 13:20:57 qbittorrent1 pkg: qt5-dbus upgraded: 5.11.1 -> 5.11.2
Dec 13 13:20:58 qbittorrent1 pkg: jpeg-turbo upgraded: 2.0.0 -> 2.0.1
Dec 13 13:20:58 qbittorrent1 pkg: harfbuzz upgraded: 1.9.0 -> 2.2.0
Dec 13 13:20:59 qbittorrent1 pkg: qt5-gui upgraded: 5.11.1 -> 5.11.2
Dec 13 13:21:06 qbittorrent1 pkg: boost-libs upgraded: 1.68.0_1 -> 1.68.0_3
Dec 13 13:21:06 qbittorrent1 pkg: qt5-xml upgraded: 5.11.1 -> 5.11.2
Dec 13 13:21:07 qbittorrent1 pkg: qt5-widgets upgraded: 5.11.1 -> 5.11.2
Dec 13 13:21:08 qbittorrent1 pkg: libtorrent-rasterbar upgraded: 1.1.9 -> 1.1.10
Dec 13 13:21:08 qbittorrent1 pkg: qt5-svg upgraded: 5.11.1 -> 5.11.2
Dec 13 13:21:08 qbittorrent1 pkg: qt5-concurrent upgraded: 5.11.1 -> 5.11.2
Dec 13 13:21:08 qbittorrent1 pkg: qbittorrent-nox upgraded: 4.1.3 -> 4.1.4
Dec 13 13:21:09 qbittorrent1 pkg: nano upgraded: 3.0_1 -> 3.2

Same problem on both.

I've also recorded a video, it's by hand (I'm so sorry!!)
This video shows.
restart my jail (system) and log in to the console
open the top command, clearly see that qbittorrent is running.
open the webUI - qbittorrent is back up and running on the correct ip.
when it has finished checking the torrent files, the package just closes / crashes.

NOTE this exact issue occurs on 2 entirely different versions of qbittorrent, 4.1.3 / 4.1.4 - I've never had this problem before and I've been using qbittorrent for over 2 years.

https://www.dropbox.com/s/h824u5jff9dzc3o/VID_20181214_075236aa.mp4?dl=0

Again, I'm REALLY sorry about the quality of the video, but hopefully it explains the problem.

This was referenced Dec 13, 2018
@jaxjexjox
Copy link
Author

dmesg.today has this in it
"pid 66887 (qbittorrent-nox), uid 0: exited on signal 11"

@glassez
Copy link
Member

glassez commented Dec 14, 2018

@sledgehammer999, @Chocobo1, how stack trace can be obtained on *nix? Such Issue w/o stack trace is almost useless.
Or, maybe, it's not really crash?

@Chocobo1
Copy link
Member

Chocobo1 commented Dec 14, 2018

how stack trace can be obtained on *nix?

It will print to console or system log journald.

Or, maybe, it's not really crash?

Might be.

@jaxjexjox
Can you try running qbt without jail?
Or clear all qbt settings and start from scratch.

@jaxjexjox
Copy link
Author

@Chocobo1 I can not run qbt without a jail, I'm not hosing an entire FreeNAS machine by installing a BSD port into the OS direct.

FreeNAS has been running jails for a decade I believe and multiple people are having this issue, across multiple OSs.?
#9985

"Or clear all qbt settings and start from scratch."

I've done this, then it dies a few days later - I'm on my 5'th install now in a month.
signal 11 is a segfault, something is broken here.

@jaxjexjox
Copy link
Author

I have just gone in to my config file and removed the 4 extra lines which @thalieht has suggested I add, to 4.1.3

Session\DisableAutoTMMByDefault=false
Session\DisableAutoTMMTriggers\CategoryChanged=false
Session\DisableAutoTMMTriggers\CategorySavePathChanged=false
Session\DisableAutoTMMTriggers\DefaultSavePathChanged=true

It still fails with a segfault

How do I enable debug logging?

@jaxjexjox
Copy link
Author

This is the fault in 'dmesg.today' (freebsd)
pid 66887 (qbittorrent-nox), uid 0: exited on signal 11

Any debug logging in qbit?

@sledgehammer999
Copy link
Member

Can you run it through the gdb debugger from inside the jail? Something like:

// terminal/console
gdb qbittorrent-nox
// inside gdb console
run
// crash happens
bt all

And then paste the backtrace? Be sure to have installed the packages with the debug symbols for qbittorrent-nox and libtorrent-rasterbar (and if you want qt too).

@jaxjexjox
Copy link
Author

The difficulty with this, is qbittorrent interprets this way of launching as another user somehow? Therefore my config isn't used and it doesn't break in the first place?

If I then restart the jail, it Goes back to the normal user and I can recreate the problem again.

@sledgehammer999
Copy link
Member

Dumb question: Are you sure you're launching gdb from the same jail you're launching qbittorrent-nox?

@jaxjexjox
Copy link
Author

Not a dumb question, thanks for continuing to help me!
Without question, yes, sadly

Can I ask a genuinely dumb question.
How can I stipulate at launch into gdb, which user qbittorrent is launched as?

something like
gdb --usr XYZ "qbittorrent-nox"
?
or some kind of

"runas:user gdb qbittorrent-nox" etc?

@sledgehammer999
Copy link
Member

I have zero experience with jails/freebsd. In linux launching gdb it uses the same user (unless invoked with sudo).
One alternative you can do is use the --profile switch of qbt to point it to the folder where everything is located. eg gdb qbittorrent-nox --profile=<dir>

@thalieht thalieht added the Crash label Sep 6, 2019
@xavier2k6 xavier2k6 added the OS: Linux Issues specific to Linux distributions label Feb 8, 2021
@oogetyboogety
Copy link

oogetyboogety commented Mar 28, 2021

+1 on gentoo with 4.3, when checking resume files

qbittorrent-nox

******** Information ********
To control qBittorrent, access the Web UI at http://localhost:8080
The Web UI administrator username is: admin
The Web UI administrator password is still the default one: adminadmin
This is a security risk, please consider changing your password from program preferences.
assertion failed. Please file a bugreport at https://github.com/arvidn/libtorrent/issues
Please include the following information:

version: 1.2.11.0-6597bd0f1

file: 'torrent.cpp'
line: 7931
function: check_invariant
expression: current_stats_state() == int(m_current_gauge_state + counters::num_checking_torrents) || m_current_gauge_state == no_gauge_state

stack:

1: libtorrent::assert_fail(char const*, int, char const*, char const*, char const*, int)
2: libtorrent::torrent::check_invariant() const
3:
4: libtorrent::torrent::status(libtorrent::torrent_status*, libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>)
5: libtorrent::torrent_handle::status(libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>) const
6: NativeTorrentExtension::on_pause()
7: libtorrent::torrent::do_pause(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>)
8: libtorrent::torrent::pause(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>)
9:
10: boost::asio::detail::completion_handler<libtorrent::torrent_handle::async_call<void (libtorrent::torrent::*)(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>), libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void> >(void (libtorrent::torrent::*)(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>), libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>&&) const::{lambda()#1}, boost::asio::io_context::basic_executor_type<std::allocator<void>, 0u> >::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long)
11:
12:
13:
14:
15: clone

Please file a bug report at http://bug.qbittorrent.org and provide the following information:

qBittorrent version: v4.3.1

Caught signal: SIGABRT
Stack trace:

  /lib64/libc.so.6 : gsignal()+0x141  [0x7f9e6c8041a1]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::assert_fail(char const*, int, char const*, char const*, char const*, int)+0xb9  [0x7f9e6c089319]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::check_invariant() const+0x185  [0x7f9e6c278505]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x37e206  [0x7f9e6c28e206]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::status(libtorrent::torrent_status*, libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>)+0x32  [0x7f9e6c284c92]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent_handle::status(libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>) const+0x117  [0x7f9e6c29de97]
  qbittorrent-nox : NativeTorrentExtension::on_pause()+0x32  [0x562c5a5dc892]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::do_pause(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>)+0x372  [0x7f9e6c27aa52]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::pause(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>)+0x8c  [0x7f9e6c27cb8c]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x391c79  [0x7f9e6c2a1c79]
  /usr/lib64/libtorrent-rasterbar.so.10 : boost::asio::detail::completion_handler<libtorrent::torrent_handle::async_call<void (libtorrent::torrent::*)(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>), libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void> >(void (libtorrent::torrent::*)(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>), libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>&&) const::{lambda()#1}, boost::asio::io_context::basic_executor_type<std::allocator<void>, 0u> >::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long)+0x87  [0x7f9e6c2a1d27]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x180dab  [0x7f9e6c090dab]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x2b1dbe  [0x7f9e6c1c1dbe]
  /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libstdc++.so.6 : ()+0xfca8f  [0x7f9e6b5cfa8f]
  /lib64/libpthread.so.0 : ()+0x7f9e  [0x7f9e6b365f9e]
  /lib64/libc.so.6 : clone()+0x3f  [0x7f9e6c8c5fdf]

Aborted
LAPTOP-L6JD724T ~ # qbittorrent-nox

******** Information ********
To control qBittorrent, access the Web UI at http://localhost:8080
The Web UI administrator username is: admin
The Web UI administrator password is still the default one: adminadmin
This is a security risk, please consider changing your password from program preferences.
assertion failed. Please file a bugreport at https://github.com/arvidn/libtorrent/issues
Please include the following information:

version: 1.2.11.0-6597bd0f1

file: 'torrent.cpp'
line: 7931
function: check_invariant
expression: current_stats_state() == int(m_current_gauge_state + counters::num_checking_torrents) || m_current_gauge_state == no_gauge_state

stack:

1: libtorrent::assert_fail(char const*, int, char const*, char const*, char const*, int)
2: libtorrent::torrent::check_invariant() const
3:
4: libtorrent::torrent::status(libtorrent::torrent_status*, libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>)
5: libtorrent::torrent_handle::status(libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>) const
6: NativeTorrentExtension::on_pause()
7: libtorrent::torrent::do_pause(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>)
8: libtorrent::torrent::on_piece_hashed(libtorrent::aux::strong_typedef<int, libtorrent::aux::piece_index_tag, void>, libtorrent::digest32<160l> const&, libtorrent::storage_error const&)
9: libtorrent::disk_io_job::call_callback()
10: libtorrent::disk_io_thread::call_job_handlers()
11: boost::asio::detail::completion_handler<std::_Bind<void (libtorrent::disk_io_thread::*(libtorrent::disk_io_thread*))()>, boost::asio::io_context::basic_executor_type<std::allocator<void>, 0u> >::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long)
12:
13:
14:
15:
16: clone

Please file a bug report at http://bug.qbittorrent.org and provide the following information:

qBittorrent version: v4.3.1

Caught signal: SIGABRT
Stack trace:

  /lib64/libc.so.6 : gsignal()+0x141  [0x7feb741701a1]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::assert_fail(char const*, int, char const*, char const*, char const*, int)+0xb9  [0x7feb739f5319]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::check_invariant() const+0x185  [0x7feb73be4505]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x37e206  [0x7feb73bfa206]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::status(libtorrent::torrent_status*, libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>)+0x32  [0x7feb73bf0c92]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent_handle::status(libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>) const+0x117  [0x7feb73c09e97]
  qbittorrent-nox : NativeTorrentExtension::on_pause()+0x32  [0x56238159f892]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::do_pause(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>)+0x372  [0x7feb73be6a52]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::on_piece_hashed(libtorrent::aux::strong_typedef<int, libtorrent::aux::piece_index_tag, void>, libtorrent::digest32<160l> const&, libtorrent::storage_error const&)+0x29f  [0x7feb73bc26ff]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::disk_io_job::call_callback()+0x157  [0x7feb73a30a77]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::disk_io_thread::call_job_handlers()+0x15b  [0x7feb73a4457b]
  /usr/lib64/libtorrent-rasterbar.so.10 : boost::asio::detail::completion_handler<std::_Bind<void (libtorrent::disk_io_thread::*(libtorrent::disk_io_thread*))()>, boost::asio::io_context::basic_executor_type<std::allocator<void>, 0u> >::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long)+0x5b  [0x7feb73a3c8db]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x180dab  [0x7feb739fcdab]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x2b1dbe  [0x7feb73b2ddbe]
  /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libstdc++.so.6 : ()+0xfca8f  [0x7feb72f3ba8f]
  /lib64/libpthread.so.0 : ()+0x7f9e  [0x7feb72cd1f9e]
  /lib64/libc.so.6 : clone()+0x3f  [0x7feb74231fdf]

Aborted
LAPTOP-L6JD724T ~ # qbittorrent-nox

******** Information ********
To control qBittorrent, access the Web UI at http://localhost:8080
The Web UI administrator username is: admin
The Web UI administrator password is still the default one: adminadmin
This is a security risk, please consider changing your password from program preferences.
assertion failed. Please file a bugreport at https://github.com/arvidn/libtorrent/issues
Please include the following information:

version: 1.2.11.0-6597bd0f1

file: 'torrent.cpp'
line: 7931
function: check_invariant
expression: current_stats_state() == int(m_current_gauge_state + counters::num_checking_torrents) || m_current_gauge_state == no_gauge_state

stack:

1: libtorrent::assert_fail(char const*, int, char const*, char const*, char const*, int)
2: libtorrent::torrent::check_invariant() const
3:
4: libtorrent::torrent::status(libtorrent::torrent_status*, libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>)
5: libtorrent::torrent_handle::status(libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>) const
6: NativeTorrentExtension::on_pause()
7: libtorrent::torrent::do_pause(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>)
8: libtorrent::torrent::on_piece_hashed(libtorrent::aux::strong_typedef<int, libtorrent::aux::piece_index_tag, void>, libtorrent::digest32<160l> const&, libtorrent::storage_error const&)
9: libtorrent::disk_io_job::call_callback()
10: libtorrent::disk_io_thread::call_job_handlers()
11: boost::asio::detail::completion_handler<std::_Bind<void (libtorrent::disk_io_thread::*(libtorrent::disk_io_thread*))()>, boost::asio::io_context::basic_executor_type<std::allocator<void>, 0u> >::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long)
12:
13:
14:
15:
16: clone

Please file a bug report at http://bug.qbittorrent.org and provide the following information:

qBittorrent version: v4.3.1

Caught signal: SIGABRT
Stack trace:

  /lib64/libc.so.6 : gsignal()+0x141  [0x7f8b6dee21a1]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::assert_fail(char const*, int, char const*, char const*, char const*, int)+0xb9  [0x7f8b6d767319]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::check_invariant() const+0x185  [0x7f8b6d956505]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x37e206  [0x7f8b6d96c206]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::status(libtorrent::torrent_status*, libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>)+0x32  [0x7f8b6d962c92]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent_handle::status(libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>) const+0x117  [0x7f8b6d97be97]
  qbittorrent-nox : NativeTorrentExtension::on_pause()+0x32  [0x55a1d7b2d892]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::do_pause(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>)+0x372  [0x7f8b6d958a52]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::on_piece_hashed(libtorrent::aux::strong_typedef<int, libtorrent::aux::piece_index_tag, void>, libtorrent::digest32<160l> const&, libtorrent::storage_error const&)+0x29f  [0x7f8b6d9346ff]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::disk_io_job::call_callback()+0x157  [0x7f8b6d7a2a77]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::disk_io_thread::call_job_handlers()+0x15b  [0x7f8b6d7b657b]
  /usr/lib64/libtorrent-rasterbar.so.10 : boost::asio::detail::completion_handler<std::_Bind<void (libtorrent::disk_io_thread::*(libtorrent::disk_io_thread*))()>, boost::asio::io_context::basic_executor_type<std::allocator<void>, 0u> >::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long)+0x5b  [0x7f8b6d7ae8db]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x180dab  [0x7f8b6d76edab]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x2b1dbe  [0x7f8b6d89fdbe]
  /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libstdc++.so.6 : ()+0xfca8f  [0x7f8b6ccada8f]
  /lib64/libpthread.so.0 : ()+0x7f9e  [0x7f8b6ca43f9e]
  /lib64/libc.so.6 : clone()+0x3f  [0x7f8b6dfa3fdf]

Aborted
LAPTOP-L6JD724T ~ # qbittorrent-nox

******** Information ********
To control qBittorrent, access the Web UI at http://localhost:8080
The Web UI administrator username is: admin
The Web UI administrator password is still the default one: adminadmin
This is a security risk, please consider changing your password from program preferences.
assertion failed. Please file a bugreport at https://github.com/arvidn/libtorrent/issues
Please include the following information:

version: 1.2.11.0-6597bd0f1

file: 'torrent.cpp'
line: 7931
function: check_invariant
expression: current_stats_state() == int(m_current_gauge_state + counters::num_checking_torrents) || m_current_gauge_state == no_gauge_state

stack:

1: libtorrent::assert_fail(char const*, int, char const*, char const*, char const*, int)
2: libtorrent::torrent::check_invariant() const
3:
4: libtorrent::torrent::status(libtorrent::torrent_status*, libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>)
5: libtorrent::torrent_handle::status(libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>) const
6: NativeTorrentExtension::on_pause()
7: libtorrent::torrent::do_pause(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>)
8: libtorrent::torrent::on_piece_hashed(libtorrent::aux::strong_typedef<int, libtorrent::aux::piece_index_tag, void>, libtorrent::digest32<160l> const&, libtorrent::storage_error const&)
9: libtorrent::disk_io_job::call_callback()
10: libtorrent::disk_io_thread::call_job_handlers()
11: boost::asio::detail::completion_handler<std::_Bind<void (libtorrent::disk_io_thread::*(libtorrent::disk_io_thread*))()>, boost::asio::io_context::basic_executor_type<std::allocator<void>, 0u> >::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long)
12:
13:
14:
15:
16: clone

Please file a bug report at http://bug.qbittorrent.org and provide the following information:

qBittorrent version: v4.3.1

Caught signal: SIGABRT
Stack trace:

  /lib64/libc.so.6 : gsignal()+0x141  [0x7f530c88c1a1]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::assert_fail(char const*, int, char const*, char const*, char const*, int)+0xb9  [0x7f530c111319]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::check_invariant() const+0x185  [0x7f530c300505]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x37e206  [0x7f530c316206]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::status(libtorrent::torrent_status*, libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>)+0x32  [0x7f530c30cc92]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent_handle::status(libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>) const+0x117  [0x7f530c325e97]
  qbittorrent-nox : NativeTorrentExtension::on_pause()+0x32  [0x55fd5e099892]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::do_pause(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>)+0x372  [0x7f530c302a52]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::on_piece_hashed(libtorrent::aux::strong_typedef<int, libtorrent::aux::piece_index_tag, void>, libtorrent::digest32<160l> const&, libtorrent::storage_error const&)+0x29f  [0x7f530c2de6ff]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::disk_io_job::call_callback()+0x157  [0x7f530c14ca77]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::disk_io_thread::call_job_handlers()+0x15b  [0x7f530c16057b]
  /usr/lib64/libtorrent-rasterbar.so.10 : boost::asio::detail::completion_handler<std::_Bind<void (libtorrent::disk_io_thread::*(libtorrent::disk_io_thread*))()>, boost::asio::io_context::basic_executor_type<std::allocator<void>, 0u> >::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long)+0x5b  [0x7f530c1588db]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x180dab  [0x7f530c118dab]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x2b1dbe  [0x7f530c249dbe]
  /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libstdc++.so.6 : ()+0xfca8f  [0x7f530b657a8f]
  /lib64/libpthread.so.0 : ()+0x7f9e  [0x7f530b3edf9e]
  /lib64/libc.so.6 : clone()+0x3f  [0x7f530c94dfdf]

Aborted

qbittorrent-nox

******** Information ********
To control qBittorrent, access the Web UI at http://localhost:8080
The Web UI administrator username is: admin
The Web UI administrator password is still the default one: adminadmin
This is a security risk, please consider changing your password from program preferences.
assertion failed. Please file a bugreport at https://github.com/arvidn/libtorrent/issues
Please include the following information:

version: 1.2.11.0-6597bd0f1

file: 'torrent.cpp'
line: 7931
function: check_invariant
expression: current_stats_state() == int(m_current_gauge_state + counters::num_checking_torrents) || m_current_gauge_state == no_gauge_state

stack:

1: libtorrent::assert_fail(char const*, int, char const*, char const*, char const*, int)
2: libtorrent::torrent::check_invariant() const
3:
4: libtorrent::torrent::status(libtorrent::torrent_status*, libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>)
5: libtorrent::torrent_handle::status(libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>) const
6: NativeTorrentExtension::on_pause()
7: libtorrent::torrent::do_pause(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>)
8: libtorrent::torrent::on_piece_hashed(libtorrent::aux::strong_typedef<int, libtorrent::aux::piece_index_tag, void>, libtorrent::digest32<160l> const&, libtorrent::storage_error const&)
9: libtorrent::disk_io_job::call_callback()
10: libtorrent::disk_io_thread::call_job_handlers()
11: boost::asio::detail::completion_handler<std::_Bind<void (libtorrent::disk_io_thread::*(libtorrent::disk_io_thread*))()>, boost::asio::io_context::basic_executor_type<std::allocator<void>, 0u> >::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long)
12:
13:
14:
15:
16: clone

Please file a bug report at http://bug.qbittorrent.org and provide the following information:

qBittorrent version: v4.3.1

Caught signal: SIGABRT
Stack trace:

  /lib64/libc.so.6 : gsignal()+0x141  [0x7fbfa921a1a1]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::assert_fail(char const*, int, char const*, char const*, char const*, int)+0xb9  [0x7fbfa8a9f319]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::check_invariant() const+0x185  [0x7fbfa8c8e505]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x37e206  [0x7fbfa8ca4206]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::status(libtorrent::torrent_status*, libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>)+0x32  [0x7fbfa8c9ac92]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent_handle::status(libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>) const+0x117  [0x7fbfa8cb3e97]
  qbittorrent-nox : NativeTorrentExtension::on_pause()+0x32  [0x55a50fcfc892]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::do_pause(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>)+0x372  [0x7fbfa8c90a52]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::on_piece_hashed(libtorrent::aux::strong_typedef<int, libtorrent::aux::piece_index_tag, void>, libtorrent::digest32<160l> const&, libtorrent::storage_error const&)+0x29f  [0x7fbfa8c6c6ff]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::disk_io_job::call_callback()+0x157  [0x7fbfa8adaa77]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::disk_io_thread::call_job_handlers()+0x15b  [0x7fbfa8aee57b]
  /usr/lib64/libtorrent-rasterbar.so.10 : boost::asio::detail::completion_handler<std::_Bind<void (libtorrent::disk_io_thread::*(libtorrent::disk_io_thread*))()>, boost::asio::io_context::basic_executor_type<std::allocator<void>, 0u> >::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long)+0x5b  [0x7fbfa8ae68db]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x180dab  [0x7fbfa8aa6dab]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x2b1dbe  [0x7fbfa8bd7dbe]
  /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libstdc++.so.6 : ()+0xfca8f  [0x7fbfa7fe5a8f]
  /lib64/libpthread.so.0 : ()+0x7f9e  [0x7fbfa7d7bf9e]
  /lib64/libc.so.6 : clone()+0x3f  [0x7fbfa92dbfdf]

Aborted
LAPTOP-L6JD724T ~ # rm ~/.local/share/
nvim/ qBittorrent/
LAPTOP-L6JD724T ~ # rm ~/.local/share/qBittorrent/
BT_backup/ GeoDB/ logs/ nova3/ rss/
LAPTOP-L6JD724T ~ # rm -r ~/.local/share/qBittorrent
LAPTOP-L6JD724T ~ # qbittorrent-nox

******** Information ********
To control qBittorrent, access the Web UI at http://localhost:8080
The Web UI administrator username is: admin
The Web UI administrator password is still the default one: adminadmin
This is a security risk, please consider changing your password from program preferences.
assertion failed. Please file a bugreport at https://github.com/arvidn/libtorrent/issues
Please include the following information:

version: 1.2.11.0-6597bd0f1

file: 'torrent.cpp'
line: 7931
function: check_invariant
expression: current_stats_state() == int(m_current_gauge_state + counters::num_checking_torrents) || m_current_gauge_state == no_gauge_state

stack:

1: libtorrent::assert_fail(char const*, int, char const*, char const*, char const*, int)
2: libtorrent::torrent::check_invariant() const
3:
4: libtorrent::torrent::status(libtorrent::torrent_status*, libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>)
5: libtorrent::torrent_handle::status(libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>) const
6: NativeTorrentExtension::on_pause()
7: libtorrent::torrent::do_pause(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>)
8: libtorrent::torrent::on_piece_hashed(libtorrent::aux::strong_typedef<int, libtorrent::aux::piece_index_tag, void>, libtorrent::digest32<160l> const&, libtorrent::storage_error const&)
9: libtorrent::disk_io_job::call_callback()
10: libtorrent::disk_io_thread::call_job_handlers()
11: boost::asio::detail::completion_handler<std::_Bind<void (libtorrent::disk_io_thread::*(libtorrent::disk_io_thread*))()>, boost::asio::io_context::basic_executor_type<std::allocator<void>, 0u> >::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long)
12:
13:
14:
15:
16: clone

Please file a bug report at http://bug.qbittorrent.org and provide the following information:

qBittorrent version: v4.3.1

Caught signal: SIGABRT
Stack trace:

  /lib64/libc.so.6 : gsignal()+0x141  [0x7f3c3d0a51a1]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::assert_fail(char const*, int, char const*, char const*, char const*, int)+0xb9  [0x7f3c3c92a319]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::check_invariant() const+0x185  [0x7f3c3cb19505]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x37e206  [0x7f3c3cb2f206]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::status(libtorrent::torrent_status*, libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>)+0x32  [0x7f3c3cb25c92]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent_handle::status(libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>) const+0x117  [0x7f3c3cb3ee97]
  qbittorrent-nox : NativeTorrentExtension::on_pause()+0x32  [0x55f63b82b892]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::do_pause(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>)+0x372  [0x7f3c3cb1ba52]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::on_piece_hashed(libtorrent::aux::strong_typedef<int, libtorrent::aux::piece_index_tag, void>, libtorrent::digest32<160l> const&, libtorrent::storage_error const&)+0x29f  [0x7f3c3caf76ff]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::disk_io_job::call_callback()+0x157  [0x7f3c3c965a77]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::disk_io_thread::call_job_handlers()+0x15b  [0x7f3c3c97957b]
  /usr/lib64/libtorrent-rasterbar.so.10 : boost::asio::detail::completion_handler<std::_Bind<void (libtorrent::disk_io_thread::*(libtorrent::disk_io_thread*))()>, boost::asio::io_context::basic_executor_type<std::allocator<void>, 0u> >::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long)+0x5b  [0x7f3c3c9718db]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x180dab  [0x7f3c3c931dab]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x2b1dbe  [0x7f3c3ca62dbe]
  /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libstdc++.so.6 : ()+0xfca8f  [0x7f3c3be70a8f]
  /lib64/libpthread.so.0 : ()+0x7f9e  [0x7f3c3bc06f9e]
  /lib64/libc.so.6 : clone()+0x3f  [0x7f3c3d166fdf]

Aborted

qbittorrent-nox

******** Information ********
To control qBittorrent, access the Web UI at http://localhost:8080
The Web UI administrator username is: admin
The Web UI administrator password is still the default one: adminadmin
This is a security risk, please consider changing your password from program preferences.
assertion failed. Please file a bugreport at https://github.com/arvidn/libtorrent/issues
Please include the following information:

version: 1.2.11.0-6597bd0f1

file: 'torrent.cpp'
line: 7931
function: check_invariant
expression: current_stats_state() == int(m_current_gauge_state + counters::num_checking_torrents) || m_current_gauge_state == no_gauge_state

stack:

1: libtorrent::assert_fail(char const*, int, char const*, char const*, char const*, int)
2: libtorrent::torrent::check_invariant() const
3:
4: libtorrent::torrent::status(libtorrent::torrent_status*, libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>)
5: libtorrent::torrent_handle::status(libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>) const
6: NativeTorrentExtension::on_pause()
7: libtorrent::torrent::do_pause(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>)
8: libtorrent::torrent::on_piece_hashed(libtorrent::aux::strong_typedef<int, libtorrent::aux::piece_index_tag, void>, libtorrent::digest32<160l> const&, libtorrent::storage_error const&)
9: libtorrent::disk_io_job::call_callback()
10: libtorrent::disk_io_thread::call_job_handlers()
11: boost::asio::detail::completion_handler<std::_Bind<void (libtorrent::disk_io_thread::*(libtorrent::disk_io_thread*))()>, boost::asio::io_context::basic_executor_type<std::allocator<void>, 0u> >::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long)
12:
13:
14:
15:
16: clone

Please file a bug report at http://bug.qbittorrent.org and provide the following information:

qBittorrent version: v4.3.1

Caught signal: SIGABRT
Stack trace:

  /lib64/libc.so.6 : gsignal()+0x141  [0x7f649e67a1a1]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::assert_fail(char const*, int, char const*, char const*, char const*, int)+0xb9  [0x7f649deff319]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::check_invariant() const+0x185  [0x7f649e0ee505]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x37e206  [0x7f649e104206]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::status(libtorrent::torrent_status*, libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>)+0x32  [0x7f649e0fac92]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent_handle::status(libtorrent::flags::bitfield_flag<unsigned int, libtorrent::status_flags_tag, void>) const+0x117  [0x7f649e113e97]
  qbittorrent-nox : NativeTorrentExtension::on_pause()+0x32  [0x55c3a768e892]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::do_pause(libtorrent::flags::bitfield_flag<unsigned char, libtorrent::pause_flags_tag, void>)+0x372  [0x7f649e0f0a52]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::torrent::on_piece_hashed(libtorrent::aux::strong_typedef<int, libtorrent::aux::piece_index_tag, void>, libtorrent::digest32<160l> const&, libtorrent::storage_error const&)+0x29f  [0x7f649e0cc6ff]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::disk_io_job::call_callback()+0x157  [0x7f649df3aa77]
  /usr/lib64/libtorrent-rasterbar.so.10 : libtorrent::disk_io_thread::call_job_handlers()+0x15b  [0x7f649df4e57b]
  /usr/lib64/libtorrent-rasterbar.so.10 : boost::asio::detail::completion_handler<std::_Bind<void (libtorrent::disk_io_thread::*(libtorrent::disk_io_thread*))()>, boost::asio::io_context::basic_executor_type<std::allocator<void>, 0u> >::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long)+0x5b  [0x7f649df468db]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x180dab  [0x7f649df06dab]
  /usr/lib64/libtorrent-rasterbar.so.10 : ()+0x2b1dbe  [0x7f649e037dbe]
  /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libstdc++.so.6 : ()+0xfca8f  [0x7f649d445a8f]
  /lib64/libpthread.so.0 : ()+0x7f9e  [0x7f649d1dbf9e]
  /lib64/libc.so.6 : clone()+0x3f  [0x7f649e73bfdf]

Aborted

@ghost
Copy link

ghost commented 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 ghost closed this as not planned Won't fix, can't repro, duplicate, stale Jul 17, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash OS: Linux Issues specific to Linux distributions
Projects
None yet
Development

No branches or pull requests

7 participants