crash and 100% CPU usage and "a script on this page may be busy" when adding many addresses to a message from address book

Bug #532986 reported by Martin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: thunderbird

1. From normal Inbox view of your e-mails, click Write
2. if there isn't already a "Contacts" sidebar beside the message you're composing, click View menu... Contacts Sidebar.
3. In the contacts sidebar, in the Address Book drop-down, pick an address book with thousands of entries.
4. click on the first one in the list, then either scroll to the last one or press Ctrl-End to jump to the last one, and hold Shift while clicking to highlight everything from the first to the last.
5. right-click on any one in this highlighted-list and choose "Add to BCC field"

BUG: you get pop-up warnings about "a script on this page may be busy..." with Continue or Stop Script buttons, and only a fraction of the addresses are (so far) added to the message
BUG: if you click Continue, it fills in a few hundred more addresses and gives the error pop-up again
BUG: if you click Stop Script, it fails to add the remaining addresses to the To:
BUG: in the time between the pop-ups, thunderbird-bin is taking 100% CPU
BUG: after clearing about 20 or 30 of these pop-ups, thunderbird crashes, dies, closes, disappears without a trace
BUG: no partial message is in Drafts with the so-far successfully added addresses

Note 1: in step 5 the problem also happens whether you choose "Add to To field" or "..Cc.." or "...Bcc..".
Note 2: with an address book of 1358 entries, this pop-up had to be cleared 3 times. On a different machine, with an address book of 4800 entries, the pop-up had to be cleared dozens of times, so it does not seem to happen after a certain fixed number of addresses are processed.
Note 3: full text of the pop-up is Title bar:
Note 4: an alternate method seems to have the 100% CPU usage problem but not the pop-up or crash: main window... Address Book... highlight all addresses... right click... choose Write... (however, this is not usable if you want to add from 2 large address books to the same message)

ProblemType: Bug
Architecture: amd64
Date: Fri Mar 5 17:15:54 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: mozilla-thunderbird (not installed)
ProcEnviron:
 LC_TIME=en_CA_ISO_username.UTF-8
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.57-generic
SourcePackage: thunderbird
Uname: Linux 2.6.31-20-generic x86_64
---
Architecture: amd64
DistroRelease: Ubuntu 10.10
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
NonfreeKernelModules: nvidia
Package: thunderbird 3.1.7+build3+nobinonly-0ubuntu0.10.10.1
PackageArchitecture: amd64
ProcEnviron:
 PATH=(custom, user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Tags: maverick
Uname: Linux 2.6.35-22-generic x86_64
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin mythtv netdev plugdev sambashare tape video

Revision history for this message
Martin (marthter) wrote :
Revision history for this message
Martin (marthter) wrote :

clarification on Note 4 where I said: an alternate method seems to have the 100% CPU usage problem but not the pop-up or crash....

That only helped in the case of the ~1500 entry address book. When trying the same steps with the ~4800 entry address book, the pop-up still occurred, but only once, and after clicking Continue, the whole screen was slightly greyed for about 30 seconds, and then the e-mail showed up with all the addresses. The crash part of the problem did not happen. (Another thing I accidentally did different, not sure if it is relevant, is that the address book rows were reverse-sorted by name this time.)

Revision history for this message
Martin (marthter) wrote :

Also the work-around in Note 4 is only able to put the addresses in To: fields, so it is of no help if you need to be adding the thousands of addresses to the Cc or Bcc field. I would have to click the drop-down beside every single address to change it from To: to Bcc:.

Revision history for this message
Martin (marthter) wrote :

Also what appears to be the same problem happening a few clicks later: after the Note 4 workaround is used and the message is saved in Drafts, and the message window closed, on subsequent opening of the message from Drafts (Edit Draft), then the 100% CPU usage problem happens, and the many (sequential) pop-ups problem happens. (I did not click Continue 30+ times this time to see if the crash part of the problem also happens).

Revision history for this message
Martin (marthter) wrote :

Any info lacking in my report that I can add or clarify to facilitate some progress on here?

I am going to try this in 10.04 beta (not sure what Thunderbird version is there), and maybe also on another distro (both in virtual machines), and if it is also a problem there then I guess I should file upstream at mozilla bugs instead of ubuntu-specific? Any other/better approaches or suggestions?

Revision history for this message
Przemek K. (azrael) wrote :

You can run "apport-collect 532986" in the terminal to grab more troubleshooting data and send it automatically to this bug.
You can also test Ubuntu 10.04 beta 2 which has Thunderbird 3.0.

Changed in thunderbird (Ubuntu):
status: New → Incomplete
Revision history for this message
Przemek K. (azrael) wrote :

There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test the current Ubuntu development version (10.10). If you can test it, and it is still an issue, we would appreciate if you could upload updated logs by running apport-collect 532986, and any other logs that are relevant for this particular issue.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for thunderbird (Ubuntu) because there has been no activity for 60 days.]

Changed in thunderbird (Ubuntu):
status: Incomplete → Expired
Martin (marthter)
Changed in thunderbird (Ubuntu):
status: Expired → Incomplete
Revision history for this message
Martin (marthter) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Martin (marthter) wrote :

Give me a break. I gave as thorough a description to reproduce the bug as I possibly could. It is perpetually true that "there have been many changes since ______", are you going to ask every user to only test with CVS HEAD or Subversion latest or git and compile stuff from source, before they can report a bug?

Anyway, yes I have tested again on an up-to-date Ubuntu 10.10 system and it still happens. I have done the apport-collect command you requested as well.

Revision history for this message
Martin (marthter) wrote :

Also it seems in my original bug description, Note 3 got truncated.

The pop-up window is:

Title bar: Warning: Unresponsize script

[question mark icon] A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.

Script: chrome://messenger/content/messengercompose/addressingWidgetOverlay.js:591

[check box] Don't ask me again

[buttons: Stop script and Continue]

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for thunderbird (Ubuntu) because there has been no activity for 60 days.]

Changed in thunderbird (Ubuntu):
status: Incomplete → Expired
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.