Closed Bug 40464 Opened 26 years ago Closed 23 years ago

registry assertions are fatal

Categories

(Core :: XPCOM, defect, P3)

PowerPC
All
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dmosedale, Assigned: dveditz)

Details

(Whiteboard: [dogfood-])

Every Mac build that I've built over the last week or so (I wasn't building Mac regularly before that) crashes at startup with the following assertion: Assertion failure: (offset < reg->hdr.avail), at reg.c:1543 Removing the component registry doesn't fix the problem, but it does make the assertion show up slightly earlier during the autoreg process.
Mac builds are still completely broken for me. I can't do any XP testing of my code. Setting dogfood keyword.
Keywords: dogfood
Putting on [dogfood+] radar.
Whiteboard: [dogfood+]
This is worksforme -- any help you can give me? That assertion fires for a corrupt registry, but that doesn't help much with which registry is corrupt (it's probably not component.reg if you've deleted it) or how it got that way.
Registry assertions call PR_Assert() which aborts. This is actually an error the upstream client should deal with, need to call the xpcom assertions instead.
This turned out to be a corrupt "Mozilla Registry" on dmose's system. The PDT team just agreed it's not dogfood. There is a problem that should get fixed, though, and that is that libreg is using PR_ASSERT() which forces an abort, when these are not necessarily fatal errors and should use the friendlier Mozilla-style assertions. This would cause libreg to depend on xpcom, with xpcom depending on libreg, so I'll have to change this from a shared library to a statically linked one on windows and Mac.
Summary: registry assertion at startup → registry assertions are fatal
Whiteboard: [dogfood+] → [dogfood-]
Severity: blocker → minor
leger@netscape.com is no longer a valid email. reassigning qa contact to the component's default.
QA Contact: leger → rayw
Keywords: nsdogfood-
Keywords: nsdogfood
Status: NEW → ASSIGNED
2 years later... I think the Mac builds are working now.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Component: XPCOM Registry → XPCOM
QA Contact: rayw → xpcom
You need to log in before you can comment on or make changes to this bug.