Summary: | kdbus: overly aggressive clients cause kernel panic | ||
---|---|---|---|
Product: | systemd | Reporter: | Hristo Venev <hristo> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | CC: | fdo |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Hristo Venev
2014-06-10 14:20:49 UTC
$ a=build/lib.* $ PYTHONPATH=${a}:. strace -f -o x python3 test/introspect.py 'I am sure' Traceback (most recent call last): File "test/introspect.py", line 1, in <module> from test import * File "/home/kay/data/src/pybus/test/__init__.py", line 1, in <module> import pybus File "/home/kay/data/src/pybus/pybus/__init__.py", line 506, in <module> from pybus.systemd import Bus File "/home/kay/data/src/pybus/pybus/systemd.py", line 194, in <module> class Bus(event.Event): AttributeError: 'module' object has no attribute 'Event' $ a=build/lib.linux-x86_64-3.4/ $ PYTHONPATH=${a}:. strace -f -o x python3 test/introspect.py 'I am sure' Traceback (most recent call last): File "test/introspect.py", line 28, in _ with e_loop.new(pybus.Bus, pybus.Bus.System).adopt() as sysBus, \ AttributeError: type object 'Bus' has no attribute 'System' Sorry about that. Commit 82f699a676f59001dafe0eb808fe46c0955fde79 should work. test/stress.py causes systemd --user to stop responding to dbus (at least for me) Sorry for the late response on this. Your test program needs gcc 4.9 to build, and I had to switch over for rawhide for this first. However, I cannot reproduce the bug. I've ran your test suite excessively, in a loop, with other stress tests in parallel, but I don't see any issue. Possibly, some recent changes to domain accounting fixed the crashes you saw. Could you test this again with the current kdbus git head please? It works for me too. Thanks. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.