Closed Bug 1578509 Opened 5 years ago Closed 4 years ago

URL does not update correctly when modified in address bar

Categories

(Firefox :: Address Bar, defect, P5)

69 Branch
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: kdaker, Unassigned)

Details

Attachments

(1 file)

Attached video firefox-bug.mov

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0

Steps to reproduce:

Actual results:

the delete updates work, but the new typed words do not.
In this case firefox navigates to "https://github.com/nodejs"

Expected results:

it should navigate to "https://github.com/nodejs/Release"

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Address Bar

Something is really going wrong because as you're typing "Release", the first result in the popup should be echoing what you're typing. Are there any errors in the browser console when this happens? Does this happen with any other URLs? Could you please try reproducing the problem in safe mode? https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode

Flags: needinfo?(kdaker)
Priority: -- → P5

One other thing: Please go to about:support, click the "Verify Integrity" button in the "Places Database" section, and paste the output here in the bug.

This happens with any URL.

I tried in safe made and was able to reproduce. Here is the output of the integrity check, looks like there is an issue.

Task: checkIntegrity

  • Unable to check places.sqlite integrity: Error: Error(s) encountered during statement execution: database disk image is malformed

Task: invalidateCaches

  • The task queue was cleared by an error in another task.

Task: checkCoherence

  • The task queue was cleared by an error in another task.

Task: expire

  • The task queue was cleared by an error in another task.

Task: originFrecencyStats

  • The task queue was cleared by an error in another task.

Task: vacuum

  • The task queue was cleared by an error in another task.

Task: stats

  • The task queue was cleared by an error in another task.

Task: _refreshUI

  • The task queue was cleared by an error in another task.
> Task: checkIntegrity
- Unable to check places.sqlite integrity: Error: Error(s) encountered during statement execution: database disk image is malformed
> Task: invalidateCaches
- The task queue was cleared by an error in another task.
> Task: checkCoherence
- The task queue was cleared by an error in another task.
> Task: expire
- The task queue was cleared by an error in another task.
> Task: originFrecencyStats
- The task queue was cleared by an error in another task.
> Task: vacuum
- The task queue was cleared by an error in another task.
> Task: stats
- The task queue was cleared by an error in another task.
> Task: _refreshUI
- The task queue was cleared by an error in another task.
Flags: needinfo?(kdaker)

how can I fix the corrupted database?

Also, sorry forgot to answer one of your questions: no there are no errors in the console when this happens.

(In reply to kdaker from comment #6)

how can I fix the corrupted database?

I'm not actually sure. Marco? I looked around but there doesn't seem to be a simple, user-friendly way to do it, at least not without losing history. Does refreshing Firefox do it?

Flags: needinfo?(mak77)

The integrity check in about:support already does all it can to try to fix a corrupt database. This kind of corruption may be related to many causes (disk or memory problems, unstable overclock, bogus filesystems, unexpected manual editing, unknown bugs in Sqlite) so we can't do much about them.
If you don't mind losing history you can just close Firefox, rename places.sqlite freom the profile folder to places.sqlite.old and on starting up we'll generate a new one and reimport bookmarks.
Otherwise, there is a manual procedure explained here https://developer.mozilla.org/en-US/docs/Mozilla/Tech/Places/places.sqlite_Database_Troubleshooting that is not much different from what the automated system tries to do.

Unfortunately there's no silver bullet to fix a database that is seen by sqlite as "malformed", apart from rebuilding it, losing some data.

Flags: needinfo?(mak77)

I'm not sure it's useful to keep this open since it doesn't seem actionable. Thanks for filing it, and please let us know if you can come up with steps to reproduce it.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE

Ah my apologies I should have closed this. This was a database issue and was resolved following Marco’s steps.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: