Closed Bug 493532 Opened 15 years ago Closed 15 years ago

Saving an email draft with attachment crashes SeaMonkey

Categories

(SeaMonkey :: MailNews: Composition, defect)

SeaMonkey 1.1 Branch
x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: miluse.nemcova, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090518 SeaMonkey/1.1.16
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090518 SeaMonkey/1.1.16

When I create a new email with attachment of type IDL or ODT and save it as a draft (either with button Save or automatic draft save), the application crashes. It also crashes when sending such an email. Probably it tries to save the email to folder Sent and crashes. The email is not sent.

It works correctly with emails without attachment or with TXT or GIF files.

Reproducible: Always

Steps to Reproduce:
1.Compose a new email.
2.Attach an ODT file (OpenOffice Text).
3.Save the draft.
Actual Results:  
Application crashed. Report in terminal:

/usr/libexec/mozilla-launcher: line 119: 20779 Segmentation fault      $(type -P aoss) "$mozbin" $xulparams "$@"
seamonkey-bin exited with non-zero status (139)

Expected Results:  
Draft is saved to folder Draft.

stack trace:
#0  0xb800a424 in __kernel_vsyscall ()
#1  0xb7e07e70 in raise () from /lib/libpthread.so.0
#2  0xb5daf82e in ?? () from /usr/lib/seamonkey/components/libprofile.so
#3  0x0000000b in ?? ()
#4  0xbff2302c in ?? ()
#5  0x00000000 in ?? ()
I forgot to mention that I'm using Gentoo Linux.
I recompiled SeaMonkey with flag USE=debug. It activated these options:
  --enable-debug
  --enable-tests
  --disable-reorder
  --enable-debugger-info-modules=ALL_MODULES

This build is not crashing, it saves the draft correctly. But it writes a lot of information into terminal. When used without terminal it beeps a lot. That's annoying.
In the attachment is the debug info after I hit the button Save. There are some assertions. Hopefully, it helps.
Is this an official 32bit build from our downloads server (ftp://ftp.mozilla.org/pub/seamonkey/releases/) or a contributed 64bit build? x86_64 builds are not officially supported.
(In reply to comment #2)
> Is this an official 32bit build from our downloads server
> (ftp://ftp.mozilla.org/pub/seamonkey/releases/) or a contributed 64bit build?
> x86_64 builds are not officially supported.

It's 32bit build from source.
http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.16/seamonkey-1.1.16.source.tar.bz2
mirror://gentoo/seamonkey-1.1.15-patches-0.1.tar.bz2
Packages seamonkey-1.1.16.en-US.linux-i686.tar.gz or seamonkey-1.1.16.en-US.linux-i686.installer.tar.gz are works fine?
(In reply to comment #4)
> Packages seamonkey-1.1.16.en-US.linux-i686.tar.gz or
> seamonkey-1.1.16.en-US.linux-i686.installer.tar.gz are works fine?

Both packages are working fine.
Obviously only the compilation from source is not OK.
I was looking around for a similar bug on Gentoo Bugzilla. There seem to be a crash related to gcc 4.3.2 and -O2. See 
http://bugs.gentoo.org/show_bug.cgi?id=265642#c3
and
http://bugs.gentoo.org/show_bug.cgi?id=265642#c5

I recompiled without -O2 and with -fno-strict-aliasing and it's working OK.
See Comment #6 , I close this for now as wfm. 

Reporter, if you still run into this problem, please reopen and submit actual information.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Version: unspecified → SeaMonkey 1.1 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: