Closed Bug 70500 Opened 24 years ago Closed 22 years ago

Crash in opening mail compose window

Categories

(MailNews Core :: Composition, defect)

x86
Windows 98
defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: tracy, Assigned: bugzilla)

Details

(Keywords: smoketest)

seen on commercial build 2001-02-28-11-mtrunk

-open mail
-reply to a message or make a new message

the compose window opens, then the app crashes

reproduceable everytime
Keywords: smoketest
Doesn't crash for me using same build, win98. Tried new and existing profiles,
IMAP and POP, HTML and plain text compose windows, New msg and reply.

I did not remove registry and start fresh, though.
jgmyers, any idea?
cc'ing pchen, sheriff of the day
can we get a stack trace?
Likely a dup of 70505.
are you sure you are crashing doing a new message!
Tracy is gone fo the day. Marking dup of 70505. He will reopen this one tomorrow 
if it turns out to be a different issue

*** This bug has been marked as a duplicate of 70505 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verifed dupe
Status: RESOLVED → VERIFIED
whoa! taking two steps back... reopening...

bug 70505 was for linux...which is fixed...this bug is for windows which is 
still crashing when attempting to compose a mail message

seeing on commercial build 2001-03-01-11-mtrunk
Status: VERIFIED → REOPENED
Resolution: DUPLICATE → ---
marking wfm....this was isolated to my system
profile was corrupted...using a new profile alleviated the problem
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → WORKSFORME
Varada and I found the problem, we will attach soon a 1 line fix. What append is 
that the mail account is setup for attaching the signature to news messages but 
the pref that contains the signature file path is invalid.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Status: REOPENED → ASSIGNED
here is the fix:

Index: mozilla/mailnews/compose/src/nsMsgCompose.cpp
===================================================================
RCS file: /cvsroot/mozilla/mailnews/compose/src/nsMsgCompose.cpp,v
retrieving revision 1.234
diff -w -b -u -2 -r1.234 nsMsgCompose.cpp
--- nsMsgCompose.cpp	2001/02/26 20:39:09	1.234
+++ nsMsgCompose.cpp	2001/03/01 23:23:18
@@ -1941,6 +1941,8 @@
       nsCOMPtr<nsILocalFile> sigFile;
       rv = identity->GetSignature(getter_AddRefs(sigFile));
-      if (NS_SUCCEEDED(rv))
+      if (NS_SUCCEEDED(rv) && sigFile)
         rv = sigFile->GetPath(getter_Copies(sigNativePath));
+      else
+        useSigFile = PR_FALSE;  //No signature file! therefore turn it off.
     }
   }
R=varada
I just discovered that at least on Mac, the signature patch you set throough the
account setting doesn't stick anymore. I'll file a new bug for that.
Using commercial build 2001-03-01 on winme, linux and mac this doesn't crash for
me using html or plain text on pop or imap. I was just about to verify this, but
now you have a fix.  Can you put additional steps in this bug that cause the crash.
Tracy confirmed with me this bug is invalid.
Loan
Status: ASSIGNED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → INVALID
Fixed and checked in.
Resolution: INVALID → ---
is not an invalid bug, the corrupction Travy get is apparently due to the fix 
for bug 41083. This could affect other people as well.
sr=bienvenu, FWIW
Does this bug already fix?  
Yes
verified windows commercial build 2001-03-02-06-mtrunk
Status: RESOLVED → VERIFIED
repairing bugzilla problem (current bug state: Status:Verified, Resolution:) 
Status: VERIFIED → REOPENED
fixed
Status: REOPENED → RESOLVED
Closed: 24 years ago22 years ago
Resolution: --- → FIXED
verified fixed
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.