[Bug 1298824] Re: libffi 3.1~rc1 regression: crashes on i386; python3.4 crashed with SIGSEGV in g_callable_info_free_closure()
Martin Pitt
martin.pitt at ubuntu.com
Fri Mar 28 07:37:03 UTC 2014
** Description changed:
https://launchpad.net/ubuntu/+source/libffi/3.1~rc1-2 has a regression
which causes lots of crashes on i386. This particular crash report is a
(local) retrace of https://jenkins.qa.ubuntu.com/job/trusty-adt-
gtk-3.0/109/ARCH=i386,label=adt/ but this affects all reverse depdencies
of libffi, such as
- https://jenkins.qa.ubuntu.com/job/trusty-adt-python-cffi/37/ARCH=i386,label=adt
- https://jenkins.qa.ubuntu.com/job/trusty-adt-gtk-3.0/109/ARCH=i386,label=adt/
- https://jenkins.qa.ubuntu.com/job/trusty-adt-ruby-ffi/26/ARCH=i386,label=adt/
+ https://jenkins.qa.ubuntu.com/job/trusty-adt-python-cffi/37/ARCH=i386,label=adt
+ https://jenkins.qa.ubuntu.com/job/trusty-adt-gtk-3.0/109/ARCH=i386,label=adt/
+ https://jenkins.qa.ubuntu.com/job/trusty-adt-ruby-ffi/26/ARCH=i386,label=adt/
and gvfs, umockdev, ubiquity, etc.
I reproduced this in a local trusty i386 schroot and confirm that
downgrading libffi6 to the previous version 3.0.13-12 re-fixes things.
+
+ So far a small reproducer is:
+
+ 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()'
+
ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: python3.4-minimal 3.4.0-1
Uname: Linux 3.13.0-19-generic i686
Architecture: i386
Date: Fri Mar 28 07:05:41 2014
ExecutablePath: /usr/bin/python3.4
ExecutableTimestamp: 1395533063
PackageArchitecture: amd64
ProcCmdline: python3
ProcCwd: /tmp/adt-run.QKVQFy/dsc0-build/gtk+3.0-3.10.7
ProcEnviron:
- TERM=linux
- PATH=(custom, no user)
- XDG_RUNTIME_DIR=<set>
- LANG=en_US.UTF-8
- SHELL=/bin/sh
+ TERM=linux
+ PATH=(custom, no user)
+ XDG_RUNTIME_DIR=<set>
+ LANG=en_US.UTF-8
+ SHELL=/bin/sh
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
+ 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
UserGroups: adm audio cdrom dialout dip floppy kvm netdev plugdev sudo video
** Description changed:
https://launchpad.net/ubuntu/+source/libffi/3.1~rc1-2 has a regression
which causes lots of crashes on i386. This particular crash report is a
(local) retrace of https://jenkins.qa.ubuntu.com/job/trusty-adt-
gtk-3.0/109/ARCH=i386,label=adt/ but this affects all reverse depdencies
of libffi, such as
https://jenkins.qa.ubuntu.com/job/trusty-adt-python-cffi/37/ARCH=i386,label=adt
https://jenkins.qa.ubuntu.com/job/trusty-adt-gtk-3.0/109/ARCH=i386,label=adt/
https://jenkins.qa.ubuntu.com/job/trusty-adt-ruby-ffi/26/ARCH=i386,label=adt/
and gvfs, umockdev, ubiquity, etc.
I reproduced this in a local trusty i386 schroot and confirm that
downgrading libffi6 to the previous version 3.0.13-12 re-fixes things.
So far a small reproducer is:
- 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()'
+ 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()'
+ Or you run python-cffi's test suite:
+
+ python3 -m pytest -v -k test_callback_as_function_argument testing
ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: python3.4-minimal 3.4.0-1
Uname: Linux 3.13.0-19-generic i686
Architecture: i386
Date: Fri Mar 28 07:05:41 2014
ExecutablePath: /usr/bin/python3.4
ExecutableTimestamp: 1395533063
PackageArchitecture: amd64
ProcCmdline: python3
ProcCwd: /tmp/adt-run.QKVQFy/dsc0-build/gtk+3.0-3.10.7
ProcEnviron:
TERM=linux
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/sh
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
UserGroups: adm audio cdrom dialout dip floppy kvm netdev plugdev sudo video
--
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/1298824
Title:
libffi 3.1~rc1 regression: crashes on i386; python3.4 crashed with
SIGSEGV in g_callable_info_free_closure()
Status in “libffi” package in Ubuntu:
Confirmed
Status in “libffi” source package in Trusty:
Confirmed
Bug description:
https://launchpad.net/ubuntu/+source/libffi/3.1~rc1-2 has a regression
which causes lots of crashes on i386. This particular crash report is
a (local) retrace of https://jenkins.qa.ubuntu.com/job/trusty-adt-
gtk-3.0/109/ARCH=i386,label=adt/ but this affects all reverse
depdencies of libffi, such as
https://jenkins.qa.ubuntu.com/job/trusty-adt-python-cffi/37/ARCH=i386,label=adt
https://jenkins.qa.ubuntu.com/job/trusty-adt-gtk-3.0/109/ARCH=i386,label=adt/
https://jenkins.qa.ubuntu.com/job/trusty-adt-ruby-ffi/26/ARCH=i386,label=adt/
and gvfs, umockdev, ubiquity, etc.
I reproduced this in a local trusty i386 schroot and confirm that
downgrading libffi6 to the previous version 3.0.13-12 re-fixes
things.
So far a small reproducer is:
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()'
Or you run python-cffi's test suite:
python3 -m pytest -v -k test_callback_as_function_argument testing
ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: python3.4-minimal 3.4.0-1
Uname: Linux 3.13.0-19-generic i686
Architecture: i386
Date: Fri Mar 28 07:05:41 2014
ExecutablePath: /usr/bin/python3.4
ExecutableTimestamp: 1395533063
PackageArchitecture: amd64
ProcCmdline: python3
ProcCwd: /tmp/adt-run.QKVQFy/dsc0-build/gtk+3.0-3.10.7
ProcEnviron:
TERM=linux
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/sh
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
UserGroups: adm audio cdrom dialout dip floppy kvm netdev plugdev sudo video
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libffi/+bug/1298824/+subscriptions
More information about the foundations-bugs
mailing list