Description of problem: With Fedora 34 LXDE, programs which are expected to be launched automatically specified by autostart desktop files (such as /usr/share/gnome/autostart/libcanberra-login-sound.desktop) won't launch after LXDE session starts. Further investigation shows that "lxsession-xdg-autostart" program (in lxsession), which is expected to parse desktop files and launch programs accordingly, is segfaulting. Version-Release number of selected component (if applicable): lxsession-0.5.5-6.D20210130git8543c00a.fc35.x86_64 glib2-2.67.5-1.fc34.x86_64 How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: $ gdb ./lxsession-xdg-autostart GNU gdb (GDB) Fedora 10.1-7.fc34 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./lxsession-xdg-autostart... (gdb) r Starting program: /home/tasaka1/rpmbuild/fedora-specific/LXDE/lxsession/rawhide/lxsession-0.5.5/lxsession/xdg-autostart/lxsession-xdg-autostart [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. g_key_file_locale_is_interesting (locale=0x555555569940 "ja_JP", key_file=0x555555568800) at ../glib/gkeyfile.c:1241 1241 for (i = 0; key_file->locales[i] != NULL; i++) Missing separate debuginfos, use: dnf debuginfo-install libffi-3.1-28.fc34.x86_64 pcre-8.44-3.fc34.1.x86_64 (gdb) bt #0 g_key_file_locale_is_interesting (locale=0x555555569940 "ja_JP", key_file=0x555555568800) at ../glib/gkeyfile.c:1241 #1 g_key_file_parse_key_value_pair (error=0x7fffffffcc40, length=<optimized out>, line=<optimized out>, key_file=0x555555568800) at ../glib/gkeyfile.c:1427 #2 g_key_file_parse_line (error=0x7fffffffcc38, length=<optimized out>, line=<optimized out>, key_file=0x555555568800) at ../glib/gkeyfile.c:1273 #3 g_key_file_flush_parse_buffer (key_file=key_file@entry=0x555555568800, error=error@entry=0x7fffffffcca0) at ../glib/gkeyfile.c:1542 #4 0x00007ffff7ebdd3c in g_key_file_parse_data (key_file=0x555555568800, data=0x7fffffffcda0 "\n[Desktop Entry]\nType=Application\nName=GNOME Login Sound\nExec=/usr/bin/canberra-gtk-play --id=\"desktop-login\" --description=\"GNOME Login\"\nOnlyShowIn=GNOME;\nAutostartCondition=GNOME /desktop/gnome/soun"..., length=384, error=0x7fffffffcd08) at ../glib/gkeyfile.c:1496 #5 0x00007ffff7ebdfb9 in g_key_file_load_from_fd (key_file=key_file@entry=0x555555568800, fd=fd@entry=3, flags=flags@entry=G_KEY_FILE_NONE, error=error@entry=0x7fffffffddf0) at ../glib/gkeyfile.c:857 #6 0x00007ffff7ebe0b4 in g_key_file_load_from_file (key_file=key_file@entry=0x555555568800, file=<optimized out>, flags=flags@entry=G_KEY_FILE_NONE, error=error@entry=0x0) at ../glib/gkeyfile.c:924 #7 0x00005555555567d1 in launch_autostart_file (desktop_id=<optimized out>, desktop_file=<optimized out>, kf=0x555555568800) at xdg-autostart/xdg-autostart.c:180 #8 0x00007ffff7ea94f8 in g_hash_table_foreach (hash_table=0x55555555b1e0 = {...}, func=0x5555555567a0 <launch_autostart_file>, user_data=0x555555568800) at ../glib/ghash.c:2065 #9 0x0000555555556af6 in xdg_autostart (de_name_arg=<optimized out>) at xdg-autostart/xdg-autostart.c:317 #10 0x0000555555556677 in lxsession_main_main (args_length1=<optimized out>, args=<optimized out>) at xdg-autostart/main.c:129 #11 main (argc=<optimized out>, argv=<optimized out>) at xdg-autostart/main.c:145 (gdb) p *key_file $1 = {groups = 0x555555566b60 = {0x555555566b80, 0x555555566e20}, group_hash = 0x55555555b8c0 = {[0x555555569c20 "Desktop Entry"] = 0x555555566b80}, start_group = 0x555555566b80, current_group = 0x555555566b80, parse_buffer = 0x555555566ba0, list_separator = 59 ';', flags = G_KEY_FILE_NONE, checked_locales = 1, locales = 0x0, ref_count = 1} Expected results: autostart programs should be launched properly Additional info: https://github.com/lxde/lxsession/pull/27
FEDORA-2021-cced8e2033 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-cced8e2033
Proposed as a Freeze Exception for 34-beta by Fedora user mtasaka using the blocker tracking app because: Autostart programs are supposed to run properly on destop, Not working affects user usability seriously.
FEDORA-2021-cced8e2033 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-cced8e2033` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-cced8e2033 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
+3 in https://pagure.io/fedora-qa/blocker-review/issue/306 , marking accepted.
Can folks please test the LXDE from Beta RC2: https://dl.fedoraproject.org/pub/alt/stage/34_Beta-1.2/Spins/x86_64/iso/Fedora-LXDE-Live-x86_64-34_Beta-1.2.iso and confirm the fix, and add karma on the update if everything is OK? Thanks!
FEDORA-2021-cced8e2033 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.