Bug 1091701 - Cinnamon continuously crashes after upgrade to Tumbleweed snapshot 20180427
Summary: Cinnamon continuously crashes after upgrade to Tumbleweed snapshot 20180427
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Factory
: P1 - Urgent : Critical with 5 votes (vote)
Target Milestone: ---
Assignee: Alexei Sorokin
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-02 17:02 UTC by Frank Voorburg
Modified: 2018-07-06 15:28 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Output of journalctl with lines containing "cinnamon-session" (4.57 KB, text/plain)
2018-05-02 17:03 UTC, Frank Voorburg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Voorburg 2018-05-02 17:02:51 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36
Build Identifier: 

After updating to Tumbleweed snapshot 20180427, Cinnamon keeps crashing after logging in. The following dialog is shown:

"Cinnamon just crashed. You are currently running in Fallback Mode. Do you want to restart Cinnamon?"

Anwsering "yes" to this question unfortunately results in the same crash over and over. After answering "no", I get the fallback IceWM.




Reproducible: Always

Steps to Reproduce:
1. Have a Tumbleweed install with Cinnamon desktop.
2. Run sudo zypper dup
3. Reboot and login
Actual Results:  
Cinnamon crashes and shows the dialog "Cinnamon just crashed. You are currently running in Fallback Mode. Do you want to restart Cinnamon?".

Expected Results:  
Cinnamon desktop appears without crashing.

I tried the following solutions:

a. Removed ~/.local/share/cinnamon and rebooted, but still the same problem.
b. Removed custom installed applets and rebooted, but still the same problem.
c. Removed ~/.cinnamon and rebooted, but still the same problem.

I attached a file with the output of "sudo journalctl -b0" that contains lines with "cinnamon-session".

As a temporary workaround, I rolled back the snapshot. Hopefully someone can find a solution to this.

Feel free to contact me for additional information. Just let me know what command to run and I'll post the output.
Comment 1 Frank Voorburg 2018-05-02 17:03:35 UTC
Created attachment 768852 [details]
Output of journalctl with lines containing "cinnamon-session"
Comment 2 S. B. 2018-05-02 19:47:24 UTC
Confirming this major breakage of Cinnamon, now on TW 20180501. It looks like something is preventing it from communicating with logind or dbus or something to that effect.
Comment 3 S. B. 2018-05-02 19:50:45 UTC
(In reply to S. B. from comment #2)
> Confirming this major breakage of Cinnamon, now on TW 20180501. It looks
> like something is preventing it from communicating with logind or dbus or
> something to that effect.

I should mention that this appears to be related to the upgrade from Cinnamon 3.6 -> 3.8.
Comment 4 Alexei Sorokin 2018-05-02 21:20:44 UTC
The problem is this: bsc#1090371, bsc#1090963
I submitted Cinnamon 3.8 to openSUSE Tumbleweed without thinking too much ahead, now everything's bad because cinnamon and cinnamon-control-center from 3.6 won't work with everything else from 3.8.
To mitigate this, use X11:Cinnamon:Current.
Comment 5 S. B. 2018-05-02 21:56:49 UTC
Thanks very much Alexei for handling this bug. So I gather from the bug report that we'll have to wait awhile for the openSUSE security team to give clearance?
Comment 6 Frank Voorburg 2018-05-03 21:40:16 UTC
Thanks for explaining the situation regarding the current situation with Cinnamon 3.8 and for taking the time to look into it. It is much appreciated and it there is anything I can do to help, feel free to let me know.

It looks like we have to wait for bsc#1090371 and bsc#1090963 to be resolved. Perhaps it is an option to revert back to the working Cinnamon 3.6? All Tumbleweed users with the Cinnamon desktop currently can't update their systems without breaking their desktop.
Comment 7 Frank Voorburg 2018-05-08 17:22:06 UTC
(In reply to Alexei Sorokin from comment #4)
> The problem is this: bsc#1090371, bsc#1090963
> I submitted Cinnamon 3.8 to openSUSE Tumbleweed without thinking too much
> ahead, now everything's bad because cinnamon and cinnamon-control-center
> from 3.6 won't work with everything else from 3.8.
> To mitigate this, use X11:Cinnamon:Current.

Just a quick confirmation that your proposed temporary workaround works. I added the following repository:

Name: X11:Cinnamon:Current
URL: https://download.opensuse.org/repositories/X11:/Cinnamon:/Current/openSUSE_Tumbleweed

Afterwards I ran "sudo zypper dup --allow-vendor-change" and now I can use Cinnamon again.
Comment 8 Alexei Sorokin 2018-05-17 23:56:56 UTC
Okay, the request is out from X11:Cinnamon:Factory to openSUSE:Factory: I've removed the requirement for the polkit policy from the cinnamon package.
There's also cinnamon-control-center, but I think that's not necessary, it seems that the new polkit policy is the biggest change in the new release there anyway.

(I originally accidentally sent this comment to https://bugzilla.opensuse.org/show_bug.cgi?id=1051647#c7)

The request hasn't been accepted for a week, I don't know why.
Comment 9 Frank Voorburg 2018-05-18 08:39:22 UTC
Thank you for continuing to look into a solution for this problem, Alexei. Your efforts are much appreciated.

After adding the X11:Cinnamon:Factory repository and then updating the Cinnamon desktop from there, I unfortunately get the exact same problem as initially reported. 

For your reference: I am on the currently latest Tumbleweed 20180516 snapshot.
Comment 10 S. B. 2018-06-23 12:48:57 UTC
Hi, it was working well for a few releases. But now with the 20180620 release of Tumbleweed, Cinnamon is broken again when the Cinnamon applet for NetworkManager is enabled. It immediately crashes Cinnamon with a "DBus connection lost" error in Looking Glass. Apart from that, there is no other useful information. The workaround is to remove the Cinnamon applet for NetworkManager and use `nm-applet` directly.
Comment 11 Alexei Sorokin 2018-06-25 01:25:38 UTC
There's been a removal of API of NetworkManager-applet, which dragged in libnm-glib, and so I had to adjust the Cinnamon's applet.
The submit request is out: https://build.opensuse.org/request/show/618839
And the merge request as well: https://github.com/linuxmint/Cinnamon/pull/7668
Comment 12 S. B. 2018-06-25 02:07:15 UTC
Thanks very much Alexei for the fast response!
Comment 13 Alexei Sorokin 2018-07-06 15:28:38 UTC
I guess this can be closed now.