Closed Bug 360859 Opened 18 years ago Closed 11 years ago

[mac os x] something (flash, anti-phishing, joga, mozcc extension?) causes browser to hang frequently

Categories

(Firefox :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: moco, Unassigned)

Details

Attachments

(4 files)

[mac os x] flash causes browser to hang
josh asks if gen could:

1) disable extensions

2) run from gdb

3) don't uprade flash (please stay at 9.0 r 20)

gen, I'll show you how to do these, including #3, so that we can get a backtrace.
gotcha.
I'm widening the scope here, based on the latest sample from Gen.

this bug is really:  "Fx 2.0 hangs so much for Gen that he prefers to use 1.5.0.8", and I fear others are seeing it as well.

Let me attach his next sample.
Summary: [mac os x] flash causes browser to hang → [mac os x] flash (or possibly anti-phishing?) causes browser to hang frequently
Some questions I have open for Gen:

About anti-phishing:

1)  Do you use it?
2)  If so, do you check against the downloaded list, or by pinging google?
3)  If you use it, could you disable it for a while and let me know if you still get problems?

And:

4) which extensions do you have?

Gen might be hitting both a flash issue and other issues.
    1)  Do you use it?

    Yes

    2)  If so, do you check against the downloaded list, or by pinging google?

    downloaded list

    3)  If you use it, could you disable it for a while and let me know if you

    willdo

    4) which extensions do you have?

    chatzilla, dom inspector, joga, mozcc, talkback (I took out a bunch more recently)

Since the Google Toolbar is now getting most of the blame for bug 353962 I'd make disabling/uninstalling Joga my next test step, if I were you.

I've uninstalled everything but dominspector and talkback.
I've installed the joga companion in order to see if that is the cause.
Summary: [mac os x] flash (or possibly anti-phishing?) causes browser to hang frequently → [mac os x] flash (or possibly anti-phishing?) joga causes browser to hang frequently
shaver, the snippet of the stack that I was asking about was this:

XPC_WN_CallMethod(JSContext*, JSObject*, unsigned, long*, long*)
XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode)
XPTC_InvokeByIndex
mozStorageStatement::ExecuteStep(int*)

(see "sample #2 from Gen" for the full sample)
That stack isn't Joga -- Joga was against Fx1.5, and didn't use sqlite (which didn't even have the async-thread stuff at the time!).

Strongly suspect anti-phishing is triggering this, even if it's not to blame.

What does the AF stuff do from a timer, and what thread is that timer usually serviced/set on?
(In reply to comment #13)
> What does the AF stuff do from a timer, and what thread is that timer usually
> serviced/set on?

Anti-phishing sets a timer onlocation change on the UI thread.  When the timer fires (1.5 sec later), it does the sqlite lookup of the URL.

The stack trace looks like anti-phishing, although it seems to be caught in the depths of sqlite.

How big is urlclassifier2.sqlite in Gen's profile directory?  Also, maybe the db is corrupt.  Does moving urlclassifier2.sqlite out of the way (should just be re-created and re-download the list data) help?
> How big is urlclassifier2.sqlite in Gen's profile directory?  

Tony- how do I check for this?

>Does moving urlclassifier2.sqlite out of the way (should just be re-created and re-download the list data) help?

If you can let me know how to do this, I can try.
> How big is urlclassifier2.sqlite in Gen's profile directory?  

Tony- how do I check for this?

>Does moving urlclassifier2.sqlite out of the way (should just be re-created and re-download the list data) help?

If you can let me know how to do this, I can try.
Attached file crash report #1
Here's my first crash which I think may be associated with this bug.  The crash dialog box had a comment about Flash so I decided to add it here.
(In reply to comment #16)
> > How big is urlclassifier2.sqlite in Gen's profile directory?  
> 
> Tony- how do I check for this?

You can find your profile directory here:
http://kb.mozillazine.org/Profile_folder#Where_is_my_profile_folder.3F

There should be a filed called urlclassifier2.sqlite in that folder.  Try renaming the file or moving it out of the way then restarting Firefox.  If that fixes the crash, then I want a copy of the urlclassifier2.sqlite file.
> How big is urlclassifier2.sqlite in Gen's profile directory?  

there are 2 of them in my default profile folder:
urlclassifier.sqlite is 1.4 MB
urlclassifier2.sqlite is 9.6 MB
also fwiw
mozcc.sqlite is 22.1 MB (?!?!)

I've moved all 3 out of the default profiles folder.

>Does moving urlclassifier2.sqlite out of the way (should just be re-created and re-download the list data) help?

Let's see how this works.
gen, thanks for continuing to track this down.  updating summary to help draw attention and make it easy to find this when logging duplicates.
Summary: [mac os x] flash (or possibly anti-phishing?) joga causes browser to hang frequently → [mac os x] something (flash, anti-phishing, joga, mozcc extension?) causes browser to hang frequently
Attached file sample #3 from Gen
Here's an additional sample.  Unfortunately, I had to install a few extensions for demonstrations in Korea, and this is a sample from that time period (there are extensions installed: foxytunes, performancing, the weather extension, dom inspector and talkback)
Which version of Firefox are you using? Is this fixed in 2.0.0.1?

Do it hang at Firefox startup?
Is this still an issue ?
Flags: needinfo?(gen)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
Flags: needinfo?(gen)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: