Package: gir1.2-upowerglib-1.0 Version: 0.9.17-1 Severity: normal Dear Maintainer,
when launching the following script from Python, which tries to list the devices on the system, I got a segmentation fault (using either Python 2 or Python 3): $ python test-upower-get-devices.py zsh: segmentation fault python test-upower-get-devices.py I'm tring to get a core dumped, but so far, it doesn't dump anything... :/ Thanks, Jon -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gir1.2-upowerglib-1.0 depends on: ii gir1.2-glib-2.0 1.34.2-1 ii libupower-glib1 0.9.17-1 gir1.2-upowerglib-1.0 recommends no packages. gir1.2-upowerglib-1.0 suggests no packages. -- no debconf information
from gi.repository import Gio from gi.repository import UPowerGlib cancellable = Gio.Cancellable() client = UPowerGlib.Client() client.enumerate_devices_sync(cancellable) print(client.get_devices())