Created attachment 88317 [details] example tar archive with mechanism.py and test.py This is a clone of the Fedora bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1023985 Description of problem: python3 gc finds garbage objects if Exceptions are used in the mechanism. Version-Release number of selected component (if applicable): python3-dbus-1.1.1-5.fc19.x86_64 How reproducible: Always Steps to Reproduce: 1. yum install python3-dbus 2. Extract example tar archive as root 3. cd example 4. make install 5. python3 mechanism.py 6. Open another root-shell, got to the example directory: python3 test.py Actual results: Garbage objects Expected results: No garbage objects Additional info: This is not a problem if using python2. Comment 1 Thomas Woerner 2013-10-28 10:02:46 EDT There seems to be a race condition somewhere. The test.py script just calls the raise_exception method in ExampleObject several times. Comment 2 Thomas Woerner 2013-10-28 10:20:39 EDT The example bases on the examples from python-slip, but without polkit and python-slip support. Thomas Woerner 2013-10-28 10:38:45 EDT Blocks: 1014548 Nils Philippsen 2013-10-28 10:44:14 EDT Blocks: 1014209 Comment 3 Thomas Woerner 2013-10-28 10:45:11 EDT This is also a problem in Fedora 20. Comment 4 Rex Dieter 2013-10-28 11:50:22 EDT Mind testing https://admin.fedoraproject.org/updates/dbus-python-1.2.0-1.fc20 ? If that helps here, can consider doing a f19 update too. Comment 5 Thomas Woerner 2013-10-28 12:25:40 EDT I updated to this version in my Fedora-19 installation and the problem is still there. Comment 6 Rex Dieter 2013-10-28 13:26:28 EDT OK, thanks. :( Mind poking upstream? https://bugs.freedesktop.org/enter_bug.cgi?product=dbus against 'python' component.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/dbus/dbus-python/issues/18.
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.