[Bug 2021531] Re: rust-gio: armhf autopkgtest failure

Zixing Liu 2021531 at bugs.launchpad.net
Thu Jun 22 23:16:46 UTC 2023


I have investigated this issue and determined this is a rust-glib (note,
not rustc or rust-gio) issue which has been fixed upstream.

It looked like a rustc/Rust std bug because the FFI wrapper inside rust-
gio corrupted the stack so severely that libunwind could not call the
clean-up function (it returned URC_FAILURE and transferred control back
to the program). The Rust std panic handler did not expect this to
happen (unwind clean-up will terminate the program, it should not return
when the unwinding succeeds).

This only happened on armhf because URC_FAILURE is ARM-specific (and when using EHABI, see 
 Chapter 8 in https://github.com/ARM-software/abi-aa/releases/download/2021Q1/ehabi32.pdf).

I will submit a backported patch in a moment.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rustc in Ubuntu.
https://bugs.launchpad.net/bugs/2021531

Title:
  rust-gio: armhf autopkgtest failure

Status in rust-gio package in Ubuntu:
  Triaged
Status in rust-glib package in Ubuntu:
  New
Status in rustc package in Ubuntu:
  Confirmed

Bug description:
  rust-gio 0.16.7-1 has autopkgtest failures on armhf

  https://autopkgtest.ubuntu.com/packages/r/rust-gio/mantic/armhf
  https://ci.debian.net/packages/r/rust-gio/unstable/armhf/

  This issue is a blocker for the ongoing rust-gtk 0.5 transition.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-gio/+bug/2021531/+subscriptions




More information about the foundations-bugs mailing list