Andrej,
thanks for your help and time! And sorry for taking so much time to
answer you. Your commit fixed my problem with lxqt-runner, very nice.
And now I can open lxqt-panel's main menu as well. But there is another
problem: http://mediacrush.net/tAhfQYRyHmlb (picture). Another segfault.
(gdb) bt full
#0 0x00007ffff6fe75df in rawmemchr () from /usr/lib/libc.so.6
No symbol table info available.
#1 0x00007ffff6fd2af2 in _IO_str_init_static_internal () from
/usr/lib/libc.so.6
No symbol table info available.
#2 0x00007ffff6fc33d7 in __isoc99_vsscanf () from /usr/lib/libc.so.6
No symbol table info available.
#3 0x00007ffff6fc3377 in __isoc99_sscanf () from /usr/lib/libc.so.6
No symbol table info available.
#4 0x00000000004095fa in save_menu_cache (layout=0x7fffec0044c0,
menuname=0x617f70 "/etc/xdg/menus/applications.menu", file=0x6188b0
"/dev/null", with_hidden=0)
at menu-compose.c:1026
de_names = {0x40a8c5 "LXDE", 0x40a8ca "GNOME", 0x40a8d0 "KDE",
0x40a8d4 "XFCE",
0x40a8d9 "ROX"}
f = 0x0
i = 0
#5 0x00000000004033b6 in main (argc=1, argv=0x7fffffffe668) at main.c:149
xmlfile = 0x63a680
opt_ctx = <optimized out>
err = 0x0
menu = <optimized out>
rc = 1
with_hidden = 0
Running menu-cache from git. ~/.config/menus has wine items only.
Thanks again.
Paulo Lieuthier
On 11/03/2014 08:28 PM, Andrej N. Gritsenko wrote:
> Hello!
>
> Florian Hubold has written on Monday, 3 November, at 22:39:
>> 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
> Thank you very much! Fix pushed into GIT. If you can rebuild the
> menu-cache using fixed sources then I believe your issue will be gone.
> The fix will be included into next release of menu-cache.
>
>> 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.
> That is not a problem, not existing menu file will be simply ignored,
> and the crash happened on parsing <KDELegacyDirs/> tag.
>
>> 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?
> lxmenu-data contains lxde-applications.menu which is a desktop menu
> tree of LXDE so if it doesn't exist then no menu will be available, that
> seems to be your issue, right?
>
> Thank you for your help in finding the bug!
>
> With best regards,
> Andriy.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Lxde-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lxde-list
>
>
------------------------------------------------------------------------------
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list