google calendar provider causes thunderbird to crash

Bug #352835 reported by Misha Koshelev
4
Affects Status Importance Assigned to Milestone
Sunbird
Invalid
Critical
lightning (Ubuntu)
Won't Fix
Undecided
Unassigned
mozilla-thunderbird (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: mozilla-thunderbird

Thunderbird works fine until I add my Google Calendar. Then cannot interact with it at all except by starting in safe mode or deleting .sdb file in my .mozila-thunderbird directory.

Upstream bug report:
https://bugzilla.mozilla.org/show_bug.cgi?id=485649

Log:
http://misha680.googlepages.com/log

Revision history for this message
In , Misha Koshelev (misha680) wrote :
Revision history for this message
Misha Koshelev (misha680) wrote :

Binary package hint: mozilla-thunderbird

Thunderbird works fine until I add my Google Calendar. Then cannot interact with it at all except by starting in safe mode or deleting .sdb file in my .mozila-thunderbird directory.

Upstream bug report:
https://bugzilla.mozilla.org/show_bug.cgi?id=485649

Log:
http://misha680.googlepages.com/log

Revision history for this message
In , Misha Koshelev (misha680) wrote :

Crashes sunbird too

Revision history for this message
In , Misha Koshelev (misha680) wrote :
Revision history for this message
In , Misha Koshelev (misha680) wrote :

Error: Assert failed: An error was encountered preparing the calendar located at http://www.google.com/calendar/feeds/misha680%40gmail.com/private-43ddf8748e530a6aa5a5b9b8ab1a411d/basic for use. It will not be available.
1: [file:///tmp/sunbird/components/calItemModule.js -> file:///tmp/sunbird/js/calUtils.js:1004] ASSERT
2: [file:///tmp/sunbird/components/calItemModule.js -> file:///tmp/sunbird/js/calCalendarManager.js:560] cmgr_createCalendar
3: [file:///tmp/sunbird/components/calItemModule.js -> file:///tmp/sunbird/js/calCalendarManager.js:708] cmgr_assureCache
4: [file:///tmp/sunbird/components/calItemModule.js -> file:///tmp/sunbird/js/calCalendarManager.js:684] cmgr_getCalendars
5: [null:0] null

Source File: file:///tmp/sunbird/components/calItemModule.js -> file:///tmp/sunbird/js/calUtils.js
Line: 1009

Revision history for this message
j.scott.gwin@gmail.com (j.scott.gwin) wrote :

Thank you for reporting this issue, it helps make Ubuntu better. Confirmed.

Changed in mozilla-thunderbird:
status: New → Confirmed
Revision history for this message
John Vivirito (gnomefreak) wrote :

The upstream bug report was against lightning. This is not likely to land in 0.9 and 1.0b1 will be last release of Sunbird however Lightning will continue past 1.0b1. Once it is ready for packaging around finial release of 1.0, I have to make changes to fit only Lightning.
@Misha and J. Scott
what is the output of the following commands:
apt-cache policy lightning thunderbird
lsb_release -a

Changed in lightning (Ubuntu):
status: New → Confirmed
Changed in mozilla-thunderbird (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
John Vivirito (gnomefreak) wrote :

Added upstream report to this bug so we can track it.

Revision history for this message
In , John Vivirito (gnomefreak) wrote :
Changed in sunbird:
status: Unknown → New
Revision history for this message
In , Ssitter (ssitter) wrote :

Misha, your screenshots indicates that you subscribed to Google Calendar using the Provider for Google Calendar extension. This error typically occurs if the extension has been disabled or removed. Open Tools > Add-ons and check that the Provider for Google Calendar extension is correctly installed and enabled.

Do you use Lightning 0.9 from mozilla.org or Lightning 0.8 from Ubuntu?

Revision history for this message
In , Misha Koshelev (misha680) wrote :

Hi the screenshot is from Sunbird as Lightning will just hang. Log is from Lightning 0.9.

I tried with a clean profile, install Lightning (amd64) 0.9 and Google Calendar provider. Same hang. Also I tried just doing it as a CalDAV, also loads calendar but hangs...

I think its something specific to my calendar which is why I think the link to the log will help I hope. Thank you

Revision history for this message
In , Misha Koshelev (misha680) wrote :
Revision history for this message
In , Ssitter (ssitter) wrote :

There used to be at least one public google calendar that caused a hang of Sunbird/Lightning, see Bug 401639, Bug 377487. I suggest that you use Google calendar web interface to download the .ics file for your calendar via the provided ICAL feed and check the file in a text editor for a similar event.

I'm not a CalDAV expert but the log from comment 8 looks fine to me. Some calendar has been loaded and alarms are triggered for the events in the calendar. No indication of an error or hang.

Revision history for this message
In , Misha Koshelev (misha680) wrote :

I don't think my problem is the same but just in case here are all my RRULEs:
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
RRULE:FREQ=WEEKLY;UNTIL=20081231T153000Z;INTERVAL=1;BYDAY=WE;WKST=SU

It's kind of personal but I suppose I could post my ical. Would that help?

Revision history for this message
In , Misha Koshelev (misha680) wrote :

In fact here it is:
http://misha680.googlepages.com/basic.ics

I will take down in a few days though...

Revision history for this message
In , Misha Koshelev (misha680) wrote :

Cmon, seriously, I posted my whole private ical... its still up. Are you telling me _noone_ has time to look? It's a pretty serious bug if completely crashes Thunderbird/Lightning and Sunbird...

Revision history for this message
In , Misha Koshelev (misha680) wrote :

Makes me question my whole commitment to open source seriously...

Revision history for this message
In , Ssitter (ssitter) wrote :

Your test file works correctly for me using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b4pre) Gecko/20090420 Calendar/1.0pre. I tested both importing into local storage calendar and opening the file directly.

Revision history for this message
In , Philipp-bugzilla (philipp-bugzilla) wrote :

Misha, I'm sorry this has been taking so long. Please note we are very low on developer resources currently, see http://weblogs.mozillazine.org/calendar/2009/02/calendar_project_at_a_critical.html

Revision history for this message
In , Misha Koshelev (misha680) wrote :

Ok no worries. Please let me know if I can help somehow.

I can't even import my ics file though.

Revision history for this message
In , Ssitter (ssitter) wrote :

Based on your logs it seems that the calendars are loaded but lets give it a try: Do you access both email and calendar at the same time via secure (SLL) connection, e.g. during Thunderbird startup? If yes you might be experiencing Bug 390036. Could you retest after disabling check for emails during startup?

Revision history for this message
In , Misha Koshelev (misha680) wrote :

Hey that worked! So what do I do to make it permanent? And why did it only start acting up all of a sudden?

Revision history for this message
In , Ssitter (ssitter) wrote :

Thanks for testing -> resolving duplicate.

I don't know why the issue didn't occur earlier for you. Maybe the update to Thunderbird 2.0.0.21 changed something. Maybe it depends on the order Thunderbird uses to check the email accounts.

Based on the current information in Bug 390036 it seems that the solution is using Thunderbird 3.

*** This bug has been marked as a duplicate of bug 390036 ***

Revision history for this message
In , Misha Koshelev (misha680) wrote :

Ok thanks. It started happening again. Any ideas when Thunderbird 3 will be out?

Thanks
Misha

Changed in sunbird:
status: New → Invalid
Revision history for this message
Misha Koshelev (misha680) wrote :

Out of curiosity since the solution is to upgrade to Thunderbird 3 will this upgrade eventually make it to Hardy Heron?

Thanks
Misha

Revision history for this message
Alexander Sack (asac) wrote :

thunderbird 3 isnt even out of betas yet.

Revision history for this message
John Vivirito (gnomefreak) wrote :

No Thunderbird-3.0 will not be released into Jaunty or below.
I have yet to decide if lightning 0.9 will end up in pre jaunty.
You can find lightning builds for hardy and intrepid on my PPA https://launchpad.net/~gnomefreak/+archive/ppa
If you ask in #ubuntu-mozillateam someone should beable to give you a PPA for tbird-3.0 however i dont think we build on hardy.
We dont backport Mozilla apps unless its an extension or something small due to a few reasons.
1. packages are huge
2. Mozilla has been known for bugs (introducing bugs into stable releases is never a good diea)
3. massive amount and important depends issues

Changed in lightning (Ubuntu):
status: Confirmed → Won't Fix
Revision history for this message
In , Misha Koshelev (misha680) wrote :

Just got Google Provider 0.5.2 seems to work better...

Will let you know

MIsha

Changed in sunbird:
importance: Unknown → Critical
status: Invalid → Unknown
Changed in sunbird:
status: Unknown → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.