From 30fe01caa12536dbb6b10bde22657dc2286afb4d Mon Sep 17 00:00:00 2001 From: "dbaron%fas.harvard.edu" Date: Fri, 14 Jul 2000 01:41:11 +0000 Subject: [PATCH] Clean up stack trace horribly mangled by some editor. Documentation changes only (not part of build). git-svn-id: svn://10.0.0.236/trunk@74228 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/doc/MemoryTools.html | 33 ++++++++++++++++++------------ 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/mozilla/xpcom/doc/MemoryTools.html b/mozilla/xpcom/doc/MemoryTools.html index 31911940b8f..383f9bc61af 100644 --- a/mozilla/xpcom/doc/MemoryTools.html +++ b/mozilla/xpcom/doc/MemoryTools.html @@ -390,19 +390,26 @@ connect xpcom's tracing to leakys tracing. Sample output Here is what you see when you enable some logging with XPCOM_MEM_LOG_CLASSES set to something: -
nsWebShell      0x81189f8      
-Release 5       nsWebShell::Release(void)+0x59 
-nsCOMPtr<nsIContentViewerContainer>::~nsCOMPtr(void)+0x34      
-nsChannelListener::OnStartRequest(nsIChannel *, nsISupports *)+0x550       
-nsFileChannel::OnStartRequest(nsIChannel *, nsISupports *)+0x7b nsOnStartRequestEvent::HandleEvent(void)+0x46      
-nsStreamListenerEvent::HandlePLEvent(PLEvent *)+0x62   
-PL_HandleEvent+0x57     PL_ProcessPendingEvents+0x90   
-nsEventQueueImpl::ProcessPendingEvents(void)+0x1d   nsAppShell::SetDispatchListener(nsDispatchListener
-*)+0x3e      gdk_get_show_events+0xbb       
-g_io_add_watch+0xaa     g_get_current_time+0x136   
-g_get_current_time+0x6f1        g_main_run+0x81
-gtk_main+0xb9   nsAppShell::Run(void)+0x245    
-nsAppShell::Run(void)+0xc7a92ede   nsAppShell::Run(void)+0xc7a9317c
+
nsWebShell      0x81189f8       Release 5
+nsWebShell::Release(void)+0x59
+nsCOMPtr<nsIContentViewerContainer>::~nsCOMPtr(void)+0x34
+nsChannelListener::OnStartRequest(nsIChannel *, nsISupports *)+0x550
+nsFileChannel::OnStartRequest(nsIChannel *, nsISupports *)+0x7b
+nsOnStartRequestEvent::HandleEvent(void)+0x46
+nsStreamListenerEvent::HandlePLEvent(PLEvent *)+0x62
+PL_HandleEvent+0x57
+PL_ProcessPendingEvents+0x90
+nsEventQueueImpl::ProcessPendingEvents(void)+0x1d
+nsAppShell::SetDispatchListener(nsDispatchListener *)+0x3e
+gdk_get_show_events+0xbb
+g_io_add_watch+0xaa
+g_get_current_time+0x136
+g_get_current_time+0x6f1
+g_main_run+0x81
+gtk_main+0xb9
+nsAppShell::Run(void)+0x245
+nsAppShell::Run(void)+0xc7a92ede
+nsAppShell::Run(void)+0xc7a9317c
 __libc_start_main+0xeb

Here is what you see when you use the leaky tool to dump out addref/release leaks: