[LLVMbugs] [Bug 8451] New: cc1plus Segmentation fault while building Mozilla Thunderbird

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Oct 24 05:50:54 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=8451

           Summary: cc1plus Segmentation fault while building Mozilla
                    Thunderbird
           Product: new-bugs
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: Nomis101 at web.de
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5654)
 --> (http://llvm.org/bugs/attachment.cgi?id=5654)
preprocessed source

If I build Mozilla Thunderbird on Mac OS X in x86_64 with llvm-gcc-4.2, than it
stops with a segfault in mailnews. The error is:


/Volumes/Developer/temp/src/mailnews/mime/src/mimedrft.cpp: In function
‘nsresult CreateComposeParams(nsCOMPtr<nsIMsgComposeParams>&,
nsIMsgCompFields*, nsMsgAttachmentData*, MSG_ComposeType, MSG_ComposeFormat,
nsIMsgIdentity*, const char*, nsIMsgDBHdr*)’:
/Volumes/Developer/temp/src/mailnews/mime/src/mimedrft.cpp:235: warning:
enumeral mismatch in conditional expression: ‘nsIMsgCompFormat::<anonymous
enum>’ vs ‘nsIMsgCompFormat::<anonymous enum>’
/Volumes/Developer/temp/src/mailnews/mime/src/mimedrft.cpp:238: warning:
enumeral mismatch in conditional expression: ‘nsIMsgCompFormat::<anonymous
enum>’ vs ‘nsIMsgCompFormat::<anonymous enum>’
/Volumes/Developer/temp/src/mailnews/mime/src/mimedrft.cpp: In function ‘void
mime_parse_stream_complete(nsMIMESession*)’:
/Volumes/Developer/temp/src/mailnews/mime/src/mimedrft.cpp:1570: warning:
enumeral mismatch in conditional expression: ‘nsIMsgCompType::<anonymous enum>’
vs ‘nsIMsgCompType::<anonymous enum>’
/Volumes/Developer/temp/src/mailnews/mime/src/mimedrft.cpp:1621: warning:
enumeral mismatch in conditional expression: ‘nsIMsgCompFormat::<anonymous
enum>’ vs ‘nsIMsgCompFormat::<anonymous enum>’
/Volumes/Developer/temp/src/mailnews/mime/src/mimedrft.cpp: In function
‘nsresult mime_decompose_file_output_fn(const char*, PRInt32, void*)’:
/Volumes/Developer/temp/src/mailnews/mime/src/mimedrft.cpp:2021: warning:
comparison between signed and unsigned integer expressions
i686-apple-darwin10-llvm-g++-4.2: Internal error: Segmentation fault (program
cc1plus)
Please submit a full bug report.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[7]: *** [nsMsgHeaderParser.o] Error 1
make[7]: *** Waiting for unfinished jobs....


You can find nsMsgHeaderParser there:
http://hg.mozilla.org/comm-central/file/7ef9af322783/mailnews/mime/src

I've attached the preprocessed source (this was build with "-O3 -save-temps").

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list