Am 03.11.2014 um 14:22 schrieb Andrej N. Gritsenko: > Hello! > > Paulo Lieuthier has written on Monday, 3 November, at 10:01: > >> I've recently reinstalled Arch and LXQt components. Since then, I've >> been unable to use lxqt-panel's main menu widget and lxqt-runner's >> .desktop provider because of something being wrong with menu-cache. The >> main menu is not shown at all, and runner doesn't offer proper suggestions. >> If I unninstall menu-cache and recompile both lxqt-panel and >> lxqt-runner, I get the normal behaviour back. But it doens't fix it. And >> I get to lose pcmanfm-qt. Some log: >> $ G_MESSAGES_DEBUG=all /usr/lib/menu-cache/menu-cache-gen -v -i >> /etc/xdg/menus/applications.menu -o /dev/null >> ** (menu-cache-gen:5378): DEBUG: merging the XML directory >> '/etc/xdg/menus/applications-merged' >> ** (menu-cache-gen:5378): DEBUG: merging the XML directory >> '/home/paulo/.config/menus/applications-merged' >> [1] 5378 segmentation fault (core dumped) G_MESSAGES_DEBUG=all >> /usr/lib/menu-cache/menu-cache-gen -v -i -o /dev/null >> $ > First of all, what is the version of menu-cache you are using? If it > isn't 1.0.0 then I would suggest you to upgrade it to 1.0.0, that issue > very probably is fixed already. And if it's 1.0.0 then second question is > if you could show me a stacktrace of your coredump? Also I would like to > see contents of /home/paulo/.config/menus/applications-merged directory > as well. Thanks in advance.
I can reproduce the segfault, here's a backtrace: (gdb) run Starting program: /usr/libexec/menu-cache/menu-cache-gen -o /dev/null -v -i /etc/xdg/menus/applications.menu [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i686/libthread_db.so.1". [New Thread 0xb773bb40 (LWP 15464)] Program received signal SIGSEGV, Segmentation fault. 0xb7db5a04 in fm_xml_file_item_get_tag (item=0x0) at extra/fm-xml-file.c:1433 1433 return item->tag; (gdb) bt full #0 0xffffffff in fm_xml_file_item_get_tag (item=0x0) at extra/fm-xml-file.c:1433 #1 0x0804d369 in _activate_merges (data=0x0, item=0x4, error=0x8085a00) at menu-merge.c:1358 i = 134859280 merged = 0x809ca50 = {0x0} path2 = 0x0 tag = 134765056 #2 0x0804e028 in get_merged_menu (file=0x0, xmlfile=0x0, error=0xbfffee1c) at menu-merge.c:1794 gf = 0x806b428 contents = 0x80754c0 "\240\210ȷ \315\t\ber2/.config/menus/applications-merged" len = 33255 data = {menu = 0x806a1b0 [FmXmlFile], file_path = 0x805f7fa "/etc/xdg/menus/applications-kmenuedit.menu", line = -1, pos = -1} menu = 0x806b428 default_layout = {type = MENU_CACHE_TYPE_NONE, only_unallocated = 0, is_set = -1, show_empty = 0, allow_inline = -1, inline_header = 0, inline_alias = 0, inline_header_is_set = 0, inline_alias_is_set = -1, inline_limit_is_set = -1, nodisplay = 0, items = 0xb7cef0f9 = {0x1f07c381, <error reading variable> def_files = {type = MENU_CACHE_TYPE_NONE, merge_type = MERGE_FILES} def_menus = {type = MENU_CACHE_TYPE_NONE, merge_type = MERGE_MENUS} #3 0x0804a620 in main (argc=1, argv=0xbfffeee4) at main.c:140 xmlfile = 0x0 opt_ctx = <optimized out> err = 0x0 menu = <optimized out> rc = 1 with_hidden = <optimized out> (gdb) Quit This is with menu-cache-1.0.0, and ~/.config/menus doesn't exist. Also the mentioned /etc/xdg/menus/applications-kmenuedit.menu doesn't exist. Apart from the segfault I don't see an issue with the lxqt menus, only under LXDE there seem to be no menu entries. Dumb question: How is lxmenu-data related? Is that also required for LXDE? > >> What's wrong? >> Thanks for the help, >> Paulo Lieuthier > With best regards, > Andriy. > > ------------------------------------------------------------------------------ > _______________________________________________ > Lxde-list mailing list > Lxde-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/lxde-list > ------------------------------------------------------------------------------ _______________________________________________ Lxde-list mailing list Lxde-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxde-list