Mintmenu broken after upgrading from backports on LM13

Bug #1261862 reported by ThorX89
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Linux Mint
Won't Fix
Undecided
Unassigned

Bug Description

OS: LM13

How to reproduce:
1) Install updates from backports
2) See whole system go haywire and fix it by purgin and installing appropriate MATE packages in Synaptic (to simplify, cuz my system didn't even have a working GUI after the upgrade)
3) Have all your settings gone and partially fix it by running the script from https://raw.github.com/mate-desktop/mate-desktop/master/tools/mate-conf-import
4) Watch how mintmenu still fails to load

Running mintmenu from the terminal results in the following error message:
/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:47: RuntimeWarning: You have imported the Gtk 2.0 module. Because Gtk 2.0 was not designed for use with introspection some of the interfaces and API will fail. As such this is not supported by the pygobject development team and we encourage you to port your app to Gtk 3 or greater. PyGTK is the recomended python module to use with Gtk 2.0
  warnings.warn(warn_msg, RuntimeWarning)

This relates to mintmenu 5.5, though the same error message appears if i do
$ usr/bin/mintmenu
in what I get from https://github.com/linuxmint/mintmenu

Tags: maya mintmenu
ThorX89 (thorx89)
tags: added: maya
tags: added: mintmenu
Revision history for this message
Esben Hansen (esben-haegg) wrote :

Hi!
-Got the exactly same problem. On all of my three desktop PCs running Maya.
Tried to re-install mintmenu, but Terminal told me, that it already was present. I can't figure out how to get i back in function :-(
When adding XfApplet to panel, I expectet to be able to re-activate mintmenu from "properties" - "choose applet" in XfApplet, but it didn't show.

Revision history for this message
Vlad Orlov (monsta) wrote :

