Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caught signal: SIGABRT on closing qbt #11399

Closed
coolio2013 opened this issue Oct 27, 2019 · 4 comments
Closed

Caught signal: SIGABRT on closing qbt #11399

coolio2013 opened this issue Oct 27, 2019 · 4 comments

Comments

@coolio2013
Copy link

qBittorrent version: v4.1.8 (32-bit)
Libtorrent version: 1.1.13.0
Qt version: 5.6.3
Boost version: 1.71.0
OS version: Windows XP 5.1.2600 i386

Caught signal: SIGABRT

#  0 ???                  0x000000000042f19d straceWin::getBacktrace()[ app\stacktrace_win.h : 191 ]
#  1 ???                  0x00000000004318d9 sigAbnormalHandler()[ app\main.cpp : 302 ]
#  2 ???                  0x0000000000c31ef0 raise()[ d:\th\minkernel\crts\ucrt\src\appcrt\misc\signal.cpp : 516 ]
#  3 ???                  0x0000000000c360d8 abort()[ d:\th\minkernel\crts\ucrt\src\appcrt\startup\abort.cpp : 64 ]
#  4 ???                  0x0000000000c33733 terminate()[ d:\th\minkernel\crts\ucrt\src\appcrt\misc\terminate.cpp : 58 ]
#  5 ???                  0x0000000000c2d696 FindHandler()[ d:\agent\_work\3\s\src\vctools\crt\vcruntime\src\eh\frame.cpp : 511 ]
#  6 ???                  0x0000000000c2d92d __InternalCxxFrameHandler()[ d:\agent\_work\3\s\src\vctools\crt\vcruntime\src\eh\frame.cpp : 355 ]
#  7 ???                  0x0000000000c2a530 __CxxFrameHandler3()[ d:\agent\_work\3\s\src\vctools\crt\vcruntime\src\eh\i386\trnsctrl.cpp : 274 ]
#  8 ???                  0x000000007c9132a8 RtlConvertUlongToLargeInteger()
#  9 ???                  0x000000007c9132a8 RtlConvertUlongToLargeInteger()
# 10 ???                  0x000000007c91327a RtlConvertUlongToLargeInteger()
# 11 ???                  0x000000007c91e48a KiUserExceptionDispatcher()
# 12 ???                  0x0000000000c2cf02 _CxxThrowException()[ d:\agent\_work\3\s\src\vctools\crt\vcruntime\src\eh\throw.cpp : 129 ]
# 13 ???                  0x0000000000b27ae2 fe_tobytes()
# 14 ???                  0x0000000000b0bffd fe_tobytes()
# 15 ???                  0x0000000000b0c3fa fe_tobytes()
# 16 ???                  0x000000000044d6ac libtorrent::detail::write_string >()[ g:\qbittorrent\install_msvc\base\include\libtorrent\io.hpp : 167 ]
# 17 ???                  0x000000000044cc55 libtorrent::detail::bencode_recursive >()[ g:\qbittorrent\install_msvc\base\include\libtorrent\bencode.hpp : 187 ]
# 18 ???                  0x000000000044cc10 libtorrent::detail::bencode_recursive >()[ g:\qbittorrent\install_msvc\base\include\libtorrent\bencode.hpp : 193 ]
# 19 ???                  0x000000000044cbd0 libtorrent::detail::bencode_recursive >()[ g:\qbittorrent\install_msvc\base\include\libtorrent\bencode.hpp : 207 ]
# 20 ???                  0x000000000044cc10 libtorrent::detail::bencode_recursive >()[ g:\qbittorrent\install_msvc\base\include\libtorrent\bencode.hpp : 193 ]
# 21 ???                  0x000000000044cbd0 libtorrent::detail::bencode_recursive >()[ g:\qbittorrent\install_msvc\base\include\libtorrent\bencode.hpp : 207 ]
# 22 ???                  0x000000000044cbd0 libtorrent::detail::bencode_recursive >()[ g:\qbittorrent\install_msvc\base\include\libtorrent\bencode.hpp : 207 ]
# 23 ???                  0x0000000000444192 BitTorrent::Session::handleTorrentResumeDataReady()[ base\bittorrent\session.cpp : 3773 ]
# 24 ???                  0x00000000004554da BitTorrent::TorrentHandle::handleSaveResumeDataAlert()[ base\bittorrent\torrenthandle.cpp : 1702 ]
# 25 ???                  0x0000000000455f62 BitTorrent::TorrentHandle::handleAlert()[ base\bittorrent\torrenthandle.cpp : 1889 ]
# 26 ???                  0x0000000000445bd0 BitTorrent::Session::dispatchTorrentAlert()[ base\bittorrent\session.cpp : 4216 ]
# 27 ???                  0x0000000000441af3 BitTorrent::Session::saveResumeData()[ base\bittorrent\session.cpp : 2427 ]
# 28 ???                  0x000000000043d1c2 BitTorrent::Session::~Session()[ base\bittorrent\session.cpp : 992 ]
# 29 ???                  0x000000000043be4b BitTorrent::Session::`scalar deleting destructor'()
# 30 ???                  0x0000000000429959 Application::cleanup()[ app\application.cpp : 742 ]
# 31 ???                  0x000000000042ae6e QtPrivate::QSlotObject,void>::impl()[ g:\qbittorrent\install_msvc\qt5\include\qtcore\qobject_impl.h : 143 ]
# 32 ???                  0x0000000000b08641 fe_tobytes()
# 33 ???                  0x0000000000b082a4 fe_tobytes()
# 34 ???                  0x0000000000b2c6ee fe_tobytes()
# 35 ???                  0x0000000000b29489 fe_tobytes()
# 36 ???                  0x0000000000429198 Application::exec()[ app\application.cpp : 575 ]
# 37 ???                  0x00000000004316f8 main()[ app\main.cpp : 253 ]
# 38 ???                  0x0000000000c13bdf fe_tobytes()
# 39 ???                  0x0000000000c2958a __scrt_common_main_seh()[ d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl : 288 ]
# 40 ???                  0x000000007c816037 RegisterWaitForInputIdle()

Extra info(if any)

This crash has occurred shortly after closing. Reason for closing was no d/l at all (seeding was OK), tried to Pause/Resume/[F]Resume. Perhaps related to #11375?
qbt used 1.1GB of private memory, which is high, but not the highest observed on my machine.
qbt was still happily writing out .fastresume files while the crash window was open...

@Chocobo1
Copy link
Member

This stack dump looks messed up to me, all those fe_tobytes().. also it seems might be related to libtorrent. Lets ping @arvidn.

@arvidn
Copy link
Contributor

arvidn commented Oct 27, 2019

HandleTorrenResumeDataReady() should probably handle errors. Or possibly a a function ahead of it on the call stack. But the destructor should not leak exceptions.

@FranciscoPombal
Copy link
Member

@arvidn Is this still relevant? I'd like to close this, but let me know if there is still any relevant information that you need from here or something that you'd like to investigate further.

@FranciscoPombal
Copy link
Member

If you have any issues with the latest version, on a supported OS, please open a new issue report.

Thank you for your contributions.

@qbittorrent qbittorrent locked as resolved and limited conversation to collaborators Oct 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants