Closed Bug 650818 Opened 13 years ago Closed 13 years ago

Unresponsive Script in XPCOMUtils.jsm when checking/manipulating RRS Feeds caused by Trend Micro Antivirus

Categories

(Thunderbird :: General, defect)

x86_64
Windows 7
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: khy.araxhiel, Unassigned)

Details

(Keywords: perf, Whiteboard: [antivirus: Trend Micro])

Attachments

(1 file)

User-Agent:       Opera/9.80 (Windows NT 6.1; U; es-ES) Presto/2.8.131 Version/11.10
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9

Since a week ago (more or less) I've experienced some troubles with Thunderbird and its XPCOMUtils.jsm module... let me explain:

I have several Feeds suscriptions managed by Thunderbird, and, I organize them in 'folders' in order to keep a common theme between the different Feeds: Downloads, Tech, Fun Blogs, and so on...

But the big deal its that I recently changed of PC, and, 'cause I have my profile on an external hard drive, it was seems to me so easy to use my profile on the new PC. (I must say that I've done things like that before: used my profile on different PC's, and the same for OS and architectures: GNU/Linux [Ubuntu] (x32) and Windows [XP/7] (x32 and x64) for equal, and only experienced some addons.. but nothing more than that...)

Oh, well, the point is that my old PC is a Win7 x64 (ENG), the new one is a Win7 x64 (ESN)... quite similar, huh? (By the other hand... In the Hardware section, both have the same specs) And, in the new one, when I try to read, delete, starred, or tag any new article on the RSS folders, frecuently, the Thunderbird freezes out, and several seconds later shows me this error:

-----------------------------------------------------------------------

Since a week ago (more or less) I've experiencied
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%20(x86)/Mozilla%20Thunderbird/modules/XPCOMUtils.jsm:328

-----------------------------------------------------------------------

