Closed Bug 620592 Opened 14 years ago Closed 14 years ago

Random Crash [@ _purecall | nsRefPtr<nsPluginDestroyRunnable>::nsRefPtr<nsPluginDestroyRunnable>(nsPluginDestroyRunnable*) | nsAutoCompleteController::StartSearch() ]

Categories

(Toolkit :: Autocomplete, defect)

x86_64
Windows 7
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 616288

People

(Reporter: geeknik, Unassigned)

Details

(Keywords: crash)

Crash Data

I have not been able to reproduce this crash at will, however, it has happened twice today, once after starting up the browser and once while typing in a URL after the browser had been open for a while.

http://crash-stats.mozilla.com/report/index/bp-e8a61ea6-d69b-4fc5-9d24-51e072101220

http://crash-stats.mozilla.com/report/index/bp-5bfd5b4b-3d39-4206-a3a5-2254e2101220

Latest nightly built from http://hg.mozilla.org/mozilla-central/rev/fc50c521bf48.
Keywords: crash
This has nothing to do with plugins, msvc's optimizer will fold lots of constructors/destructors together, what you have is a generic nsRefPtr<>/nsCOMPtr<>

_purecall	obj-firefox/memory/jemalloc/crtsrc/purevirt.c:54
nsRefPtr<x>::nsRefPtr<x>	obj-firefox/dist/include/nsAutoPtr.h:993
nsAutoCompleteController::StartSearch	toolkit/components/autocomplete/src/nsAutoCompleteController.cpp:1022
nsAutoCompleteController::Notify	toolkit/components/autocomplete/src/nsAutoCompleteController.cpp:722
nsTimerImpl::Fire	xpcom/threads/nsTimerImpl.cpp:428

the actual line is:
1022    nsCOMPtr<nsIAutoCompleteSearch> search = mSearches[i];

So technically it's nsCOMPtr<nsIAutoCompleteSearch>::nsCOMPtr<nsIAutoCompleteSearch>.

The problem is that mSearches[i] is already *very* unhappy.
Component: Location Bar → Autocomplete
Product: Firefox → Toolkit
QA Contact: location.bar → autocomplete
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Summary: Random Minefield Crash - @ _purecall | nsRefPtr<nsPluginDestroyRunnable>::nsRefPtr<nsPluginDestroyRunnable>(nsPluginDestroyRunnable*) | nsAutoCompleteController::StartSearch() → Random Crash [@ _purecall | nsRefPtr<nsPluginDestroyRunnable>::nsRefPtr<nsPluginDestroyRunnable>(nsPluginDestroyRunnable*) | nsAutoCompleteController::StartSearch() ]
Crash Signature: [@ _purecall | nsRefPtr<nsPluginDestroyRunnable>::nsRefPtr<nsPluginDestroyRunnable>(nsPluginDestroyRunnable*) | nsAutoCompleteController::StartSearch() ]
You need to log in before you can comment on or make changes to this bug.