Closed
Bug 823356
Opened 13 years ago
Closed 11 years ago
toolkit/places - Firefox aborts due to an assertion in nsNavHistoryResult
Categories
(Toolkit :: Places, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 992670
People
(Reporter: catalinn.iordache, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:17.0) Gecko/20100101 Firefox/17.0
Build ID: 20121129151900
Steps to reproduce:
Trying to resolve a build warning. This land to a bigger problem. When you try to resolve: toolkit/components/places/nsNavHistoryResult.cpp:1630:5 [-Wtype-limits] comparison of unsigned expression >= 0 is always true with something like : (mAccessCount >= mChildren[aIndex]->mAccessCount), it crashes.
Updated•13 years ago
|
Component: General → Places
Product: Core → Toolkit
Comment 1•13 years ago
|
||
Do you have a crash ID (go to about:crashes)?
Flags: needinfo?(catalinn.iordache)
Comment 2•13 years ago
|
||
the crash is just an abort caused by the assertion. It's expected, we have to figure out what activates the assertion though.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•13 years ago
|
Summary: toolkit/places - Firefox crash due to an assertion in nsNavHistoryResult → toolkit/places - Firefox aborts due to an assertion in nsNavHistoryResult
Updated•13 years ago
|
Flags: needinfo?(catalinn.iordache)
Comment 3•13 years ago
|
||
http://mxr.mozilla.org/mozilla-central/source/toolkit/components/places/nsNavHistoryResult.cpp#1629
basically mAccessCount should always be >= mChildren[aIndex]->mAccessCount but in some situation that doesn't happen and the calculation is "wrong" cause mAccessCount is unsigned
Updated•13 years ago
|
Version: unspecified → Trunk
Comment 4•12 years ago
|
||
The build warning in question here is now:
{
nsNavHistoryResult.cpp:1466:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
}
Blocks: buildwarning
![]() |
||
Comment 5•11 years ago
|
||
The assertion was handled in Bug 992670, and Bug 1049797 is on file for the crashing mentioned in this bug and Bug 992670.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•