Skip to content

Fail to boot after updating glib to 2.86.0 #130

Closed

Description

@fulalas

Distribution

PorteuX 2.3 dev

Package version

6.4.11

Graphics hardware in use

AMD 780M

Frequency

Always

Bug description

After updating glib to 2.86.0, Cinnamon fails to load the desktop properly, missing the panel, compositor, etc.

Steps to reproduce

Just boot into the desktop.

Expected behavior

The desktop should load with the panel, compositor, etc.

Additional information

New glib 2.86.0 has broken its API (again...).

This was reported in some places, including

https://gitlab.gnome.org/GNOME/glib/-/issues/3776
CinnamonSlackBuilds/csb#81

Activity

  1. leigh123linux commented on Sep 9, 2025

    @leigh123linux
    Member

    Don't hold your breath for a early fix, it's likely to be months before it's looked at.

    $ rpm -q glib2
    glib2-2.85.4-1.fc43.x86_64
    
  2. leigh123linux commented on Sep 9, 2025

    @leigh123linux
    Member

    Moved to cjs, it doesn't even look like slack bothered to rebuild cjs, of course it's going to fail if you don't :-(

  3. fulalas commented on Sep 9, 2025

    @fulalas
    Author

    I rebuilt everything from scratch against new glib 2.86.0 and the issue still happens.

  4. leigh123linux commented on Sep 9, 2025

    @leigh123linux
    Member

    I rebuilt everything from scratch against new glib 2.86.0 and the issue still happens.

    Did you include the tests when you built it, Introspection failing could cause cinnamon to crash.

     1/71 cjs:JS / self                        OK               0.07s   6 subtests passed
     2/71 cjs:JS / Exceptions                  OK               0.08s   27 subtests passed
     3/71 cjs:JS / Cairo                       OK               0.13s   43 subtests passed
     4/71 cjs:Scripts / CommandLineModules     OK               0.14s   3 subtests passed
     5/71 cjs:JS / Format                      OK               0.07s   12 subtests passed
     6/71 cjs:JS / Fundamental                 OK               0.07s   10 subtests passed
     7/71 cjs:JS / Gettext                     OK               0.05s   1 subtests passed
     8/71 cjs:Scripts / Warnings               OK               0.20s   3 subtests passed
     9/71 cjs:JS / GLib                        OK               0.07s   49 subtests passed
    10/71 cjs:JS / Gio                         OK               0.10s   40 subtests passed
    11/71 cjs:JS / GObject                     OK               0.10s   24 subtests passed
    12/71 cjs:JS / GObjectInterface            OK               0.07s   37 subtests passed
    13/71 cjs:JS / GObjectClass                OK               0.13s   129 subtests passed
    14/71 cjs:JS / GObjectValue                OK               0.10s   137 subtests passed
    15/71 cjs:JS / GTypeClass                  OK               0.06s   8 subtests passed
    16/71 cjs:JS / Importer2                   OK               0.05s   4 subtests passed
    17/71 cjs:JS / Importer                    OK               0.08s   38 subtests passed
    18/71 cjs:JS / GIMarshalling               OK               0.26s   516 subtests passed
    19/71 cjs:JS / Lang                        OK               0.06s   9 subtests passed
    20/71 cjs:JS / LegacyByteArray             OK               0.06s   29 subtests passed
    ▶ 21/71 Backwards compatibility for GLib/Gio platform specific GIRs GioUnix objects are looked up in GioUnix, not Gio FAIL          
    22/71 cjs:JS / LegacyClass                 OK               0.07s   62 subtests passed
    21/71 cjs:JS / Introspection               FAIL             0.13s   19/20 subtests passed
    >>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 GJS_DEBUG_TOPICS='' UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 G_DEBUG=fatal-warnings,fatal-criticals GJS_DEBUG_OUTPUT=stderr ASAN_OPTIONS=intercept_tls_get_addr=0 LC_ALL=C.utf8 NO_AT_BRIDGE=1 MESON_TEST_ITERATION=1 DYLD_LIBRARY_PATH=/builddir/build/BUILD/cjs-128.0-build/cjs-128.0/redhat-linux-build:/builddir/build/BUILD/cjs-128.0-build/cjs-128.0/redhat-linux-build/subprojects/gobject-introspection-tests:/builddir/build/BUILD/cjs-128.0-build/cjs-128.0/redhat-linux-build/installed-tests/js:/builddir/build/BUILD/cjs-128.0-build/cjs-128.0/redhat-linux-build/installed-tests/js/libgjstesttools GSETTINGS_SCHEMA_DIR=/builddir/build/BUILD/cjs-128.0-build/cjs-128.0/redhat-linux-build/installed-tests/js TSAN_OPTIONS=history_size=5,force_seq_cst_atomics=1,suppressions=/builddir/build/BUILD/cjs-128.0-build/cjs-128.0/installed-tests/extra/tsan.supp MALLOC_PERTURB_=234 GJS_USE_UNINSTALLED_FILES=1 G_FILENAME_ENCODING=latin1 LSAN_OPTIONS=fast_unwind_on_malloc=0,exitcode=23,suppressions=/builddir/build/BUILD/cjs-128.0-build/cjs-128.0/installed-tests/extra/lsan.supp ENABLE_GTK=yes GJS_PATH='' GI_TYPELIB_PATH=/builddir/build/BUILD/cjs-128.0-build/cjs-128.0/redhat-linux-build:/builddir/build/BUILD/cjs-128.0-build/cjs-128.0/redhat-linux-build/subprojects/gobject-introspection-tests:/builddir/build/BUILD/cjs-128.0-build/cjs-128.0/redhat-linux-build/installed-tests/js:/builddir/build/BUILD/cjs-128.0-build/cjs-128.0/redhat-linux-build/installed-tests/js/libgjstesttools LD_LIBRARY_PATH=/builddir/build/BUILD/cjs-128.0-build/cjs-128.0/redhat-linux-build/:/builddir/build/BUILD/cjs-128.0-build/cjs-128.0/redhat-linux-build:/builddir/build/BUILD/cjs-128.0-build/cjs-128.0/redhat-linux-build/subprojects/gobject-introspection-tests:/builddir/build/BUILD/cjs-128.0-build/cjs-128.0/redhat-linux-build/installed-tests/js:/builddir/build/BUILD/cjs-128.0-build/cjs-128.0/redhat-linux-build/installed-tests/js/libgjstesttools G_SLICE=always-malloc TOP_BUILDDIR=/builddir/build/BUILD/cjs-128.0-build/cjs-128.0/redhat-linux-build GSETTINGS_BACKEND=memory /builddir/build/BUILD/cjs-128.0-build/cjs-128.0/redhat-linux-build/installed-tests/js/minijasmine /builddir/build/BUILD/cjs-128.0-build/cjs-128.0/redhat-linux-build/../installed-tests/js/testIntrospection.js
    23/71 cjs:JS / Namespace                   OK               0.05s   1 subtests passed
    24/71 cjs:JS / LegacyGObject               OK               0.10s   60 subtests passed
    25/71 cjs:JS / Package                     OK               0.06s   20 subtests passed
    26/71 cjs:JS / ParamSpec                   OK               0.06s   29 subtests passed
    27/71 cjs:JS / Promise                     OK               0.05s   3 subtests passed
    28/71 cjs:JS / Mainloop                    OK               0.17s   8 subtests passed
    29/71 cjs:JS / Print                       OK               0.08s   46 subtests passed
    30/71 cjs:JS / Signals                     OK               0.07s   42 subtests passed
    31/71 cjs:JS / System                      OK               0.06s   12 subtests passed
    32/71 cjs:JS / WarnLib                     OK               0.05s   3 subtests passed
    33/71 cjs:JS / Tweener                     OK               0.07s   17 subtests passed
    34/71 cjs:JS / Regress                     OK               0.14s   282 subtests passed
    35/71 cjs:JS / Async                       OK               0.07s   10 subtests passed
    36/71 cjs:JS / Gtk3                        OK               0.14s   28 subtests passed
    37/71 cjs:JS / LegacyGtk                   OK               0.11s   8 subtests passed
    38/71 cjs:JS / CairoModule                 OK               0.06s   3 subtests passed
    39/71 cjs:dbus / GDBus                     OK               0.16s   63 subtests passed
    40/71 cjs:JS / ESModules                   OK               0.08s   32 subtests passed
    41/71 cjs:JS / Console                     OK               0.13s   68 subtests passed
    42/71 cjs:JS / GLibLogWriter               OK               0.05s   4 subtests passed
    43/71 cjs:C / API tests                    OK               0.90s   72 subtests passed
    44/71 cjs:JS / AsyncMainloop               OK               0.10s   1 subtests passed
    45/71 cjs:JS / Encoding                    OK               0.09s   56 subtests passed
    46/71 cjs:JS / Global                      OK               0.05s   10 subtests passed
    47/71 cjs:Debugger / backtrace command     OK               0.05s   1 subtests passed
    48/71 cjs:JS / WeakRef                     OK               0.06s   5 subtests passed
    49/71 cjs:Debugger / continue command      OK               0.03s   1 subtests passed
    50/71 cjs:Debugger / breakpoint command    OK               0.05s   1 subtests passed
    51/71 cjs:Debugger / delete command        OK               0.04s   1 subtests passed
    52/71 cjs:Debugger / detach command        OK               0.04s   1 subtests passed
    53/71 cjs:Debugger / down-up command       OK               0.04s   1 subtests passed
    54/71 cjs:Debugger / finish command        OK               0.04s   1 subtests passed
    55/71 cjs:Debugger / frame command         OK               0.04s   1 subtests passed
    56/71 cjs:Debugger / keys command          OK               0.04s   1 subtests passed
    57/71 cjs:Debugger / lastvalues command    OK               0.04s   1 subtests passed
    58/71 cjs:Debugger / list command          OK               0.04s   1 subtests passed
    59/71 cjs:Debugger / next command          OK               0.04s   1 subtests passed
    60/71 cjs:Debugger / print command         OK               0.04s   1 subtests passed
    61/71 cjs:Debugger / quit command          OK               0.04s   1 subtests passed
    62/71 cjs:Debugger / return command        OK               0.04s   1 subtests passed
    63/71 cjs:Debugger / set command           OK               0.04s   1 subtests passed
    64/71 cjs:Debugger / step command          OK               0.04s   1 subtests passed
    65/71 cjs:Debugger / throw command         OK               0.04s   1 subtests passed
    66/71 cjs:Debugger / throw-ignored command OK               0.04s   1 subtests passed
    67/71 cjs:Debugger / until command         OK               0.04s   1 subtests passed
    68/71 cjs:C / Internal API tests           OK               1.48s   115 subtests passed
    69/71 cjs:JS / GObjectDestructionAccess    OK               1.66s   53 subtests passed
    70/71 cjs:Scripts / CommandLine            OK               3.55s   49 subtests passed
    71/71 cjs:JS / Timers                      OK               2.83s   16 subtests passed
    Summary of Failures:
    21/71 cjs:JS / Introspection               FAIL             0.13s   19/20 subtests passed
    Ok:                70  
    Fail:              1   
    
  5. fulalas commented on Sep 9, 2025

    @fulalas
    Author

    No, I don't build with tests.

    I'll wait for a proper fix when it's time then.

    Thanks!

  6. willysr commented on Sep 9, 2025

    @willysr

    @leigh123linux how do you run test in cjs?

  7. leigh123linux commented on Sep 9, 2025

    @leigh123linux
    Member

    You run this after building

    meson test -C build_directory  --num-processes 4 --print-errorlogs
    
  8. willysr commented on Sep 9, 2025

    @willysr

    here's the result
    Image

  9. willysr commented on Sep 9, 2025

    @willysr
  10. leigh123linux commented on Sep 12, 2025

    @leigh123linux
    Member

    #131 fixes the issue.

    #131 (comment)

    Image
  11. willysr commented on Sep 12, 2025

    @willysr

    Thanks, that PR fixed it here as well

  12. fulalas commented on Sep 12, 2025

    @fulalas
    Author

    I also confirm it works. Great! :)

  13. willysr commented on Sep 17, 2025

    @willysr

    i think the changes has been merged into master branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions