[KScreen] [Bug 453280] kded5 leaks X-Window connections: Maximum number of clients reached

2022-06-22 Thread Yuxin Wu
https://bugs.kde.org/show_bug.cgi?id=453280

Yuxin Wu  changed:

   What|Removed |Added

Version|5.24.5  |5.24.4

-- 
You are receiving this mail because:
You are watching all bug changes.

[KScreen] [Bug 453280] kded5 leaks X-Window connections: Maximum number of clients reached

2022-06-22 Thread Yuxin Wu
https://bugs.kde.org/show_bug.cgi?id=453280

Yuxin Wu  changed:

   What|Removed |Added

 CC||[email protected]

-- 
You are receiving this mail because:
You are watching all bug changes.

[KScreen] [Bug 453280] kded5 leaks X-Window connections: Maximum number of clients reached

2022-06-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=453280

[email protected] changed:

   What|Removed |Added

 CC||[email protected]

-- 
You are receiving this mail because:
You are watching all bug changes.

[KScreen] [Bug 453280] kded5 leaks X-Window connections: Maximum number of clients reached

2022-06-08 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=453280

Nicolas Fella  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #23 from Nicolas Fella  ---
*** Bug 455004 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[KScreen] [Bug 453280] kded5 leaks X-Window connections: Maximum number of clients reached

2022-06-03 Thread Stefan Becker
https://bugs.kde.org/show_bug.cgi?id=453280

--- Comment #22 from Stefan Becker  ---
FYI: this is fixed on Fedora 36 with kscreen-1:5.24.5-2.fc36
(https://bodhi.fedoraproject.org/updates/FEDORA-2022-f7b84908ae)

-- 
You are receiving this mail because:
You are watching all bug changes.

[KScreen] [Bug 453280] kded5 leaks X-Window connections: Maximum number of clients reached

2022-06-01 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=453280

Nate Graham  changed:

   What|Removed |Added

 CC||[email protected]
   Version Fixed In||5.24.6

-- 
You are receiving this mail because:
You are watching all bug changes.

[KScreen] [Bug 453280] kded5 leaks X-Window connections: Maximum number of clients reached

2022-05-30 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=453280

David Edmundson  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/kscreen/commit/d7e60e197 |ma/kscreen/commit/93cfd2975
   |bdcdf645197881d3f2e4da0cf45 |06e4106a7b6e7bcc649442c5bf0
   |57f4|f7d1

--- Comment #21 from David Edmundson  ---
Git commit 93cfd297506e4106a7b6e7bcc649442c5bf0f7d1 by David Edmundson, on
behalf of Stefan Becker.
Committed on 30/05/2022 at 07:58.
Pushed by davidedmundson into branch 'Plasma/5.24'.

X11: fix kded xcb resource leak

This fixes commit 579358f501ae978aa527a25eb3ef9dd42557db46

XOpenDisplay() internally calls xcb_connect(), creating a new XCB client
connection. This means that on every KScreen configuration change event
the kded5 process creates a new connection until XCB runs into the hard
limit of 256 of clients, leading to the dreaded "Maximum number of
clients reached" error.

Re-use the display from QX11Info instead of calling XOpenDisplay().


(cherry picked from commit 0270a49328aa70b14dd08e2ed5a425ca3f8e4fd5)

M  +8-9kded/daemon.cpp

https://invent.kde.org/plasma/kscreen/commit/93cfd297506e4106a7b6e7bcc649442c5bf0f7d1

-- 
You are receiving this mail because:
You are watching all bug changes.

[KScreen] [Bug 453280] kded5 leaks X-Window connections: Maximum number of clients reached

2022-05-30 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=453280

David Edmundson  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/kscreen/commit/0270a4932 |ma/kscreen/commit/d7e60e197
   |8aa70b14dd08e2ed5a425ca3f8e |bdcdf645197881d3f2e4da0cf45
   |4fd5|57f4

--- Comment #20 from David Edmundson  ---
Git commit d7e60e197bdcdf645197881d3f2e4da0cf4557f4 by David Edmundson, on
behalf of Stefan Becker.
Committed on 30/05/2022 at 07:57.
Pushed by davidedmundson into branch 'Plasma/5.25'.

X11: fix kded xcb resource leak

This fixes commit 579358f501ae978aa527a25eb3ef9dd42557db46

XOpenDisplay() internally calls xcb_connect(), creating a new XCB client
connection. This means that on every KScreen configuration change event
the kded5 process creates a new connection until XCB runs into the hard
limit of 256 of clients, leading to the dreaded "Maximum number of
clients reached" error.

Re-use the display from QX11Info instead of calling XOpenDisplay().


(cherry picked from commit 0270a49328aa70b14dd08e2ed5a425ca3f8e4fd5)

M  +8-9kded/daemon.cpp

https://invent.kde.org/plasma/kscreen/commit/d7e60e197bdcdf645197881d3f2e4da0cf4557f4

-- 
You are receiving this mail because:
You are watching all bug changes.

[KScreen] [Bug 453280] kded5 leaks X-Window connections: Maximum number of clients reached

2022-05-30 Thread Stefan Becker
https://bugs.kde.org/show_bug.cgi?id=453280

Stefan Becker  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/plas
   ||ma/kscreen/commit/0270a4932
   ||8aa70b14dd08e2ed5a425ca3f8e
   ||4fd5
 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #19 from Stefan Becker  ---
Git commit 0270a49328aa70b14dd08e2ed5a425ca3f8e4fd5 by Stefan Becker.
Committed on 30/05/2022 at 04:23.
Pushed by davidedmundson into branch 'master'.

X11: fix kded xcb resource leak

This fixes commit 579358f501ae978aa527a25eb3ef9dd42557db46

XOpenDisplay() internally calls xcb_connect(), creating a new XCB client
connection. This means that on every KScreen configuration change event
the kded5 process creates a new connection until XCB runs into the hard
limit of 256 of clients, leading to the dreaded "Maximum number of
clients reached" error.

Re-use the display from QX11Info instead of calling XOpenDisplay().

M  +8-9kded/daemon.cpp

https://invent.kde.org/plasma/kscreen/commit/0270a49328aa70b14dd08e2ed5a425ca3f8e4fd5

-- 
You are receiving this mail because:
You are watching all bug changes.

[KScreen] [Bug 453280] kded5 leaks X-Window connections: Maximum number of clients reached

2022-05-29 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=453280

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #18 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/kscreen/-/merge_requests/102

-- 
You are receiving this mail because:
You are watching all bug changes.

[KScreen] [Bug 453280] kded5 leaks X-Window connections: Maximum number of clients reached

2022-05-29 Thread Stefan Becker
https://bugs.kde.org/show_bug.cgi?id=453280

Stefan Becker  changed:

   What|Removed |Added

Version|5.94.0  |5.24.5
Product|frameworks-kded |KScreen
 CC||[email protected]
 Ever confirmed|0   |1
   Assignee|[email protected]   |[email protected]
  Component|general |kded
 Status|REPORTED|CONFIRMED

--- Comment #17 from Stefan Becker  ---
Forgot to mention: kded doesn't know anything about X11, there are no
references in the source code

But KScreen has a piece of code running in kded5 process context: the kscreen
kded plugin.

-- 
You are receiving this mail because:
You are watching all bug changes.