Closed Bug 177063 Opened 23 years ago Closed 23 years ago

Linux segmentation fault at startup using xpcom glue

Categories

(Core :: XPCOM, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dougt, Assigned: dougt)

Details

Attachments

(1 file)

> > Type Manifest File: /home/rhelmer/src/mozilla/dist/bin/components/xpti.dat > nsNativeComponentLoader: autoregistering begins. > nsNativeComponentLoader: autoregistering succeeded > nNCL: registering deferred (0) > ###!!! ASSERTION: can't get memory manager!: 'gMemory', file nsMemory.cpp, line 60 > Break: at file nsMemory.cpp, line 60 > Segmentation fault >
Attached patch possible fixSplinter Review
Using nsMemory too soon in the startup process. This patch will work as long as the string buffers are *NEVER* passed between the string impls. jag -> are there any assumptions about what memory allocators are used by the string implementations?
Comment on attachment 104350 [details] [diff] [review] possible fix hmm.. so this stays private to this implementation, right? then sr=alecf
Comment on attachment 104350 [details] [diff] [review] possible fix r=jag, this is fine. Marking alecf's sr.
Attachment #104350 - Flags: superreview+
Attachment #104350 - Flags: review+
Checking in nsEmbedString.cpp; /cvsroot/mozilla/xpcom/glue/standalone/nsEmbedString.cpp,v <-- nsEmbedString.cpp new revision: 1.3; previous revision: 1.2 done
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: