You are not logged in.

#1 2018-10-20 20:51:44

Malstrond
Member
From: Germany
Registered: 2009-06-03
Posts: 98

qbittorrent segfaults

qbittorrent started segfaulting for me, but I can't pinpoint which update caused it because I haven't been using it for a while.
These lines appear in the journal when it crashes:

audit[8241]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=1 pid=8241 comm="QNetworkAccessM" exe="/usr/bin/qbittorrent" sig=11 res=1
kernel: audit: type=1701 audit(1540067683.636:58): auid=1000 uid=1000 gid=1000 ses=1 pid=8241 comm="QNetworkAccessM" exe="/usr/bin/qbittorrent" sig=11 res=1

I made a backtrace with gdb, but I can't interpret it.
It seems to be missing debug symbols too - what do I have to install to get them?

Starting program: /usr/bin/qbittorrent 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff09b6700 (LWP 8976)]
[New Thread 0x7fffebbef700 (LWP 8977)]
[New Thread 0x7fffeb3ee700 (LWP 8978)]
[New Thread 0x7fffeabed700 (LWP 8979)]
[New Thread 0x7fffea3ec700 (LWP 8980)]
[New Thread 0x7fffe9beb700 (LWP 8981)]
[New Thread 0x7fffe93ea700 (LWP 8982)]
[New Thread 0x7fffd3fff700 (LWP 8984)]
[New Thread 0x7fffe8be9700 (LWP 8983)]
[New Thread 0x7fffd37fe700 (LWP 8985)]
[New Thread 0x7fffd2ffd700 (LWP 8986)]
[New Thread 0x7fffd27fc700 (LWP 8987)]
[New Thread 0x7fffd0aa7700 (LWP 8988)]
[New Thread 0x7fffc3fff700 (LWP 8989)]
[New Thread 0x7fffc37fe700 (LWP 8990)]
[New Thread 0x7fffc2ffd700 (LWP 8991)]
[New Thread 0x7fffc27fc700 (LWP 8992)]
[New Thread 0x7fffc1ffb700 (LWP 8993)]
[New Thread 0x7fffc17fa700 (LWP 8994)]
[New Thread 0x7fffc0ff9700 (LWP 8995)]
[New Thread 0x7fff9ffff700 (LWP 8996)]
[New Thread 0x7fff9f7fe700 (LWP 8997)]
[New Thread 0x7fff9effd700 (LWP 8998)]
[New Thread 0x7fff9e7fc700 (LWP 8999)]
[New Thread 0x7fff9dffb700 (LWP 9000)]
[New Thread 0x7fff9d7fa700 (LWP 9001)]
[New Thread 0x7fff9cff9700 (LWP 9002)]
[New Thread 0x7fff83fff700 (LWP 9003)]
[New Thread 0x7fff837fe700 (LWP 9004)]
[New Thread 0x7fff82ffd700 (LWP 9005)]
[New Thread 0x7fff827fc700 (LWP 9006)]
[New Thread 0x7fff81ffb700 (LWP 9007)]
[Thread 0x7fff9e7fc700 (LWP 8999) exited]
[Thread 0x7fff9dffb700 (LWP 9000) exited]
[Thread 0x7fff81ffb700 (LWP 9007) exited]
[Thread 0x7fff827fc700 (LWP 9006) exited]
[Thread 0x7fff82ffd700 (LWP 9005) exited]
[Thread 0x7fff9effd700 (LWP 8998) exited]
[Thread 0x7fffc1ffb700 (LWP 8993) exited]
[Thread 0x7fff83fff700 (LWP 9003) exited]
[Thread 0x7fff9f7fe700 (LWP 8997) exited]
[Thread 0x7fff837fe700 (LWP 9004) exited]
[Thread 0x7fff9ffff700 (LWP 8996) exited]
[Thread 0x7fffc17fa700 (LWP 8994) exited]
[Thread 0x7fff9cff9700 (LWP 9002) exited]
[Thread 0x7fffc2ffd700 (LWP 8991) exited]
[Thread 0x7fffc37fe700 (LWP 8990) exited]
[Thread 0x7fffc27fc700 (LWP 8992) exited]
[Thread 0x7fff9d7fa700 (LWP 9001) exited]
[Thread 0x7fffc0ff9700 (LWP 8995) exited]
[New Thread 0x7fffc0ff9700 (LWP 9054)]
[New Thread 0x7fff9d7fa700 (LWP 9055)]
[New Thread 0x7fffc27fc700 (LWP 9056)]
[New Thread 0x7fffc37fe700 (LWP 9057)]
[New Thread 0x7fffc2ffd700 (LWP 9058)]
[New Thread 0x7fffc1ffb700 (LWP 9059)]
[New Thread 0x7fffc17fa700 (LWP 9060)]
[Thread 0x7fffc37fe700 (LWP 9057) exited]
[Thread 0x7fffc0ff9700 (LWP 9054) exited]
[Thread 0x7fffc1ffb700 (LWP 9059) exited]
[Thread 0x7fffc27fc700 (LWP 9056) exited]
[Thread 0x7fff9d7fa700 (LWP 9055) exited]
[Thread 0x7fffc2ffd700 (LWP 9058) exited]
[Thread 0x7fffc17fa700 (LWP 9060) exited]
[New Thread 0x7fffc17fa700 (LWP 9067)]
[Thread 0x7fffc17fa700 (LWP 9067) exited]
[New Thread 0x7fffc17fa700 (LWP 9085)]

Thread 15 "QNetworkAccessM" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc3fff700 (LWP 8989)]
0x00007ffff6beeca4 in ?? () from /usr/lib/libQt5Network.so.5
#0  0x00007ffff6beeca4 in ?? () from /usr/lib/libQt5Network.so.5
No symbol table info available.
#1  0x00007ffff6bed59b in ?? () from /usr/lib/libQt5Network.so.5
No symbol table info available.
#2  0x00007ffff68af352 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#3  0x00007ffff7472e14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
No symbol table info available.
#4  0x00007ffff747a6e1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
No symbol table info available.
#5  0x0000555555681b43 in Application::notify(QObject*, QEvent*) ()
No symbol table info available.
#6  0x00007ffff6884c39 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#7  0x00007ffff6887ccc in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#8  0x00007ffff68d89d4 in ?? () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#9  0x00007ffff55303cf in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#10 0x00007ffff5531f89 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#11 0x00007ffff5531fce in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#12 0x00007ffff68d7fc9 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#13 0x00007ffff68838cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#14 0x00007ffff66cceb9 in QThread::exec() () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#15 0x00007ffff66d6f65 in ?? () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#16 0x00007ffff65f9a9d in start_thread () from /usr/lib/libpthread.so.0
No symbol table info available.
#17 0x00007ffff61f9b23 in clone () from /usr/lib/libc.so.6
No symbol table info available.
quit
EOF [assumed Y]

Edit: Found this git issue, but it isn't very helpful either.

Last edited by Malstrond (2018-10-20 21:08:54)

Offline

#2 2018-10-20 21:23:02

tejonaco
Member
Registered: 2018-08-05
Posts: 37

Re: qbittorrent segfaults

Maybe your package is broken sad, I have'nt been installed othing special and qbittorrent is working fine, try to do:

sudo pacman -Rscn qbittorrent

(beware this not delete any other package)
in my case output is:
Paquetes (2) libtorrent-rasterbar-1:1.1.10-1  qbittorrent-4.1.3-2

then delete pacman cache:

sudo pacman -Scc

and reinstall it

sudo pacman -S qbittorrent

Hope this works.

Offline

#3 2018-10-21 02:17:32

mpan
Member
Registered: 2012-08-01
Posts: 1,188
Website

Re: qbittorrent segfaults

tejonaco:
You do not need to remove a package before installing it to reinstall it. -S will overwrite the existing files. There is also no point in cleaning cache: this is nothing related to qbittorrent. It’s pacman’s cache in which it keeps downloaded packages. Therefore simple sudo pacman -S qbittorrent would suffice for a reinstall.

Malstrond:
If you want debug symbols, you build software with them by yourself.

Since it’s already established it’s a bug in either qBitorrent or QT, there is little you can do other than helping with the debug process on GitHub. If you have spare time, you may try to git bisect and find which change in qBitorrent causes this. However, chances are this is a bug in QT, which makes it cumbersome to debug.

Also see this probably related issue.


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#4 2018-11-13 06:32:57

zoggee
Member
Registered: 2018-11-13
Posts: 1

Re: qbittorrent segfaults

@Malstrond  How Can I get the backtrace with gdb about qbittorrent.I'm a newbie,
Thanks advance!!!

Offline

#5 2018-11-15 17:36:34

jazztickets
Member
Registered: 2013-11-20
Posts: 15

Offline

Board footer

Powered by FluxBB