Closed Bug 468417 Opened 12 years ago Closed 6 years ago

Frecencies are not set on initial import

Categories

(Toolkit :: Places, defect)

defect
Not set
major

Tracking

()

RESOLVED WONTFIX

People

(Reporter: neil, Unassigned)

Details

Steps to reproduce problem:
1. Create a profile with a history.dat and no places.sqlite
2. Start a trunk build

###!!! ASSERTION: Recursive GetService!: 'Error', file nsComponentManager.cpp
>Called from get _bms() [nsLivemarkService.js:549]
      this.__bms = Cc[BMS_CONTRACTID].getService(Ci.nsINavBookmarksService);
>Called from LivemarksService() [nsLivemarkService.js:542]
  this._bms.addObserver(this, false);
>Called from createInstance(null, nsILivemarkService) [nsLivemarkService.js:1121]
    return (new this._ctor()).QueryInterface(aIID);
>Called from nsNavHistory::CalculateFrecency(1, 0, 1, "http://www.google.co.uk/", [0]) [nsNavHistory.cpp:7166]
  nsCOMPtr<nsILivemarkService> lms = 
    do_GetService(NS_LIVEMARKSERVICE_CONTRACTID, &rv);
>Called from nsNavHistory::RecalculateFrecenciesInternal([ptr], 50) [nsNavHistory.cpp:7250]
    rv = CalculateFrecency(placeId, typed, visitCountForFrecency, 
                           url, &newFrecency);
>Called from nsNavHistory::RecalculateFrecencies(50, PR_FALSE) [nsNavHistory.cpp:7213]
  nsresult rv = RecalculateFrecenciesInternal(GetDBInvalidFrecencies(), aCount);
>Called from nsNavHistory::Init() [nsNavHistory.cpp:543]
    (void)RecalculateFrecencies(mNumCalculateFrecencyOnMigrate,
                                PR_FALSE /* don't recalculate old */);
>Called from nsNavHistory::GetSingleton() [nsNavHistory.cpp:350]
    if (NS_FAILED(gHistoryService->Init()))
>Called from nsNavHistory::GetHistoryService() [nsNavHistory.cpp:194]
    nsCOMPtr<nsINavHistoryService> serv =
      do_GetService("@mozilla.org/browser/nav-history-service;1");
history.dat has gone from quite some time.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Resolution: INVALID → WONTFIX
You need to log in before you can comment on or make changes to this bug.