Closed Bug 674007 Opened 13 years ago Closed 12 years ago

Crash @ nsExternalAppHandler::nsExternalAppHandler

Categories

(Firefox :: General, defect)

5 Branch
x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 703882

People

(Reporter: alexp, Unassigned)

Details

(Keywords: crash)

Crash Data

Recently Firefox has been crashing for me periodically, almost every day. Here is a couple of crash reports:
https://crash-stats.mozilla.com/report/index/bp-5263197d-aeef-468d-ac8c-edd5b2110724
https://crash-stats.mozilla.com/report/index/bp-a9ea1c62-b2f5-45e6-858b-e5b082110626

Unfortunately I could find specific steps to reproduce. Firefox works for hours and days without hiccups, and then suddenly crashes when I click on a link. Sometimes it's a file to download (.pdf, for example), but sometimes it's just a regular hyperlink.

Both my submitted crash reports show nsExternalAppHandler::nsExternalAppHandler (nsExternalHelperAppService.cpp:1276) at the top of the stack.

I'm not sure what exact revision is that (I have Ubuntu-specific version of Firefox), but it looks like it happens at this line:  gExtProtSvc->AddRef();
here: http://hg.mozilla.org/mozilla-central/file/e3f863f8bf4a/uriloader/exthandler/nsExternalHelperAppService.cpp#l1277

Seems like gExtProtSvc is NULL. Don't know why it happens and what would be a proper fix. A simple patch could be just to check gExtProtSvc for NULL before calling its methods, but it won't fix the real cause why the nsExternalHelperAppService is not available.
Err... I meant "Unfortunately I could NOT find specific steps to reproduce it".
This was fixed by bug 703882.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.