Closed Bug 587417 Opened 14 years ago Closed 10 years ago

first startup after booting sometimes shows error "Unresponsive script. A script on this page may be busy, or it may have stopped responding. ... iteratorUtils.jsm:113"

Categories

(Thunderbird :: General, defect)

x86_64
Windows 7
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: m_kylock, Unassigned)

Details

(Keywords: perf)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 tb-gmx/1.0.1b
Build Identifier: Thunderbird 3.1.2

After booting my system the first start of Thunderbird ends with this message:

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:
file:///C:/Program%20Files/Mozilla%20Thunderbird/modules/iteratorUtils.jsm:113

Than I do have the option to stop the script or not to stop.
Stopping the script Thunderbirds opens and is not showing my accounts.

Restarting Thunderbird: all seams to be ok.

Now I do not feal really sure, if I do not loose data, if this behaviour will be there long time. 
So setting the bug to major.
If you say, I will not loose any data, this error is "only" a very annoying thing.


Reproducible: Always

Steps to Reproduce:
1. boot your system
2. start thunderbird
3. the window with the error is shown
4. decide which button to click
5. close Thunderbird
6. open Thunderbird again
7. it opens without this error
Actual Results:  
after opening Thunderbird the error window is shown

Expected Results:  
normal start

using the default theme
I was looking for some information in google, but other users having the same problem are not coming to one solution. Deinstalling all addons was not successful, reinstalling Thunderbird was not successful.

The performance of my system is much slower than before upgrading to this version.
Could you try to start thunderbird in safe-mode (http://support.mozillamessaging.com/en-US/kb/Safe+Mode) ?

As this always been present or only in this version ?

How did you install TB, by being administrator ? Do you launch tb with the same account that did the install ?
(additional questions)
are you just updating from version 2 or version 3.0?
does it go away after 24 hours?

note: I think your error starts with "Unresponsive script". Adding to summary for searchability

we've been having plenty of those reported recently. ref 
http://feedback-nikerunning.nikeplus.com/mozilla_messaging/topics/unresponsive_script_error-c17tu
http://forums.mozillazine.org/viewtopic.php?f=39&t=1935665
Summary: first start after booting shows error with iteratorUtils.jsm:113 → first start after booting shows error "Unresponsive script. A script on this page may be busy, or it may have stopped responding. ... iteratorUtils.jsm:113"
Version: unspecified → 3.1
I updated from 2 to 3, but this is longer than 24 hours. But also to the newest version 3.1.2 and it did not disappear. This error did appear nearly every time. This day - right the day after opening this bug - it appeared the first time not. I do not know what I changed.

This error is present since I updated to the version 3.x

I installed and use thunderbird as admin. 

the note: yes, that's right. I have found the second link too, but there was no solution in all the links I have found when I searched for this error.
Windows XP SP3 and AV Avat.  TB 3.1.3 with profile in a network ethernet disk.

From today I have been stucked with the startup error (always the same) after a lot of time (could be more than 10 minutes):
Script: file:///C:/Archivos%20de%20programa/Mozilla%20Thunderbird/modules/iteratorUtils.jsm:113

Answering to the error I click on continue button and then TB startup and runs fine but extremely slow (click help --> about (almost 2 minutes)).

I don't see CPU/memory values different from other times:
CPU: 0:00:15.xxx
memory: around 50.000 K.

And my CPU and memory are inside good limits (30% and 1 Gb available)..

I have been inside 3.0 and 3.1 versions and I have updated almost every existant sub-version inside that major versions.  But the problem appears only today.
Sorry.... 

It is happend every time I startup TB.  Not only the first one.
i've got the same bug, except the last number is different.
/Mozilla%20Thunderbird/modules/iteratorUtils.jsm:114

i'm not sure exactly when it started, but it's been going on for a while. i have version 3.1.4, and it automatically installed. it doesn't happen every time i start the program, but i'm not exactly sure if there's any pattern to it.
(In reply to comment #7)
> i've got the same bug, except the last number is different.
> /Mozilla%20Thunderbird/modules/iteratorUtils.jsm:114
> 
> i'm not sure exactly when it started, but it's been going on for a while. i
> have version 3.1.4, and it automatically installed. it doesn't happen every
> time i start the program, but i'm not exactly sure if there's any pattern to
> it.

Same here, Using T'bird Version 3.1.6 in Win7 (and the problem only surfaced after the upgrade to this version) the last number is 141 for my problem, and it comes up the same every time.

I have a network folder as my mail repository, so I can get there from any of the computers in the house, but after starting T'bird with this error, it cannot find the files.
I am getting this error almost every time I attach a document to an email. If I take too long (which is VERY easy given the abysmal "select file" dialog that has long been part of Windows), I get the the error:

Warning: Unresponsive script
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://global/content/bindings/button.xml:0

It seems silly to time out while waiting for user input. This behaviour is new since my last upgrade to 3.1.6 (not sure what my previous version was)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

I get the error, too.

file:///C:/Program%20Files/Mozilla%20Thunderbird%203.0%20Beta%204/modules/iteratorUtils.jsm:113

I just click continue, and things move along.
Is anyone even looking at this? It is still happening. How much more confirmation do you need? Please...PLEASE...will someone read these postings and figure out how to fix the problem? Thank you.
Is anyone even looking at this? It is still happening. How much more confirmation do you need? Please...PLEASE...will someone read these postings and figure out how to fix the problem? Thank you.
This was sent twice by mistake. Please delete the repost. Thank you.
if and when someone looks at it someone will comment in the bug.
until then, two possible workarounds you might try:
* disable check for new messages on startup
* delay TB startup by installing a scheduling utility, and set it to start thunderbird on a delay after windows startup
Erik (comment 9) and anyone seeing this when using attachments, your issue is not related to this startup bug.  You want to refer to bug 575359 or bug 482811.


To everyone else, I'd like your feedback on the following...

(note: you do NOT want thunderbird to be in your windows startup folder)

seeing this issue only on the *first* startup of thunderbird (after Windows had booted) is most often an indication that other programs related to Windows startup have not yet finished their initialization.  For example, antivirus software. There are two good ways to detect this:
1. is your computer's disk IO light flashing frequently before you start thunderbird?
2. with tasksmanager open on the Processes tab, and sorted descending on the CPU column (i.e. highest CPU usage processes at the top), a) is thunderbird always at the top?  and b) do you see other processes running that are using more than just a couple percentage of CPU?
Keywords: perf
@Wayne - Why don't I want TBird in startup?

1 - lots of IO at startup.  Firefox is usually high on the list (sorted by PF Delta)
2 - a) No, Thunderbird isn't using tons of CPU.  b) Yes, I tend to use my processor pretty heavily, but mostly in low priority jobs.  (so idle time/"system idle process" isn't too good of an indicator for my system.  Note, though, that my background processes are set to not start until 5 minutes after boot).  Are you asking for me to run this test with Thunderbird *not* in the startup folder?  If so, when would you want me to start Thunderbird?  As soon as I can after booting, or when other boot activitiy has somewhat quiesced?  If it's the latter, I can say that that would make Thunderbird's user experience far less pleasing to me.  The former is also not what I'd prefer, but less onerous.
> "my background processes are set to not start until 5 minutes after boot"

I don't know what this means.

2. of course, we ignore idle process


As for thunderbird, if you are getting the warning, then you want to start it under circumstances where it does not significantly compete against other apps for disk IO. For most people on MS-windows, depending on the hardware, that probably means waiting at least 2 minutes after login before attempting to start TB.
> "my background processes are set to not start until 5 minutes after boot"

I have processes that use 100% of idle CPU at low priority.  I have them set to not start using idle CPU until 5 minutes after boot.

> As for thunderbird, if you are getting the warning, then you want to start it under circumstances where it does not significantly compete against other apps for disk IO. For most people on MS-windows, depending on the hardware, that probably means waiting at least 2 minutes after login before attempting to start TB.

