Crash when using a slash in a label #8

Closed
opened 2026-02-21 14:48:34 -05:00 by deekerman · 2 comments
Owner

Originally created by @roman-holovin on GitHub (Aug 12, 2012).

Originally assigned to: @cdumez on GitHub.

I'm suspecting that label with "/" char causes qbittorrent to crash.

I have "Append label" option turned on. There is "Torrents" folder on disk. I'm marking torrents with labels for example "Distribs\Ubuntu" in uTorrent. As a result, I have "Torrents\Distribs\Ubuntu\ubuntu.iso" for example. That's feature of uTorrent helps me keep my files in order and don't make a mess in download folder. Could you please implement this feature in qBittorrent?

Originally created by @roman-holovin on GitHub (Aug 12, 2012). Originally assigned to: @cdumez on GitHub. I'm suspecting that label with "/" char causes qbittorrent to crash. I have "Append label" option turned on. There is "Torrents" folder on disk. I'm marking torrents with labels for example "Distribs\Ubuntu" in uTorrent. As a result, I have "Torrents\Distribs\Ubuntu\ubuntu.iso" for example. That's feature of uTorrent helps me keep my files in order and don't make a mess in download folder. Could you please implement this feature in qBittorrent?
deekerman 2026-02-21 14:48:34 -05:00
Author
Owner

@cdumez commented on GitHub (Aug 12, 2012):

I'm assuming this is on Windows? If so, why are you using "/" in the label, instead of ""?

@cdumez commented on GitHub (Aug 12, 2012): I'm assuming this is on Windows? If so, why are you using "/" in the label, instead of "\"?
Author
Owner

@roman-holovin commented on GitHub (Aug 12, 2012):

No, at this moment I'm using Ubuntu (there is no uTorrent, so I'm using your client)

I just tried to add torrent without any label and qBittorrent fell and it's not starting now.


Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
qBittorrent version: v3.0.0
stack trace:
/lib/x86_64-linux-gnu/libc.so.6 : ()+0x364c0 [0x7f270789e4c0]
qbittorrent : TransferListFiltersWidget::handleNewTorrent(TorrentModelItem_)+0x427 [0x5f56b7]
qbittorrent() [0x5f001c]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4 : QMetaObject::activate(QObject_, QMetaObject const_, int, void__)+0x2b1 [0x7f27085c4281]
qbittorrent : TorrentModel::torrentAdded(TorrentModelItem_)+0x2d [0x5e1bdd]
qbittorrent : TorrentModel::addTorrent(QTorrentHandle const&)+0xc2 [0x4b0062]
qbittorrent : TorrentModel::populate()+0x63 [0x4b0103]
qbittorrent : MainWindow::MainWindow(QWidget*, QStringList const&)+0x1b66 [0x5a3ab6]
qbittorrent : main()+0xcdc [0x46e62c]
/lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main()+0xed [0x7f270788976d]
qbittorrent() [0x470a91]
Segmentation fault (core dumped)


So, for the clarification, how to reproduce issue:

Mark "Append label to path" option active
Add torrent (magnet link in my case)
Write down label ("Videos/Movies" in my case)
Press "OK"
qBittorent will crash and will not start anymore until .config/qBittorrent is not deleted

@roman-holovin commented on GitHub (Aug 12, 2012): No, at this moment I'm using Ubuntu (there is no uTorrent, so I'm using your client) I just tried to add torrent without any label and qBittorrent fell and it's not starting now. --- Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org and provide the following backtrace: qBittorrent version: v3.0.0 stack trace: /lib/x86_64-linux-gnu/libc.so.6 : ()+0x364c0 [0x7f270789e4c0] qbittorrent : TransferListFiltersWidget::handleNewTorrent(TorrentModelItem_)+0x427 [0x5f56b7] qbittorrent() [0x5f001c] /usr/lib/x86_64-linux-gnu/libQtCore.so.4 : QMetaObject::activate(QObject_, QMetaObject const_, int, void__)+0x2b1 [0x7f27085c4281] qbittorrent : TorrentModel::torrentAdded(TorrentModelItem_)+0x2d [0x5e1bdd] qbittorrent : TorrentModel::addTorrent(QTorrentHandle const&)+0xc2 [0x4b0062] qbittorrent : TorrentModel::populate()+0x63 [0x4b0103] qbittorrent : MainWindow::MainWindow(QWidget*, QStringList const&)+0x1b66 [0x5a3ab6] qbittorrent : main()+0xcdc [0x46e62c] /lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main()+0xed [0x7f270788976d] qbittorrent() [0x470a91] Segmentation fault (core dumped) --- So, for the clarification, how to reproduce issue: Mark "Append label to path" option active Add torrent (magnet link in my case) Write down label ("Videos/Movies" in my case) Press "OK" qBittorent will crash and will not start anymore until .config/qBittorrent is not deleted
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#8
No description provided.