-
Notifications
You must be signed in to change notification settings - Fork 732
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
Cinnamon random crash to fallback mode #9916
Comments
Were you resizing cinnamenu when the crash happened? How often does it happen? Were you changing any applet settings when it happens? If it happens frequently, you might try disabling some of your applets and adding them back one at a time to find the problem app. |
@bomdia are you using a smartcard reader? |
It looks it was the same problem i had and this link saves my life.
And add this :
This is because nvidia are not yet loaded when running X. This bug made me crazy, i was about to change desktop before finding this. |
@bomdia can you see if @spocthier83 comment helps? Thanks. |
@icarter09 yes sorry for stopping responding, i've applied the fix and i'm waiting to see if work or not, as the bug don't happen every time is hard to say if it fixed this or not for now, sometime it happen a lot and sometime don't happen at all, from when i applied the suggested fix isn't happened but i'm not sure that fixed it |
@bomdia no worries and thanks for the update. Let us know how things are progressing with the issue after a couple of weeks. |
Hello, Did it solve your problem? |
I noticed this in cinnamon 5.0.5 too. I had a crash the other day. |
I'm having constant crashes and going to fallback mode with no way to recover. This is my system: |
Updated from Linux Mint 20.1 to 20.2 yesterday and since then experienced three times such a Cinnamon crash.
I noticed that the OP's attached syslog also shows this cinnamon trap log entry - hence my thought it could be related to the same problem. Did not experience such crashes in Mint 20.1. Further info: Kernel 5.11 (from hwe) - this was running already with Mint 20.1 This happens very randomly (and luckily not that often). The latest crash just happened when I opened a new Terminal window from the quick launch menu. Another crash I remember happened when I pulled a window from screen 1 to screen 2. |
@mtwebster |
I need more info... Can any one on Mint 20.x check mintreport after a crash and upload the crash.tar.gz file for the 'cinnamon' entry (assuming there is one). And paste the output from this:
Unfortunately github won't let you paste larger files (the crash.tar.gz), so you'll have to put on something like dropbox or google drive if you have those. https://filebin.net/ seems to work ok (though it is slow) if you don't have anything else. Of the three logs I've seen here, they appear not to be related, but let's see what we get. Does this stuff occur if you make a new user account and try it there? This may rule out any sort of configuration issue. |
Here's my newest crash log: dpkg --list | grep muffin $ dpkg --list | grep cinnamon |
Here's the crash.tar.gz : |
@mtwebster Could you please describe how to create this crash report? Do we need to install systemd-coredump (as it says in System Reports)? Just had another crash and I can see this entry in dmesg:
This happened right after I clicked an (application) link in Firefox which opens a third party tool.
|
systemd-coredump should already be installed in mint. If not, then install it. See my last post: #9916 (comment) for instructions in mintreport. I need the crash.tar.gz file that is generated, and accessible via the 'local files' button as shown in the picture. If systemd-coredump wasn't already installed, you'll need to reboot and reproduce the crash again before it'll show up there I think. |
Same problem here with Manjaro-Cinnamon Edition since upgraded to Cinnamon 5x. Randomly crashing to fallback mode. I only use the regulary Cinnamon Applets and the normal taskbar (not the grouped one). |
@mtwebster Just experienced another crash. I have now systemd-coredump installed (was not installed by default) and the crash.tar.gz was created: https://files.infiniroot.net/f/bb83f7c26a5b4b9eace0/?dl=1 Under crash reports I can find this on /usr/bin/cinnamon:
|
Here it also randomly crashes on the Manjaro Cinnamon edition with 5.0.x.
|
Hi all, I'd like some more info - can I get the output of:
There should be no personal data there but please check to be sure (it's just a list of your cinnamon settings). Please use dpaste.org or something similar to attach it. Thanks |
|
Another cinnamon crash, happened when trying to launch an application using the menu. |
Hi, I've got some packages to try if anyone is willing to test. I've only been able to reproduce this crash with a standalone test script (not with cinnamon), so I'm hoping I can get some feedback from folks who are experiencing it regularly, in a realistic situation. In an attempt to avoid issues with the package manager, first see which cjs packages you have installed:
Then, go to this dropbox folder: Then go to that folder in a terminal, and install the packages:
If you need to install the debug symbols (only if you had installed them previously), also run:
I added a bit of additional logging here, that will appear in .xsession-errors. I'd like to see that log after a time, whether cinnamon crashes or not. I'm not 100% sure I'm ok with this fix yet, but if it does prevent a crash for now, at least that's less frustration until I determine a better fix. Unfortunately the resolution of this bug upstream depends on some newer versions of other libraries than we have available in Mint. I've been able to backport these changes, but it's not stable, and definitely not something I'd stick a version on right now. Thanks edit: If something goes terribly wrong, allowing the update manager to update 'cjs' should set things back to how they were. edit edit: Please make sure you either log out and back in, or restart cinnamon after installing these packages (alt-f2, r) |
@mtwebster Is there a public branch with the changes somewhere? Can't install those *.debs on Manjaro but building from source should be a piece of cake. |
Sorry slipped my mind - here it is: https://github.com/mtwebster/cjs/tree/toggle-ref-fix Single commit: mtwebster/cjs@a43f565 |
Installed, thanks for your efforts so far @mtwebster !
|
I just installed them as well; I usually have the issue once or twice a day. I will let you know if it returns. |
Just experienced another crash. @mtwebster what exactly are you looking for (log files etc)?
|
@Napsty that looks like the old version still - did you restart cinnamon after installing the packages? That particular message is no longer a Cjs-ERROR (which halts cinnamon), but a Cjs-CRITICAL. |
@mtwebster You caught me. Didn't reboot the machine yet ;-) |
Yes - if that was the case, you should be good now. |
Anything? No news is good news? :) |
The last crash was 7 days ago. I installed your patch 5 days ago. So far so good, but there have been longer periods without crashes before so its hard to tell if it's because the fix works or because of random chance. Can't find the |
I used to have daily crahes, but since I started using Your Version(tm) I'm all free of crashes! Would install again! ⭐ ⭐ ⭐ ⭐ ⭐ !! All kidding aside, thanks for the work, it does indeed help. Hope you can get something like it incorporated into main soon. |
@mtwebster , |
Hi @mehdi-rahimi it looks like you aren't actually running the patched version, or else you never restarted Cinnamon after installing it. If the latter, just wait and see if it happens again. Otherwise make sure you didn't have any errors when installing these packages, which would prevent them from actually being applied in the system. |
Thanks for your great work @mtwebster! Is there any way to install this patch to Manjaro Cinnamon Edition or will it be added to upcomming Releases? |
@mtwebster No crash so far...
I'll keep the machine running and report again if something changes. |
@amDude1848 If you just want to test, here's the PKGBUILD I used to install this patch. PKGBUILD.zip Install by running these two commands:
Created by taking the latest Manjaro PKGBUILD for cjs and pointing it to mtwebster's branch from above. Also lowered the pkgrel so pamac shows it as outdated and I don't forget about the non-standard version. |
@LingMan Thank you very much! Just installed and it was working out. I will report if the crash happens again. |
Don't forget to restart Cinnamon so you actually run the patched version. |
Thank you, i already restarted. :-) |
toggle unref is already queued. This prioritizes the originally queued toggle direction. Fixes linuxmint/cinnamon#9916 at least until: linuxmint#96
toggle unref is already queued. This prioritizes the originally queued toggle direction. Fixes linuxmint/cinnamon#9916 at least until: #96
Thanks for working on this! One question though, can I remove my apt pins yet or does it take a while before it becomes ready upstream? |
I just like to report, i had no more crashes since installing the bugfix a month ago. |
Same here, no more crashes. I saw that the patch made it into the official repos already. Kudos to @mtwebster , thank you! |
@alok677 The bug this issue was about has been fixed for years. See if there's an open report that would fit your symptoms or open your own. Here it'll just get overlooked. |
My last comment already told you what you should do to the best of my ability. Can't help you with the bug itself. |
Issue
Cinnamon crash to fallback (when i've installed 20.1 there wasn't any crash...)
All work before and after returing from fallback but is very annoying that at random time this happen
Steps to reproduce
I really don't know :(
Expected behaviour
Cinnamon don't crash
Other information
~/.xsession-errors
/var/log/syslog
The text was updated successfully, but these errors were encountered: