-
Notifications
You must be signed in to change notification settings - Fork 45
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
Ubuntu 18.04 : Crash and desktop freeze #1055
Comments
Thank you for reporting the issue! We'll need more information to investigate this one. You can eventually install bunyan (needs Node.js) and run In case that sounds a bit complicated, or you don't really have time to deal with this, you can also just upload the The app usually allows sending a support request directly from the UI (which automatically includes logs), but this won't help in your case since it crashes before even showing up. Please tell me in case you need help for any of those steps. |
Same thing on my computer on Ubuntu 18.04 (laptop Lenovo X240). After sync, it's ok but laptop isn't useable during syncing. Do you still need a log ? |
Hello @bristow! If you can access the UI, you can send a message directly from the app (in the Settings tab => Send us a message) and logs will be joined automatically (please note they contain your filenames). |
@sebn : I send you my last log.txt (only 24h), i haden't wifi active but my laptop was unuseable at startup. https://framadrop.org/r/uKFMJE4Bzc#zSkW8wukdd0rqdKJ+RmKFxfimKLpQCIKIeEGEH0Qpr4= |
@bristow logs received. We'll investigate as soon as possible. Thanks! |
@sebn some news ? I'd like to change my hubiC for cozy but i need a client for my professional laptop on Ubuntu 18.04. |
@bristow Sorry, we're quite overwhelmed. The app logs don't show any issue at all. We'll probably need to take a look at the kernel logs in this case, but their location/availability may vary from one distro to another, and I'm not sure where they are located on latest Ubuntu LTS (possibly |
@sebn forgot what i said... Same problem again... You can find my kern.log here : https://framadrop.org/r/ts_cf6fT2w#LrqdM2W6IRwRKv5VwHCXFmrVpwyK42fePwFE/Aclu9E= I made 2 reboots today, 18th july. |
Sorry, I misread, my bad. The ressource consumption issue is known and not the same as the desktop crashing one. |
@sebn : you can find logs.txt here : https://framadrop.org/r/48Yt6j4SYR#Zke940LA6MOIsbL9TsI37vDh4kE75FbtsmC9s6FVeCI= 250 MB for logs is too big, don't you think ? |
Thanks!
Definitely, it may even get bigger... That's another known issue. |
Hi, I can share logs if needed. Image version: |
It looks like the problem is coming from I removed the package responsible for this: Although, the window cannot be displayed. Switching to the |
Hello there, we'll be using Ubuntu 18.04 and testing it more extensively soon (including fixing the auto-launch that seems to break after an upgrade), we'll get back to you as soon as possible. We apologize for the delay. |
Some news @sebn for this bug ? |
Sorry for the late answer. |
Hi, After the reboot, i ran the app again, this time it doesn't crash the desktop but it remains unresponsive for a few minutes, and then it works as expected. I think something is really wrong when you can crash the user's desktop. version: |
Hello @Wenzel, can you send us a message from the application? It will send us the logs, and it will be really helpful to understand what it happened. |
@nono i have already been syncing thousands of files now that the app is running. Should i still send you a report via the app ? |
@Wenzel yes, we should still look if we see anything obviously wrong that may have provoked the OS crash. |
I tried to reproduce the bug in a fresh Ubuntu I recorded a video of one of my attempts, the app becomes unresponsive for a few minutes after initialization, and eats a lot of RAM: I hope that helps ! |
Thanks for the video. I have one question: did you already have files in the |
@nono yes, i already have thousands a files ( |
@Wenzel my question was not about the files on the Cozy, but on the hard disk. If your local folder is clean when you start, the good news is that we are working to improve the initial Cozy to hard disk synchronization. But we also some performance issues for files on the local disk, and it will take more time to fix those issues. |
@nono ah yes, the local folder Should i open a new issue to track those initial sync UI performance problems ? |
@bristow can you watch the RAM usage when you launch the app ? Are you running the default Ubuntu desktop ? Does it crashes and restart or does it freezes ? |
The reason why I mentioned My Ubuntu install is almost fresh too: Ubuntu 18.10, and I installed |
@nono i'm not agree with you. Gnome Shell works very well, i have only one problem, this is with Cozy :( I can also help but get some logs is very difficult because we need to restart computer... Thanks 👍 |
@whiver can you try to remove libappindicator-dev and use TopIcons Plus instead? @bristow maybe you can try to reproduce the freeze/crash with another window manager. At least, we would know if it is really a gnome-shell bug (probably not in the gnome-shell codebase, maybe an extension, or my favorite guess, a bad combination with a graphic card driver). |
@nono I tried to use Topicons Plus and after a few days of use I didn't notice any freeze, so I guess the problem is solved. Thanks for your help! :) Thanks again 🙂 |
Sorry @whiver but i am not so optimistic. Indeed, i installed Top icons on my Ubuntu 18.04 up to date, and i have big freeze when i launch Cozy. I have the mouse' s pointer but i can't click, no effect. I had to halt my laptop with a long press on power button. |
Hi, actually I have the same troubles than @bristow, except that I don't need to halt my laptop. It recovers from the freeze after several minutes (usually 5). Note, in case it helps:
|
We should include Gnome developers here and get their opinion about this, as it seems related to Gnome desktop only. Does anyone know a Gnome dev who could give some help ? |
@Wenzel it is a good idea. Currently, our efforts are mostly on the local watcher (the integration with inotify and ReadDirectoryChangesW) that will improve cozy-desktop for a lot of people, and this issue is not on our priority list as we have few users on Ubuntu with gnome. If a gnome developer can help us, it would be a good way to advance on this topic. I don't know a gnome developer, but maybe someone else on this thread does. |
I tried to upgrade to 18.10 in order to see if it could solve the issue. So far, it doesn't. However, I got a trace in the syslog. Maybe it can help: Feb 20 15:40:46 neutrino gnome-shell[2735]: message repeated 2 times: [ [AppIndicatorSupport-FATAL] unable to lookup icon for Cozy Drive1_4575] |
Good Job @gpronost I found the same thing on my old syslog :
|
@nono I propose that you send an email to the I guess if it's someone representing CozyCloud, you would get more attention. |
I have opened an issue here : https://gitlab.gnome.org/GNOME/gnome-shell/issues/984 |
I think Didier Roche, Canonical developper, has made good progress on this problem :
|
So, if I understand correctly, you could temporarily fix the bug by fixing the asset reference ? |
If we have a missing asset reference and we found which one, we will fix the missing asset reference. But, for the moment, I don't see any missing asset reference. From the timing, I think it should be this asset: https://github.com/cozy-labs/cozy-desktop/blob/master/gui/images/tray-icon-linux/sync.png but I've checked, this file is included in our releases. I've tried some other things, but I haven't found yet what we are doing wrong. |
I'm not sure this is the asset AppIndicator is looking for. Looking at the code of AppIndicator, it send this message here:
The icon_name, according to the debug is "Cozy Drive1_XXXX" (with XXXX a number). Maybe there is an issue in the declaration of the icon name? I'm not familiar enough with electron and GNOME so maybe I'm saying non-sens, but if we can find where this "Cozy Drive1" is coming from, maybe we could understand what the issue is? |
Looking at the dbus monitoring I have the following:
If I understand correctly, something ask for the IconName for Cozy Drive here, and the reply is "Cozy Drive1_18224". I quite don't understand why the reply to IconThemePath is something linked to chromium however (chromium is my browser). Note that here Gnome was not freezing, and at the same time I got the following in the syslog:
Edit: Similar dbus messages can be found when Gnome freeze at the start of cozy drive, the only difference is that there are much more messages. |
I'd say so. 18224 is probably the PID (process identifier). And I think it is AppImage that sets the name to
I don't think it is linked to your browser: Electron embeds a chromium in the application. |
Did someone test if the work-around solve the issue? (I can't test it) |
@nono how can we test this work-around ? Is there a new AppImage ? |
@bristow There are development artifacts available on each pull request apparenly: Edit: the artifacts are not available anymore. |
Just to share my personal experience, and perhaps help to solve this issue, here is what leaded me to stop having Gnome frozen at startup. First, I was wondering if it was a question of Gnome version. I was on Ubuntu 18.04 and I upgraded to 18.10 and 19.04 on which I'm now. None of those upgrades solved the issue. Then I read once again the installation guidelines from Cozy's website where it is mentioned that we need to install TopIcons extension to see the icon on the top bar. As far as this extension doesn't work on Ubuntu Disco Dingo, I simply removed it. Until then, I was using TopIcons Plus extension which works on all versions and creates this startup freeze. Now that I have no TopIcons extension, there is no freeze. Finally, the problem is here : TopIcons extensions create the freeze. So there might be something to seek in there. Hope this helps... |
Hi guys, just to confirm that the issue seems to be fixed with the last release :) |
Same on my end, the issue looks fixed! Thanks :-) |
Yeah! |
Same thing here, desktop doesn't freeze anymore. But, during about 5 minutes, CPU is very in use. |
Description
When I start Cozy Desktop app on my Ubuntu 18.04 box everything freezes and I have to hard reboot.
Steps to Reproduce
Expected behavior
Cozy Desktop show up and start syncing my files
Actual behavior
Its like the UI was beeing built (I saw something like a window shadow) then everything is frozen.
Informations
The text was updated successfully, but these errors were encountered: