Qbittorrent won't start


When I try to start Qbittorrent, the dark space in the tray shows for a second or two, then vanishes. SystemManager confirms that there’s no qbittorrent alive. My research vaguely suggests that the wrong icon may be the cause of my trouble. By the way, on another box with Manjaro KDE Qbittorrent works, but the icon, indeed, is not quite right.

I tried to change the system icon theme; no luck. Meanwhile, I can’t change the icon via Qbittorrent UI. What else can I try?

Can you try reinstalling qbittorrent. Also make sure you are up-to-date.

sudo pacman -Rs qbittorrent && sudo pacman -S qbittorrent

If this doesn’t work then launch it from terminal and share output.

Hi @Llama,

In order to recieve any assistance, more information is needed. To that end, please see [HowTo] Provide System Information and [HowTo] Increase your chances of solving your issue.

Also, please open a terminal, run qbittorrent and provide us with the output, using this as guide: [HowTo] Use preformatting in a forum post.

Reinstall did not help.

Console output:

ᐅ qbittorrent
The legacy data directory '/home/alexey/.local/share/data/qBittorrent' is used. It is recommended to move its content to '/home/alexey/.local/share/qBittorrent'

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

qBittorrent version: v4.4.0

Caught signal: SIGSEGV
Stack trace:
  /usr/lib/libtorrent-rasterbar.so.2.0 : libtorrent::file_storage::file_path(libtorrent::aux::strong_typedef<int, libtorrent::aux::file_index_tag, void>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const+0x1b  [0x7f3e82e43c3b]
  qbittorrent : ()+0x11ec42  [0x560c8b75cc42]
  qbittorrent : ()+0x116f11  [0x560c8b754f11]
  qbittorrent : ()+0x117e5b  [0x560c8b755e5b]
  /usr/lib/libQt6Core.so.6 : QObject::event(QEvent*)+0x28b  [0x7f3e82393ecb]
  /usr/lib/libQt6Widgets.so.6 : QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x8d  [0x7f3e83b58ced]
  /usr/lib/libQt6Core.so.6 : QCoreApplication::notifyInternal2(QObject*, QEvent*)+0x13a  [0x7f3e8234d28a]
  /usr/lib/libQt6Core.so.6 : QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)+0x188  [0x7f3e8234d468]
  /usr/lib/libQt6Core.so.6 : ()+0x338948  [0x7f3e8253f948]
  /usr/lib/libglib-2.0.so.0 : g_main_context_dispatch()+0x193  [0x7f3e819ebf13]
  /usr/lib/libglib-2.0.so.0 : ()+0xab0d9  [0x7f3e81a420d9]
  /usr/lib/libglib-2.0.so.0 : g_main_context_iteration()+0x35  [0x7f3e819e9485]
  /usr/lib/libQt6Core.so.6 : QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x70  [0x7f3e8253d550]
  /usr/lib/libQt6Core.so.6 : QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0x1e3  [0x7f3e82357993]
  /usr/lib/libQt6Core.so.6 : QCoreApplication::exec()+0x96  [0x7f3e82350a06]
  qbittorrent : ()+0xb938d  [0x560c8b6f738d]
  /usr/lib/libc.so.6 : __libc_start_main()+0xd5  [0x7f3e81cb6b25]
  qbittorrent : ()+0xc0b3e  [0x560c8b6feb3e]
[1]    16054 segmentation fault (core dumped)  qbittorrent

Follow this :point_up:

Try removing it:

pamac remove qbittorrent

And reinstalling it, but forcing pamac to overwrite any config files:

pamac install --overwrite qbittorrent


$ pamac install --overwrite qbittorrent

won’t work. pamac is not my package manager of choice, so I’m mystified a bit. I see just the help output, as if the command line options were incorrect. I can’t see any obvious errors, though.

If you have successfully removed it, try without the --overwrite flag:

pamac install qbittorrent


Also, as per the error:

cp /home/alexey/.local/share/data/qBittorrent  /home/alexey/.local/share/qBittorrent

as @anon12891489, said. Test it, and if everything works, delete the old directory:

rm -r /home/alexey/.local/share/data/qBittorrent

The “recommended” warning is gone, indeed. Otherwise, it remains bleak:

ᐅ qbittorrent

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

qBittorrent version: v4.4.0

Caught signal: SIGSEGV
Stack trace:
  qbittorrent : ()+0x29b450  [0x56318426f450]
  /usr/lib/libQt6Core.so.6 : ()+0x19a7d0  [0x7f11f0d317d0]
  qbittorrent : ()+0x11f72b  [0x5631840f372b]
  qbittorrent : ()+0x116f11  [0x5631840eaf11]
  qbittorrent : ()+0x117e5b  [0x5631840ebe5b]
  qbittorrent : ()+0x118169  [0x5631840ec169]
  qbittorrent : ()+0xc92d5  [0x56318409d2d5]
  qbittorrent : ()+0xb938d  [0x56318408d38d]
  /usr/lib/libc.so.6 : __libc_start_main()+0xd5  [0x7f11f0646b25]
  qbittorrent : ()+0xc0b3e  [0x563184094b3e]
[1]    20895 segmentation fault (core dumped)  qbittorrent

Well, it seems it is a know issue and the fix is on the way:

Nothing we can do 'bout that.


Latest version of qbittorrent is built against qt6. You can remove this version and install qbittorrent-qt5 from AUR for now.

Why not just use native ktorrent for KDE? :slightly_smiling_face:

Unfortunately, qbittorrent-qt5 crashes just the same.


qbittorrent-qt5 v4.4.1 did the trick at last.

I too had problems with the new qBittorrent because of existing torrents, as described in https://github.com/qbittorrent/qBittorrent/issues/16346#issuecomment-1037236542

It can besolved by removing the resume data and importing the torrents again.

mv $HOME/.local/share/qBittorrent/BT_backup $HOME/.local/share/qBittorrent/OLD.BT_backup
cp $HOME/.local/share/qBittorrent/OLD.BT_backup/*.torrent $HOME/Downloads

then start qBittorrent. No torrents are present. Now open each torrent file in $HOME/Downloads one by one and let qBittorrent discover and check the torrent content files in your seeding directory.

Thanks! This solution can turn out useful in the future.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.