Closed
Bug 5940
Opened 26 years ago
Closed 26 years ago
Crash in nsUnicharStreamLoader
Categories
(Core :: Networking, defect, P3)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: bruce, Assigned: waterson)
Details
Getting this on startup on Solaris, once I remove libxpconnect.so to get around
the xptcall problem for now. Build from the evening (PST) on May 4, 1999. gcc
2.7.2.3, Solaris 2.5.1, Purify, etc. This is blocking me from doing any purify
work on apprunner.
**** Purify instrumented ./apprunner.pure (pid 20177) ****
FMR: Free memory read:
* This is occurring while in:
nsDocumentBindInfo::OnStopBinding(nsIURL*,unsigned int,const
unsigned short*) [nsDocLoader.cpp:2108]
bam_exit_routine(URL_Struct_*,int,MWContext_*)
[nsNetService.cpp:1465]
net_CallExitRoutine [mkgeturl.c:1142]
NET_GetURL [mkgeturl.c:3118]
nsNetlibService::OpenStream(nsIURL*,nsIStreamListener*)
[nsNetService.cpp:487]
nsDocumentBindInfo::Bind(nsIURL*,nsIStreamListener*)
[nsDocLoader.cpp:1835]
nsDocLoaderImpl::OpenStream(nsIURL*,nsIStreamListener*)
[nsDocLoader.cpp:1324]
NS_OpenURL(nsIURL*,nsIStreamListener*) [nsNetService.cpp:1213]
nsUnicharStreamLoader::nsUnicharStreamLoader(nsIURL*,void(*)(nsIUnicharStreamLoa
der*,nsString&,void*,unsigned
int),void*) [nsNetStreamLoader.cpp:68]
NS_NewUnicharStreamLoader(nsIUnicharStreamLoader**,nsIURL*,void(*)(nsIUnicharStr
eamLoader*,nsString&,void*,unsigned
int),void*) [nsNetStreamLoader.cpp:212]
XULContentSinkImpl::AddProcessingInstruction(const
nsIParserNode&) [nsXULContentSink.cpp:875]
CWellFormedDTD::HandleToken(CToken*,nsIParser*)
[nsWellFormedDTD.cpp:482]
CWellFormedDTD::BuildModel(nsIParser*,nsITokenizer*,nsITokenObserver*,nsIContent
Sink*)
[nsWellFormedDTD.cpp:256]
nsParser::BuildModel() [nsParser.cpp:886]
nsParser::ResumeParse(nsIDTD*) [nsParser.cpp:838]
nsParser::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned int)
[nsParser.cpp:1050]
nsDocumentBindInfo::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned
int) [nsDocLoader.cpp:2070]
stub_put_block(_NET_StreamClass*,const char*,int)
[nsStubContext.cpp:827]
net_read_file_chunk [mkfile.c:956]
net_ProcessFile [mkfile.c:1327]
NET_ProcessNet [mkgeturl.c:3355]
NET_PollSockets [mkselect.c:298]
nsNetlibService::NetPollSocketsCallback(nsITimer*,void*)
[nsNetService.cpp:1277]
TimerImpl::FireTimeout() [nsTimer.cpp:73]
nsTimerExpired [nsTimer.cpp:189]
g_timeout_dispatch [gmain.c:1147]
g_main_dispatch [gmain.c:647]
g_main_iterate [gmain.c:854]
g_main_run [gmain.c:912]
gtk_main [gtkmain.c:475]
* Reading 4 bytes from 0x5839ac in the heap.
* Address 0x5839ac is 4 bytes into a freed block at 0x5839a8 of 24
bytes.
* This block was allocated from:
malloc [rtlib.o]
__bUiLtIn_nEw [libgcc.a]
__builtin_new [rtlib.o]
NS_NewUnicharStreamLoader(nsIUnicharStreamLoader**,nsIURL*,void(*)(nsIUnicharStr
eamLoader*,nsString&,void*,unsigned
int),void*) [nsNetStreamLoader.cpp:212]
XULContentSinkImpl::AddProcessingInstruction(const
nsIParserNode&) [nsXULContentSink.cpp:875]
CWellFormedDTD::HandleToken(CToken*,nsIParser*)
[nsWellFormedDTD.cpp:482]
CWellFormedDTD::BuildModel(nsIParser*,nsITokenizer*,nsITokenObserver*,nsIContent
Sink*)
[nsWellFormedDTD.cpp:256]
nsParser::BuildModel() [nsParser.cpp:886]
nsParser::ResumeParse(nsIDTD*) [nsParser.cpp:838]
nsParser::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned int)
[nsParser.cpp:1050]
nsDocumentBindInfo::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned
int) [nsDocLoader.cpp:2070]
stub_put_block(_NET_StreamClass*,const char*,int)
[nsStubContext.cpp:827]
net_read_file_chunk [mkfile.c:956]
net_ProcessFile [mkfile.c:1327]
NET_ProcessNet [mkgeturl.c:3355]
NET_PollSockets [mkselect.c:298]
nsNetlibService::NetPollSocketsCallback(nsITimer*,void*)
[nsNetService.cpp:1277]
TimerImpl::FireTimeout() [nsTimer.cpp:73]
nsTimerExpired [nsTimer.cpp:189]
g_timeout_dispatch [gmain.c:1147]
g_main_dispatch [gmain.c:647]
g_main_iterate [gmain.c:854]
g_main_run [gmain.c:912]
gtk_main [gtkmain.c:475]
nsAppShell::Run() [nsAppShell.cpp:203]
nsAppShellService::Run() [nsAppShellService.cpp:186]
main [nsAppRunner.cpp:461]
_start [crt1.o]
* There have been 0 frees since this block was freed from:
free [rtlib.o]
__bUiLtIn_dElEtE [libgcc.a]
__builtin_delete [rtlib.o]
nsUnicharStreamLoader::~nsUnicharStreamLoader()
[nsNetStreamLoader.cpp:81]
nsUnicharStreamLoader::Release() [nsNetStreamLoader.cpp:86]
XULContentSinkImpl::DoneLoadingStyle(nsIUnicharStreamLoader*,nsString&,void*,uns
igned
int) [nsXULContentSink.cpp:787]
nsUnicharStreamLoader::OnStopBinding(nsIURL*,unsigned int,const
unsigned short*) [nsNetStreamLoader.cpp:156]
nsDocumentBindInfo::OnStopBinding(nsIURL*,unsigned int,const
unsigned short*) [nsDocLoader.cpp:2095]
bam_exit_routine(URL_Struct_*,int,MWContext_*)
[nsNetService.cpp:1465]
net_CallExitRoutine [mkgeturl.c:1142]
NET_GetURL [mkgeturl.c:3118]
nsNetlibService::OpenStream(nsIURL*,nsIStreamListener*)
[nsNetService.cpp:487]
nsDocumentBindInfo::Bind(nsIURL*,nsIStreamListener*)
[nsDocLoader.cpp:1835]
nsDocLoaderImpl::OpenStream(nsIURL*,nsIStreamListener*)
[nsDocLoader.cpp:1324]
NS_OpenURL(nsIURL*,nsIStreamListener*) [nsNetService.cpp:1213]
nsUnicharStreamLoader::nsUnicharStreamLoader(nsIURL*,void(*)(nsIUnicharStreamLoa
der*,nsString&,void*,unsigned
int),void*) [nsNetStreamLoader.cpp:68]
NS_NewUnicharStreamLoader(nsIUnicharStreamLoader**,nsIURL*,void(*)(nsIUnicharStr
eamLoader*,nsString&,void*,unsigned
int),void*) [nsNetStreamLoader.cpp:212]
XULContentSinkImpl::AddProcessingInstruction(const
nsIParserNode&) [nsXULContentSink.cpp:875]
CWellFormedDTD::HandleToken(CToken*,nsIParser*)
[nsWellFormedDTD.cpp:482]
CWellFormedDTD::BuildModel(nsIParser*,nsITokenizer*,nsITokenObserver*,nsIContent
Sink*)
[nsWellFormedDTD.cpp:256]
nsParser::BuildModel() [nsParser.cpp:886]
nsParser::ResumeParse(nsIDTD*) [nsParser.cpp:838]
nsParser::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned int)
[nsParser.cpp:1050]
nsDocumentBindInfo::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned
int) [nsDocLoader.cpp:2070]
stub_put_block(_NET_StreamClass*,const char*,int)
[nsStubContext.cpp:827]
net_read_file_chunk [mkfile.c:956]
net_ProcessFile [mkfile.c:1327]
NET_ProcessNet [mkgeturl.c:3355]
NET_PollSockets [mkselect.c:298]
nsNetlibService::NetPollSocketsCallback(nsITimer*,void*)
[nsNetService.cpp:1277]
**** Purify instrumented ./apprunner.pure (pid 20177) ****
FMR: Free memory read:
* This is occurring while in:
nsUnicharStreamLoader::Release() [nsNetStreamLoader.cpp:86]
nsDocumentBindInfo::OnStopBinding(nsIURL*,unsigned int,const
unsigned short*) [nsDocLoader.cpp:2108]
bam_exit_routine(URL_Struct_*,int,MWContext_*)
[nsNetService.cpp:1465]
net_CallExitRoutine [mkgeturl.c:1142]
NET_GetURL [mkgeturl.c:3118]
nsNetlibService::OpenStream(nsIURL*,nsIStreamListener*)
[nsNetService.cpp:487]
nsDocumentBindInfo::Bind(nsIURL*,nsIStreamListener*)
[nsDocLoader.cpp:1835]
nsDocLoaderImpl::OpenStream(nsIURL*,nsIStreamListener*)
[nsDocLoader.cpp:1324]
NS_OpenURL(nsIURL*,nsIStreamListener*) [nsNetService.cpp:1213]
nsUnicharStreamLoader::nsUnicharStreamLoader(nsIURL*,void(*)(nsIUnicharStreamLoa
der*,nsString&,void*,unsigned
int),void*) [nsNetStreamLoader.cpp:68]
NS_NewUnicharStreamLoader(nsIUnicharStreamLoader**,nsIURL*,void(*)(nsIUnicharStr
eamLoader*,nsString&,void*,unsigned
int),void*) [nsNetStreamLoader.cpp:212]
XULContentSinkImpl::AddProcessingInstruction(const
nsIParserNode&) [nsXULContentSink.cpp:875]
CWellFormedDTD::HandleToken(CToken*,nsIParser*)
[nsWellFormedDTD.cpp:482]
CWellFormedDTD::BuildModel(nsIParser*,nsITokenizer*,nsITokenObserver*,nsIContent
Sink*)
[nsWellFormedDTD.cpp:256]
nsParser::BuildModel() [nsParser.cpp:886]
nsParser::ResumeParse(nsIDTD*) [nsParser.cpp:838]
nsParser::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned int)
[nsParser.cpp:1050]
nsDocumentBindInfo::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned
int) [nsDocLoader.cpp:2070]
stub_put_block(_NET_StreamClass*,const char*,int)
[nsStubContext.cpp:827]
net_read_file_chunk [mkfile.c:956]
net_ProcessFile [mkfile.c:1327]
NET_ProcessNet [mkgeturl.c:3355]
NET_PollSockets [mkselect.c:298]
nsNetlibService::NetPollSocketsCallback(nsITimer*,void*)
[nsNetService.cpp:1277]
TimerImpl::FireTimeout() [nsTimer.cpp:73]
nsTimerExpired [nsTimer.cpp:189]
g_timeout_dispatch [gmain.c:1147]
g_main_dispatch [gmain.c:647]
g_main_iterate [gmain.c:854]
g_main_run [gmain.c:912]
* Reading 4 bytes from 0x5839b0 in the heap.
* Address 0x5839b0 is 8 bytes into a freed block at 0x5839a8 of 24
bytes.
* This block was allocated from:
malloc [rtlib.o]
__bUiLtIn_nEw [libgcc.a]
__builtin_new [rtlib.o]
NS_NewUnicharStreamLoader(nsIUnicharStreamLoader**,nsIURL*,void(*)(nsIUnicharStr
eamLoader*,nsString&,void*,unsigned
int),void*) [nsNetStreamLoader.cpp:212]
XULContentSinkImpl::AddProcessingInstruction(const
nsIParserNode&) [nsXULContentSink.cpp:875]
CWellFormedDTD::HandleToken(CToken*,nsIParser*)
[nsWellFormedDTD.cpp:482]
CWellFormedDTD::BuildModel(nsIParser*,nsITokenizer*,nsITokenObserver*,nsIContent
Sink*)
[nsWellFormedDTD.cpp:256]
nsParser::BuildModel() [nsParser.cpp:886]
nsParser::ResumeParse(nsIDTD*) [nsParser.cpp:838]
nsParser::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned int)
[nsParser.cpp:1050]
nsDocumentBindInfo::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned
int) [nsDocLoader.cpp:2070]
stub_put_block(_NET_StreamClass*,const char*,int)
[nsStubContext.cpp:827]
net_read_file_chunk [mkfile.c:956]
net_ProcessFile [mkfile.c:1327]
NET_ProcessNet [mkgeturl.c:3355]
NET_PollSockets [mkselect.c:298]
nsNetlibService::NetPollSocketsCallback(nsITimer*,void*)
[nsNetService.cpp:1277]
TimerImpl::FireTimeout() [nsTimer.cpp:73]
nsTimerExpired [nsTimer.cpp:189]
g_timeout_dispatch [gmain.c:1147]
g_main_dispatch [gmain.c:647]
g_main_iterate [gmain.c:854]
g_main_run [gmain.c:912]
gtk_main [gtkmain.c:475]
nsAppShell::Run() [nsAppShell.cpp:203]
nsAppShellService::Run() [nsAppShellService.cpp:186]
main [nsAppRunner.cpp:461]
_start [crt1.o]
* There have been 0 frees since this block was freed from:
free [rtlib.o]
__bUiLtIn_dElEtE [libgcc.a]
__builtin_delete [rtlib.o]
nsUnicharStreamLoader::~nsUnicharStreamLoader()
[nsNetStreamLoader.cpp:81]
nsUnicharStreamLoader::Release() [nsNetStreamLoader.cpp:86]
XULContentSinkImpl::DoneLoadingStyle(nsIUnicharStreamLoader*,nsString&,void*,uns
igned
int) [nsXULContentSink.cpp:787]
nsUnicharStreamLoader::OnStopBinding(nsIURL*,unsigned int,const
unsigned short*) [nsNetStreamLoader.cpp:156]
nsDocumentBindInfo::OnStopBinding(nsIURL*,unsigned int,const
unsigned short*) [nsDocLoader.cpp:2095]
bam_exit_routine(URL_Struct_*,int,MWContext_*)
[nsNetService.cpp:1465]
net_CallExitRoutine [mkgeturl.c:1142]
NET_GetURL [mkgeturl.c:3118]
nsNetlibService::OpenStream(nsIURL*,nsIStreamListener*)
[nsNetService.cpp:487]
nsDocumentBindInfo::Bind(nsIURL*,nsIStreamListener*)
[nsDocLoader.cpp:1835]
nsDocLoaderImpl::OpenStream(nsIURL*,nsIStreamListener*)
[nsDocLoader.cpp:1324]
NS_OpenURL(nsIURL*,nsIStreamListener*) [nsNetService.cpp:1213]
nsUnicharStreamLoader::nsUnicharStreamLoader(nsIURL*,void(*)(nsIUnicharStreamLoa
der*,nsString&,void*,unsigned
int),void*) [nsNetStreamLoader.cpp:68]
NS_NewUnicharStreamLoader(nsIUnicharStreamLoader**,nsIURL*,void(*)(nsIUnicharStr
eamLoader*,nsString&,void*,unsigned
int),void*) [nsNetStreamLoader.cpp:212]
XULContentSinkImpl::AddProcessingInstruction(const
nsIParserNode&) [nsXULContentSink.cpp:875]
CWellFormedDTD::HandleToken(CToken*,nsIParser*)
[nsWellFormedDTD.cpp:482]
CWellFormedDTD::BuildModel(nsIParser*,nsITokenizer*,nsITokenObserver*,nsIContent
Sink*)
[nsWellFormedDTD.cpp:256]
nsParser::BuildModel() [nsParser.cpp:886]
nsParser::ResumeParse(nsIDTD*) [nsParser.cpp:838]
nsParser::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned int)
[nsParser.cpp:1050]
nsDocumentBindInfo::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned
int) [nsDocLoader.cpp:2070]
stub_put_block(_NET_StreamClass*,const char*,int)
[nsStubContext.cpp:827]
net_read_file_chunk [mkfile.c:956]
net_ProcessFile [mkfile.c:1327]
NET_ProcessNet [mkgeturl.c:3355]
NET_PollSockets [mkselect.c:298]
nsNetlibService::NetPollSocketsCallback(nsITimer*,void*)
[nsNetService.cpp:1277]
**** Purify instrumented ./apprunner.pure (pid 20177) ****
COR: Fatal core dump:
* This is occurring while in:
_p921static [crtn.o]
_resetsig [sig.c]
_sigon [libthread.so.1]
_thrp_kill [thread.c]
abort [libc.so.1]
PR_Abort [prlog.c:461]
nsDebug::Abort(const char*,int) [nsDebug.cpp:93]
nsDebug::Break(const char*,int) [nsDebug.cpp:108]
nsDebug::PreCondition(const char*,const char*,const char*,int)
[nsDebug.cpp:120]
nsUnicharStreamLoader::Release() [nsNetStreamLoader.cpp:86]
nsDocumentBindInfo::OnStopBinding(nsIURL*,unsigned int,const
unsigned short*) [nsDocLoader.cpp:2108]
bam_exit_routine(URL_Struct_*,int,MWContext_*)
[nsNetService.cpp:1465]
net_CallExitRoutine [mkgeturl.c:1142]
NET_GetURL [mkgeturl.c:3118]
nsNetlibService::OpenStream(nsIURL*,nsIStreamListener*)
[nsNetService.cpp:487]
nsDocumentBindInfo::Bind(nsIURL*,nsIStreamListener*)
[nsDocLoader.cpp:1835]
nsDocLoaderImpl::OpenStream(nsIURL*,nsIStreamListener*)
[nsDocLoader.cpp:1324]
NS_OpenURL(nsIURL*,nsIStreamListener*) [nsNetService.cpp:1213]
nsUnicharStreamLoader::nsUnicharStreamLoader(nsIURL*,void(*)(nsIUnicharStreamLoa
der*,nsString&,void*,unsigned
int),void*) [nsNetStreamLoader.cpp:68]
NS_NewUnicharStreamLoader(nsIUnicharStreamLoader**,nsIURL*,void(*)(nsIUnicharStr
eamLoader*,nsString&,void*,unsigned
int),void*) [nsNetStreamLoader.cpp:212]
XULContentSinkImpl::AddProcessingInstruction(const
nsIParserNode&) [nsXULContentSink.cpp:875]
CWellFormedDTD::HandleToken(CToken*,nsIParser*)
[nsWellFormedDTD.cpp:482]
CWellFormedDTD::BuildModel(nsIParser*,nsITokenizer*,nsITokenObserver*,nsIContent
Sink*)
[nsWellFormedDTD.cpp:256]
nsParser::BuildModel() [nsParser.cpp:886]
nsParser::ResumeParse(nsIDTD*) [nsParser.cpp:838]
nsParser::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned int)
[nsParser.cpp:1050]
nsDocumentBindInfo::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned
int) [nsDocLoader.cpp:2070]
stub_put_block(_NET_StreamClass*,const char*,int)
[nsStubContext.cpp:827]
net_read_file_chunk [mkfile.c:956]
net_ProcessFile [mkfile.c:1327]
* Received signal 6 (SIGABRT - Abort)
* Signal mask:
* Pending signals:
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•26 years ago
|
||
I think this is due to lack of profile content. Working on it...
Updated•26 years ago
|
Assignee: gagan → waterson
Status: ASSIGNED → NEW
Summary: [BLOCK] Crash in nsUnicharStreamLoader → [BLOCK]solaris startup Crash in nsUnicharStreamLoader
Reporter | ||
Updated•26 years ago
|
Severity: blocker → major
Summary: [BLOCK]solaris startup Crash in nsUnicharStreamLoader → Crash in nsUnicharStreamLoader
Reporter | ||
Comment 2•26 years ago
|
||
I think this had ended up being a result of a missing CSS file. It got exported
and all was fine, so this no longer blocks me.
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Comment 3•26 years ago
|
||
Well, this works for me now.
Reporter | ||
Comment 4•26 years ago
|
||
It works now because the file is there. Is a crash going to be expected
behavior when a referenced file is not present?
Assignee | ||
Comment 5•26 years ago
|
||
No. But I think there is another bug open vs. gagan or netlib on that.
Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Changing all Networking Library/Browser bugs to Networking-Core component for
Browser.
Occasionally, Bugzilla will burp and cause Verified bugs to reopen when I do
this in a bulk change. If this happens, I will fix. ;-)
Bulk move of all Networking-Core (to be deleted component) bugs to new
Networking component.
You need to log in
before you can comment on or make changes to this bug.
Description
•