@Esben: xfapplet is not compatible with MATE 1.6 and so with the new mintMenu. Downgrade mintMenu to make it work with xfapplet again (see http://blog.linuxmint.com/?p=2524#comment-103659)

Revision history for this message
Esben Hansen (esben-haegg) wrote :

@Monsta: Thanks, but it didn't help much. I ran command: "sudo apt install mintmenu=5.3.7" -and it did something, but it still doesn't show in XfApplet as it used to before the upgrade.
I've never tried to downgrade before. Are there more to it, than the "sudo apt install mintmenu=5.3.7" ?

As for now I've settled with the XFCE-menu.

Revision history for this message
Esben Hansen (esben-haegg) wrote :

After reboot, I got a Package with mint-menu.
-But still not visible in XfApplet.....

Revision history for this message
Vlad Orlov (monsta) wrote :

I think you should write about it at the forums, someone there may know how to solve this.

Revision history for this message
Vlad Orlov (monsta) wrote :

This bug report needs more info.
How is mintMenu "broken" exactly? Does the applet load or not? Do you see any error messages (the mentioned RuntimeWarning is NOT an error message, it's a warning)?

If you see it crash, post the output of:
dmesg | tail

Changed in linuxmint:
status: New → Incomplete
Revision history for this message
ThorX89 (thorx89) wrote :

Hi, I still haven't got it fixed on my main machine (64bit Mint 13), though I've also upgraded my netbook (32bit Mint 13, everything else (configs -- I sync my $HOME folders, most programs ) pretty much the same as my main machine) and Mintmenu didn't break there .

The applet doesn't load. When I add it to the panel, I get an Error window with:

"mintMenu" has quit unexpectedly
If you reload a panel object, it will automatically be added back to the panel.

My output of `dmesg|tail` after hitting "Reload" a couple of times is:
[60114.762699] show_signal_msg: 54 callbacks suppressed
[60114.762714] mintmenu[27204]: segfault at fffffffff00065e0 ip 00007efefee0c108 sp 00007fffe99983e0 error 4 in libgobject-2.0.so.0.3200.4[7efefedf3000+4d000]
[60120.960522] mintmenu[27240]: segfault at ffffffffb40065e0 ip 00007fcdbfdeb108 sp 00007fff184bd580 error 4 in libgobject-2.0.so.0.3200.4[7fcdbfdd2000+4d000]
[60159.581447] mintmenu[27327]: segfault at ffffffffb80065e0 ip 00007f2cc4120108 sp 00007fffe78c95f0 error 4 in libgobject-2.0.so.0.3200.4[7f2cc4107000+4d000]
[60176.057400] mintmenu[27356]: segfault at 80065e0 ip 00007fa9143df108 sp 00007fff0b447210 error 4 in libgobject-2.0.so.0.3200.4[7fa9143c6000+4d000]
[60184.527058] mintmenu[27381]: segfault at ffffffffec0065e0 ip 00007f08f8894108 sp 00007fff288a0c40 error 4 in libgobject-2.0.so.0.3200.4[7f08f887b000+4d000]
[60189.775388] mintmenu[27403]: segfault at ffffffffcc0065e0 ip 00007f40d9dad108 sp 00007ffff98fd0a0 error 4 in libgobject-2.0.so.0.3200.4[7f40d9d94000+4d000]
[60195.297281] mintmenu[27426]: segfault at ffffffffec0065e0 ip 00007f11fb072108 sp 00007fffed57d780 error 4 in libgobject-2.0.so.0.3200.4[7f11fb059000+4d000]
[60199.527552] mintmenu[27448]: segfault at ffffffffb80065e0 ip 00007fa9c5e5d108 sp 00007ffff1fb2730 error 4 in libgobject-2.0.so.0.3200.4[7fa9c5e44000+4d000]
[60204.859509] mintmenu[27470]: segfault at ffffffff800065e0 ip 00007fcf8ed36108 sp 00007fffda275090 error 4 in libgobject-2.0.so.0.3200.4[7fcf8ed1d000+4d000]

Revision history for this message
Vlad Orlov (monsta) wrote :

Aha, got it. I can't reproduce it with mintMenu 5.5.0, but 5.5.2 (which is now in beta) on a fresh Mint 13 install with all updates and backports gives me the same segfault.
I already reported it to Clem, but we're not sure what exactly happens. Can't promise anything, but we'll try to look into it.

Changed in linuxmint:
status: Incomplete → Confirmed
Revision history for this message
Pedro Monteiro (regie) wrote :

Thanks for the update. I have had to resort to Mate Menu as a workaround since December, and I really miss the incremental search filter from Mint Menu. Digging through submenus to look for something is time consuming.

Revision history for this message
Vlad Orlov (monsta) wrote :

Ok, looks like mintMenu hit a nasty bug in pygobject: https://bugzilla.gnome.org/show_bug.cgi?id=633927

Revision history for this message
Vlad Orlov (monsta) wrote :

Should be fixed now in git.

Changed in linuxmint:
status: Confirmed → Fix Committed
Revision history for this message
ThorX89 (thorx89) wrote :

Thanks for the fix, Monsta. Will this get pushed to the standard update repo for Mint 13? How can I "install" the fixed version?

Revision history for this message
Vlad Orlov (monsta) wrote :

I think this should be released later.

If you want to test the current version:
- download the archive from github - https://github.com/linuxmint/mintmenu/archive/master.zip
- unpack it
- cd mintmenu-master
- apt install dpkg-dev
- dpkg-buildpackage
- sudo gdebi ../*mintmenu*.deb

Revision history for this message
ThorX89 (thorx89) wrote :

Thanks. Managed to get the deb package built and installed (did `apt-get purge mintmenu` first). Unfortunately, I'm still getting those same errors and the same segfaults (with different. mem addresses, which I believe, is to be expected). :(

Hopefully, it'll work in the next LTS version of Mint.

Revision history for this message
Vlad Orlov (monsta) wrote :

Hmm, this shouldn't be so. Did you logout/login after updating the package? Or just reboot.
Try also removing the menu from the panel and then re-add it.

Revision history for this message
Vlad Orlov (monsta) wrote :

Ok, since there was no reply for almost 20 days, and mintMenu 5.5.3 is now officially in Mint 13 backports, I'm closing this as fixed.

Changed in linuxmint:
status: Fix Committed → Fix Released
Revision history for this message
Pedro Monteiro (regie) wrote :

My mintmenu is still not working after applying the backport of mintmenu 5.5.3 to my linux mint 13.

$ mintmenu
/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:47: RuntimeWarning: You have imported the Gtk 2.0 module. Because Gtk 2.0 was not designed for use with introspection some of the interfaces and API will fail. As such this is not supported by the pygobject development team and we encourage you to port your app to Gtk 3 or greater. PyGTK is the recomended python module to use with Gtk 2.0
  warnings.warn(warn_msg, RuntimeWarning)

Can this issue be reopened?

Revision history for this message
ThorX89 (thorx89) wrote :

I'm still experiencing the issue, even after a clean upgrate (after `apt-get purge`) to 5.5.3 from the official backports repo.

It's still the same segfault:
[ 206.581772] mintmenu[4365]: segfault at 540065e0 ip 00007fe7621d6108 sp 00007fff6b8659c0 error 4 in libgobject-2.0.so.0.3200.4[7fe7621bd000+4d000]
[ 206.997246] mintmenu[4375]: segfault at ffffffffd00065e0 ip 00007f3add7b9108 sp 00007fff3f1185a0 error 4 in libgobject-2.0.so.0.3200.4[7f3add7a0000+4d000]
[ 207.547538] mintmenu[4385]: segfault at ffffffff8c0065e0 ip 00007f9797f4a108 sp 00007fffd0805240 error 4 in libgobject-2.0.so.0.3200.4[7f9797f31000+4d000]
[ 209.026976] mintmenu[4398]: segfault at ffffffffec0065e0 ip 00007f6afa038108 sp 00007ffff7bc54d0 error 4 in libgobject-2.0.so.0.3200.4[7f6afa01f000+4d000]
[ 209.568271] mintmenu[4408]: segfault at ffffffff900065e0 ip 00007f059e2da108 sp 00007fff2490ec10 error 4 in libgobject-2.0.so.0.3200.4[7f059e2c1000+4d000]
[ 560.666076] mintmenu[4680]: segfault at ffffffffcc0065e0 ip 00007f5cd9827108 sp 00007fff4567c9d0 error 4 in libgobject-2.0.so.0.3200.4[7f5cd980e000+4d000]
[ 562.301405] mintmenu[4690]: segfault at ffffffffe80065e0 ip 00007f88f45ee108 sp 00007fffb5098730 error 4 in libgobject-2.0.so.0.3200.4[7f88f45d5000+4d000]
[ 562.743668] mintmenu[4700]: segfault at c0065e0 ip 00007fa61a20f108 sp 00007fff6f738ce0 error 4 in libgobject-2.0.so.0.3200.4[7fa61a1f6000+4d000]
[ 563.736046] mintmenu[4713]: segfault at ffffffffdc0065e0 ip 00007f08e954e108 sp 00007fff00894ca0 error 4 in libgobject-2.0.so.0.3200.4[7f08e9535000+4d000]
[ 565.184181] mintmenu[4723]: segfault at ffffffffcc0065e0 ip 00007f5edaa76108 sp 00007ffff2990950 error 4 in libgobject-2.0.so.0.3200.4[7f5edaa5d000+4d000]

I tried upgrading my second 64bit Mint 13, which is on another, differently configured computer (closer to a clean install), and I'm getting the same segfaults there too.

Revision history for this message
Vlad Orlov (monsta) wrote :

Ok, reopening it, but this time I can't reproduce it at all. I've already removed the functions that hit a bug in pygobject library and therefore caused the segfault. I don't know where else to look.

You'll probably have to wait for Mint 17 LTS release - pygobject is fixed there so mintMenu should work fine.

Revision history for this message
Vlad Orlov (monsta) wrote :

Whoops, I spoke too soon. I don't have the rights to reopen it. Probably only the reporter can do it.

ThorX89 (thorx89)
Changed in linuxmint:
status: Fix Released → Confirmed
Revision history for this message
lipki (kevin-lepeltier) wrote :

I reopen sorry :(

/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:50: RuntimeWarning: You have imported the Gtk 2.0 module. Because Gtk 2.0 was not designed for use with introspection some of the interfaces and API will fail. As such this is not supported by the pygobject development team and we encourage you to port your app to Gtk 3 or greater. PyGTK is the recomended python module to use with Gtk 2.0
  warnings.warn(warn_msg, RuntimeWarning)

Changed in linuxmint:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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