You are not logged in.

#1 2012-11-15 22:21:04

vwyodajl
Member
Registered: 2012-01-21
Posts: 183

[SOLVED] menu-cache corrupted double-linked list

With todays update to menu-cache it broke openbox-menu for me. I started digging around to see if I could find out the cause, first starting with rebuilding openbox-menu, then rebooted, was still broken after. So I then tried to run openbox-menu in the cli and see if it would output anything useful and was able to find this error

*** glibc detected *** /usr/lib/menu-cache/menu-cached: corrupted double-linked list: 0x08dafad0 ***

I was able to fix this by downgrading menu-cache to the previous version and was able to use things relying on menu-cache again. Not sure if this is truly a menu-cache issue or if this is openbox-menu. But figured I would post this and how to do a workaround if anyone else sees this.

edit: Mine is a new install as of a few days ago.

edit: Marking as solved since its an AUR package and not supported and the listed work around solves the issue with the new versions. You can find the workaround here

Last edited by vwyodajl (2012-11-17 22:07:28)

Offline

#2 2012-11-15 22:48:43

DaveCode
Member
Registered: 2008-08-15
Posts: 103

Re: [SOLVED] menu-cache corrupted double-linked list

The latest menu-cache broke openbox-menu here too. My error was different. I was testing a desktop fix to ripperX and now get

openbox-menu: error while loading shared libraries: libmenu-cache.so.1: cannot open shared object file: No such file or directory

Files under /lib/libmenu* currently show

libmenu-cache.so
libmenu-cache.so.2
libmenu-cache.so.2.0.0
libmenuw.a
libmenuw.so.5.9
libmenuw.so
libmenuw.so.5
libmenu.a
libmenu.so

It's a pure systemd box installed about two months ago, clean. Did the menu-cache upgrade as part of normal pacman -Syu operations. Only had two items to upgrade.

Offline

#3 2012-11-16 07:46:53

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,770

Re: [SOLVED] menu-cache corrupted double-linked list

Got the same problem here, downgraded menu-cache to 3.3 and openbox-menu works again, need to check if openbox-menu package needs rebuilding...


Mr Green

Offline

#4 2012-11-16 08:44:01

vwyodajl
Member
Registered: 2012-01-21
Posts: 183

Re: [SOLVED] menu-cache corrupted double-linked list

Mr Green wrote:

Got the same problem here, downgraded menu-cache to 3.3 and openbox-menu works again, need to check if openbox-menu package needs rebuilding...

I tried doing a rebuild with packer and it gave me the same issue. At least the quick test did not for me, have not really had that much time to dig into it.

edit:made a more complete sentence

Last edited by vwyodajl (2012-11-16 08:45:13)

Offline

#5 2012-11-16 08:50:48

DaveCode
Member
Registered: 2008-08-15
Posts: 103

Re: [SOLVED] menu-cache corrupted double-linked list

A fresh rebuild from AUR got rid of my shared library error. However the program still fails. Haven't tried menu-cache changes.

Offline

#6 2012-11-16 10:35:02

deniolp
Member
From: Russia
Registered: 2012-09-11
Posts: 24
Website

Re: [SOLVED] menu-cache corrupted double-linked list

The same problem.. Only downgrading helps.. Waiting for the fix of problem.
Mine is not new install but problem the same..
https://bugs.archlinux.org/task/32701?p … menu-cache

Last edited by deniolp (2012-11-16 10:43:10)


Arch Xfce @有志者事竟成@

Offline

#7 2012-11-16 11:08:20

deniolp
Member
From: Russia
Registered: 2012-09-11
Posts: 24
Website

Re: [SOLVED] menu-cache corrupted double-linked list

Uups!  http://blog.lxde.org/?p=963
The release (0.4.0-1) tar file was missing a file! So the next 0.4.1 have no problem! (I guess..)


Arch Xfce @有志者事竟成@

Offline

#8 2012-11-17 03:03:50

her999
Member
Registered: 2012-10-26
Posts: 2

Re: [SOLVED] menu-cache corrupted double-linked list

yaourt -U http://mirrors.sohu.com/archlinux/community/os/i686/menu-cache-0.3.3-1-i686.pkg.tar.xz

or

yaourt -U http://mirrors.sohu.com/archlinux/community/os/x86_64/menu-cache-0.3.3-1-x86_64.pkg.tar.xz

Offline

#9 2012-11-17 06:21:56

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [SOLVED] menu-cache corrupted double-linked list

It also makes lxpanel not start as well. Downgrading solves it.

Offline

#10 2012-11-17 12:23:18

Barthalion
Developer
From: Poland
Registered: 2010-02-26
Posts: 109

Re: [SOLVED] menu-cache corrupted double-linked list

I've rebuilt and tested every package (in [community]!) depending on menu-cache and no problems here. Get used to the fact that AUR is unsupported.

deniolp wrote:

The release (0.4.0-1) tar file was missing a file! So the next 0.4.1 have no problem! (I guess..)

And how do you imagine compiling menu-cache with missing header file? Please, next time take a look at our svn.

swanson wrote:

It also makes lxpanel not start as well. Downgrading solves it.

Lxpanel fails to run only if you don't know how to handle upgrades. Sorry. smile


Arch Linux - rolling release distro, which users want to downgrade to the previous version

Offline

#11 2012-11-17 13:44:35

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,770

Re: [SOLVED] menu-cache corrupted double-linked list

Downgrading menu-cache will allow openbox-menu to work but pcmanfm then does not run. Once I upgraded menu-cache then pcmanfm works again. Openbox-menu will need updating, as stated its AUR so unsupported by Arch devs..

AUR page for openbox-menus gives details on how to get it working again

Last edited by Mr Green (2012-11-17 14:11:00)


Mr Green

Offline

#12 2012-11-17 17:21:02

bobpaul
Member
Registered: 2012-02-11
Posts: 7

Re: [SOLVED] menu-cache corrupted double-linked list

her999 wrote:
yaourt -U http://mirrors.sohu.com/archlinux/community/os/x86_64/menu-cache-0.3.3-1-x86_64.pkg.tar.xz

Even after doing this, I still get "openbox-menu: error while loading shared libraries: libmenu-cache.so.2: cannot open shared object file: No such file or directory"

Edit There we go. made a symlink "libmenu-cache.so.2" pointing at /usr/lib/libmenu-cache.so.1.0.0. Now it works, hopefully without unintended breakage wink

Last edited by bobpaul (2012-11-17 17:23:52)

Offline

#13 2012-11-17 19:31:25

deniolp
Member
From: Russia
Registered: 2012-09-11
Posts: 24
Website

Re: [SOLVED] menu-cache corrupted double-linked list

Mr Green wrote:

Downgrading menu-cache will allow openbox-menu to work but pcmanfm then does not run.

Downgrading of libfm solves it..


Arch Xfce @有志者事竟成@

Offline

#14 2012-11-18 16:41:15

ubuntubang
Member
Registered: 2012-03-28
Posts: 17

Re: [SOLVED] menu-cache corrupted double-linked list

hi guys, here a solution found in archbang forum
http://bbs.archbang.org/viewtopic.php?id=3612

Latest menu-cache update breaks openbox-menu. You will need to do a couple of things to get it working again

1) Edit autostart add the following

openbox-menu -p -o applications.xml -t 'lxterminal -e' &

2) Edit menu.xml

 <menu id="apps" label="Applications" execute="cat ~/.cache/applications.xml" />

Log out and enjoy

Offline

Board footer

Powered by FluxBB