Closed Bug 288402 Opened 20 years ago Closed 16 years ago

very long 'local directory' cause crash [@ msvcrt.dll - nsMsgIncomingServer::SetFileValue ]

Categories

(MailNews Core :: Internationalization, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mozilla758+bmo, Assigned: smontagu)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; ja-JP; rv:1.7.6) Gecko/20050318 Firefox/1.0.2
Build Identifier: Mozilla 1.8b2 Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050330

Very long 'local directory' in server setting cause crash.

Reproducible: Always

Steps to Reproduce:
1.Open Mail & Newsgroup Account Settings
2.Select Server Setting.
3.Browse 'local Directory'
4.Select Very long(over 370byte by Shift-JIS) name directory.
5.Push OK 


Actual Results:  
Crash :P

Expected Results:  
not Crash :P

same thunderbird version 1.0+ (20050330) :latest-trunk.

I cannot make directory over 245byte with ASCII letters only.
but I can make direcotry over 480byte(by shift-jis).
Hidehiro Kozawa: Could you provide Talkback incident Id?
Keywords: crash
Summary: very long 'local directory' cause crash → very long 'local directory' cause crash
Xp/Suite 1.7.6 same. ID:TB4733357E 
Incident ID: 4733357
Stack Signature	msvcrt.dll + 0x378c0 (0x77bf78c0) e539241d
Product ID	Mozilla17
Build ID	2005031907
Trigger Time	2005-03-31 03:41:41.0
Platform	Win32
Operating System	Windows NT 5.1 build 2600
Module	msvcrt.dll + (000378c0)
URL visited	Bug 288402
User Comments	winxpsp2 suite1.7.6
Since Last Crash	21 sec
Total Uptime	3264 sec
Trigger Reason	Access violation
Source File, Line No.	N/A
Stack Trace 	
msvcrt.dll + 0x378c0 (0x77bf78c0)
nsMsgIncomingServer::SetFileValue 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/mailnews/base/util/nsMsgIncomingServer.cpp,
line 519]
nsMsgIncomingServer::SetLocalPath 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/mailnews/base/util/nsMsgIncomingServer.cpp,
line 1026]
XPTC_InvokeByIndex 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/xpcom/reflect/xptcall/src/md/win32/xptcinvoke.cpp,
line 102]
XPCWrappedNative::CallMethod 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/js/src/xpconnect/src/xpcwrappednative.cpp,
line 2036]
XPC_WN_GetterSetter 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/js/src/xpconnect/src/xpcwrappednativejsops.cpp,
line 1312]
js_Invoke 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/js/src/jsinterp.c,
line 951]
js_InternalInvoke 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/js/src/jsinterp.c,
line 1044]
js_InternalGetOrSet 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/js/src/jsinterp.c,
line 1087]
js_Interpret 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/js/src/jsinterp.c,
line 2848]
js_Invoke 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/js/src/jsinterp.c,
line 967]
js_InternalInvoke 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/js/src/jsinterp.c,
line 1044]
JS_CallFunctionValue 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/js/src/jsapi.c, line 3700]
nsJSContext::CallEventHandler 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/dom/src/base/nsJSEnvironment.cpp,
line 1299]
GlobalWindowImpl::RunTimeout 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/dom/src/base/nsGlobalWindow.cpp,
line 5329]
GlobalWindowImpl::TimerCallback 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/dom/src/base/nsGlobalWindow.cpp,
line 5691]
nsTimerImpl::Fire 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/xpcom/threads/nsTimerImpl.cpp,
line 383]
nsAppShell::GetNativeEvent 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/widget/src/windows/nsAppShell.cpp,
line 197]
nsXULWindow::ShowModal 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/xpfe/appshell/src/nsXULWindow.cpp,
line 363]
nsContentTreeOwner::ShowAsModal 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/xpfe/appshell/src/nsContentTreeOwner.cpp,
line 468]
nsWindowWatcher::OpenWindowJS 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/embedding/components/windowwatcher/src/nsWindowWatcher.cpp,
line 783]
GlobalWindowImpl::OpenInternal 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/dom/src/base/nsGlobalWindow.cpp,
line 4925]
GlobalWindowImpl::OpenDialog 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/dom/src/base/nsGlobalWindow.cpp,
line 3605]
XPTC_InvokeByIndex 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/xpcom/reflect/xptcall/src/md/win32/xptcinvoke.cpp,
line 102]
XPCWrappedNative::CallMethod 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/js/src/xpconnect/src/xpcwrappednative.cpp,
line 2036]
XPC_WN_CallMethod 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/js/src/xpconnect/src/xpcwrappednativejsops.cpp,
line 1288]
js_Invoke 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/js/src/jsinterp.c,
line 951]
js_Interpret 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/js/src/jsinterp.c,
line 2993]
js_Invoke 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/js/src/jsinterp.c,
line 967]
js_InternalInvoke 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/js/src/jsinterp.c,
line 1044]
JS_CallFunctionValue 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/js/src/jsapi.c, line 3700]
nsJSContext::CallEventHandler 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/dom/src/base/nsJSEnvironment.cpp,
line 1299]
nsJSEventListener::HandleEvent 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/dom/src/events/nsJSEventListener.cpp,
line 181]
nsEventListenerManager::HandleEventSubType 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/content/events/src/nsEventListenerManager.cpp,
line 1437]
nsEventListenerManager::HandleEvent 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/content/events/src/nsEventListenerManager.cpp,
line 1516]
nsXULElement::HandleDOMEvent 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2841]
PresShell::HandleDOMEventWithTarget 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsPresShell.cpp,
line 6120]
nsMenuFrame::Execute 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsMenuFrame.cpp,
line 1652]
nsMenuFrame::HandleEvent 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsMenuFrame.cpp,
line 444]
PresShell::HandleEventInternal 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsPresShell.cpp,
line 6090]
PresShell::HandleEvent 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsPresShell.cpp,
line 5934]
nsViewManager::HandleEvent 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/view/src/nsViewManager.cpp,
line 2326]
nsViewManager::DispatchEvent 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/view/src/nsViewManager.cpp,
line 2070]
HandleEvent 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/view/src/nsView.cpp,
line 77]
nsWindow::DispatchEvent 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/widget/src/windows/nsWindow.cpp,
line 1071]
nsWindow::DispatchWindowEvent 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/widget/src/windows/nsWindow.cpp,
line 1088]
nsWindow::DispatchMouseEvent 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/widget/src/windows/nsWindow.cpp,
line 5261]
ChildWindow::DispatchMouseEvent 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/widget/src/windows/nsWindow.cpp,
line 5512]
nsWindow::ProcessMessage 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/widget/src/windows/nsWindow.cpp,
line 4091]
nsWindow::WindowProc 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/widget/src/windows/nsWindow.cpp,
line 1350]
USER32.dll + 0x8709 (0x77cf8709)
USER32.dll + 0x87eb (0x77cf87eb)
USER32.dll + 0x89a5 (0x77cf89a5)
USER32.dll + 0x89e8 (0x77cf89e8)
nsAppShell::Run 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/widget/src/windows/nsAppShell.cpp,
line 159]
nsAppShellService::Run 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/xpfe/appshell/src/nsAppShellService.cpp,
line 524]
main1 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/xpfe/bootstrap/nsAppRunner.cpp,
line 1313]
main 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/xpfe/bootstrap/nsAppRunner.cpp,
line 1784]
WinMain 
[d:/builds/tinderbox/Mozilla1.7/WINNT_5.0_Clobber/mozilla/xpfe/bootstrap/nsAppRunner.cpp,
line 1810]
WinMainCRTStartup()
kernel32.dll + 0x16d4f (0x7c816d4f)
Summary: very long 'local directory' cause crash → very long 'local directory' cause crash [@ msvcrt.dll - nsMsgIncomingServer::SetFileValue ]
Product: Core → MailNews Core
 Hidehiro can you still reproduce?
reset QA (was empty)
QA Contact: i18n
(In reply to comment #5)
>  Hidehiro can you still reproduce?
> reset QA (was empty)

OK Tb 3.0b2
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Thank you for the update. 
Because we do not know what fixed this, we use resolution WORKSFORME instead of FIXED
Resolution: FIXED → WORKSFORME
the only difference i can see between 1.7 and today is the lack of mDefPrefBranch, note that some classes still play w/ it....
Crash Signature: [@ msvcrt.dll - nsMsgIncomingServer::SetFileValue ]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: