Bug 2156830 - [abrt] abrt-tui: call_blocking(): connection.py:634:call_blocking:dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Failed: Too many sessions opened
Summary: [abrt] abrt-tui: call_blocking(): connection.py:634:call_blocking:dbus.except...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 37
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: abrt
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:aac17a15db6fa8c99db8bb65584...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-28 22:57 UTC by Sergio Basto
Modified: 2023-07-12 18:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.29 KB, text/plain)
2022-12-28 22:57 UTC, Sergio Basto
no flags Details
File: cpuinfo (2.84 KB, text/plain)
2022-12-28 22:57 UTC, Sergio Basto
no flags Details
File: environ (3.22 KB, text/plain)
2022-12-28 22:57 UTC, Sergio Basto
no flags Details
File: mountinfo (2.86 KB, text/plain)
2022-12-28 22:57 UTC, Sergio Basto
no flags Details
File: namespaces (172 bytes, text/plain)
2022-12-28 22:57 UTC, Sergio Basto
no flags Details
File: open_fds (369 bytes, text/plain)
2022-12-28 22:57 UTC, Sergio Basto
no flags Details

Description Sergio Basto 2022-12-28 22:57:43 UTC
Description of problem:
on startup 

Version-Release number of selected component:
abrt-tui-2.15.1-6.fc37

Additional info:
reporter:       libreport-2.17.4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.konsole-67dcc8897c5440ffad573c87037ad4d1.scope
cmdline:        /usr/bin/python3 /usr/bin/abrt status --since=1672268141 --not-reported --quiet
crash_function: call_blocking
exception_type: dbus.exceptions.DBusException
executable:     /usr/bin/abrt
interpreter:    python3-3.11.1-1.fc37.x86_64
kernel:         6.0.15-300.fc37.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
connection.py:634:call_blocking:dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Failed: Too many sessions opened

Traceback (most recent call last):
  File "/usr/bin/abrt", line 41, in <module>
    namespace.func(namespace)
  File "/usr/lib/python3.11/site-packages/abrtcli/cli/status.py", line 22, in run
    problems = match_lookup(['*'],
               ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/abrtcli/match.py", line 72, in match_lookup
    problems = problem.list(auth=authenticate)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/problem/__init__.py", line 356, in list
    return [tools.problemify(prob, __proxy) for prob in fun()]
                                                        ^^^^^
  File "/usr/lib64/python3.11/site-packages/problem/proxies.py", line 91, in list
    return [str(prob) for prob in self._dbus_call('GetProblems')]
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/problem/proxies.py", line 53, in _dbus_call
    return getattr(self._iface, fun_name)(*args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/dbus/proxies.py", line 72, in __call__
    return self._proxy_method(*args, **keywords)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/dbus/proxies.py", line 141, in __call__
    return self._connection.call_blocking(self._named_service,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/dbus/connection.py", line 634, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Failed: Too many sessions opened

Local variables in innermost frame:
self: <dbus._dbus.SystemBus (system) at 0x7f9f530ada30>
bus_name: dbus.String(':1.83')
object_path: '/org/freedesktop/problems'
dbus_interface: 'org.freedesktop.problems'
method: 'GetProblems'
signature: ''
args: ()
timeout: -1.0
byte_arrays: False
kwargs: {}
get_args_opts: {'byte_arrays': False}
message: <dbus.lowlevel.MethodCallMessage path: /org/freedesktop/problems, iface: org.freedesktop.problems, member: GetProblems dest: :1.83>

Comment 1 Sergio Basto 2022-12-28 22:57:45 UTC
Created attachment 1934799 [details]
File: backtrace

Comment 2 Sergio Basto 2022-12-28 22:57:47 UTC
Created attachment 1934800 [details]
File: cpuinfo

Comment 3 Sergio Basto 2022-12-28 22:57:48 UTC
Created attachment 1934801 [details]
File: environ

Comment 4 Sergio Basto 2022-12-28 22:57:49 UTC
Created attachment 1934802 [details]
File: mountinfo

Comment 5 Sergio Basto 2022-12-28 22:57:50 UTC
Created attachment 1934803 [details]
File: namespaces

Comment 6 Sergio Basto 2022-12-28 22:57:52 UTC
Created attachment 1934804 [details]
File: open_fds

Comment 7 Sergio Basto 2023-07-12 18:27:20 UTC
Similar problem has been detected:

I startup my kde envoirment with on konsole with more than 10 tabs , which are more than 10 shells 
so it try to run abrt-cli more than 10 times in same second 

reporter:       libreport-2.17.11
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.kde.konsole-c173760161ed4096916eab639aaa46c1.scope
cmdline:        /usr/bin/python3 /usr/bin/abrt status --since=1688929449 --not-reported --quiet
crash_function: call_blocking
exception_type: dbus.exceptions.DBusException
executable:     /usr/bin/abrt
interpreter:    python3-3.11.4-1.fc37.x86_64
kernel:         6.3.12-100.fc37.x86_64
package:        abrt-tui-2.17.1-1.fc37
reason:         connection.py:634:call_blocking:dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Failed: Too many sessions opened
runlevel:       N 5
type:           Python3
uid:            1000


Note You need to log in before you can comment on or make changes to this bug.