Closed Bug 265409 Opened 20 years ago Closed 20 years ago

You can't dereference a NULL nsCOMPtr with operator->().: 'mRawPtr != 0', file ../../../dist/include/xpcom/nsCOMPtr.h, line 711

Categories

(MailNews Core :: Backend, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mmokrejs, Assigned: Bienvenu)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686) Opera 7.54  [en]
Build Identifier: Mozilla 	 Mozilla 1.8a5 Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20041013

I've been reading email, later browsed one site as a logged in user. When I went 
to logout, it seemed to me that I did not receive new html page saying something 
like "You have been logged out". After that usually I get a popup window saying 
something like "You should also close your broser". I got the popup window, and 
we can discuss if browser has displayed the underlying logout html page. IN any 
case, about this time browser has crashed. See at the end some errors about 
dereferencing I don't what. The browser is built from cvs on this linux box with 
gcc-3.3.4.

Incorporate message begin:
uidl string: 1098349107.24671.ribosome,S=2292
Incorporate message complete.
Incorporate message begin:
uidl string: 1098349202.24724.ribosome,S=3245
Incorporate message complete.
End mail message delivery.
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file 
nsUNIXCharset.cpp, line 189
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file 
nsUNIXCharset.cpp, line 189
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file 
nsUNIXCharset.cpp, line 189
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file 
nsUNIXCharset.cpp, line 189
WARNING: nsMsgProtocol::SetContentCharset() not implemented, file nsMsgProtocol.
cpp, line 594
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file 
nsUNIXCharset.cpp, line 189
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsScriptSecurityManager.
cpp, line 838
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file 
nsUNIXCharset.cpp, line 189
--DOMWINDOW == 7
--DOMWINDOW == 6
CSS Error (chrome://messenger/skin/messageBody.css :54.6): Unknown namespace 
prefix 'html'.  Selector expected.  Ruleset ignored due to bad selector.
mailCharsetLoadListener: ISO-8859-1 
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file 
nsUNIXCharset.cpp, line 189
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file 
nsUNIXCharset.cpp, line 189
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file 
nsUNIXCharset.cpp, line 189
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file 
nsUNIXCharset.cpp, line 189
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file 
nsUNIXCharset.cpp, line 189
mailCharsetLoadListener: ISO-8859-2 
WARNING: nsMsgProtocol::SetContentCharset() not implemented, file nsMsgProtocol.
cpp, line 594
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file 
nsUNIXCharset.cpp, line 189
mailCharsetLoadListener: ISO-8859-15
WARNING: nsMsgProtocol::SetContentCharset() not implemented, file nsMsgProtocol.
cpp, line 594
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file 
nsUNIXCharset.cpp, line 189
mailCharsetLoadListener: GB2312 
WARNING: nsMsgProtocol::SetContentCharset() not implemented, file nsMsgProtocol.
cpp, line 594
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file 
nsUNIXCharset.cpp, line 189
mailCharsetLoadListener: windows-1252 
Begin mail message delivery.
Abort mail message delivery.
Begin mail message delivery.
Abort mail message delivery.
WARNING: nsMsgProtocol::SetContentCharset() not implemented, file nsMsgProtocol.
cpp, line 594
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file 
nsUNIXCharset.cpp, line 189
mailCharsetLoadListener: ISO-8859-15 
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file 
nsUNIXCharset.cpp, line 189
###!!! ASSERTION: not initialized: 'mTable != nsnull', file nsGlobalHistory.cpp, 
line 797
Break: at file nsGlobalHistory.cpp, line 797
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsGlobalHistory.cpp, line 
1403
CSS Error (http://www.alzasoft.cz/Css/Default.css :6.118): Error in parsing 
value for property 'cursor'.  Declaration dropped.
CSS Error (http://www.alzasoft.cz/Css/Default.css :53.69): Expected color but 
found '#00000'.  Error in parsing value for property 'color'.  Declaration 
dropped.
CSS Error (http://www.alzasoft.cz/Css/Default.css :86.48): Error in parsing 
value for property 'cursor'.  Declaration dropped.
++WEBSHELL == 7
++DOMWINDOW == 7
++WEBSHELL == 8
++DOMWINDOW == 8
CSS Error (http://www.alzasoft.cz/ :0.12): Error in parsing value for property 
'cursor'.  Declaration dropped.
++WEBSHELL == 9
++DOMWINDOW == 9
For application/x-shockwave-flash found plugin /home/mmokrejs/.mozilla/plugins/
libflashplayer.so
LoadPlugin() /home/mmokrejs/.mozilla/plugins/libflashplayer.so returned 84305c8
About to create new ws_info...
About to create new xtbin of 468 X 60 from 0x86b8af0...
About to show xtbin(0x8624c10)...
completed gtk_widget_show(0x8624c10)
For application/x-shockwave-flash found plugin /home/mmokrejs/.mozilla/plugins/
libflashplayer.so
About to create new ws_info...
About to create new xtbin of 146 X 160 from 0x8c39c30...
About to show xtbin(0x8cb3510)...
completed gtk_widget_show(0x8cb3510)
###!!! ASSERTION: RootScrollFrame is not scrollable?: 'scrollableFrame', file 
nsPresShell.cpp, line 3518
Break: at file nsPresShell.cpp, line 3518
WARNING: NS_ENSURE_TRUE(mSaveLayoutState || !aState) failed, file nsSHEntry.cpp, 
line 188
Error loading URL http://www.alzasoft.cz/ : 804b0002
CSS Error (http://www.alzasoft.cz/Css/Default.css :6.118): Error in parsing 
value for property 'cursor'.  Declaration dropped.
CSS Error (http://www.alzasoft.cz/Css/Default.css :53.69): Expected color but 
found '#00000'.  Error in parsing value for property 'color'.  Declaration 
dropped.
CSS Error (http://www.alzasoft.cz/Css/Default.css :86.48): Error in parsing 
value for property 'cursor'.  Declaration dropped.
++WEBSHELL == 10
++DOMWINDOW == 10
For application/x-shockwave-flash found plugin /home/mmokrejs/.mozilla/plugins/
libflashplayer.so
LoadPlugin() /home/mmokrejs/.mozilla/plugins/libflashplayer.so returned 84305c8
About to create new ws_info...
About to create new xtbin of 468 X 60 from 0x8aa4298...
About to show xtbin(0x8c713a8)...
completed gtk_widget_show(0x8c713a8)
++WEBSHELL == 11
++DOMWINDOW == 11
CSS Error (http://www.alzasoft.cz/Default.asp? :0.12): Error in parsing value 
for property 'cursor'.  Declaration dropped.
++WEBSHELL == 12
++DOMWINDOW == 12
###!!! ASSERTION: RootScrollFrame is not scrollable?: 'scrollableFrame', file 
nsPresShell.cpp, line 3518
Break: at file nsPresShell.cpp, line 3518
For application/x-shockwave-flash found plugin /home/mmokrejs/.mozilla/plugins/
libflashplayer.so
About to create new ws_info...
About to create new xtbin of 146 X 160 from 0x9337868...
About to show xtbin(0x93378d0)...
completed gtk_widget_show(0x93378d0)
WARNING: NS_ENSURE_TRUE(mSaveLayoutState || !aState) failed, file nsSHEntry.cpp, 
line 188
--DOMWINDOW == 11
--DOMWINDOW == 10
--WEBSHELL == 11
--WEBSHELL == 10
--WEBSHELL == 9
Error loading URL http://www.alzasoft.cz/Default.asp? : 804b0002
CSS Error (http://www.alzasoft.cz/Css/Default.css :6.118): Error in parsing 
value for property 'cursor'.  Declaration dropped.
CSS Error (http://www.alzasoft.cz/Css/Default.css :53.69): Expected color but 
found '#00000'.  Error in parsing value for property 'color'.  Declaration 
dropped.
CSS Error (http://www.alzasoft.cz/Css/Default.css :86.48): Error in parsing 
value for property 'cursor'.  Declaration dropped.
Document http://www.alzasoft.cz/Apps/ExecutedOrder.asp?Q=2110200411921 loaded 
successfully
--DOMWINDOW == 9
--DOMWINDOW == 8
--DOMWINDOW == 7
--WEBSHELL == 8
--WEBSHELL == 7
--WEBSHELL == 6
CSS Error (http://www.alzasoft.cz/Css/Default.css :6.118): Error in parsing 
value for property 'cursor'.  Declaration dropped.
CSS Error (http://www.alzasoft.cz/Css/Default.css :53.69): Expected color but 
found '#00000'.  Error in parsing value for property 'color'.  Declaration 
dropped.
CSS Error (http://www.alzasoft.cz/Css/Default.css :86.48): Error in parsing 
value for property 'cursor'.  Declaration dropped.
Document http://www.alzasoft.cz/Apps/ExecutedOrder.asp?n_D=19185243 loaded 
successfully
--DOMWINDOW == 6
CSS Error (http://www.alzasoft.cz/Css/Default.css :6.118): Error in parsing 
value for property 'cursor'.  Declaration dropped.
CSS Error (http://www.alzasoft.cz/Css/Default.css :53.69): Expected color but 
found '#00000'.  Error in parsing value for property 'color'.  Declaration 
dropped.
CSS Error (http://www.alzasoft.cz/Css/Default.css :86.48): Error in parsing 
value for property 'cursor'.  Declaration dropped.
++WEBSHELL == 7
++DOMWINDOW == 7
For application/x-shockwave-flash found plugin /home/mmokrejs/.mozilla/plugins/
libflashplayer.so
LoadPlugin() /home/mmokrejs/.mozilla/plugins/libflashplayer.so returned 9146380
About to create new ws_info...
About to create new xtbin of 468 X 60 from 0x927f678...
About to show xtbin(0x8ccfaf8)...
completed gtk_widget_show(0x8ccfaf8)
++WEBSHELL == 8
++DOMWINDOW == 8
CSS Error (http://www.alzasoft.cz/Default.asp :0.12): Error in parsing value for 
property 'cursor'.  Declaration dropped.
++WEBSHELL == 9
++DOMWINDOW == 9
For application/x-shockwave-flash found plugin /home/mmokrejs/.mozilla/plugins/
libflashplayer.so
About to create new ws_info...
About to create new xtbin of 146 X 160 from 0x90d3868...
About to show xtbin(0x90d38d0)...
completed gtk_widget_show(0x90d38d0)
###!!! ASSERTION: RootScrollFrame is not scrollable?: 'scrollableFrame', file 
nsPresShell.cpp, line 3518
Break: at file nsPresShell.cpp, line 3518
Document http://www.alzasoft.cz/Default.asp loaded successfully
--WEBSHELL == 8
CSS Error (http://www.alzasoft.cz/Css/Default.css :6.118): Error in parsing 
value for property 'cursor'.  Declaration dropped.
CSS Error (http://www.alzasoft.cz/Css/Default.css :53.69): Expected color but 
found '#00000'.  Error in parsing value for property 'color'.  Declaration 
dropped.
CSS Error (http://www.alzasoft.cz/Css/Default.css :86.48): Error in parsing 
value for property 'cursor'.  Declaration dropped.
Document http://www.alzasoft.cz/Apps/ExecutedOrder.asp?Q=2110200411942 loaded 
successfully
CSS Error (http://www.alzasoft.cz/Css/Default.css :6.118): Error in parsing 
value for property 'cursor'.  Declaration dropped.
CSS Error (http://www.alzasoft.cz/Css/Default.css :53.69): Expected color but 
found '#00000'.  Error in parsing value for property 'color'.  Declaration 
dropped.
CSS Error (http://www.alzasoft.cz/Css/Default.css :86.48): Error in parsing 
value for property 'cursor'.  Declaration dropped.
Document http://www.alzasoft.cz/Apps/ExecutedOrder.asp?n_D=19181890 loaded 
successfully
--DOMWINDOW == 8
--DOMWINDOW == 7
--WEBSHELL == 7
--WEBSHELL == 6
CSS Error (http://www.alzasoft.cz/Css/Default.css :6.118): Error in parsing 
value for property 'cursor'.  Declaration dropped.
CSS Error (http://www.alzasoft.cz/Css/Default.css :53.69): Expected color but 
found '#00000'.  Error in parsing value for property 'color'.  Declaration 
dropped.
CSS Error (http://www.alzasoft.cz/Css/Default.css :86.48): Error in parsing 
value for property 'cursor'.  Declaration dropped.
++WEBSHELL == 7
++DOMWINDOW == 8
++WEBSHELL == 8
++DOMWINDOW == 9
For application/x-shockwave-flash found plugin /home/mmokrejs/.mozilla/plugins/
libflashplayer.so
LoadPlugin() /home/mmokrejs/.mozilla/plugins/libflashplayer.so returned 9334f08
About to create new ws_info...
About to create new xtbin of 146 X 160 from 0x928b450...
About to show xtbin(0x8e13a28)...
completed gtk_widget_show(0x8e13a28)
CSS Error (http://www.alzasoft.cz/Default.asp :0.12): Error in parsing value for 
property 'cursor'.  Declaration dropped.
++WEBSHELL == 9
++DOMWINDOW == 10
###!!! ASSERTION: RootScrollFrame is not scrollable?: 'scrollableFrame', file 
nsPresShell.cpp, line 3518
Break: at file nsPresShell.cpp, line 3518
WARNING: NS_ENSURE_TRUE(mSaveLayoutState || !aState) failed, file nsSHEntry.cpp, 
line 188
WARNING: NS_ENSURE_TRUE(mSaveLayoutState || !aState) failed, file nsSHEntry.cpp, 
line 188
--DOMWINDOW == 9
Error loading URL http://www.alzasoft.cz/Default.asp : 804b0002
we don't handle eBorderStyle_close yet... please fix me
++WEBSHELL == 10
++DOMWINDOW == 10
--DOMWINDOW == 9
--DOMWINDOW == 8
--WEBSHELL == 9
Error loading URL http://www.alzasoft.cz/LogOut.asp : 804b0002
Error loading URL http://www.alzasoft.cz/Default.asp : 804b0002
we don't handle eBorderStyle_close yet... please fix me
++WEBSHELL == 10
++DOMWINDOW == 9
--WEBSHELL == 9
Error loading URL http://www.alzasoft.cz/LogOut.asp : 804b0002
--DOMWINDOW == 8
--DOMWINDOW == 7
--WEBSHELL == 8
--WEBSHELL == 7
--WEBSHELL == 6
--DOMWINDOW == 6
--WEBSHELL == 5
GetPrimaryFrameFor() called while nsFrameManager is being destroyed!
nsPluginHostImpl::Observe "quit-application"
WARNING: requested removal of nonexistent window
, file nsWindowWatcher.cpp, line 937
GetPrimaryFrameFor() called while nsFrameManager is being destroyed!
###!!! ASSERTION: unable to post continuation event: 'Error', file 
nsStreamUtils.cpp, line 441
Break: at file nsStreamUtils.cpp, line 441
###!!! ASSERTION: unable to post continuation event: 'Error', file 
nsStreamUtils.cpp, line 441
Break: at file nsStreamUtils.cpp, line 441
###!!! ASSERTION: unable to post continuation event: 'Error', file 
nsStreamUtils.cpp, line 441
Break: at file nsStreamUtils.cpp, line 441
###!!! ASSERTION: unable to post continuation event: 'Error', file 
nsStreamUtils.cpp, line 441
Break: at file nsStreamUtils.cpp, line 441
--DOMWINDOW == 5
--WEBSHELL == 4
--WEBSHELL == 3
--DOMWINDOW == 4
--WEBSHELL == 2
--WEBSHELL == 1
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file Core.cpp, line 304
nsPluginHostImpl::Observe "xpcom-shutdown"
--DOMWINDOW == 3
WARNING: nsExceptionService ignoring thread destruction after shutdown, file 
nsExceptionService.cpp, line 191
--DOMWINDOW == 2
--WEBSHELL == 0
--DOMWINDOW == 1
--DOMWINDOW == 0
+++ JavaScript debugging hooks removed.
nsPluginHostImpl dtor
###!!! ASSERTION: You can't dereference a NULL nsCOMPtr with operator->().: 
'mRawPtr != 0', file ../../../dist/include/xpcom/nsCOMPtr.h, line 711
Break: at file ../../../dist/include/xpcom/nsCOMPtr.h, line 711

Program /usr/local/lib/mozilla-1.8a5/mozilla-bin (pid = 9099) received signal 
11.
Stack:
nsProfileLock::FatalSignalHandler(int)+0x00000146 [/usr/local/lib/mozilla-1.8a5/
components/libprofile.so +0x0002D47C]
UNKNOWN [/lib/libpthread.so.0 +0x0000B3D1]
UNKNOWN 0xffffe420
UNKNOWN [/usr/local/lib/mozilla-1.8a5/components/liblocalmail.so +0x0004724C]
nsTransportStatusEvent::HandleEvent(PLEvent*)+0x000000A0 [/usr/local/lib/
mozilla-1.8a5/components/libnecko.so +0x00077DB4]
PL_HandleEvent+0x00000055 [/usr/local/lib/mozilla-1.8a5/libxpcom.so +0x000E53AF]
PL_ProcessPendingEvents+0x000000C5 [/usr/local/lib/mozilla-1.8a5/libxpcom.so 
+0x000E5264]
UNKNOWN [/usr/local/lib/mozilla-1.8a5/libxpcom.so +0x000E8504]
NS_ShutdownXPCOM+0x0000022E [/usr/local/lib/mozilla-1.8a5/libxpcom.so 
+0x000748F0]
NS_ShutdownXPCOM+0x00000032 [/usr/local/lib/mozilla-1.8a5/mozilla-bin 
+0x0003A3D4]
GRE_Shutdown+0x0000001E [/usr/local/lib/mozilla-1.8a5/mozilla-bin +0x0003AD90]
main+0x00000380 [/usr/local/lib/mozilla-1.8a5/mozilla-bin +0x0001D270]
__libc_start_main+0x000000C0 [/lib/libc.so.6 +0x00015460]
Sleeping for 5 minutes.
Type 'gdb /usr/local/lib/mozilla-1.8a5/mozilla-bin 9099' to attach your debugger 
to this thread.

Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.
> UNKNOWN [/usr/local/lib/mozilla-1.8a5/components/liblocalmail.so +0x0004724C]

-> mailnews
Assignee: general → bienvenu
Component: Browser-General → Mail Database
Product: Browser → MailNews
QA Contact: general
is this reproducible? Can you try a newer build? Mscott fixed a crash in the
pop3/local code on 10/20...
Component: Mail Database → Mail Back End
I just build current cvs. So far this problem did not appear.
I still see
ASSERTION: not initialized: 'mTable != nsnull'
just in case it should be fixed too.
> ASSERTION: not initialized: 'mTable != nsnull' just in case it should be fixed 
> too.

Martin: one problem per bug... each ASSERTION really needs a separate bug
(ideally with its own testcase)
Product: MailNews → Core
resolving WORKSFORME based on comment 3
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.