mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Segmentation fault #3332
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#3332
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 @harmancode on GitHub (Nov 14, 2015).
qbittorrent crashes in a few seconds after launch. Please find below the output. OS: Linux Mint 17.2
$ qbittorrent
"sni-qt/3928" WARN 14:54:32.235 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org
and provide the following backtrace:
qBittorrent version: v3.1.8
stack trace:
/usr/lib/x86_64-linux-gnu/libstdc++.so.6 : std::string::assign(std::string const&)+0x9 [0x7f1805cca479]
/usr/lib/libtorrent-rasterbar.so.7 : libtorrent::torrent::connect_web_seed(std::_List_iteratorlibtorrent::web_seed_entry, boost::asio::ip::basic_endpointboost::asio::ip::tcp)+0x604 [0x7f1807eee7d4]
/usr/lib/libtorrent-rasterbar.so.7 : libtorrent::torrent::connect_to_url_seed(std::_List_iteratorlibtorrent::web_seed_entry)+0x8c8 [0x7f1807ef24a8]
/usr/lib/libtorrent-rasterbar.so.7 : libtorrent::torrent::second_tick(libtorrent::stat&, int)+0x555 [0x7f1807ef71c5]
/usr/lib/libtorrent-rasterbar.so.7 : libtorrent::aux::session_impl::on_tick(boost::system::error_code const&)+0xadb [0x7f1807eaf3fb]
/usr/lib/libtorrent-rasterbar.so.7 : ()+0x1e1371 [0x7f1807eb6371]
/usr/lib/libtorrent-rasterbar.so.7 : boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lockboost::asio::detail::posix_mutex&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&)+0x29b [0x7f1807d9397b]
/usr/lib/libtorrent-rasterbar.so.7 : boost::asio::detail::task_io_service::run(boost::system::error_code&)+0xe1 [0x7f1807d97a31]
/usr/lib/libtorrent-rasterbar.so.7 : libtorrent::aux::session_impl::main_thread()+0x3c [0x7f1807eae8bc]
/usr/lib/libtorrent-rasterbar.so.7 : boost_asio_detail_posix_thread_function()+0xf [0x7f1807d8c27f]
/lib/x86_64-linux-gnu/libpthread.so.0 : ()+0x8182 [0x7f18078bb182]
/lib/x86_64-linux-gnu/libc.so.6 : clone()+0x6d [0x7f180542847d]
Segmentation fault
@zenden2k commented on GitHub (Nov 15, 2015):
I had the same error with
web_seed_entry:The problem was that I compiled static libtorrent-rasterbar WITHOUT geoip support (TORRENT_DISABLE_GEO_IP is set by default by cmake generator)
but qbittorrent was compiled WITH geoip support.
So
web_seed_entryhad different sizes (208 bytes vs 200 bytes), and it' fields had different offsets.That's why default copy constructor of
web_seed_entrycrashed program.Compiling both qb and libtorrent with the same geoip options fixed this issue.
@sledgehammer999 commented on GitHub (Nov 15, 2015):
Also you are using and old version. You can download latest version from our PPAs.