Closed
Bug 1355420
Opened 7 years ago
Closed 5 years ago
lightning+googleprovider hangs 100% cpu on startup
Categories
(Calendar :: Provider: GData, defect)
Calendar
Provider: GData
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: sexxxenator, Unassigned)
References
Details
(Keywords: hang)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Build ID: 20170321232041 Steps to reproduce: Upgrade to ThB 45.8 Actual results: 100% CPU + Crash computer Expected results: Apparently the problem comes (again) from lightning+GoogleProvider: My Ubuntu 17.04 recently upgraded ThB to 45.8.0. As soon as I tried to open the new version it started using 100% CPU, the window was frozen and the computer crashed. Being used to problems with 1) Master password with multiple gmail/gcal accounts and 2) the Google Calendar accesses, I managed to switch off Master Password, regain control of ThB and then switch off MasLightning+GoogleProvider. Doing so I managed to get back access to ThB, but only for my emails. Everytime I tried to reactivate Lightning+GoogleProvider and restart ThB, it went back to 100%+crash computer. Since there was a line in the log saying that there was a problem with an .ics entry (I don't remember the exact error message...), I exited ThB and deleted the following files: .thunderbird/xxx.default/calendar-data/cache.sqlite-wal .thunderbird/xxx.default/calendar-data/cache.sqlite .thunderbird/xxx.default/calendar-data/cache.sqlite-shm But this did not work. I then waited (15 days... without any access to my calendars!!!) for a notification in ThB 45.8.0 saying that a Lightning and/or GoogleProvider were updatable. I did the upgrade and managed to get ThB to run without crashing. Unfortunately, no entry at all appeared in the calendar tab. Being used to silent authentication problems with gcals, I opened the preferences and deleted all the gcal OAuth tokens. When reopening ThB, I was asked for auth again, *but only for one of the accounts* (even if 2 gcal OAuth token entries were created). I thus regained access to 1 of the gcals. Since it worked for one account, I tried to do the process again for the second account: I deleted again the stored token for the non working gcal and restarted ThB. I was asked for the password and got an auth token for this account. Unfortunately, I'm still stuck with no entries appearing in the calendar tab for this account (the other one works fine). I've tried to force sync for all calendar, but with no luck. Having to do all this mess every time a new version of ThB is released and loosing access to one's emails/calendars for more than 15 days is realky tedious and really really really not fun in a professionnal environment... Also, Thb>Tools>Error Console is so well done that I cannot send you what I see there as a text!!! So here it is as an image: https://imgur.com/a/G0CFX Almost everytime ThB gets (automatically) updated on my machine (currently a Ubuntu 17.04), Lightning+GoogleProvided are a version behind, thus broken, which makes me loose access to my google calendars and often ThB also reaches a state where the only solution is to remove and recreate my whole config (2 google emails + 2 to 5 google calendars). This is quite annoying... And I'm not the only one: https://bugzilla.mozilla.org/show_bug.cgi?id=1169581 http://askubuntu.com/questions/537527/thunderbird-with-lightning-and-google-provider-no-longer-working Isn't it possible for the Lightning+GoogleProvider devs to follow the -dev branch of ThB, so that when the -stable branch gets released, a working version of the Lightning+GoogleProvider plugins gets released together and everything works fine for the final user? Or at least to make some automatic transitioning/testing so that when a new version of ThB is out, the final user is not impacted?
Just found a file in which I had written the error message I saw when running the fresh ThB 45.8.0 from commandline: "Error: Error Parsing ICS: 2152333568" Not sure if it is related to Lightning+GoogleProvider crash ThB&computer...
Comment 2•7 years ago
|
||
Perhaps having your assistance in the QA process would be helpful. More volunteers is a good thing.
Severity: normal → major
Component: Untriaged → Provider: GData
Product: Thunderbird → Calendar
Version: 45 Branch → unspecified
Comment 3•7 years ago
|
||
is this a repeat of bug 1353392, where you have not replied?
Flags: needinfo?(sexxxenator)
Arg.... Sorry... Without my calendar waste a lot of time in my work, sp I went totally lost and I didn't remember having already filed a bug! However, there are more info in this one than the other one. How could I merge the 2?
Flags: needinfo?(sexxxenator)
Comment 6•7 years ago
|
||
I'd suggest the following steps: 1) unsubscribe from all calendars 2) re-subscribe to calendars, one by one 3) when it hangs, wait for a long time (10-15 Minutes?) and let it hang 4) sync should be done after that The first sync is full, that can hang (unfortunately). Afterwards syncs are incremental, which is fast.
Flags: needinfo?(sexxxenator)
Updated•7 years ago
|
Severity: major → critical
Keywords: hang
Summary: lightning+googleprovider crashed again → lightning+googleprovider hangs 100% cpu on startup
Hi, Unfortunately, unsubscribing+re-subscribing to my ~15 calendars is not a viable solution. I've already tried that in the past (it is unfortunately not the first time - far from - I encounter problems with ThB+Lng+GP) and this takes waaaaaaaay too much time for mostly random results. I had found a temporary solution with: sudo apt-get install --reinstall thunderbird xul-ext-gdata-provider xul-ext-lightning i.e. by reinstalling versions of ThB and addons that are supposed to work together. Unfortunately, hangs/crashes are now occurring even with these supposed-to-work versions. I've triedcreating a new profile with only my emails, but now I encounter the exact same bug as described here: https://forums.linuxmint.com/viewtopic.php?f=47&t=244609&p=1314125#p1314125
Flags: needinfo?(sexxxenator)
Just to update the bug - under Linux Mint 64 bit, Thunderbird 52.2.1 (64-bit), Lightning 5.4; there is no Google Provider that will let me see my google calendars "compatible" in any repository that I can find. the bug is essentially a system hang, with repeated popup error windows claiming a script is not completing, often with the lead of "chrome://" I have had to remove the provider just to use my emails. Works fine on the windows side. - Elmar Dual boot win 7 & Linux Mint 18.2 Sonya 64-bit Kernel: 4.10.0-28-generic x86_64 (64 bit gcc: 5.4.0) Desktop: MATE 1.18.0 (Gtk 3.18.9-1ubuntu3.3)
Updating - just checked the windows side, and guess what - it fails there also now. I get this popup: Script:chrome://calendar/content/calendar-view-core.xml:123 And I have to C-A-D to stop TB, since it hangs the entire system (windows 7 64 bit, TB 52.3.0 - 32 bit, Lightning 5.4.3, Provider 3.3).
Comment 10•7 years ago
|
||
2nd update : I have a second 32 bit windows 7 system, and the problem does not seem to occur on it; at least not yet. So the problem may only be with 64 bit systems.
Comment 11•5 years ago
|
||
Unfortunately I don't think this bug is actionable at the moment. There are some perf issues in Lightning that are being worked on, the Provider is just using those APIs. I'll be testing with many events though, so this bug won't be forgotten.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•