This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: libffi 3.1-rc1 needs testing!
- From: Anthony Green <green at moxielogic dot com>
- To: Matthias Klose <doko at ubuntu dot com>
- Cc: libffi-discuss at sourceware dot org
- Date: Fri, 28 Mar 2014 17:55:38 -0400
- Subject: Re: libffi 3.1-rc1 needs testing!
- Authentication-results: sourceware.org; auth=none
- References: <87eh2liiow dot fsf at moxielogic dot com> <87a9ce3ry7 dot fsf at moxielogic dot com> <5335DDEF dot 9050300 at ubuntu dot com>
Matthias Klose <doko@ubuntu.com> writes:
> Am 25.03.2014 22:10, schrieb Anthony Green:
>> I am still hoping to get a release out before April, but I'll need
>> plenty of help with the testing...
>
> the good news is that the testsuite passes on every Debian and Ubuntu
> architecture without test failures. The bad news is that it is broken
> on x86 (not x86_64).
>
> running the python, ruby-ffi, cffi testsuites against the newly built
> libffi, it breaks with segfaults.
>
> A small reproducer is (taken from https://launchpad.net/bugs/1298824):
>
> sudo apt-get install python3-gi gir1.2-gtk-3.0 xvfb
> xvfb-run python3 -c 'from gi.repository import GLib, Gtk;
> GLib.timeout_add_seconds(1, Gtk.main_quit, None); Gtk.main()'
>
> It is pointed out that rebuilding the depending packages fixes the
> segfaults.
Ok, this suggests ABI breakage. There were recent changes in 32-bit
Linux support that may be to blame (additional ABI support). I can look
into this.
Thanks for the pointer!
AG
>
> Signal: 11
> SourcePackage: python3.4
> StacktraceTop:
> g_callable_info_free_closure (callable_info=0x9e8a5b0,
> closure=0xb6b43008) at girepository/girffi.c:426
> _pygi_invoke_closure_free (data=0x9efdd50) at ../../gi/pygi-closure.c:638
> _pygi_destroy_notify_callback_closure (cif=0x9efddbc,
> result=0xbfaec770, args=0xbfaec710, data=0x0) at
> ../../gi/pygi-closure.c:703
> ffi_closure_SYSV_inner (closure=0xb6b43030, respp=0xbfaec77c,
> args=0xbfaec790) at ../src/x86/ffi.c:503
> ffi_closure_SYSV () at ../src/x86/sysv.S:199