[Bug 909292] Re: Crashes when C calls Python callback with Python3 due to local ctypes module build configuration

Martin Pitt martin.pitt at ubuntu.com
Thu May 3 12:00:20 UTC 2012


The current theory is that things go wrong because libffi is loaded from
both python itself (due to building in the ctypes extension) as well as
dynamically through libgirepository.

I extended the test program to use ctypes and gi.repository at the same
time, and both work with my local packages which build ctypes as a
separate extension again.

** Attachment added: "test script with ctypes"
   https://bugs.launchpad.net/ubuntu/+source/python3.2/+bug/909292/+attachment/3127526/+files/set_cell_data_func.py

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

Title:
  Crashes when C calls Python callback with Python3 due to local ctypes
  module build configuration

Status in Python bindings for GObject:
  Confirmed
Status in “python3.2” package in Ubuntu:
  Triaged
Status in “python3.2” source package in Precise:
  In Progress
Status in “python3.2” package in Debian:
  Confirmed

Bug description:
  The sample code is attached, both happens in new installed Ubuntu
  11.10 and Ubuntu 12.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/pygobject/+bug/909292/+subscriptions




More information about the foundations-bugs mailing list