[Bug 1859610] Re: python-gi/arm64 segfaults with the focal-proposed libffi version
Dave Jones
dave.jones at canonical.com
Fri Jan 17 16:07:26 UTC 2020
Reproduced on a Pi4 running the current focal daily:
ubuntu 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
ubuntu at ubuntu:~$ sudo apt install -t focal-proposed python3-gi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libffi7 python3-gi-cairo
The following NEW packages will be installed:
libffi7
The following packages will be upgraded:
python3-gi python3-gi-cairo
2 upgraded, 1 newly installed, 0 to remove and 85 not upgraded.
Need to get 220 kB of archives.
After this operation, 60.4 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ports.ubuntu.com/ubuntu-ports focal-proposed/main arm64 python3-gi-cairo arm64 3.34.0-3build2 [8336 B]
Get:2 http://ports.ubuntu.com/ubuntu-ports focal-proposed/main arm64 libffi7 arm64 3.3-2.3build1 [17.1 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports focal-proposed/main arm64 python3-gi arm64 3.34.0-3build2 [195 kB]
Fetched 220 kB in 2s (114 kB/s)
(Reading database ... 79794 files and directories currently installed.)
Preparing to unpack .../python3-gi-cairo_3.34.0-3build2_arm64.deb ...
Unpacking python3-gi-cairo (3.34.0-3build2) over (3.34.0-3) ...
Selecting previously unselected package libffi7:arm64.
Preparing to unpack .../libffi7_3.3-2.3build1_arm64.deb ...
Unpacking libffi7:arm64 (3.3-2.3build1) ...
Preparing to unpack .../python3-gi_3.34.0-3build2_arm64.deb ...
Unpacking python3-gi (3.34.0-3build2) over (3.34.0-3) ...
Setting up libffi7:arm64 (3.3-2.3build1) ...
Setting up python3-gi (3.34.0-3build2) ...
Setting up python3-gi-cairo (3.34.0-3build2) ...
Processing triggers for libc-bin (2.30-0ubuntu3) ...
ubuntu at ubuntu:~$ python3 -c "import goocalendar; print(goocalendar.__version__)"
Segmentation fault (core dumped)
--
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:
Incomplete
Status in libffi source package in Focal:
Incomplete
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