Closed Bug 323587 Opened 20 years ago Closed 20 years ago

thunderbird crashed when the auto-forward filter encounter a non-encoded chinese email subject [@ msg_pick_real_name]

Categories

(Thunderbird :: General, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 315091

People

(Reporter: cathayan, Assigned: mscott)

Details

(Keywords: crash)

Crash Data

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; zh-CN; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; zh-CN; rv:1.8) Gecko/20051111 Firefox/1.5 mozilla thunderbird 1.5 (20051201). from tb 1.5 rc1 to now. same on linux i386 and win2k. when i am using tb 1.5's message filter to auto-forward old emails to another web mail box, tb crashed many times. after investigation, i found that filter's auto-forward function - other actions works fine - will cause crash when the non-encoded subject field were met. according to some friends, the subject field should be/must be encoded properly especially when it contains multi-byte chars. in my case, they are chinese, shown after "subject: " with no encoding infomation (the correct encoding should begin with =?gb2312?B?...., gb2312 is a charset/encoding used in mainland china). if the subject field is empty, it will crash too. and sometimes even the From field can cause crash. all the crashes happened when i clicked the "run now" button. and all these emails can be browsed, viewed, replyed or forwarded in the thunderbird main window. Reproducible: Always Steps to Reproduce: 1.got a email with a subject which contains non-encoded chinese characters. 2.create a filter for this email, make the "forward" as the action, and give a real email address in the following textbox. 3. select the folder contains this email. 4.press the "run now" button in the message filters window. Actual Results: tb 1.5 crashed. in windows, it will say "memory can no be write...", in linux, segment fault. on line 131, run-mozilla.sh. Expected Results: the mail is forwarded. such emails are not standard, but they exist and thunderbird's main functions works fine with them.
Could you install with talkback and get a talkback ID for the crash? http://kb.mozillazine.org/Talkback
Keywords: crash
Dupe of bug 314471?
i dont know if it is a dupe of bug 314471. but i can trigger it at anytime. and according adam's order, i got 2 crash talkback ids : TB14091349H - maybe because the subject contains non-encoded chinese characters. TB14091308Y - maybe because of the subject field is empty. and fortunatly, it send to mozilla.org successfully this time. hope it help.
Incident ID: 14091308 Stack Signature msg_pick_real_name c5a8a22d Product ID Thunderbird15 Build ID 2005120115 Trigger Time 2006-01-17 17:05:34.0 Platform Win32 Operating System Windows NT 5.0 build 2195 Module thunderbird.exe + (004b6a87) URL visited User Comments try to filter an email, and forward it to another webmail Since Last Crash 46 sec Total Uptime 63323 sec Trigger Reason Access violation Source File, Line No. e:/builds/tinderbox/Tb-Mozilla1.8/WINNT_5.0_Depend/mozilla/mailnews/compose/src/nsMsgCompUtils.cpp, line 1667 Stack Trace msg_pick_real_name [e:/builds/tinderbox/Tb-Mozilla1.8/WINNT_5.0_Depend/mozilla/mailnews/compose/src/nsMsgCompUtils.cpp, line 1667] nsMsgComposeAndSend::AddCompFieldRemoteAttachments [e:/builds/tinderbox/Tb-Mozilla1.8/WINNT_5.0_Depend/mozilla/mailnews/compose/src/nsMsgSend.cpp, line 2466] nsMsgComposeAndSend::HackAttachments [e:/builds/tinderbox/Tb-Mozilla1.8/WINNT_5.0_Depend/mozilla/mailnews/compose/src/nsMsgSend.cpp, line 2639] nsMsgComposeAndSend::Init [e:/builds/tinderbox/Tb-Mozilla1.8/WINNT_5.0_Depend/mozilla/mailnews/compose/src/nsMsgSend.cpp, line 3244] nsMsgComposeAndSend::CreateAndSendMessage [e:/builds/tinderbox/Tb-Mozilla1.8/WINNT_5.0_Depend/mozilla/mailnews/compose/src/nsMsgSend.cpp, line 4087] nsMsgCompose::_SendMsg [e:/builds/tinderbox/Tb-Mozilla1.8/WINNT_5.0_Depend/mozilla/mailnews/compose/src/nsMsgCompose.cpp, line 943] nsMsgCompose::SendMsg [e:/builds/tinderbox/Tb-Mozilla1.8/WINNT_5.0_Depend/mozilla/mailnews/compose/src/nsMsgCompose.cpp, line 1123] nsMsgComposeService::ForwardMessage [e:/builds/tinderbox/Tb-Mozilla1.8/WINNT_5.0_Depend/mozilla/mailnews/compose/src/nsMsgComposeService.cpp, line 1181] nsMsgFilterAfterTheFact::ApplyFilter [e:/builds/tinderbox/Tb-Mozilla1.8/WINNT_5.0_Depend/mozilla/mailnews/base/search/src/nsMsgFilterService.cpp, line 680] nsMsgFilterAfterTheFact::OnSearchDone [e:/builds/tinderbox/Tb-Mozilla1.8/WINNT_5.0_Depend/mozilla/mailnews/base/search/src/nsMsgFilterService.cpp, line 471] nsMsgSearchSession::NotifyListenersDone [e:/builds/tinderbox/Tb-Mozilla1.8/WINNT_5.0_Depend/mozilla/mailnews/base/search/src/nsMsgSearchSession.cpp, line 598] nsMsgSearchSession::TimerCallback [e:/builds/tinderbox/Tb-Mozilla1.8/WINNT_5.0_Depend/mozilla/mailnews/base/search/src/nsMsgSearchSession.cpp, line 530] nsTimerImpl::Fire [e:/builds/tinderbox/Tb-Mozilla1.8/WINNT_5.0_Depend/mozilla/xpcom/threads/nsTimerImpl.cpp, line 394] nsAppStartup::Run [e:/builds/tinderbox/Tb-Mozilla1.8/WINNT_5.0_Depend/mozilla/toolkit/components/startup/src/nsAppStartup.cpp, line 151] main [e:/builds/tinderbox/Tb-Mozilla1.8/WINNT_5.0_Depend/mozilla/mail/app/nsMailApp.cpp, line 62] KERNEL32.DLL + 0x2893d (0x77e8893d) *** This bug has been marked as a duplicate of 315091 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Summary: thunderbird crashed when the auto-forward filter encounter a non-encoded chinese email subject → thunderbird crashed when the auto-forward filter encounter a non-encoded chinese email subject [@ msg_pick_real_name]
Crash Signature: [@ msg_pick_real_name]
You need to log in before you can comment on or make changes to this bug.