[pkg-lxqt-devel] Bug#928804: lxqt-session allocates memory for process output never read

Alf Gaida agaida at siduction.org
Sat May 11 14:02:12 BST 2019


Package: lxqt-session
Version: 0.14.2~15-g55a59f8-1
Severity: important
Tags: patch

The way is to forward output from these processes to lxqt-session stdout. This is discussed in
https://github.com/lxqt/lxqt/issues/442 and 
https://github.com/lxqt/lxqt-session/pull/256

Patch:

Author: Luís Pereira <luis.artur.pereira at gmail.com>
Date:   Thu May 9 21:14:08 2019 +0100

    Don't throw stderr/stdout to a black hole
    Implement the consensus solution achieved described in https://github.com/lxqt/lxqt-session/pull/256.
    It was, actually, one the alternative proposed by https://github.com/keturn.

diff --git a/lxqt-session/src/lxqtmodman.cpp b/lxqt-session/src/lxqtmodman.cpp
index 2beff61..d11ffc0 100644
--- a/lxqt-session/src/lxqtmodman.cpp
+++ b/lxqt-session/src/lxqtmodman.cpp
@@ -467,6 +467,7 @@ LXQtModule::LXQtModule(const XdgDesktopFile& file, QObject* parent) :
     fileName(QFileInfo(file.fileName()).fileName()),
     mIsTerminating(false)
 {
+    QProcess::setProcessChannelMode(QProcess::ForwardedChannels);
     connect(this, SIGNAL(stateChanged(QProcess::ProcessState)), SLOT(updateState(QProcess::ProcessState)));
 }
 


-- System Information:
Debian Release: 10.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.0.14-towo.1-siduction-amd64 (SMP w/8 CPU cores; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lxqt-session depends on:
ii  libc6                           2.28-10
ii  libkf5windowsystem5             5.54.0-1
ii  liblxqt0                        0.14.2~12-ga398a7c-1
ii  libqt5core5a                    5.11.3+dfsg1-1
ii  libqt5dbus5                     5.11.3+dfsg1-1
ii  libqt5gui5                      5.11.3+dfsg1-1
ii  libqt5widgets5                  5.11.3+dfsg1-1
ii  libqt5x11extras5                5.11.3-2
ii  libqt5xdg3                      3.4.0~13-ga0c8e32-1
ii  libstdc++6                      8.3.0-7
ii  libudev1                        241-3
ii  libx11-6                        2:1.6.7-1
ii  lxqt-qtplugin                   0.14.1~8-g02a9e71-1
ii  lxqt-theme-debian [lxqt-theme]  0.14.0.3
ii  lxqt-themes [lxqt-theme]        0.14.0-1
ii  x11-xkb-utils                   7.7+4

Versions of packages lxqt-session recommends:
ii  lxqt-config           0.14.2~49-ge265219-1
ii  lxqt-notificationd    0.14.2~17-ga5ee062-1
ii  lxqt-policykit        0.14.1-1
ii  lxqt-powermanagement  0.14.2~14-ge9c8192-1
ii  lxqt-session-l10n     0.14.2~15-g55a59f8-1
ii  lxqt-sudo             0.14.2~9-g544b8d0-1
ii  pcmanfm-qt            0.14.2~21-g40e9db1-1
ii  qlipper               1:5.1.2-1
ii  qps                   1.10.21~15-gdfd70d8-1
ii  suckless-tools        44-1
ii  xscreensaver          5.42+dfsg1-1

lxqt-session suggests no packages.

-- no debconf information


More information about the pkg-lxqt-devel mailing list