If competing for disk IO is causing a timer to pop, maybe the timer should be configurable so I can make it longer?
(In reply to comment #14)
> * disable check for new messages on startup

Didn't work.  I'm wondering if the setting has any effect, given that I didn't have my VPN started up, and Thunderbird complained that it couldn't reach my mail server.
Mac OS X: 10.6.7
Thunderbird: 3.1.10
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; es-ES; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10

Path:
//Applications/Thunderbird.app/Contents/MacOS/modules/iteratorUtils.jsm:113

Got the unresponsive script today for the first time. I didn't update anything just ran TB as always.
In version 8, does this still happen for you?
yes, unfortunatly it is the same. :-(
thanks. is it also still the case, that safe mode does not improve the situation? http://support.mozillamessaging.com/en-US/kb/safe-mode  

If it does not,  
- does it happen if AV software is totally disabled?
- what is size of your largest inbox?
- what is number of accounts?
Didn't try the safe mode but I must confess that I didn't get back the unresponsive script. Crossing fingers...
m_kylock, can you test safe mode please?
Whiteboard: [closeme 2012-03-25]
sorry for not answering for that long time.

At the moment I do have the version 10.0.2 and this error is only coming up really rare. It is difficult to test it with the safe mode, now.

First I thought this error was only when I started thunderbird to quick after starting the PC, but now this is not the problem. 

I will test the safe mode if the error will come up again. 
At the moment I would say: no errors.
I think there are reports of this on getsatisfaction
Whiteboard: [closeme 2012-03-25] → [closeme 2012-04-25][gs?]
m_kylock thanks for the update.

m_kylock, still ...
- does it happen if AV software is totally disabled?
- what is size of your largest inbox?
- what is number of accounts?
Whiteboard: [closeme 2012-04-25][gs?] → [closeme 2012-05-25][gs?]
here is the information:
- I do have 2 profiles
- I do have 13 accounts in one profile, which I use normally
- I think the largest Inbox-folder is 38 MB, but I do have a lot of inbox-folders in one IMAP-folder 

- it does not matter if the AV software is enabled or disabled. I tested it just this evening again. Started the PC, stopped the AV (F-Secure), started Thunderbird, no error, stopped Thunderbird, started the AV, started Thunderbird, no error.
Second test: started PC, waited until all services are started (checked with taskmanager, started Thunderbird, no error. (AV is enabled)
Third test: started PC, waited until all services are started (checked with taskmanager, started Thunderbird, error. (AV is disabled)

And I need to correct my last answer - the errors are there again. Sorry.
I cannot find any situation where this error comes every time or where this error does not come.
Whiteboard: [closeme 2012-05-25][gs?] → [closeme 2012-06-25][gs?]
Whiteboard: [closeme 2012-06-25][gs?] → [gs?]
m_kylock, what is behavior with current version 17?
Flags: needinfo?(m_kylock)
It is allmost the same. :-(
Flags: needinfo?(m_kylock)
(In reply to m_kylock from comment #31)
> It is allmost the same. :-(

how is it different?
does it happen when windows is started in safe mode with networking enabled?
- win7 http://windows.microsoft.com/en-US/windows7/Start-your-computer-in-safe-mode
Flags: needinfo?(m_kylock)
The difference is, that there are now different messages:

Today:
First:
Skript: resource:///modules/iteratorUtils.jsm:96

than:
Skript: resource:///modules/gloda/index_msg.js:2830
Flags: needinfo?(m_kylock)
the second start today only shows the second error.
resource:///modules/gloda/index_msg.js:2830

starting in safe mode with networking shows the same error.
resource:///modules/gloda/index_msg.js:2830

at the moment I use thunderbird 17.0.4
So it sounds like this happens maybe 25%-50% of time?
Flags: needinfo?(m_kylock)
Summary: first start after booting shows error "Unresponsive script. A script on this page may be busy, or it may have stopped responding. ... iteratorUtils.jsm:113" → first startup after booting sometimes shows error "Unresponsive script. A script on this page may be busy, or it may have stopped responding. ... iteratorUtils.jsm:113"
(In reply to m_kylock from comment #29)
> ...
> - it does not matter if the AV software is enabled or disabled. I tested it
> just this evening again. Started the PC, stopped the AV (F-Secure), started
> Thunderbird, no error, stopped Thunderbird, started the AV, started
> Thunderbird, no error.
> Second test: started PC, waited until all services are started (checked with
> taskmanager, started Thunderbird, no error. (AV is enabled)
> Third test: started PC, waited until all services are started (checked with
> taskmanager, started Thunderbird, error. (AV is disabled)

m_kylock, 

I have since determined a more effective test process is
Start *Windows'* safe mode with networking enabled
- win8 http://windows.microsoft.com/en-US/windows-8/windows-startup-settings-including-safe-mode
- win7 http://windows.microsoft.com/en-US/windows7/Start-your-computer-in-safe-mode
- XP http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx
Still In Windows safe mode, start thunderbird in safe mode
- http://support.mozillamessaging.com/en-US/kb/safe-mode

Does problem go away?
Whiteboard: [gs?] → [closeme 2014-09-15]
Resolved per whiteboard
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(m_kylock)
Resolution: --- → INCOMPLETE
Whiteboard: [closeme 2014-09-15]
Anyone still seeing this after 2012-09-24 in a nightly build, or version 24 and newer, should perhaps see bug 929281
You need to log in before you can comment on or make changes to this bug.