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 343213 - switching between GtkTreeView crashes
switching between GtkTreeView crashes
Status: RESOLVED DUPLICATE of bug 327164
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
2.8.x
Other All
: Normal critical
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks:
 
 
Reported: 2006-05-28 17:22 UTC by Florian Steinel
Modified: 2006-07-01 18:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
gtktreeview-bug.tar.bz2 (27.93 KB, application/octet-stream)
2006-05-28 17:26 UTC, Florian Steinel
Details

Description Florian Steinel 2006-05-28 17:22:27 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
Comment 1 Florian Steinel 2006-05-28 17:26:23 UTC
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
Comment 2 Kristian Rietveld 2006-05-28 22:43:00 UTC
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.
Comment 3 Kristian Rietveld 2006-06-28 11:10:56 UTC
With switching between GtkTreeView, do you mean switching models with gtk_tree_view_set_model()?
Comment 4 Florian Steinel 2006-06-28 18:22:40 UTC
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
Comment 5 Kristian Rietveld 2006-06-30 18:00:36 UTC
Ah, this looks like a duplicate of #327164 then.  Could you try if the patch in that bug fixes the issues?
Comment 6 Florian Steinel 2006-06-30 21:59:39 UTC
That patch seems to bee includes in gtk+-2.8.19, if so i'm sorry the answer is no.
Comment 7 Kristian Rietveld 2006-07-01 12:10:15 UTC
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.
Comment 8 Florian Steinel 2006-07-01 13:17:00 UTC
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 ***
Comment 9 Kristian Rietveld 2006-07-01 18:18:59 UTC
Great, thanks for testing!