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 676283 - Gtk.TreeView.set_search_equal_func segfaults on Python 3
Gtk.TreeView.set_search_equal_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-17 22:18 UTC by Osmo Salomaa
Modified: 2012-05-19 08:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


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

Description Osmo Salomaa 2012-05-17 22:18:18 UTC
Created attachment 214282 [details]
Minimal test script

If a search function has been set with Gtk.TreeView.set_search_equal_func, then actually trying to do a search will result in a segfault on Python 3. On Python 2 it works as expected. Attaching a minimal test.
Comment 1 Martin Pitt 2012-05-18 15:50:32 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:27 UTC
Yes, I'm running Debian unstable.
Comment 3 Osmo Salomaa 2012-05-19 00:37:27 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:35 UTC

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