GNOME Bugzilla – Bug 639917
[PATCH] Crash inserting integers into TreeStore
Last modified: 2011-03-22 22:29:20 UTC
Created attachment 178681 [details] [review] Convert integer columns to strings Meld crashes starting a dir diff when it tries to set the state in the TreeStore. The state is an integer and the tree store only has string columns. My guess is GTK/PyGTK has got more picky at some point. The attached patch just converts these integers to strings. Downstream bug: https://bugs.launchpad.net/ubuntu/+source/meld/+bug/703603
I think the commit in question is probably: http://git.gnome.org/browse/pygtk/commit/?id=6aedd7dbb30e52a10a0379d95e0e8b26bd7be84e
Created attachment 179622 [details] [review] Patch I've adapted the original patch to also fix the problem for Error rows, and fixed some issues with the original patch (carried over from the original code, not the patch's fault). However, I can't actually reproduce the bug here. Can I get confirmation that this new patch actually fixes the bug? (Specifically, the pygtk code looks like it will happily store None in a String column, but I'd like to be sure.)
I'm just going to assume that the patch works. I've pushed it to HEAD. Please reopen if the problem remains.
*** Bug 645473 has been marked as a duplicate of this bug. ***