-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Comments
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. 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 |
I learnt how to gather more information *System number1. Dec 3 14:08:51 qbittorrent pkg: libXdmcp-1.1.2_2 installed *System number 2 Dec 13 13:19:04 qbittorrent1 pkg: pkg upgraded: 1.10.5_3 -> 1.10.5_5 Same problem on both. I've also recorded a video, it's by hand (I'm so sorry!!) 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. |
dmesg.today has this in it |
@sledgehammer999, @Chocobo1, how stack trace can be obtained on *nix? Such Issue w/o stack trace is almost useless. |
It will print to console or system log
Might be. @jaxjexjox |
@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.?
I've done this, then it dies a few days later - I'm on my 5'th install now in a month. |
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 It still fails with a segfault How do I enable debug logging? |
This is the fault in 'dmesg.today' (freebsd) Any debug logging in qbit? |
Can you run it through the gdb debugger from inside the jail? Something like:
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). |
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. |
Dumb question: Are you sure you're launching gdb from the same jail you're launching qbittorrent-nox? |
Not a dumb question, thanks for continuing to help me! Can I ask a genuinely dumb question. something like "runas:user gdb qbittorrent-nox" etc? |
I have zero experience with jails/freebsd. In linux launching gdb it uses the same user (unless invoked with sudo). |
+1 on gentoo with 4.3, when checking resume files qbittorrent-nox******** Information ******** version: 1.2.11.0-6597bd0f1 file: 'torrent.cpp' stack:
Please file a bug report at http://bug.qbittorrent.org and provide the following information: qBittorrent version: v4.3.1 Caught signal: SIGABRT
Aborted ******** Information ******** version: 1.2.11.0-6597bd0f1 file: 'torrent.cpp' stack:
Please file a bug report at http://bug.qbittorrent.org and provide the following information: qBittorrent version: v4.3.1 Caught signal: SIGABRT
Aborted ******** Information ******** version: 1.2.11.0-6597bd0f1 file: 'torrent.cpp' stack:
Please file a bug report at http://bug.qbittorrent.org and provide the following information: qBittorrent version: v4.3.1 Caught signal: SIGABRT
Aborted ******** Information ******** version: 1.2.11.0-6597bd0f1 file: 'torrent.cpp' stack:
Please file a bug report at http://bug.qbittorrent.org and provide the following information: qBittorrent version: v4.3.1 Caught signal: SIGABRT
Aborted qbittorrent-nox******** Information ******** version: 1.2.11.0-6597bd0f1 file: 'torrent.cpp' stack:
Please file a bug report at http://bug.qbittorrent.org and provide the following information: qBittorrent version: v4.3.1 Caught signal: SIGABRT
Aborted ******** Information ******** version: 1.2.11.0-6597bd0f1 file: 'torrent.cpp' stack:
Please file a bug report at http://bug.qbittorrent.org and provide the following information: qBittorrent version: v4.3.1 Caught signal: SIGABRT
Aborted qbittorrent-nox******** Information ******** version: 1.2.11.0-6597bd0f1 file: 'torrent.cpp' stack:
Please file a bug report at http://bug.qbittorrent.org and provide the following information: qBittorrent version: v4.3.1 Caught signal: SIGABRT
Aborted |
Issue was reported on a very old version. If anyone still experiencing this please comment to reopen or create a new ticket. |
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
~
The text was updated successfully, but these errors were encountered: