preprocess_layout_info: assertion failed: (!directory->preprocessed)

Bug #1307729 reported by Pasi Lallinaho
56
This bug affects 9 people
Affects Status Importance Assigned to Milestone
MenuLibre
Fix Released
Critical
Unassigned
gnome-menus
New
Medium
menulibre (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After doing some generic editing in Menulibre and trying to relaunch it, it exits with the error:

ERROR:/build/buildd/gnome-menus-3.10.1/./libmenu/gmenu-tree.c:4022:preprocess_layout_info: assertion failed: (!directory->preprocessed)

Rebooting the system does not help.

Xubuntu 14.04 with Menulibre 2.0.3-1

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: menulibre 2.0.3-1
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic i686
ApportVersion: 2.14.1-0ubuntu2
Architecture: i386
CurrentDesktop: XFCE
Date: Tue Apr 15 00:44:42 2014
InstallationDate: Installed on 2012-03-09 (766 days ago)
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
PackageArchitecture: all
SourcePackage: menulibre
UpgradeStatus: Upgraded to trusty on 2014-04-14 (0 days ago)

Related branches

Revision history for this message
Pasi Lallinaho (knome) wrote :
Revision history for this message
Sean Davis (bluesabre) wrote :

Please attach your broken menu file.

~/.config/menus/xfce4-applications.menu

Changed in menulibre:
status: New → Confirmed
Changed in menulibre (Ubuntu):
status: New → Confirmed
Changed in menulibre:
importance: Undecided → High
Revision history for this message
Pasi Lallinaho (knome) wrote :
Revision history for this message
Sean Davis (bluesabre) wrote :

I am unable to recreate this error. Can you try to copy the bad menu file back and see if it still fails? If yes, can you also install alacarte to see if it crashes on startup?

Thanks!

Revision history for this message
Pasi Lallinaho (knome) wrote :

I get the same error when running Alacarte as well.

Sean Davis (bluesabre)
no longer affects: gnome-menus
Changed in gnome-menus:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
Albert Cutrona (acutbal) wrote :

Hello!!

After reinstalling Ubuntu 14.04 Menulibre crashes, on previous installations of Ubuntu 14.04 worked perfectly. This is the output from terminal:

albert@HPG62:~$ menulibre

(menulibre:3530): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error en la línea 1, carácter 39: « » no es un carácter válido a continuación de los caracteres '</'; « » no debe iniciar un nombre de elemento

(menulibre:3530): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error en la línea 1, carácter 39: « » no es un carácter válido a continuación de los caracteres '</'; « » no debe iniciar un nombre de elemento

(menulibre:3530): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error en la línea 1, carácter 39: « » no es un carácter válido a continuación de los caracteres '</'; « » no debe iniciar un nombre de elemento

(menulibre:3530): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error en la línea 1, carácter 39: « » no es un carácter válido a continuación de los caracteres '</'; « » no debe iniciar un nombre de elemento

(menulibre:3530): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error en la línea 1, carácter 39: « » no es un carácter válido a continuación de los caracteres '</'; « » no debe iniciar un nombre de elemento
**
ERROR:/build/buildd/gnome-menus-3.10.1/./libmenu/gmenu-tree.c:4022:preprocess_layout_info: assertion failed: (!directory->preprocessed)
Abortado (`core' generado)

Best regards!!

Revision history for this message
Mahendra Tallur (mahen) wrote :

Hi ! From a clean Ubuntu 14.04 installation, MenuLibre used to work ; I did a few things meanwhile and it began to crash, likewise. How may I help you debug the issue ? IMHO, this is an important one, especially for an LTS release :)

Thanks everyone !

Revision history for this message
Sean Davis (bluesabre) wrote :

@Mahendra

If you think you can recreate the steps that made the error occur, I'd be happy to work with you to test a solution.

Revision history for this message
Sean Davis (bluesabre) wrote :

Fix committed in trunk.

Changed in menulibre:
status: Confirmed → Fix Committed
Sean Davis (bluesabre)
Changed in menulibre:
importance: High → Critical
Sean Davis (bluesabre)
Changed in menulibre:
milestone: none → 2.0.4
Sean Davis (bluesabre)
Changed in menulibre:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package menulibre - 2.0.4-1

---------------
menulibre (2.0.4-1) unstable; urgency=medium

  * Team upload.
  * New upstream release
    - Fixed preprocess_layout_info segfault (LP: #1307729)
    - Fixed corruption of xfce-applications.menu (LP: #1313276)
    - Fixed menu corruption when saving after search (LP: 1306999)
    - Allow moving launchers into empty categories (LP: #1318209)
    - Install menulibre icon to pixmaps (LP: #1307469)
    - Update launcher categories on move (LP: #1313586)
    - Fixed deleted launchers being replaced by others (LP: #1315890)
    - Uninstall launchers from custom categories (LP: #1318235)
    - Escape spaces in Exec after browsing (LP: #1214815)
    - Restore previous view after search (LP: #1307000)
    - Enable X-Xfce-Toplevel category in Xfce (LP: #1309468)
    - Do not add X-Xfce-Toplevel to new directories (LP: #1315874)
    - Allow saving when entries are modified (LP: #1315878)
  * debian/control
    - Add xdg-utils to depends, hard dependency (LP: #1307481)

 -- Sean Davis <email address hidden> Tue, 13 May 2014 22:28:42 -0400

Changed in menulibre (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Pasi, or anyone else affected,

Accepted menulibre into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/menulibre/2.0.4-1~ubuntu14.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Pasi Lallinaho (knome)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of the Stable Release Update for menulibre has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.