-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stickynotes crashes on Alpine Linux and Gentoo #664
Comments
It looks from this like something is preventing the window for notes from being created or is destroying it.
All those asserts showing an invalid GtkWindow, and the crash at stickynote_set_visible() where we have
gtk_window_present() and gtk_window_move() show an invalid window, which could mean the whole object
is not getting set up or is being destroyed or that the window is not getting set up properly.
I cannot test this as with no landline I cannot download distro installers, but this is a starting point from the
backtrace and the asserts
|
I'm observing the same issue on Mageia 9 here where no sticky notes are displayed and the applet crashes on double-click. I debugged the issue a little and added some error fprintf() to stickynote_new_aux() like this:
This triggers and shows the following output: I then tried to remove the GtkSourceBuffer from sticky-notes-note.ui just for a test and then I get a similar message about GtkSourceView. I checked that the gtksourceview libraries and development headers are installed (actually for version 3.0, 4 and 5) and part of the linker command when building (version 4 is used here). I have no idea why the builder does not know GtkSourceBuffer or GtkSourceView but this results in the resource being empty and so no windows for the notes are generated and as soon as any window is actually displayed, the applet crashes. Note that there are a ton of assertions failing for anything related to those windows with debug enabled but I presume this is to be expected as the code never checks that the note->w_window is non NULL. Hope this helps, PS: replacing GtkSourceBuffer with GtkTextBuffer and GtkSourceView with GtkTextView in sticky-notes-note.ui and removing the max_undo_levels property makes the applet work again. |
I was using Linux Mint 21.3 Mate and when I upgraded to Linux Mint 22, I also encountered this problem (I am using Mate 1.26.2 on Linux Mint 22). |
the crashes should be fixed by now-merged Since this is not an applet I use, I would not notice things like a missing feature, someone noted these changes when they tried them took out icons. This was an emergency fix though. When I added the applet build in-process (I build mate-applets in-process for wayland support), the result was a crash followed by a restart-crash loop that would not let users reconfigure the panel save by dconf-editor or running |
Expected behaviour
stickynotes-applet
should be able to instantiate sticky notes in MATE on every popular distroActual behaviour
on the popular distros Alpine Linux and Gentoo,
stickynotes-applet
launches and creates an icon, but clicking "New Note" does nothing and double-clicking the icon after clicking "New Note" at least once makes an error popup appearSeveral OS exhibiting expected behavior
Steps to reproduce the behaviour on affected distros
How to reproduce the crash:
--disable-stickynotes
How to reproduce the backtrace:
--disable-stickynotes
stdout, stderr and backtrace
MATE general version
1.26.1
1.27.1
Package version
mate-applets-1.26.1-r3 (Alpine Linux)
mate-applets-1.26.1 (Gentoo)
mate-applets-1.26.1-r2 (Gentoo)
mate-applets-1.27.1 (Gentoo)
C libraries:
musl-1.2.4_git20230717-r4 (Alpine Linux)
glibc-2.38-r9 (Gentoo)
Linux Distribution
Alpine Linux and Gentoo
Link to bugreport of your Distribution (requirement)
https://bugs.gentoo.org/922937
https://gitlab.alpinelinux.org/alpine/aports/-/issues/15719
The text was updated successfully, but these errors were encountered: