mail crash in NS_MsgStripRE when opening

VERIFIED DUPLICATE of bug 189591

Status

MailNews Core
Networking: IMAP
--
critical
VERIFIED DUPLICATE of bug 189591
15 years ago
9 years ago

People

(Reporter: Dennis Haney, Assigned: Bienvenu)

Tracking

({crash})

Trunk
x86
Linux
crash

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030120
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030120

mozilla crash almost instantly after opening the mailwindow. build is from yesterday


Reproducible: Always

Steps to Reproduce:
1.
2.
3.
(Reporter)

Comment 1

15 years ago
hmmm... why cant I paste in my stack trace today? :(
(Reporter)

Comment 2

15 years ago
a little at a time then?

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 1718)]
0x420af441 in NS_MsgStripRE (stringP=0xbfffeb98, lengthP=0xbfffeb9c,
modifiedSubject=0x8a21038) at nsMsgUtils.cpp:378
/home2/y/mozilla/mailnews/base/util/nsMsgUtils.cpp:378:12342:beg:0x420af441
(gdb) thread apply all where full

Thread 18 (Thread 262161 (LWP 4765)):
#0  0x40230c92 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1  0x400eb6dd in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
No symbol table info available.
#2  0x400e8149 in pthread_cond_wait () from /lib/libpthread.so.0
No symbol table info available.
#3  0x400c3292 in PR_WaitCondVar () from
/home/davh/projects/mozilla/dist/bin/libnspr4.so
No symbol table info available.
#4  0x400c3593 in PR_Wait () from /home/davh/projects/mozilla/dist/bin/libnspr4.so
No symbol table info available.
#5  0x403d2040 in PL_WaitForEvent (self=0x8d18700) at plevent.c:783
	err = -4
	event = (struct PLEvent *) 0x8d1d060
	mon = (struct PRMonitor *) 0x1
#6  0x403d3ab3 in nsEventQueueImpl::WaitForEvent(PLEvent**) (this=0x8d186d8,
aResult=0x40317704) at nsEventQueue.cpp:468
	correctThread = -4
#7  0x403da121 in nsProxyObject::PostAndWait(nsProxyObjectCallInfo*)
(this=0x8d18df0, proxyInfo=0x8b150d8) at ../../../dist/include/xpcom/nsCOMPtr.h:649
	nextEvent = (PLEvent *) 0x280000
	eventLoopCreated = 0
	rv = 147949272
	eventQ = {<nsCOMPtr_base> = {mRawPtr = 0x8d186d8}, <No data fields>}
	event = (PLEvent *) 0x8
#8  0x403da4a7 in nsProxyObject::Post(unsigned, nsXPTMethodInfo*,
nsXPTCMiniVariant*, nsIInterfaceInfo*) (this=0x8b150d8, methodIndex=15,
methodInfo=0x8d1fd08, params=0xfffffffc, interfaceInfo=0x8d18d88) at
nsProxyEvent.cpp:513
	rv = 147949272
	fullParam = (nsXPTCVariant *) 0x8ca5758
	paramCount = 2 '\002'
	callDirectly = 0
	event = (PLEvent *) 0x8d186d8
#9  0x403dc5ee in nsProxyEventObject::CallMethod(unsigned short, nsXPTMethodInfo
const*, nsXPTCMiniVariant*) (this=0xfffffffc, methodIndex=8, info=0xfffffffc,
params=0xfffffffc) at ../../../dist/include/xpcom/nsCOMPtr.h:649
	rv = 4294967292
#10 0x403ef8b3 in PrepareAndDispatch (methodIndex=147949272, self=0x8d1d1f8,
args=0x8b150d8) at xptcstubs_gcc_x86_unix.cpp:100
(Reporter)

Comment 3

15 years ago
        paramBuffer = {{val = {i8 = 8 '\b', i16 = 13832, i32 = 147928584, i64 =
635200477538104840, u8 = 8 '\b', u16 = 13832, u32 = 147928584, u64 =
635200477538104840, f = 1.25914326e-33, d = 3.2341571852791764e-266, b =
147928584, c = 8 '\b', wc = 13832, p = 0x8d13608}}, {val = {i8 = -68 '¼', i16 =
14524, i32 = 147929276, i64 = 4615805145615251644, u8 = 188 '¼', u16 = 14524,
u32 = 147929276, u64 = 4615805145615251644, f = 1.25920681e-33, d =
3.8292599381303187, b = 147929276, c = -68 '¼', wc = 14524, p = 0x8d138bc}},
{val = {i8 = -48 'Ð', i16 = -30768, i32 = 1076987856, i64 = 622623749072586704,
u8 = 208 'Ð', u16 = 34768, u32 = 1076987856, u64 = 622623749072586704, f =
2.77391434, d = 4.8467291233416947e-267, b = 1076987856, c = -48 'Ð', wc =
34768, p = 0x403187d0}}, {val = {i8 = 16 '\020', i16 = 16, i32 = 16, i64 =
4615803904221773840, u8 = 16 '\020', u16 = 16, u32 = 16, u64 =
4615803904221773840, f = 2.24207754e-44, d = 3.8287086486816477, b = 16, c = 16
'\020', wc = 16, p = 0x10}}, {val = {i8 = 4 '\004', i16 = 30468, i32 =
1076983556, i64 = 4625627552066664196, u8 = 4 '\004', u16 = 30468, u32 =
1076983556, u64 = 4625627552066664196, f = 2.77288914, d = 17.530277263714211, b
= 1076983556, c = 4 '\004', wc = 30468, p = 0x40317704}}, {val = {i8 = -92 '¤',
i16 = -3676, i32 = -1113591388, i64 = 4622731629522055588, u8 = 164 '¤', u16 =
61860, u32 = 3181375908, u64 = 4622731629522055588, f = -0.0780976117, d =
11.620946813368228, b = -1113591388, c = -92 '¤', wc = 61860, p = 0xbd9ff1a4}},
{val = {i8 = -64 'À', i16 = -30784, i32 = 1076987840, i64 = 18256857024, u8 =
192 'À', u16 = 34752, u32 = 1076987840, u64 = 18256857024, f = 2.77391052, d =
9.0200858565938584e-314, b = 1076987840, c = -64 'À', wc = 34752, p =
0x403187c0}}, {val = {i8 = -76 '´', i16 = -3660, i32 = -1113591372, i64 =
4622729963074744756, u8 = 180 '´', u16 = 61876, u32 = 3181375924, u64 =
4622729963074744756, f = -0.0780977309, d = 11.617986608290131, b = -1113591372,
c = -76 '´', wc = 61876, p = 0xbd9ff1b4}}, {val = {i8 = -112 '\220', i16 =
-3696, i32 = -1113591408, i64 = 16066277776, u8 = 144 '\220', u16 = 61840, u32 =
3181375888, u64 = 16066277776, f = -0.0780974627, d = 7.9377959056643062e-314, b
= -1113591408, c = -112 '\220', wc = 61840, p = 0xbd9ff190}}, {val = {i8 = 0
'\0', i16 = 0, i32 = 0, i64 = 4614523720499724288, u8 = 0 '\0', u16 = 0, u32 =
0, u64 = 4614523720499724288, f = 0, d = 3.26019287109375, b = 0, c = 0 '\0', wc
= 0, p = 0x0}}, {val = {i8 = 56 '8', i16 = 14136, i32 = 147928888, i64 =
635200477538105144, u8 = 56 '8', u16 = 14136, u32 = 147928888, u64 =
635200477538105144, f = 1.25917118e-33, d = 3.2341571852793858e-266, b =
147928888, c = 56 '8', wc = 14136, p = 0x8d13738}}, {val = {i8 = -60 'Ä', i16 =
-3644, i32 = -1113591356, i64 = 4770345781425074628, u8 = 196 'Ä', u16 = 61892,
u32 = 3181375940, u64 = 4770345781425074628, f = -0.0780978501, d =
84493647263.944397, b = -1113591356, c = -60 'Ä', wc = 61892, p = 0xbd9ff1c4}},
{val = {i8 = 120 'x', i16 = -20616, i32 = 147894136, i64 = 622623748143492984,
u8 = 120 'x', u16 = 44920, u32 = 147894136, u64 = 622623748143492984, f =
1.25597971e-33, d = 4.8467283235929125e-267, b = 147894136, c = 120 'x', wc =
44920, p = 0x8d0af78}}, {val = {i8 = -60 'Ä', i16 = -3644, i32 = -1113591356,
i64 = 635200480571552196, u8 = 196 'Ä', u16 = 61892, u32 = 3181375940, u64 =
635200480571552196, f = -0.0780978501, d = 3.2341592741929439e-266, b =
-1113591356, c = -60 'Ä', wc = 61892, p = 0xbd9ff1c4}}, {val = {i8 = 56 '8', i16
= 14136, i32 = 147928888, i64 = 635349736241575736, u8 = 56 '8', u16 = 14136,
u32 = 147928888, u64 = 635349736241575736, f = 1.25917118e-33, d =
3.3369407592135552e-266, b = 147928888, c = 56 '8', wc = 14136, p = 0x8d13738}},
{val = {i8 = -28 'ä', i16 = -3612, i32 = -1113591324, i64 = 4769190972093362660,
u8 = 228 'ä', u16 = 61924, u32 = 3181375972, u64 = 4769190972093362660, f =
-0.0780980885, d = 67796065999.972443, b = -1113591324, c = -28 'ä', wc = 61924,
p = 0xbd9ff1e4}}}
	dispatchParams = (nsXPTCMiniVariant *) 0xbd9ff14c
	iface_info = (class nsIInterfaceInfo *) 0x8d18d88
	info = (const nsXPTMethodInfo *) 0x8d1fd08
	paramCount = 2 '\002'
	i = 216 'Ø'
	result = 147949272
	ap = (PRUint32 *) 0x8d186d8
#11 0x42339718 in nsImapProtocol::NormalMessageEndDownload() (this=0x8d13608) at
../../../dist/include/xpcom/nsCOMPtr.h:649
No locals.
(Reporter)

Comment 4

15 years ago
#12 0x4235050c in nsImapServerResponseParser::msg_fetch_content(int, int, char
const*) (this=0x42377048, chunk=0, origin=0, content_type=0x40317704
"\030Ö\020") at nsImapServerResponseParser.cpp:2001
No locals.
#13 0x42350441 in nsImapServerResponseParser::msg_fetch_headers(char const*)
(this=0x8d13738, partNum=0xfffffffc <Address 0xfffffffc out of bounds>) at
nsImapServerResponseParser.cpp:1964
No locals.
#14 0x4234ed36 in nsImapServerResponseParser::msg_fetch() (this=0x8d13738) at
nsImapServerResponseParser.cpp:1107
	bNeedEndMessageDownload = 0
#15 0x4234e16f in nsImapServerResponseParser::numeric_mailbox_data()
(this=0x8d13738) at nsImapServerResponseParser.cpp:984
No locals.
#16 0x4234d873 in nsImapServerResponseParser::response_data() (this=0x8d13738)
at nsImapServerResponseParser.cpp:718
No locals.
#17 0x4234c8cc in nsImapServerResponseParser::ParseIMAPServerResponse(char
const*, int) (this=0x8d13738, currentCommand=0x8c41828 "11 UID fetch 389:430
(UID RFC822.SIZE FLAGS BODY.PEEK[HEADER.FIELDS (From To Cc Subject Date
Message-ID Priority X-Priority References Newsgroups In-Reply-To)])\r\n",
aIgnoreBadAndNOResponses=0) at nsImapServerResponseParser.cpp:227
	numberOfTaggedResponsesReceived = 0
	copyCurrentCommand = 0x8aa41b8 "11"
#18 0x42333fa1 in nsImapProtocol::ParseIMAPandCheckForNewMail(char const*, int)
(this=0x8, commandString=0x8c41828 "11 UID fetch 389:430 (UID RFC822.SIZE FLAGS
BODY.PEEK[HEADER.FIELDS (From To Cc Subject Date Message-ID Priority X-Priority
References Newsgroups In-Reply-To)])\r\n", aIgnoreBadAndNOResponses=0) at
nsImapProtocol.h:455
No locals.
#19 0x42338502 in nsImapProtocol::FetchMessage(char const*, nsIMAPeFetchFields,
int, unsigned, unsigned, char*) (this=0x8d13608, messageIds=0x8d0af38 "389:430",
whatToFetch=kHeadersRFC822andUid, idIsUid=1, startByte=0, endByte=0, part=0x0)
at nsImapProtocol.cpp:2971
        commandString = {<nsAFlatCString> = {<nsASingleFragmentCString> =
{<nsACString> = {_vptr.nsACString = 0x806c4c8}, <No data fields>}, <No data
fields>}, <nsStr> = {{mStr = 0x8c208f0 "%s UID fetch %s (UID RFC822.SIZE FLAGS
BODY.PEEK[HEADER.FIELDS (From To Cc Subject Date Message-ID Priority X-Priority
References Newsgroups In-Reply-To)])\r\n", mUStr = 0x8c208f0}, mLength = 157,
mCapacityAndFlags = 1073742016}, <No data fields>}
        protocolStringSize = 147068968
        protocolString = 0x0
#20 0x4233a80d in nsImapProtocol::FolderMsgDumpLoop(unsigned*, unsigned,
nsIMAPeFetchFields) (this=0x8d13608, msgUids=0x8bdc318, msgCount=42,
fields=kHeadersRFC822andUid) at ../../../dist/include/string/nsString.h:72
        idString = {<nsAFlatCString> = {<nsASingleFragmentCString> =
{<nsACString> = {_vptr.nsACString = 0x806c4c8}, <No data fields>}, <No data
fields>}, <nsStr> = {{mStr = 0x8d0af38 "389:430", mUStr = 0x8d0af38}, mLength =
7, mCapacityAndFlags = 1073741836}, <No data fields>}
        msgsToDownload = 42
        msgCountLeft = 0
        msgsDownloaded = 0
#21 0x42339df9 in nsImapProtocol::ProcessMailboxUpdate(int) (this=0x8d13608,
handlePossibleUndo=1) at nsImapProtocol.cpp:3515
        new_spec = (class nsImapMailboxSpec *) 0x85cf7e0
        msgIdList = (PRUint32 *) 0x8bdc318
        msgCount = 42
#22 0x42334f00 in nsImapProtocol::ProcessSelectedStateURL() (this=0x8d13608) at
nsImapProtocol.cpp:2436
        mailboxName = {<nsSharableCString> = {<nsAFlatCString> =
{<nsASingleFragmentCString> = {<nsACString> = {_vptr.nsACString = 0x806c3a8},
<No data fields>}, <No data fields>}, mBuffer = {mHandle = 0x8a04078}}, <No data
fields>}
        bMessageIdsAreUids = 0
        msgFlags = 0
        hostName = 0x8b22220 "chacal"
        urlHost = {<nsAFlatCString> = {<nsASingleFragmentCString> =
{<nsACString> = {_vptr.nsACString = 0x806c4c8}, <No data fields>}, <No data
fields>}, <nsStr> = {{mStr = 0x4041b1b8 "", mUStr = 0x4041b1b8}, mLength = 0,
mCapacityAndFlags = 0}, <No data fields>}
#23 0x42333db6 in nsImapProtocol::ProcessCurrentURL() (this=0x8d13608) at
nsImapProtocol.cpp:1359
        logonFailed = 0
        anotherUrlRun = 0
        isExternalUrl = 0
        rv = 0
        mailnewsurl = {<nsCOMPtr_base> = {mRawPtr = 0x8d132fc}, <No data fields>}
        copyState = {<nsCOMPtr_base> = {mRawPtr = 0x806be48}, <No data fields>}
        imapMailFolderSink = {<nsCOMPtr_base> = {mRawPtr = 0x806c770}, <No data
fields>}
#24 0x42333274 in nsImapProtocol::ImapThreadMainLoop() (this=0x8d13608) at
nsImapProtocol.cpp:1159
        err = 1078066920
        sleepTime = 1000
#25 0x42332826 in nsImapProtocol::Run() (this=0x8d13608) at nsImapProtocol.cpp:947
        result = 0
        pEventQService = {<nsCOMPtr_base> = {mRawPtr = 0x80793a8}, <No data fields>}
        me_server = {<nsCOMPtr_base> = {mRawPtr = 0x806c770}, <No data fields>}
#26 0x403d517b in nsThread::Main(void*) (arg=0x8d186b8) at
../../dist/include/xpcom/nsCOMPtr.h:649
No locals.
#27 0x400ca81d in PR_GetSP () from /home/davh/projects/mozilla/dist/bin/libnspr4.so
No symbol table info available.
#28 0x400e9048 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#29 0x400e908e in pthread_allocate_stack () from /lib/libpthread.so.0
No symbol table info available.
(Reporter)

Comment 5

15 years ago
Thread 6 (Thread 65541 (LWP 2454)):
#0  0x402a5671 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x400eb809 in __pthread_timedsuspend_new () from /lib/libpthread.so.0
No symbol table info available.
#2  0x400e8397 in pthread_cond_timedwait_relative () from /lib/libpthread.so.0
No symbol table info available.
#3  0x400e8524 in pthread_cond_timedwait () from /lib/libpthread.so.0
No symbol table info available.
#4  0x400c320c in PR_WaitCondVar () from
/home/davh/projects/mozilla/dist/bin/libnspr4.so
No symbol table info available.
#5  0x403d8d33 in TimerThread::Run() (this=0x810eb28) at TimerThread.cpp:261
        lock = {<nsAutoLockBase> = {<No data fields>}, mLock = 0x81fc530,
mLocked = 1}
#6  0x403d517b in nsThread::Main(void*) (arg=0x814c5b0) at
../../dist/include/xpcom/nsCOMPtr.h:649
No locals.
#7  0x400ca81d in PR_GetSP () from /home/davh/projects/mozilla/dist/bin/libnspr4.so
No symbol table info available.
#8  0x400e9048 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0x400e908e in pthread_allocate_stack () from /lib/libpthread.so.0
No symbol table info available.

Thread 4 (Thread 32771 (LWP 1722)):
#0  0x40230c92 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1  0x400eb6dd in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
No symbol table info available.
#2  0x400e8149 in pthread_cond_wait () from /lib/libpthread.so.0
No symbol table info available.
#3  0x400c3292 in PR_WaitCondVar () from
/home/davh/projects/mozilla/dist/bin/libnspr4.so
No symbol table info available.
#4  0x407189ed in nsDNSService::Run() (this=0x813bd10) at nsDnsService.cpp:1596
        dnsLock = {<nsAutoLockBase> = {<No data fields>}, mLock = 0x813cd90,
mLocked = 1}
#5  0x403d517b in nsThread::Main(void*) (arg=0x813ce08) at
../../dist/include/xpcom/nsCOMPtr.h:649
No locals.
#6  0x400ca81d in PR_GetSP () from /home/davh/projects/mozilla/dist/bin/libnspr4.so
No symbol table info available.
#7  0x400e9048 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8  0x400e908e in pthread_allocate_stack () from /lib/libpthread.so.0
No symbol table info available.
(Reporter)

Comment 6

15 years ago
Thread 3 (Thread 16386 (LWP 1721)):
#0  0x402c740c in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x400c8351 in PR_Select () from /home/davh/projects/mozilla/dist/bin/libnspr4.so
No symbol table info available.
#2  0x4070f7ea in nsSocketTransportService::Run() (this=0x81086d0) at
nsSocketTransportService2.h:240
        i = 135301672
        count = 0
        active = 1
#3  0x403d517b in nsThread::Main(void*) (arg=0x8108cd8) at
../../dist/include/xpcom/nsCOMPtr.h:649
No locals.
#4  0x400ca81d in PR_GetSP () from /home/davh/projects/mozilla/dist/bin/libnspr4.so
No symbol table info available.
#5  0x400e9048 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0x400e908e in pthread_allocate_stack () from /lib/libpthread.so.0
No symbol table info available.

Thread 2 (Thread 32769 (LWP 1720)):
#0  0x402c740c in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x400e8d82 in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2  0x400e8f4a in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 16384 (LWP 1718)):
#0  0x420af441 in NS_MsgStripRE (stringP=0xbfffeb98, lengthP=0xbfffeb9c,
modifiedSubject=0x8a21038) at nsMsgUtils.cpp:378
        s = 0x0
        s_end = 0x18 <Address 0x18 out of bounds>
        L = 24
        result = 0
        decodedString = {<nsSharableCString> = {<nsAFlatCString> =
{<nsASingleFragmentCString> = {<nsACString> = {_vptr.nsACString = 0x806c3a8},
<No data fields>}, <No data fields>}, mBuffer = {mHandle = 0x80a4094}}, <No data
fields>}
        mimeConverter = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}
        rv = 1074700594
#1  0x4239d7f9 in nsParseMailMessageState::InternSubject(message_header*)
(this=0x8b151a8, header=0x18) at ../../../dist/include/string/nsXPIDLString.h:358
        key = 0x8b5f931 "Det er jo helt vildt ;-)"
        L = 24
        flags = 0
        modifiedSubject = {<nsSharableCString> = {<nsAFlatCString> =
{<nsASingleFragmentCString> = {<nsACString> = {_vptr.nsACString = 0x806c3a8},
<No data fields>}, <No data fields>}, mBuffer = {mHandle = 0x8a21038}}, <No data
fields>}
        condensedKey = 0x18 <Address 0x18 out of bounds>
#2  0x4239de16 in nsParseMailMessageState::FinalizeHeaders() (this=0x8b151a8) at
nsParseMailbox.cpp:1318
        ret = 24
        status = 0
        sender = (message_header *) 0x8b15204
        recipient = (message_header *) 0xbfffecdc
        subject = (message_header *) 0x8b1521c
        id = (message_header *) 0x8b151ec
        inReplyTo = (message_header *) 0x0
        references = (message_header *) 0x0
        date = (message_header *) 0x8b151fc
        statush = (message_header *) 0x0
        mozstatus = (message_header *) 0x0
        mozstatus2 = (message_header *) 0x0
        priority = (message_header *) 0x0
        ccList = (message_header *) 0x0
        mdn_dnt = (message_header *) 0x0
        md5_header = {value = 0x400f0080 "", length = 1074735952}
        content_type = (message_header *) 0x0
        md5_bin = ">\0\0\0pùµ\b\0\0\0\0­ùµ\b"
        md5_data =
"LR±\b\b\0\0\200\224B<B$Ã\016@\0\0\0\0\004w1@¼íÿ¿=°\"@\004\0\0\0\001\0\0M\0ù\t@$°\"@$A"
        s = 0x41efeb08
"¼5ïAx5ïA\2125ïA$?ïAb?ïA ?ïAÞ?ïA\034@ïAb@ïAÊTïA\024UïAt>ïAÌ>ïA\034>ïAÌIïA\206IïA^LïA\002=ïA`=ïA¬=ïAæ=ïA.<ïAp<ïAÒ;ïAº<ïApPïA\034PïA¬KïABGïA\004LïA4HïA$IïAzHïAäJïAfKïA\224GïAîGïA\030BïA¾HïA´MïANBïApMïAnFïAªLïAVCïAìLïA\024CïA.MïA*DïA\230CïA"...
        flags = 0
        delta = 0
        priorityFlags = 0
        to = {value = 0x8c52770 "<davh@davh.dk>", length = 15}
        cc = {value = 0x0, length = 0}
        tmp = 0x18 <Address 0x18 out of bounds>
#3  0x4239cb4a in nsParseMailMessageState::ParseFolderLine(char const*,
unsigned) (this=0x8b151a8, line=0x0, lineLength=1) at nsParseMailbox.cpp:615
        status = 24
#4  0x4239cad3 in nsParseMailMessageState::ParseAFolderLine(char const*,
unsigned) (this=0x0, line=0x18 <Address 0x18 out of bounds>, lineLength=24) at
nsParseMailbox.cpp:597
No locals.
#5  0x42319d26 in nsImapMailFolder::ParseAdoptedHeaderLine(char const*,
unsigned) (this=0x8b73d78, aMessageLine=0x8b151a8 "È'<B\001", aMsgKey=0) at
../../../dist/include/xpcom/nsCOMPtr.h:649
        len = 206
        currentEOL = 0x1 <Address 0x1 out of bounds>
        currentLine = 0x8b151a8 "È'<B\001"
#6  0x42319b46 in nsImapMailFolder::ParseMsgHdrs(nsIImapProtocol*,
nsIImapHeaderXferInfo*) (this=0x8b73d78, aProtocol=0x8d13608,
aHdrXferInfo=0x8d138bc) at nsImapMailFolder.cpp:2511
        msgSize = 6038
        msgKey = 389
        msgHdrs = 0x8cacf98 "From: \"festaben fra Dating.dk\"
<mailrobot@dating.dk>\nTo: <davh@davh.dk>\nSubject: Det er jo helt vildt
;-)\nDate: Tue, 21 Jan 2003 06:53:46 +0100\nMessage-ID:
<MAILFIXSMeLn1GV9zFz0002e42b@mailfix.freeway"...
        rv = 1110929768
        numHdrs = 10
        headerInfo = {<nsCOMPtr_base> = {mRawPtr = 0x8d41af8}, <No data fields>}
        rv = 0
#7  0x403eed47 in XPTC_InvokeByIndex () from
/home/davh/projects/mozilla/dist/bin/libxpcom.so
No symbol table info available.
#8  0x403da5fc in EventHandler (self=0x18) at nsProxyEvent.cpp:348
        rv = 24
        info = (nsProxyObjectCallInfo *) 0x8b150d8
#9  0x403d1f08 in PL_HandleEvent (self=0x8b73e40) at plevent.c:663
        result = (void *) 0x8b150d8
#10 0x403d1e2b in PL_ProcessPendingEvents (self=0x8b150d8) at plevent.c:593
        event = (struct PLEvent *) 0x18
        count = 146226752
#11 0x403d386f in nsEventQueueImpl::ProcessPendingEvents() (this=0x807a320) at
nsEventQueue.cpp:387
        correctThread = 24
#12 0x40e299c7 in event_processor_callback (source=0x831cde0, condition=G_IO_IN,
data=0x0) at nsAppShell.cpp:71
No locals.
#13 0x4129c39c in g_io_unix_dispatch (source=0x831ce28, callback=0x40e299b2
<event_processor_callback>, user_data=0x807a320) at giounix.c:159
        source = (GSource *) 0x807a320
        callback = 0x40e299b2 <event_processor_callback>
        buffer_condition = 0
