Closed Bug 1243742 Opened 8 years ago Closed 8 years ago

Crash with shutdownhang in nsThread::Shutdown() when visiting http://www.pferdekaemper.de/ with Safe Browsing enabled

Categories

(Core :: XPCOM, defect)

44 Branch
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 1164518

People

(Reporter: bob, Unassigned)

References

()

Details

(Keywords: crash, reproducible)

Crash Data

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20151229124331

Steps to reproduce:

Started Firefox with standard config and called Domain pferdekaemper.de; Browser loads for 3 minutes then crashes; under Windows 7/10 and Ubuntu; checking with LiveHTTPHeaders one can see many Posts to safebrowsing.google.com; with Security features for SafeBrowsing deactivated the site loads normally;


Actual results:

Browser loads for 3 minutes then crashes; under Windows 7/10 and Ubuntu; checking with LiveHTTPHeaders one can see many Posts to safebrowsing.google.com


Expected results:

site should have loaded in 1-2 secs like with all other tested browsers like chrome, opera, safari, IE, Edge
Did you test with a fresh profile?
https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles
Flags: needinfo?(bob)
Ok, I reproduced it:
https://crash-stats.mozilla.com/report/index/d4dcf070-92ba-4d57-94a1-800d62160128

Surely dupe of bug 1204809
Severity: normal → critical
Depends on: 1204809
Flags: needinfo?(bob)
Keywords: crash
OS: Unspecified → All
Hardware: Unspecified → All
Status: UNCONFIRMED → NEW
Component: Untriaged → XPCOM
Ever confirmed: true
Product: Firefox → Core
The problem is still there also in the 44 Branch.
When you call the site it loads 1-2 minutes and sends many POSTS to safebrowsing.google.com.
Could you reproduce this as well? once you deactivate the security options, it no longer sends the POSTS and the site loads normally.
Thanks
Version: 43 Branch → 44 Branch
(In reply to Loic from comment #2)
> Ok, I reproduced it:
> https://crash-stats.mozilla.com/report/index/d4dcf070-92ba-4d57-94a1-
> 800d62160128
> 
> Surely dupe of bug 1204809

In fact not, patch from bug 1204809 doesn't fix this issue. So these 2 bugs have the same generic crash signature but different underlying causes.
No longer depends on: 1204809
Latest Nightly CR:
https://crash-stats.mozilla.com/report/index/1d2e1a90-b6cf-43f6-8a6f-10e922160208
Crash Signature: [@ shutdownhang | WaitForSingleObjectEx | WaitForSingleObject | PR_WaitCondVar | nsThread::ProcessNextEvent | NS_ProcessNextEvent | nsThread::Shutdown ]
Summary: Firefox crashes when SafeBrowsing activ and Domain pferdekaemper.de is called → Crash with shutdownhang in nsThread::Shutdown() when visiting http://www.pferdekaemper.de/ with Safe Browsing enabled
Keywords: reproducible
kats, could you find someone at Mozilla who can look at this bug, please.
Flags: needinfo?(bugmail.mozilla)
Yoric, the crash in comment 5 is hitting the watchdog it looks like, do you know who should look into this?
Flags: needinfo?(bugmail.mozilla) → needinfo?(dteller)
For the record: in this bug https://bugzilla.mozilla.org/show_bug.cgi?id=1204809#c30 jimm suggests to track all the bugs with this signature.
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #7)
> Yoric, the crash in comment 5 is hitting the watchdog it looks like, do you
> know who should look into this?

Sorry, no idea. The watchdog is just there to convert hangs into crashes, but I have no clue what's causing the hang.
Flags: needinfo?(dteller)
Ok, thanks. gcp, since this seems to happen only when safebrowsing is enabled (see comment 0), can you take a look? I'm guessing the safebrowsing is causing a hang which the watchdog is turning into a crash. I tried to repro briefly on a local Linux build but couldn't - although I notice the website has a message up warning users not to use Firefox because of this issue, so it's probably a widespread issue.
Flags: needinfo?(gpascutto)
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(gpascutto)
Resolution: --- → DUPLICATE
FWIW the underlying issue is that one of the base URLs of pferdekaemper.de collides with some known malware or phishing site, so all the resources on the page cause an alert that we then have to verify. 

The database is generally constructed to make this as uncommon as possible (Chrome and Safari will also load the site a bit slower than normal because they use the same DB), but Firefox is beyond gruesomely slow in this case, and that's something we have to fix.

The issue with this specific site will eventually fix itself as soon as the malware/phishing entry that collides expires.
You need to log in before you can comment on or make changes to this bug.