Repository: qbittorrent/qBittorrent

Issue #9667: Random crashes
Created: 2018-10-09T12:06:00Z
qBittorrent version and Operating System
qBittorrent version: v4.1.3
Arch Linux
If on linux, libtorrent and Qt version
Name            : linux
Version         : 4.18.12.arch1-1
Name            : qt5-base
Version         : 5.11.2-1
Name            : libtorrent-rasterbar
Version         : 1:1.1.10-1
What is the problem
Opens, crashes if GUI is open after about 5 seconds. Downloads fine during the mean time.
Caught signal: SIGSEGV
Stack trace:
  /usr/lib/libQt5Network.so.5 : ()+0x9aca4  [0x7fc874e0cca4]
  /usr/lib/libQt5Network.so.5 : ()+0x9959b  [0x7fc874e0b59b]
  /usr/lib/libQt5Core.so.5 : QObject::event(QEvent*)+0xe2  [0x7fc874acd352]
  /usr/lib/libQt5Widgets.so.5 : QApplicationPrivate::notify_helper(QObject*, QEvent*)+0x84  [0x7fc875690e14]
  /usr/lib/libQt5Widgets.so.5 : QApplication::notify(QObject*, QEvent*)+0x211  [0x7fc8756986e1]
  qbittorrent : Application::notify(QObject*, QEvent*)+0x23  [0x56471c5eeb43]
  /usr/lib/libQt5Core.so.5 : QCoreApplication::notifyInternal2(QObject*, QEvent*)+0x179  [0x7fc874aa2c39]
  /usr/lib/libQt5Core.so.5 : QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)+0x1dc  [0x7fc874aa5ccc]
  /usr/lib/libQt5Core.so.5 : ()+0x2c59d4  [0x7fc874af69d4]
  /usr/lib/libglib-2.0.so.0 : g_main_context_dispatch()+0x2bf  [0x7fc87374e3cf]
  /usr/lib/libglib-2.0.so.0 : ()+0x6cf89  [0x7fc87374ff89]
  /usr/lib/libglib-2.0.so.0 : g_main_context_iteration()+0x2e  [0x7fc87374ffce]
  /usr/lib/libQt5Core.so.5 : QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x69  [0x7fc874af5fc9]
  /usr/lib/libQt5Core.so.5 : QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0x13c  [0x7fc874aa18cc]
  /usr/lib/libQt5Core.so.5 : QThread::exec()+0xb9  [0x7fc8748eaeb9]
  /usr/lib/libQt5Core.so.5 : ()+0xc3f65  [0x7fc8748f4f65]
  /usr/lib/libpthread.so.0 : ()+0x7a9d  [0x7fc874817a9d]
  /usr/lib/libc.so.6 : clone()+0x43  [0x7fc874417a43]
zsh: segmentation fault (core dumped)  qbittorrent

What is the expected behavior
Shouldn't close.
Steps to reproduce
Just open it up and wait.
Extra info(if any)
Worked fine a couple of hours ago.

Duplicate issue #10150: v4.2.0alpha crash (while sitting in ze tray icon)
Created: 2019-01-12T17:59:08Z
GNU/Linux
v4.2.0alpha from git

What is the problem
It crashed and died
What is the expected behavior
Not crashing and dynig
Steps to reproduce
Start it, wait.
qBittorrent version: v4.2.0alpha
(gdb) bt
#0  0x00007fb96bc850e8 in QHttpNetworkConnectionChannel::sendRequest() (this=) at access/qhttpnetworkconnectionchannel.cpp:251
#1  0x00007fb96bc83a39 in QHttpNetworkConnectionPrivate::_q_startNextRequest() (this=0x7fb8d80b3fe0) at access/qhttpnetworkconnection.cpp:1044
#2  0x00007fb96b93cda6 in QObject::event(QEvent*) (this=0x7fb8d8021c60, e=) at kernel/qobject.cpp:1251
#3  0x00007fb96c484285 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=
0x1358860, receiver=receiver@entry=0x7fb8d8021c60, e=e@entry=0x7fb8d8009d70) at kernel/qapplication.cpp:3726
#4  0x00007fb96c48b9a0 in QApplication::notify(QObject*, QEvent*) (this=0x13587a0, receiver=0x7fb8d8021c60, e=0x7fb8d8009d70)
at kernel/qapplication.cpp:3485
#5  0x000000000052b682 in Application::notify(QObject*, QEvent*) ()
#6  0x00007fb96b913ec6 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7fb8d8021c60, event=0x7fb8d8009d70)
at kernel/qcoreapplication.cpp:1047
#7  0x00007fb96b91709b in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x7fb8d8009d70, receiver=)
at kernel/qcoreapplication.h:234
#8  0x00007fb96b91709b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x1fb27f0)
at kernel/qcoreapplication.cpp:1744
#9  0x00007fb96b964807 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x7fb8d8002eb0) at kernel/qeventdispatcher_glib.cpp:276
#10 0x00007fb968d7f06d in g_main_dispatch (context=0x7fb8d8000bf0) at gmain.c:3182
#11 0x00007fb968d7f06d in g_main_context_dispatch (context=context@entry=0x7fb8d8000bf0) at gmain.c:3847
#12 0x00007fb968d7f438 in g_main_context_iterate
(context=context@entry=0x7fb8d8000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=) at gmain.c:3920
#13 0x00007fb968d7f4d0 in g_main_context_iteration (context=0x7fb8d8000bf0, may_block=may_block@entry=1) at gmain.c:3981
#14 0x00007fb96b964593 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) (this=0x7fb8d8000b20, flags=...)
at kernel/qeventdispatcher_glib.cpp:422
#15 0x00007fb96b912e0b in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) (this=this@entry=0x7fb914a54c20, flags=..., flags@entry=...)
at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#16 0x00007fb96b77ae86 in QThread::exec() (this=) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#17 0x00007fb96b7842fb in QThreadPrivate::start(void*) (arg=0x1436440) at thread/qthread_unix.cpp:367
#18 0x00007fb96c9ef58e in start_thread (arg=) at pthread_create.c:486
#19 0x00007fb96b22e6a3 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Closing comment (2019-01-12T18:16:09Z): Probably duplicate of #9667