Closed Bug 356125 Opened 19 years ago Closed 18 years ago

Lightning with wcap hangs when adding new calendar

Categories

(Calendar :: Provider: WCAP, defect)

x86
All
defect
Not set
major

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 362088

People

(Reporter: muzzol, Assigned: dbo)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; ca; rv:1.8.0.7) Gecko/20060921 Ubuntu/dapper-security Firefox/1.5.0.7 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; ca; rv:1.8.0.7) Gecko/20060921 Ubuntu/dapper-security Firefox/1.5.0.7 i install lightning-wcap-0.3rc2.linux-i686.xpi with wcap extension with no problems. i create a new calendar introduce all information and when the last window of wizard appears it freezes, it starts eating all CPU and after some time it crash. i've tried with ubuntu thunderbird and also with last 1.5 and 2.0 builds: http://mozilla2.mirrors.tds.net/pub/mozilla.org/thunderbird/releases/1.5.0.7/linux-i686/ca/thunderbird-1.5.0.7.tar.gz http://ftp.isu.edu.tw/pub/Mozilla/thunderbird/releases/2.0a1/linux-i686/en-US/thunderbird-2.0a1.tar.gz Reproducible: Always Steps to Reproduce: 1. install lightning-wcap-0.3rc2.linux-i686.xpi 2. create new calendar 3. follow steps of wizard Actual Results: it freezes and starts eating CPU
I'm seeing exactly this behaviour with both Lightning 0.3 and the nightlies, combined with Thunderbird 1.5.0.8 or the trunk nightlies. Here's my post to mozilla.support.calendar: I'm trying to connect to our 2005q1 Sun Java Calendar Server using the WCAP builds of Lightning. Sadly, I'm so far having no luck. Using the 0.3 release of Lightning with WCAP, the following happens: * Lightning/Thunderbird loads and presents a blank local calendar. * I add a remote calendar using WCAP and enter the hostname of our calendar server (I've tried using both http and https urls here) * Lightning prompts me for a username and password, identifying the server as "-//Sun/Calendar Server//EN, v6.2, WCAP v3.3.0" in the prompt * I enter my username and password and click OK * Lightning/thunderbird completely hangs - no GUI redraws etc. It uses 100% of one of my CPUs and goes into a cycle where the memory usage continuously climbs from about 70 to 80MB before resetting back to about 70 again. There is continual network activity between my machine and the calendar server, but it's https so I don't know what's going on. At this point I have to kill thunderbird. If I restart it and give it the username and password again, exactly the same happens. The above is with Thunderbird v2 beta 1 (20061122). I get exactly the same results with Thunderbird 1.5.0.8. I also tried yesterday's Lightning nightly with the trunk Thunderbird nightly. This gave very similar results, but the hang happened at the point of prompting me for my password, rather than after I'd entered it. All of the above were running on Windows XP Pro SP2 on an Intel Core 2 Duo.
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Version: unspecified → Trunk
taking the bug.
Assignee: nobody → daniel.boelzle
Can you please provide a log (eMail it to me)? Have a look at <http://wiki.mozilla.org/Calendar:WCAP_Provider#Logging> how to get one. thanks!
I've emailed you a log.
The following rough patch fixes this issue for me. It uses search_calprops in place of get_calprops. I also had to remove the default appending of calId in getCommandUrl as calid means something different in search_calprops (although it's a different case anyway, so this may be irrelevant). Thanks to Norbert Puschel for the hard work behind this! Compare: (<) calWcapCalendar.js (15980 bytes) with: (>) patched calWcapCalendar.js (15983 bytes) 305d305 < url += ("&calid=" + encodeURIComponent(this.calId)); 393,394c392,393 < var url = this.getCommandUrl( "get_calprops" ); < url += "&fmt-out=text%2Fxml"; --- > var url = this.getCommandUrl( "search_calprops" ); > url += "&fmt-out=text%2Fxml&searchOpts=3&search-string=" + encodeURIComponent(this.calId);
See bug 362088 (a duplicate of this bug) for Norbert Puschel's write-up of this problem.
I installed sunbird over Win XP (sunbird-0.3.es-ES.win32.installer.exe) without problems, but when I select New Calendar the program hangs and I cannot to recover the focus to Sunbird (neither click on in or via task manager or alt-tab) and don´t show the supposed wizard to create new one. A difference with the Linux bug is that Sunbird don´t eat the CPU, always in 0% of charge and Windows don´t report the application as not response, but nothing happens and I have to kill from task manager.
Are you using WCAP? If not, this is a different issue to the one in this bug. I didn't think Sunbird had WCAP support, which is why I ask.
(In reply to comment #9) Please note that Bug 362088 already has a patch attached. As this bug was marked as duplicate of this one please check if the patch helps in this bug too.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Resolution: FIXED → DUPLICATE
Summary: lighting with wcap hangs when adding new calendar → Lightning with wcap hangs when adding new calendar
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.