[Bug 1859610] Re: python-gi/arm64 segfaults with the focal-proposed libffi version
Dave Jones
dave.jones at canonical.com
Mon Jan 20 11:03:24 UTC 2020
> so this is not completely updated to focal-proposed?
No, that was just certain focal-proposed packages on a focal image (on a
pi4). Have now re-run with a full focal-proposed chroot (under the same
focal image), and that doesn't reproduce the issue:
(focal-arm64)root at ubuntu:~# cat /etc/apt/sources.list
deb http://ports.ubuntu.com/ubuntu-ports focal main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports focal main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports focal-proposed main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports focal-proposed main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports focal-security main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports focal-security main restricted universe multiverse
(focal-arm64)root at ubuntu:~# dpkg -l | grep -e "libffi" -e "python3"
ii libffi6:arm64 3.2.1-9 arm64 Foreign Function Interface library runtime
ii libffi7:arm64 3.3-3 arm64 Foreign Function Interface library runtime
ii libpython3-stdlib:arm64 3.7.5-1ubuntu1 arm64 interactive high-level object-oriented language (default python3 version)
ii libpython3.7-minimal:arm64 3.7.6-1ubuntu2 arm64 Minimal subset of the Python language (version 3.7)
ii libpython3.7-stdlib:arm64 3.7.6-1ubuntu2 arm64 Interactive high-level object-oriented language (standard library, version 3.7)
ii python3 3.7.5-1ubuntu1 arm64 interactive high-level object-oriented language (default python3 version)
ii python3-cairo:arm64 1.16.2-2ubuntu1 arm64 Python3 bindings for the Cairo vector graphics library
ii python3-gi 3.34.0-3build2 arm64 Python 3 bindings for gobject-introspection libraries
ii python3-gi-cairo 3.34.0-3build2 arm64 Python 3 Cairo bindings for the GObject library
ii python3-goocalendar 0.5-1 all Calendar widget for GTK+ using PyGoocanvas (Python 3)
ii python3-minimal 3.7.5-1ubuntu1 arm64 minimal subset of the Python language (default python3 version)
ii python3-pkg-resources 44.0.0-1 all Package Discovery and Resource Access using pkg_resources
ii python3.7 3.7.6-1ubuntu2 arm64 Interactive high-level object-oriented language (version 3.7)
ii python3.7-minimal 3.7.6-1ubuntu2 arm64 Minimal subset of the Python language (version 3.7)
(focal-arm64)root at ubuntu:~# python3 -c "import goocalendar; print(goocalendar.__version__)"
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
0.5
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libffi in Ubuntu.
https://bugs.launchpad.net/bugs/1859610
Title:
python-gi/arm64 segfaults with the focal-proposed libffi version
Status in libffi package in Ubuntu:
Fix Committed
Status in pygobject package in Ubuntu:
New
Status in libffi source package in Focal:
Fix Committed
Status in pygobject source package in Focal:
New
Bug description:
Testcase, on focal/arm64
$ sudo apt install python3-goocalendar
$ python3 -c "import goocalendar ; print(goocalendar.__version__)"
-> works fine
install the python3-gi package from focal-proposed it segfaults in
libffi
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x0000fffff7390ff8 in ffi_call_SYSV () at ../src/aarch64/sysv.S:114
#2 0x0000fffff7390634 in ffi_call_int (cif=0xa12d78, fn=<optimized out>,
orig_rvalue=<optimized out>, avalue=0x0, closure=<optimized out>)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libffi/+bug/1859610/+subscriptions
More information about the foundations-bugs
mailing list