Closed Bug 3562 Opened 26 years ago Closed 26 years ago

MLK: Tokenizer or Parser

Categories

(Core :: DOM: HTML Parser, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: bruce, Assigned: rickg)

Details

Memory leak. Solaris 2.6 build with gcc 2.7.2.3 and purify. Pull was from March 8, 1999 at about 6pm PST. MLK: 2104 bytes leaked in 100 blocks * This memory was allocated from: malloc [rtlib.o] __bUiLtIn_nEw [libgcc.a] __builtin_new [rtlib.o] __bUiLtIn_vEc_nEw [libgcc.a] __builtin_vec_new [rtlib.o] nsString::EnsureCapacityFor(int) [nsString.cpp:311] nsString::Append(unsigned short) [nsString.cpp:975] nsString::operator +=(unsigned short) [nsString.cpp:1023] nsScanner::ReadUntil(nsString&,nsString&,int,int) [nsScanner.cpp:569] CAttributeToken::Consume(unsigned short,nsScanner&) [nsHTMLTokens.cpp:1061] nsHTMLTokenizer::ConsumeAttributes(unsigned short,CStartToken*,nsScanner&) [nsHTMLTokenizer.cpp:338] nsHTMLTokenizer::ConsumeStartTag(unsigned short,CToken*&,nsScanner&) [nsHTMLTokenizer.cpp:466] nsHTMLTokenizer::ConsumeTag(unsigned short,CToken*&,nsScanner&) [nsHTMLTokenizer.cpp:308] nsHTMLTokenizer::ConsumeToken(nsScanner&) [nsHTMLTokenizer.cpp:239] nsXMLTokenizer::ConsumeToken(nsScanner&) [nsXMLTokenizer.cpp:141] nsParser::Tokenize() [nsParser.cpp:1000] nsParser::ResumeParse(nsIDTD*) [nsParser.cpp:711] nsParser::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned int) [nsParser.cpp:924] nsDocumentBindInfo::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned int) [nsDocLoader.cpp:1694] stub_put_block(_NET_StreamClass*,const char*,int) [nsStubContext.cpp:647] net_read_file_chunk [mkfile.c:956] net_ProcessFile [mkfile.c:1327] NET_ProcessNet [mkgeturl.c:3371] NET_PollSockets [mkselect.c:298] nsNetlibService::NetPollSocketsCallback(nsITimer*,void*) [nsNetService.cpp:1217] TimerImpl::FireTimeout() [nsTimer.cpp:73] nsTimerExpired [nsTimer.cpp:188] g_timeout_dispatch [gmain.c:1147] g_main_dispatch [gmain.c:647] g_main_iterate [gmain.c:854] * Block of 34 bytes (19 times); last block at 0x3ceeb0 * Block of 18 bytes (81 times); last block at 0x3c9ee8
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Improved tokenizer to remove leaks.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.