Closed Bug 105889 Opened 23 years ago Closed 23 years ago

MS Exchange IMAP: Random Crashes when accessing IMAP mailbox [@ NS_ConvertUTF8toUCS2::Init() ]

Categories

(MailNews Core :: Backend, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: angeli, Assigned: jag+mozilla)

References

Details

(Keywords: crash, imap-interop)

Crash Data

Mozilla is crashing while opening an IMAP mailbox (MS Exchange). The crash
occurs right after entering the mailbox password. Note: I am using SSL with this
mail account.
The crash occured first in builds from 2001-10-17 (builds before that date are
not crashing).
Talkback ID of the crash using build 2001102008 on Linux (SuSE 7.1, kernel
2.4.10) is: TB36969911G
Severity: normal → critical
Keywords: crash
CC: stephend@netscape.com, for talkback retrieval, please (TB36969911G)
Incident ID 36969911 
Stack Signature NS_ConvertUTF8toUCS2::Init() 964506f3  
Bug ID  
Trigger Time  2001-10-21 03:09:31  
Email Address   
URL visited   
User Comments  Crash occured while opening an IMAP mail account right after 
submitting password via SSL.  
Build ID 2001102006  
Product ID MozillaTrunk  
Platform ID LinuxIntel  
Trigger Reason SIGSEGV: Segmentation Fault: (signal 11)  
Stack Trace  
NS_ConvertUTF8toUCS2::Init() 
nsMimeConverter::DecodeMimeHeader() 
nsMsgDatabase::RowCellColumnToMime2DecodedString() 
nsMsgHdr::GetMime2DecodedSubject() 
nsMsgDBView::FetchSubject() 
nsMsgDBView::GetCellText() 
nsOutlinerBodyFrame::PaintText() 
nsOutlinerBodyFrame::PaintCell() 
nsOutlinerBodyFrame::PaintRow() 
nsOutlinerBodyFrame::Paint() 
PresShell::Paint() 
nsView::Paint() 
nsViewManager::RenderDisplayListElement() 
nsViewManager::RenderViews() 
nsViewManager::Refresh() 
nsViewManager::DispatchEvent() 
HandleEvent() 
nsWidget::DispatchEvent() 
nsWidget::DispatchWindowEvent() 
nsWindow::DoPaint() 
nsWindow::Update() 
nsWindow::UpdateIdle() 
libglib-1.2.so.0 + 0x11cdf (0x40365cdf) 
libglib-1.2.so.0 + 0x10be6 (0x40364be6) 
libglib-1.2.so.0 + 0x11213 (0x40365213) 
libglib-1.2.so.0 + 0x113dc (0x403653dc) 
libgtk-1.2.so.0 + 0x9204c (0x4028104c) 
nsAppShell::Run() 
nsAppShellService::Run() 
main1() 
main() 
libc.so.6 + 0x1cbaf (0x404acbaf) 
No dupes found. Marking NEW.

Related to bug 105904? (that also has the string "NS_ConvertUTF8toUCS2::Init").
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Crash on opening IMAP mailbox → Crash on opening IMAP mailbox [@ NS_ConvertUTF8toUCS2::Init() ]
I cannot reproduce this crash on 10-20-12-0.9.4 branch build for our internal MS 
Exchange 5.5 server. 
Are you using trunk build, can you reproduce this crash again on the latest 
build?
QA Contact: esther → huang
Is this crash also occuring on your MS Exchange server WITHOUT SSL?
I tested on our Messaging server SSL is working without crash.
Since we don't have MS Exchange SSL setting internally, do you have test 
accounts for me to test? If yes, can you send the server/account info to me? 
Thanks.
The latest trunk build (2001102210) seems to work. I cannot see the crash
anymore either.
Great! Thanks for the updates. Marking as WFM based on reporter's comments.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Verified. Please reopen this bug if you see the crash again, thanks,
Status: RESOLVED → VERIFIED
Ooops, sorry, I got the crash again. :o(
First it was working fine, but then I deleted some mails and Mozilla crashed.
After that I could not open the mailbox anymore without crashing.
The talkback ID of the reproduced crash is TB37027942M.
Status: VERIFIED → REOPENED
Resolution: WORKSFORME → ---
Is this crash also occuring on your MS Exchange server WITHOUT SSL?
Summary: Crash on opening IMAP mailbox [@ NS_ConvertUTF8toUCS2::Init() ] → MS Exchange SSL: Crash on opening IMAP mailbox [@ NS_ConvertUTF8toUCS2::Init() ]
Keywords: interop
Summary: MS Exchange SSL: Crash on opening IMAP mailbox [@ NS_ConvertUTF8toUCS2::Init() ] → MS Exchange IMAP SSL: Crash on opening IMAP mailbox [@ NS_ConvertUTF8toUCS2::Init() ]
I am still not getting the crash even after I deleted msgs from our Netscape 
Messaging IMAP SSL account.....
Summary: MS Exchange IMAP SSL: Crash on opening IMAP mailbox [@ NS_ConvertUTF8toUCS2::Init() ] → MS Exchange IMAP SSL: Crash on opening IMAP mailbox after deleting msgs [@ NS_ConvertUTF8toUCS2::Init() ]
Yes, I got the same crash without SSL. The crash occurs either while opening the
mailbox or randomly when you move around in your mailbox or delete some mails.
I am using a trunk build, maybe the problem does not exist in branch builds.

Maybe Alex is right and this is related to bug 105904, even if the reporter
there is just reporting a hang and not a crash.
Thanks for checking.
Updating the summary a little bit and adding bug 105904 for this bug dependance 
based on reporter's comments.
Depends on: 105904
Summary: MS Exchange IMAP SSL: Crash on opening IMAP mailbox after deleting msgs [@ NS_ConvertUTF8toUCS2::Init() ] → MS Exchange IMAP: Random Crashes when accessing IMAP mailbox [@ NS_ConvertUTF8toUCS2::Init() ]
cc'ing jag.  This looks similar to 105904.  Is this also your bug, jag?
Yeah, that's mine.

I have two different approaches to fixing this, I need to go over them with
dbaron and scc.
reassigning to jag based on his last comments.
Assignee: mscott → jaggernaut
Status: REOPENED → NEW
Keywords: mailtrack
This should be fixed. Please verify!
Status: NEW → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
I am using Mail/News (build 2001102521) for nearly a day now and haven't had a
crash. So the fix seems to be bulletproof. :o) Thanks for that.
I don't know if I, as a reporter, am entitled to mark the bug as verified, so
I'm leaving the status untouched.
Verified no crash for accessing MS Exchange mail account now.
Windows and Linux Build 11-15-06-trunk build.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
Crash Signature: [@ NS_ConvertUTF8toUCS2::Init() ]
You need to log in before you can comment on or make changes to this bug.