Meld crashes when selecting the first directory to compare

Bug #1250631 reported by vmagnin
58
This bug affects 11 people
Affects Status Importance Assigned to Milestone
anjuta (Ubuntu)
Confirmed
Undecided
Unassigned
meld (Ubuntu)
Fix Released
Undecided
Unassigned
meld (openSUSE)
New
Undecided
Unassigned

Bug Description

I open Meld 1.8.1-1 (Kubuntu 13.10), I click on "Directory comparison", then I try to select the first directory and Meld crashes. From command line, I obtain the following messages:

$ meld

/usr/bin/meld:167: GtkWarning: gtk_tree_model_filter_get_value: assertion 'GTK_TREE_MODEL_FILTER (model)->priv->stamp == iter->stamp' failed
  gtk.main()
/usr/bin/meld:167: Warning: /build/buildd/glib2.0-2.38.1/./gobject/gtype.c:4215: type id '0' is invalid
  gtk.main()
/usr/bin/meld:167: Warning: can't peek value table for type '<invalid>' which is not currently referenced
  gtk.main()
Erreur de segmentation (core dumped)

Meld crashes also when I click on "Version control view".
But "File comparison" is working.

Revision history for this message
vmagnin (vincent-magnin) wrote :

The directory comparison works fine launching meld with command line:
meld directory1 directory2

The bug is thus probably related to the directory selection window.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in meld (Ubuntu):
status: New → Confirmed
Revision history for this message
uNickus (astatest) wrote :

Meld 1.8.4 + kubuntu 14.04 (3.13.0-30-generic x86_64)

/usr/bin/meld:172: GtkWarning: gtk_tree_model_filter_get_value: assertion 'GTK_TREE_MODEL_FILTER (model)->priv->stamp == iter->stamp' failed
  gtk.main()
/usr/bin/meld:172: Warning: /build/buildd/glib2.0-2.40.0/./gobject/gtype.c:4210: type id '0' is invalid
  gtk.main()
/usr/bin/meld:172: Warning: can't peek value table for type '<invalid>' which is not currently referenced
  gtk.main()

Revision history for this message
wcg (wcg) wrote :

Meld 1.8.4 + Kubuntu 14.04

An workaround that worked for me is to change the gtk theme. In Kubuntu go to "System and Settings" -> "Application Appearance" -> "GTK" -> "Select a GTK2 Theme", and change the theme.

Revision history for this message
vmagnin (vincent-magnin) wrote :

I confirm wcg's workaround. With the oxygen-gtk theme, meld crashes when selecting the first directory to compare. With the not so pretty Raleigh gtk2 theme, it works fine.

Meld 1.8.4 + Kubuntu 14.04

Revision history for this message
Daniel Semblano (dsemblano) wrote :

I can confirm this too, Meld 1.8.6 + Kubuntu 14.04. I did as wcg said and worked.

Revision history for this message
uNickus (astatest) wrote :

I have find additional workaround:
work with GTK3 by running of directory comparision from console, like
meld <dir1> <dir2>

GTK2 themes are so terrible :(

And i check this problem on devel version 3.11.3 with following requirements:

Python 2.7 (Python 3 not yet supported)
GTK+ 3.6
GLib 2.34
PyGObject 3.8
GtkSourceView 3.6

And got:
(meld:25034): Gtk-CRITICAL **: gtk_tree_model_filter_get_value: assertion 'GTK_TREE_MODEL_FILTER (model)->priv->stamp == iter->stamp' failed
/usr/bin/meld:227: Warning: /build/buildd/glib2.0-2.40.0/./gobject/gtype.c:4210: type id '0' is invalid
  status = meld.meldapp.app.run(sys.argv)
/usr/bin/meld:227: Warning: can't peek value table for type '<invalid>' which is not currently referenced
  status = meld.meldapp.app.run(sys.argv)
Segmentation fault (core dumped)

But devel version is unstable, and file compare is not working too, with another error:

TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/meld/diffgrid.py", line 148, in do_size_allocate
    wcols, hrows = self._get_min_sizes()
  File "/usr/lib/python2.7/dist-packages/meld/diffgrid.py", line 211, in _get_min_sizes
    child = self.get_child_at(col, row)
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/meld/gutterrendererchunk.py", line 132, in do_query_data
    self.props.pixbuf = None

Revision history for this message
JungleEditor (subscriptions-ruadesign) wrote :

I have the same issue (Kubuntu/meld 3.12.1-2) - crashes when choosing directory, but $meld <dir1> <dir2> works fine

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in anjuta (Ubuntu):
status: New → Confirmed
Revision history for this message
vmagnin (vincent-magnin) wrote :

The bug is solved in Meld 3.12.3-1 (Kubuntu 15.04 64 bits, GTK+ 3.14.12).

vmagnin (vincent-magnin)
Changed in meld (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Mariano (marianocali) wrote :

I am using Kubuntu 14.04 LTS and Meld it crashes when selecting the first directory to compare.
I try with Meld 1.8 and I download Meld 3.14 and I have the same problem with both.
I try to change oxygen-gtk theme to all the others but crashes also
In a console comparation it works Ok

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.