** Description changed:

- After opening QuiteRSS it will run until crash happens.  This happens
- intermittently within the hour usually.
+ [Impact]
+ This bug affects QuiteRSS and other Qt applications, like plasma-discover 
(see https://bugs.kde.org/show_bug.cgi?id=402848) and qbittorrent (see bug 
1814375). All they crash with similar stack traces.
+ 
+ [Test Case]
+ 1. Open QuiteRSS.
+ 2. Leave it running for several hours.
+ 3. It should not crash.
+ 
+ [Proposed Fix]
+ The proposed fix is a backport of the following commit from upstream 5.12 
branch: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=e431a3ac027915db
+ 
+ [Regression Potential]
+ This patch adds an additional check before re-sending the request. 
Regressions chance is minimal, but the potential regressions may be that the 
request is not re-sent where it was re-sent with the previous code.
+ 
+ [Original Description]
+ After opening QuiteRSS it will run until crash happens.  This happens 
intermittently within the hour usually.
  
  (gdb) bt
  #0  QHttpNetworkConnectionChannel::sendRequest (this=<optimized out>)
-     at access/qhttpnetworkconnectionchannel.cpp:238
+     at access/qhttpnetworkconnectionchannel.cpp:238
  #1  0x00007ffff30deca2 in QHttpNetworkConnectionPrivate::_q_startNextRequest (
-     this=0x7fff480d4a20) at access/qhttpnetworkconnection.cpp:1015
- #2  0x00007ffff2736122 in QObject::event (this=0x7fff48da89b0, 
-     e=<optimized out>) at kernel/qobject.cpp:1247
+     this=0x7fff480d4a20) at access/qhttpnetworkconnection.cpp:1015
+ #2  0x00007ffff2736122 in QObject::event (this=0x7fff48da89b0,
+     e=<optimized out>) at kernel/qobject.cpp:1247
  #3  0x00007ffff6f2482c in QApplicationPrivate::notify_helper(QObject*, 
QEvent*)
-     () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
+     () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
  #4  0x00007ffff6f2c0f4 in QApplication::notify(QObject*, QEvent*) ()
-    from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
+    from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
  #5  0x00007ffff27069a8 in QCoreApplication::notifyInternal2 (
-     receiver=0x7fff48da89b0, event=event@entry=0x7fff494233b0)
-     at kernel/qcoreapplication.cpp:1024
- #6  0x00007ffff270911d in QCoreApplication::sendEvent (event=0x7fff494233b0, 
-     receiver=<optimized out>)
-     at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
- #7  QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, 
-     event_type=event_type@entry=0, data=0x7fff60008e90)
-     at kernel/qcoreapplication.cpp:1699
+     receiver=0x7fff48da89b0, event=event@entry=0x7fff494233b0)
+     at kernel/qcoreapplication.cpp:1024
+ #6  0x00007ffff270911d in QCoreApplication::sendEvent (event=0x7fff494233b0,
+     receiver=<optimized out>)
+     at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
+ #7  QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
+     event_type=event_type@entry=0, data=0x7fff60008e90)
+     at kernel/qcoreapplication.cpp:1699
  #8  0x00007ffff27096a8 in QCoreApplication::sendPostedEvents (
-     receiver=receiver@entry=0x0, event_type=event_type@entry=0)
-     at kernel/qcoreapplication.cpp:1553
+     receiver=receiver@entry=0x0, event_type=event_type@entry=0)
+     at kernel/qcoreapplication.cpp:1553
  #9  0x00007ffff27602c3 in postEventSourceDispatch (s=0x7fff48003f10)
- ---Type <return> to continue, or q <return> to quit---
-     at kernel/qeventdispatcher_glib.cpp:276
+     at kernel/qeventdispatcher_glib.cpp:276
  #10 0x00007fffece96317 in g_main_context_dispatch ()
-    from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
+    from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
  #11 0x00007fffece96550 in ?? () from 
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
  #12 0x00007fffece965dc in g_main_context_iteration ()
-    from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
+    from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
  #13 0x00007ffff275f8ef in QEventDispatcherGlib::processEvents (
-     this=0x7fff48000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
- #14 0x00007ffff27049ea in QEventLoop::exec (this=this@entry=0x7fff4fffec60, 
-     flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
+     this=0x7fff48000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
+ #14 0x00007ffff27049ea in QEventLoop::exec (this=this@entry=0x7fff4fffec60,
+     flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
  #15 0x00007ffff252322a in QThread::exec (this=<optimized out>)
-     at thread/qthread.cpp:515
+     at thread/qthread.cpp:515
  #16 0x00007ffff252816d in QThreadPrivate::start (arg=0x7fff60008a20)
-     at thread/qthread_unix.cpp:368
+     at thread/qthread_unix.cpp:368
  #17 0x00007ffff22646db in start_thread (arg=0x7fff4ffff700)
-     at pthread_create.c:463
+     at pthread_create.c:463
  #18 0x00007ffff19ec88f in clone ()
-     at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
+     at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

** Also affects: qtbase-opensource-src (Ubuntu Bionic)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833536

Title:
  QuiteRSS crashes intermittently

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1833536/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to