Open
Bug 771322
Opened 13 years ago
Updated 3 years ago
Dropping error NS_ERROR_ILLEGAL_VALUE when calling function nsFixedSizeAllocator::Init
Categories
(Core :: XPCOM, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: crubio, Unassigned)
Details
(Whiteboard: [uwisc-analysis])
Error NS_ERROR_ILLEGAL_VALUE is dropped when calling function nsFixedSizeAllocator::Init. Here is the trace:
xpcom/ds/nsFixedSizeAllocator.cpp:41:"cabs2cil_1" receives an error from "NS_ERROR_ILLEGAL_VALUE"
xpcom/ds/nsFixedSizeAllocator.cpp:55: an unchecked error may be returned
xpcom/threads/nsTimerImpl.cpp:530: potential unchecked error is not saved
Reporter | ||
Updated•13 years ago
|
Whiteboard: [uwisc-analysis]
Comment 1•13 years ago
|
||
If anything, this indicates that the check in nsFixedSizeAllocator::Init ought to be an assertions instad of a runtime check: in this *particular* case there is certainly no way that this could ever be a problem because the calling function initializes the fixed size allocator with a nonzero bucket count.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•