mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Crash when using a slash in a label #8
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
@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 ""?
@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