#14 0x4127f189 in g_main_dispatch (context=0x8100750) at gmain.c:1653
        was_in_call = 0
        user_data = 0x807a320
        callback = 0x40e299b2 <event_processor_callback>
        cb_funcs = (GSourceCallbackFuncs *) 0x412c2268
        cb_data = 0x831ce70
        need_destroy = 1076983556
        dispatch = (gboolean (*)(void)) 0x4129c358 <g_io_unix_dispatch>
        source = (GSource *) 0x831ce28
        i = 0
#15 0x4127ff2f in g_main_context_dispatch (context=0x8100750) at gmain.c:2197
        context = (GMainContext *) 0x8100750
#16 0x41280303 in g_main_context_iterate (context=0x8100750, block=1,
dispatch=1, self=0x8174208) at gmain.c:2278
	max_priority = 2147483647
	timeout = -1
        some_ready = 0
        nfds = 2
        allocated_nfds = 2
	fds = (GPollFD *) 0x831ceb8
#17 0x412809df in g_main_loop_run (loop=0x831cb58) at gmain.c:2498
	loop = (GMainLoop *) 0x831cb58
	self = (GThread *) 0x8174208
#18 0x40fcf2d7 in gtk_main () at gtkmain.c:1091
	tmp_list = (GList *) 0x0
	functions = (GList *) 0x0
	init = (GtkInitFunction *) 0x8112290
	loop = (GMainLoop *) 0x831cb58
#19 0x40e29482 in nsAppShell::Run() (this=0x8112290) at nsAppShell.cpp:138
No locals.
#20 0x40dfbd2e in nsAppShellService::Run() (this=0x18) at
../../../dist/include/xpcom/nsCOMPtr.h:649
No locals.
#21 0x0804b754 in main1 (argc=1, argv=0xbffff394, nativeApp=0x0) at
../../dist/include/xpcom/nsCOMPtr.h:649
        rv = 0
        nativeAppOwner = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}
        eventQService = {<nsCOMPtr_base> = {mRawPtr = 0x80793a8}, <No data fields>}
        obsService = {<nsCOMPtr_base> = {mRawPtr = 0x80c4cd8}, <No data fields>}
	startupNotifier = {<nsCOMPtr_base> = {mRawPtr = 0x80bc738}, <No data fields>}
	cmdLineArgs = {<nsCOMPtr_base> = {mRawPtr = 0x80b6dc8}, <No data fields>}
	appShell = {<nsCOMPtr_base> = {mRawPtr = 0x811b0e0}, <No data fields>}
	windowOpened = 1
	defaultStartup = 24
	remoteService = {<nsCOMPtr_base> = {mRawPtr = 0x827b3d8}, <No data fields>}
#22 0x0804a580 in main (argc=1, argv=0xbffff394) at nsAppRunner.cpp:1927
	rv = 24
	nativeApp = (struct nsINativeAppSupport *) 0x0
	splash = (struct nsISplashScreen *) 0x0
	argused = 0
	mainResult = 24
(gdb) 

Comment 7

15 years ago
reporter
this works for me using
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030121 on linux 2.2
and on Xp
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030121

I can open mail with no problems. 

are you using a imap or pop mail account? Is it a specific mail
mesg that causing crash? A certain web page in the mail start up page?

Does it happen with a new profile?

The NS_MsgStripRE located in file nsMsgUtils.cpp hasn't been modified
since jan 11th.

Todays build work? how about last weeks builds?




Comment 8

15 years ago
this looks like a dupe of bug 189591, which was fixed today.  I don't know when
that bug came into existence, but you might try a nightly build or wait for
1.3b, which should be available soon.

And FYI, it's best to put long stacks like that as attachments...
Keywords: crash
(Assignee)

Comment 9

15 years ago
yes, resolving as dup.

*** This bug has been marked as a duplicate of 189591 ***
Status: UNCONFIRMED → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → DUPLICATE

Comment 10

15 years ago
verified dupe
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.