-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
Pantheon: crash loop on start inside vmware guest #140513
Comments
Happens on my HW too. I guess it's kind of blocker. |
Are you also running inside a VM? |
Sorry I am relatively new to Pantheon packaging and cannot find out the real issue so far. And sadly, while I am using Pantheon daily I cannot reproduce this issue (both on my physical machine and on QEMU via I currently have no idea besides trying to reproduce the issue in elementary OS 6 (to make sure this is not upstream issue) and try to use a different version of mutter and gnome-settings-daemon (to make sure this is not caused by 3.38 binding generation like #139404, to be honest I am not sure if this is really related in this case though), apologize for that. |
@davidarmstronglewis No, it's real HW. First boot is always OK, then after messing with UI something goes wrong and greeter perhaps crashes. There's blinking wingpanel + tty for some time. Imho it might be related to some of the helper services? In journalctl there's just lightdm greeter core dump :/ |
As you suggest I'm pretty convinced it's one of these. It works for me before some changes handled by g-s-d are made. |
I've set up a vmware guest using the latest elementary image and haven't been able to reproduce the issue on my end from that image. I'd like to offer to pair on this if that would be helpful. I don't have the experience with desktop managers (much less the pantheon stack) to be able to debug this. I haven't been able to get anything more helpful out of my efforts than the output from
These two lines seem significant, but I'm not sure how to continue investigating:
|
I will try to prepare a mutter & g-s-d 3.36 downgrade (as 3.36 is what upstream is using, maybe it is not useful in this issue, I want to backup this before elementary OS 7 is out so we can switch back at anytime) and a mutter & g-s-d 40/41 upgrade. Update: 3.36 downgrade https://gist.github.com/bobby285271/d5f5a4d50cbb9bd35e16157756a975b9
To help me reproduce the issue, would you like to describe what changes did you make? |
@bobby285271 I'm not sure how to help on this issue. Can you help me understand what next steps I can take? |
It will be great if you can help me reproduce the issue repeatly. Also you can try applying the above patches to nixpkgs and build your system with that and see if the issue is still there. |
Absolutely I can try applying these patches. This isn't something I have done before, so I'm not sure how to accomplish it. If there's a resource you can share of applying a patch I can probably figure out how to apply the ones you've linked. I'm guessing there's a way to via an overlay or similar? I also keep my Nix config here in case it's helpful: |
You can clone the Nixpkgs repository, apply the patch with |
I'll make the attempt. I'm also not sure how to help you reproduce the issue on your end if it's stemming from my use of NixOS as a vmware guest running on macOS, but you should be able to replicate my setup using the configuration in the repo I linked. |
@bobby285271 Neither of those patches fix the issue on my end. Both exhibit the same behavior |
Sorry again I don't have new ideas currently, if you still perfer Pantheon, maybe just don't use their greeter for now. services.xserver.displayManager.lightdm.greeters.pantheon.enable = false; Looking through elementary/greeter@5.0.4...6.0.1 I was not able to find something what can break the greeter yet. |
That definitely bypasses the issue for me and does point to something being funky with the greeter. Why, though, I have no idea. Thanks for your time and the workaround. Again, I'm happy to spend time debugging if I can be helped out with how to go about that (haven't the most experience debugging programs written in C/Vala, but more than happy to learn). Or if this is outside your experience, I'm happy to reach out to one of the maintainers of https://github.com/elementary/greeter/ if that's an appropriate thing to do. |
I'm going to close this as I think this is an issue with my particular installation. After creating a new VM from scratch I'm not running into any of the issues I've described above. I don't have much of an idea why I was running into the issues I was due to a lack of technical know-how on my end with digging into the issue, but if I had to guess there was something stateful on my system that was corrupted during my experimentation with the VM. |
The issue is present on my real HW. It works when you do fresh install, but whenever you start making changes within the DE it breaks it. |
@yellowgh0st what do you mean with changes? changing settings using the settings program? Which settings exactly? Is it reproducible? |
@davidak Yes, I just set-up my preferences in system settings, add some shortcuts to the dock and boom LightDM is broken. |
Describe the bug
I've been running NixOS inside VMware for the past month and recently moved to the unstable branch of nixpkgs to start using the latest Pantheon. Since doing that, I'll sometimes run into a crash loop on booting the VM that will usually fix itself after restarting the VM several times. I believe this issue is a relatively new one and limited to just Pantheon as I haven't run into this behavior when running Gnome on the same unstable branch, nor using Pantheon on the stable channel.
I'm attaching what I believe are relevant logs from
journalctl
. I'm not sure what other info I can provide, but I'm happy to do so.Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Pantheon should start without crashing.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
From a look at
journalctl
output:Notify maintainers
@davidak
@bobby285271
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: