[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
The attachment "compiz-config-profile-setter_segfault.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
I think I found the root cause for the compiz-config-profile-setter segfault. The call "ccsFreeContext(context);" in line 218 in compiz_config_profile_setter.c frees the context object while background event processing still uses the object, which then leads to the segfault. It seems the set_compiz_profile() call returns while a value-changed callback gets called in the background, which then calls ccsObjectGetInterface_() on the context object, but by then the context object already got destroyed. I think the best way so solve this, would be to wait for the event processing to finish before freeing the context object, but I don't know how to do that properly. But not freeing the context object in compiz_config_profile_setter.c fixes the problem for me (the cssFreeContext() is called right before the compiz-config-profile-setter exits, so I think it doesn't really matter much). So with this patch the memory gets freed on exiting of the program after the main loop has stopped. ** Patch added: "compiz-config-profile-setter_segfault.patch" https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+attachment/5212325/+files/compiz-config-profile-setter_segfault.patch ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
Had this issue, fixed by updating .config/compiz-1/compizconfig as in comment #5. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
Had the same issue (after an apt-get dist-upgrade after at least a month since the last time I upgraded). Comment #5 solved the issue for me. Surprisingly, I didn't even need to restart. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
I also tried several of the solutions proposed here and in askubuntu, but only # 20 worked for me. Indeed, it is not necessary to delete the entire .config directory. Just move the compiz subdirectory: '$ mv ~/.config/compiz-1 backup/' Thanks everyone for your help. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
Post #20 worked for me. Thanks Ruslan. Had to move important config files back into .config later. Nothing else I tried worked after searching forums for hours and trying their suggestions. Why didn't Ubuntu issue an improvement to the offending software that it provided in a routine update? This sort of major meltdown occurred in 2016 in my 14.04 system, just before 16.04 was to be released. Is there a connection? Are the best developers busy with the new releases, which are supposed to take care of such problems? If so, then the LTS versions are really only good for 2 years, not the stated 5 years. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
h, steps/workarounds listed on: https://askubuntu.com/questions/992571/gui-unity-crashing-in-16-04-lts-after-updates-2018-01-04-compiz-segfaults did not work for me, I'm using ubuntu 16.04 on virtualbox, my problem was fixed by increasing VM Display setting ( Video Memory ) from 16MB to at least 32MB. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
Only doing `mv ~/.config ~/.config-BACK` fixed the issue for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
@Janghou: thank you, cleaning the cache helps! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
Yep, I had to clean the cache. Thank you a lot Janghou and everyone else. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
@Marco, #5 did not work for me at first, but it did the later (?!?). just be sure `profile = unity` just before you reboot, it did change back on my machine. What I also did: clean/delete ~/.cache directory. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
The (mutually exclusive) solutions lowgfx.conf startup and profile = unity in compizconfig/config did not work for me. I tried what @8-mak tried and also a bunch more stuff (restart/reinstall ubuntu-desktop and components). Might be a different bug, but still appeared after the March updates. Launcher and panel only in guest session, still cannot find this different setting in the main admin profile which makes it fail to launch. Thank you all for your help though. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
Hi all, I have this problem too but in .config/compiz-1/compizconfig/config i have [general_ubuntu] profile = unity and i think i do not have proposal updates, but i'm not sure -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
At first solution 5 did not work for me. A prerequisite I guess is that you have to remove lowgfx.conf file before, not just comment it out. Otherwise any change in .config/compiz-1/compizconfig/config will be overwritten back to profile = unity-lowgfx. rm ~/.config/upstart/lowgfx.conf sed -i 's/-lowgfx//' ~/.config/compiz-1/compizconfig/config I guess post #5 is not a workaround but the fix. Thx @robprije. Working for you @mak? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
Post #5 worked for me too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
I can also confirm the workaround in post #5 worked for me. Same symptoms with segfault in libcompizconfig. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
@robprije: your suggested workaround in your post #5 above has fixed the problem for me. Thank you! I had the same symptoms on my workstation, and here is the relevant error message from syslog: kernel: [ 1161.995672] compiz-config-p[11373]: segfault at 0 ip 7fb3e82d6d6f sp 7ffdb86ee480 error 4 in libcompizconfig.so.0.0.0[7fb3e82ae000+52000] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
@mak, strange, I asked because I do wonder whether it's the same bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
@janghou: yes, i mean low-graphics. and yes: after every step i rebooted the system ;) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
@mak. You mean low -graphics mode is not working for you? You need to logout/reboot. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
hi all, I've the same problem, guest-user is okay, but my profile has the problem. I * moved my .config to backup * upgraded everything (Upgrade: unity-control-center-faces:amd64 (15.04.0+16.04.20170214-0ubuntu2, 15.04.0+16.04.20171130-0ubuntu1), unity-control-center:amd64 (15.04.0+16.04.20170214-0ubuntu2, 15.04.0+16.04.20171130-0ubuntu1), libunity-control-center1:amd64 (15.04.0+16.04.20170214-0ubuntu2, 15.04.0+16.04.20171130-0ubuntu1)) * tested with unity --reset-icons * test with lowgfx /.config/upstart/lowgfx.conf * .config/compiz-1/compizconfig/config: profile = unity * unity-tweak-tool * ppa: paulo-miguel-dias / pkppa guestuser and creating new user: no problem nothing helps... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
Guest session is also working here in default graphics mode, so it's probably a regression that just occurs with a certain Compiz settings or plugin. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
I resolved the problem for myself. I searched for compiz related files in my wife's home directory and found .config/compiz-1/compizconfig/config In there, she had a config resembling the following: [general_ubuntu] profile = unity-lowgfx I, on the other hand, had a config like this: [general_ubuntu] profile = unity I changed her config to match mine and logged her back in and it was fixed. I note others complaining of similar errors found that switching *to* low GFX fixed the errors for them prior to a patch hitting upstream. I don't know how my wife got the lowgfx config while I didn't. Neither of us have manually messed with these configs in the past. Both our systems were working fine yesterday (23 March UTC+8). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
I think I'm getting the same error I have 2 accounts on this computer. This morning my wife logged in to hers and immediately received the error "Ubuntu 16.04 has experienced an internal error". It referenced the executable path /usr/lib/x86_64-linux-gnu/unity/compiz-config- profile-setter. Since then her login receives no errors but continues to show only the desktop image with no panel or windows. I am still able to login and function just fine under my own login. Attached the associated crash file. ** Attachment added: "Crash file" https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+attachment/5088779/+files/_usr_lib_x86_64-linux-gnu_unity_compiz-config-profile-setter.1000.crash.bz2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: unity (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1758009] Re: Unity not starting: compiz-config crashes on login
FYI Apparently more people are affected, a high amount of visitors since March 2018 on this Askubuntu page, describing the same symptoms due to a bug January 2018. #1735594 https://askubuntu.com/questions/992571/gui-unity-crashing-in-16-04-lts- after-updates-2018-01-04-compiz-segfaults This bug has the same symptoms, but is less severe and segfaults in libcompizconfig not compiz: kernel: [ 554.941900] compiz-config-p[3736]: segfault at 657461746f72 ip 7fb7a2350d6f sp 7fffa4bef830 error 4 in libcompizconfig.so.0.0.0[7fb7a2328000+52000] Workaround: use low graphics mode, see workaround 3 on the Askubuntu page. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1758009 Title: Unity not starting: compiz-config crashes on login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1758009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs