GNOME Bugzilla – Bug 343213
switching between GtkTreeView crashes
Last modified: 2006-07-01 18:18:59 UTC
Steps to reproduce: This only happens with porthole ( http://porthole.sf.net/ ) via pygtk (Porthole is an frontend to www.gentoo.org package management) 1. start porthole 2. select an packages 3. switch to update view 4. open depencies 5. switchback to the first view Stack trace: Other information: http://bugzilla.gnome.org/show_bug.cgi?id=316689 http://thread.gmane.org/gmane.comp.gnome.gtk+.python/7476 http://article.gmane.org/gmane.comp.gnome.gtk%2B.python/8017
Created attachment 66379 [details] gtktreeview-bug.tar.bz2 I found two bug: the bug-5 and bug-6 in the attachment. Gentoo python-2.4.2 pygtk-2.8.2 gtk+-2.8.16 glib-2.10.1 gcc-3.4.5
I don't have access to a gentoo system and the stack traces are not really useful to me. It would be great if you could provide a minimal testcase which reliably reproduces the problem.
With switching between GtkTreeView, do you mean switching models with gtk_tree_view_set_model()?
yes, via self._set_model() in function set_view file views.py . (The callers are in mainwindow.py and views.py). see also: http://porthole.cvs.sourceforge.net/porthole/porthole/mainwindow.py?revision=1.183&view=markup http://porthole.cvs.sourceforge.net/porthole/porthole/views.py?revision=1.52&view=markup
Ah, this looks like a duplicate of #327164 then. Could you try if the patch in that bug fixes the issues?
That patch seems to bee includes in gtk+-2.8.19, if so i'm sorry the answer is no.
No, it's not in any 2.8.x release yet (it will be in the next). But you can try testing against gtk+ cvs head.
YES! With this patch: http://cvs.gnome.org/viewcvs/gtk%2B/gtk/gtktreeview.c?r1=1.556&r2=1.557 ( http://bugzilla.gnome.org/show_bug.cgi?id=327164#c15 ) it is fixed so verified dupe of Bug 327164 . *** This bug has been marked as a duplicate of 327164 ***
Great, thanks for testing!