After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 676325 - Gtk.TreeViewColumn.set_cell_data_func segfaults on Python 3
Gtk.TreeViewColumn.set_cell_data_func segfaults on Python 3
Status: RESOLVED DUPLICATE of bug 669157
Product: pygobject
Classification: Bindings
Component: general
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2012-05-18 15:05 UTC by Osmo Salomaa
Modified: 2012-05-19 08:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Minimal test script (855 bytes, text/x-python)
2012-05-18 15:05 UTC, Osmo Salomaa
Details

Description Osmo Salomaa 2012-05-18 15:05:10 UTC
Created attachment 214337 [details]
Minimal test script

Trying to use Gtk.TreeViewColumn.set_cell_data_func results in a segfault when using Python 3. Python 2 works as expected. Attaching a minimal test.
Comment 1 Martin Pitt 2012-05-18 15:50:37 UTC
This test case works for me.

I'm 95% sure that this is bug 669157. This was a bug in Debian/Ubuntu's Python 3 package (http://bugs.debian.org/665359). It is fixed in the updates for 12.04, but not yet in Debian.

Can you please confirm you are running Debian?
Comment 2 Osmo Salomaa 2012-05-18 16:10:18 UTC
Yes, I'm running Debian unstable.
Comment 3 Osmo Salomaa 2012-05-19 00:36:45 UTC
I recompiled python3.2 myself with those fixes from Ubuntu. The test case works for me now.
Comment 4 Martin Pitt 2012-05-19 08:19:44 UTC

*** This bug has been marked as a duplicate of bug 669157 ***