I must say that, that error is annoying (it keeps appearing like if there's no tomorrow), and more because the first two days Thunderbird works as always: very well..

I don't know what happened on the 4th day... It just simply refuses to colaborate... At first I think that could be a problem on the Feeds.rdf or Feeditems.rdf files, because that error starts to appears and freeze out while checking for new feeds... so I decided to backup my RSS Feeds folder and start from scratch again. I must say that this solve some of my problems, because it stop freezes on the search of new items... but, the freeze while I read/manipule the articles persists.

Sometimes I think that is something in this machine tha cuases the problem because on home, my both PC's (Desktop and Laptop, with Windows XP Pro SP3), the Feeds work fine, the old and the new ones, so I just simply don't know what happen in this machine.

I just started to think that maybe could be a framework issue, but I dont know if Thunderbird uses .NET Framework or something like that... (Java?)

Any help/comment are welcome.... Thanks in advance!

Reproducible: Didn't try

Steps to Reproduce:
Honestly, I don't know how to reproduce this friggin' error... It only happens in this machine (so far) and involves ANY manipulation (Read/Delete/Starring/Tagging) on the Feeds...



The error only appears on RSS Feeds folder, not in E-Mail Folders.
Wayne Ideas ?
- does this happen when started in safe mode?
 https://support.mozillamessaging.com/en-US/kb/Safe+Mode
- please attach file with stacktrace. instructions at https://developer.mozilla.org/En/How_to_get_a_stacktrace_with_windbg and please use "Thunderbird" where ever you see Firefox in the instructions
- what, briefly, do you think changed a week ago when this first started happening?
Severity: normal → critical
Keywords: crash
khy.araxhiel, please, could you answer to comment #2?
Whiteboard: [closeme 2011-05-28]
(In reply to comment #3)
> khy.araxhiel, please, could you answer to comment #2?

Hi, sorry, I'm just watching the comment #2. I was a very busy in past weeks.... i'm so sorry....

About "what, briefly, do you think changed a week ago when this first started happening?"... well, I changed of PC. Secondly... I don't know, usually I do software development stuff in this machine, but I use (mainly) VM's... I don't know if that could be a problem (Thinderbird is, of course, in the host OS, not in the VM).

but, let me see.... In the very fisrt day, when this PC comes to the office (and I still had the old and reliable 'hand-made' PC) I installed a software called 'ePlan' and it comes with an (very) old of .NET framework that, when I tried to install, shows me an warning message about incompatibilities with Windows 7 and blah blah.. but, 'cause I don't know that this **** PC (soon) will be assigned to me to test it, I don't pay enought attention in that detail with .NET framework...

Beside that... nothing out of the ordinary...

Right now, i'm trying of make the procedure to attach the stacktrace file, but I'm having some troubles, more specifically with the thing about downloading the symbols: there is a specific thunderbird source or I can use the one of firefox?

thanks in advance!
In the command you type when there is firefox on he wiki, replace that with thunderbird, that will do the trick. Also make sure that the folder you are dumping symbols in is writable by your user ( ie on 7 and vista you might need to changes the rights if your folder is created on c:\).
I've added the file generated with WinDBG, I hope that the contained information will be the correct one, because I had some troubles with the commands (especifically with the symbols sources). If you need that I do another other thing, please, let me know.

Thanks In Advance!

Best Regards!
Hum something is fishy in that trace.
Whiteboard: [closeme 2011-05-28]
(In reply to comment #8)
> Hum something is fishy in that trace.

Excuse my ignorance ... but what do you mean?

Sorry.. I'm quite new in all of this, and I don't know if I done the procedure well...
Just wanted to chime in that I've been experiencing the same issue.  Happens to me in Safe Mode as well.  Basically freezes up the entire TBird instance.  I have ~80 subscribed feeds.
Version: unspecified → 3.1
ludo, what are you thinking is odd inthe trace?
(In reply to comment #11)
> ludo, what are you thinking is odd inthe trace?

I don't see any mozilla nor Thunderbird symbols in it.
(In reply to comment #12)
> (In reply to comment #11)
> > ludo, what are you thinking is odd inthe trace?
> 
> I don't see any mozilla nor Thunderbird symbols in it.

So, which will be the next step?

Make a stacktrace file again?

best regards.
My interpretation is you are getting unresponsive script, and not crashing. The following thoughts are based on that idea.

1. What type of "external drive" is your profile on?  And what is the speed of the connection?  Why are you using an external drive?  (don't change anything yet)
2. What is the memory usage of thunderbird.exe as reported by taskmanager process tab when you see the problem, and the total and free memory reported on the performance tab?
3. What antivirus, spyware and firewall software do you run? (don't change anything just yet)
4. Can you try Thunderbird 5.0 beta, available at http://www.mozillamessaging.com/en-US/thunderbird/early_releases/downloads/ (backup your profile before using)  Does the newer version help?
5. Are any of these RSS feeds high traffic?  (for example over 50 articles/day?)  How many articles per day?
Severity: critical → major
Keywords: crashperf
Summary: XPCOMUtils.jsm crashes when checking/manipulating RRS Feeds → Unresponsive Script in XPCOMUtils.jsm when checking/manipulating RRS Feeds
Hi! good morning.

(In reply to comment #14)
> My interpretation is you are getting unresponsive script, and not crashing.
> The following thoughts are based on that idea.

Yeah, it's more like a unresponsive script, but, the first times that happened it causes ThunderBird crashes... but it almost don't happen right now
 
> 1. What type of "external drive" is your profile on?  And what is the speed
> of the connection?  Why are you using an external drive?  (don't change
> anything yet)

It's a Seagate Expansion, Portable Drive (1 Tb), USB 2.0, 5400 rpm

(Right here I have the feeling that I must say that I only have this situation in this computer, not in the others. And yes, I use the same hard drive on all of them)

> 2. What is the memory usage of thunderbird.exe as reported by taskmanager
> process tab when you see the problem, and the total and free memory reported
> on the performance tab?

Good question, I haven't noticed that before, but when I have killed the Thunderbird process, I looks to work consuming around 170~190 Mb. It's normal? (Right now it's eating around 100 Mb)

> 3. What antivirus, spyware and firewall software do you run? (don't change
> anything just yet)

In this machine: Trend Micro Titanium, Maximum Security... came preinstalled, usually I use Kaspersky Internet Security

> 4. Can you try Thunderbird 5.0 beta, available at
> http://www.mozillamessaging.com/en-US/thunderbird/early_releases/downloads/
> (backup your profile before using)  Does the newer version help?

Yes, I've tried that version. No, that don't solve my problems... It seems to work just a little more smoothly than with 3.1 version, but definetly that don't help me to erradicate the problem.

> 5. Are any of these RSS feeds high traffic?  (for example over 50
> articles/day?)  How many articles per day?

Articles per day? Pfft---- XD I don't know... may be 200 per day... or something like that? (let me count) [.....] Yeah, something between 150 and 200 per day (Gizmodo and 9GAG are the kings of articles XD)
____________________________

After all, I must say that it's awkward that only in this computer happens that, weird, things... 'cause in my other computers it works fine (even another Windows 7 Ultimate)... It's just out of my comprehension...

Thanks in advance!
The Thunderbird memory usage you cited is nominal. But I'd still like also ...
> the total and free memory reported on the performance tab?


>  Trend Micro Titanium, Maximum Security... came preinstalled, usually I use Kaspersky Internet Security

please try with Trend disabled, and Kaspersky partly disabled if possible

And do you have any crash report IDs you can post?
 http://support.mozillamessaging.com/en-US/kb/Mozilla+Crash+Reporter#Viewing_crash_reports
Version: 3.1 → Trunk
(In reply to comment #16)
> The Thunderbird memory usage you cited is nominal. But I'd still like also
> ...
> > the total and free memory reported on the performance tab?
> 

LOL! I was reading your email xD and It happened! Free memory was fluctuating around 1000 and 1300, Memory available was around 4800 and 5200

> 
> >  Trend Micro Titanium, Maximum Security... came preinstalled, usually I use Kaspersky Internet Security
> 
> please try with Trend disabled, and Kaspersky partly disabled if possible
> 

Kaspersky? ah! ok.. maybe I don't explain myself properly, sorry about that. I use kaspersy on the other computers, right here just with (the came-from-nowhere) trend micro... ok I'll try disabling it for a while...

> And do you have any crash report IDs you can post?
>  http://support.mozillamessaging.com/en-US/kb/
> Mozilla+Crash+Reporter#Viewing_crash_reports

Uhhmmm I don't thik so... My bad... sorry :(
(In reply to comment #15)
> Hi! good morning.
> 
> (In reply to comment #14)
> > My interpretation is you are getting unresponsive script, and not crashing.
> > The following thoughts are based on that idea.
> 
> Yeah, it's more like a unresponsive script, but, the first times that
> happened it causes ThunderBird crashes...

unresponsive script does, in some cases, cause crashes. (even when attachment dialogs are not involved)  so this isn't surprising.  Did you tell crash reporter not to submit a report?   If you submitted a report, the http://support.mozillamessaging.com/en-US/kb/Mozilla+Crash+Reporter#Viewing_crash_reports describes how to get them.


> > 1. What type of "external drive" is your profile on?  And what is the speed
> > of the connection?  Why are you using an external drive?  (don't change
> > anything yet)
> 
> It's a Seagate Expansion, Portable Drive (1 Tb), USB 2.0, 5400 rpm
> 
> (Right here I have the feeling that I must say that I only have this
> situation in this computer, not in the others. And yes, I use the same hard
> drive on all of them)

We haven't checked cpu usage. But considering all your comments I think we can skip CPU. Suggest we focus on what's different on this PC, and I think we might focus on the USB connection.

I suggest that you find a disk speed tester, and run it on both win7 ultimate systems, and see if they match on throughput, etc.

 
> > 2. What is the memory usage of thunderbird.exe as reported by taskmanager
> > process tab when you see the problem, and the total and free memory reported
> > on the performance tab?
> 
> Good question, I haven't noticed that before, but when I have killed the
> Thunderbird process, I looks to work consuming around 170~190 Mb. It's
> normal? (Right now it's eating around 100 Mb)
> 
> Free memory was fluctuating around 1000 and 1300, 
> Memory available was around 4800 and 5200

good, so problem is not related to memory 


> > 4. Can you try Thunderbird 5.0 beta, available at
> > http://www.mozillamessaging.com/en-US/thunderbird/early_releases/downloads/
> > (backup your profile before using)  Does the newer version help?
> 
> Yes, I've tried that version. No, that don't solve my problems... It seems
> to work just a little more smoothly than with 3.1 version, but definetly
> that don't help me to erradicate the problem.

good to hear that it is better. This confirms what should be expected ... RSS is mostly js code. and js code should be faster in 5.0 than 3.1.
(In reply to comment #18)
> (In reply to comment #15)
> > Hi! good morning.
> > 
> > (In reply to comment #14)
> 
> unresponsive script does, in some cases, cause crashes. (even when
> attachment dialogs are not involved)  so this isn't surprising.  Did you
> tell crash reporter not to submit a report?   If you submitted a report, the
> http://support.mozillamessaging.com/en-US/kb/
> Mozilla+Crash+Reporter#Viewing_crash_reports describes how to get them.
>

Hummm these Reports ID are helpful?

bp-d45b45e4-40d3-4e65-8e1d-9c8742110607	07/06/2011	05:08 p.m.
bp-500999dd-9d1d-4d0a-a6c9-ffaf72110606	06/06/2011	04:44 p.m.
bp-f075f83e-a593-47a6-aa01-83eab2110523	23/05/2011	11:26 a.m.
bp-9ea0f079-44c7-4bc0-8511-5b5192110503	03/05/2011	05:05 p.m.
bp-05cddf1f-ec77-4ab2-91af-570db2110427	27/04/2011	09:14 a.m.
bp-a4f1a636-a8de-4762-b778-3a3e02110404	04/04/2011	08:47 a.m.
 
> 
> 
> We haven't checked cpu usage. But considering all your comments I think we
> can skip CPU. Suggest we focus on what's different on this PC, and I think
> we might focus on the USB connection.
> 
> I suggest that you find a disk speed tester, and run it on both win7
> ultimate systems, and see if they match on throughput, etc.
> 

Let me do some tests, and I'll let you know the results.

Best regards!
Ok, it seems that disabling Trend Micro it solves (apparently) almost all the problems... meanwhile I'll keep on watching the behavior of Thunderbird...
Thanks for that info.  This bug then joins the fine company of other bugs caused by antivirus SW https://bugzilla.mozilla.org/buglist.cgi?type1-0-0=substring&keywords=perf%2C%20&keywords_type=allwords&list_id=468560&field0-0-0=short_desc&type0-0-1=substring&field0-0-1=keywords&type1-0-1=allwordssubstr&resolution=INVALID&classification=Client%20Software&classification=Components&query_format=advanced&type0-0-0=anywordssubstr&field1-0-0=short_desc&product=MailNews%20Core&product=Thunderbird&field1-0-1=short_desc

I'll close this invalid, but we should continue comments as long as needed.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Summary: Unresponsive Script in XPCOMUtils.jsm when checking/manipulating RRS Feeds → Unresponsive Script in XPCOMUtils.jsm when checking/manipulating RRS Feeds caused by Trend Micro Antivirus
These crashes are all over the map. Which seems not uncommon for this type problem:

mozalloc_abort(char const* const) | NS_DebugBreak_P | AbortIfOffMainThreadIfCheckFast
bp-d45b45e4-40d3-4e65-8e1d-9c8742110607

nsQueryInterfaceWithError::operator()(nsID const&, void**)
bp-500999dd-9d1d-4d0a-a6c9-ffaf72110606

nsTreeBodyFrame::GetSelectionRegion(nsIScriptableRegion**)
bp-f075f83e-a593-47a6-aa01-83eab2110523

nsProxyObject::LockedFind(nsID const&, void**)
bp-9ea0f079-44c7-4bc0-8511-5b5192110503

xpcom_core.dll@0x43d10
bp-05cddf1f-ec77-4ab2-91af-570db2110427
Whiteboard: [antivirus: Trend Micro]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: