Closed Bug 1108517 Opened 9 years ago Closed 4 years ago

crash in RtlpDosPathNameToRelativeNtPathName_U | RtlDosPathNameToNtPathName_U | GetFileAttributesW via mozilla::EnsureLongPath

Categories

(Thunderbird :: General, defect)

x86
Windows Vista
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: wsmwk, Unassigned)

Details

(Keywords: crash)

Crash Data

I crashed bp-58bd0258-e3b5-4b9c-bee3-7fa102141208 @ RtlpDosPathNameToRelativeNtPathName_U | RtlDosPathNameToNtPathName_U | GetFileAttributesW
Build ID 	20141122030203

report indicates ~700MB is in use, which is high for me but well within reasonable memory usage.  "I ended computer sleep mode, deleted some messages before TB was online and before downloading new messages (although it was not manual offline). crash."

0 	ntdll.dll	RtlpDosPathNameToRelativeNtPathName_U	
1 	ntdll.dll	RtlDosPathNameToNtPathName_U	
2 	kernel32.dll	GetFileAttributesW	
3 	kernel32.dll	GetLongPathNameW	
4 	xul.dll	mozilla::EnsureLongPath(nsAString_internal&)	xpcom/io/FileUtilsWin.h
5 	xul.dll	mozilla::NtPathToDosPath(nsAString_internal const&, nsAString_internal&)	xpcom/io/FileUtilsWin.h
6 	xul.dll	mozilla::HandleToFilename(void*, _LARGE_INTEGER const&, nsAString_internal&)	xpcom/io/FileUtilsWin.cpp
7 	xul.dll	`anonymous namespace'::WinIOAutoObservation::Filename()	xpcom/build/PoisonIOInterposerWin.cpp
8 	xul.dll	`anonymous namespace'::TelemetryIOInterposeObserver::Observe(mozilla::IOInterposeObserver::Observation&)	toolkit/components/telemetry/Telemetry.cpp
9 	xul.dll	`anonymous namespace'::PerThreadData::CallObservers(mozilla::IOInterposeObserver::Observation&)	xpcom/build/IOInterposer.cpp
10 	xul.dll	mozilla::IOInterposer::Report(mozilla::IOInterposeObserver::Observation&)	xpcom/build/IOInterposer.cpp
11 	xul.dll	mozilla::IOInterposeObserver::Observation::Report()	xpcom/build/IOInterposer.cpp
12 	xul.dll	`anonymous namespace'::WinIOAutoObservation::~WinIOAutoObservation()	xpcom/build/PoisonIOInterposerWin.cpp
13 	xul.dll	`anonymous namespace'::InterposedNtReadFile	xpcom/build/PoisonIOInterposerWin.cpp
14 	kernel32.dll	ReadFile	
15 	msvcr100.dll	msvcr100.dll@0x1bfed	
16 	msvcr100.dll	_read	f:\dd\vctools\crt_bld\self_x86\crt\src\read.c:92
17 	msvcr100.dll	_filbuf	f:\dd\vctools\crt_bld\self_x86\crt\src\_filbuf.c:136
18 	msvcr100.dll	msvcr100.dll@0x23302	
19 	msvcr100.dll	_fread_nolock_s	
20 	msvcr100.dll	_fread_nolock_s	
21 	xul.dll	morkStdioFile::Read(nsIMdbEnv*, void*, unsigned int, unsigned int*)	c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/db/mork/src/morkFile.cpp:607
22 	xul.dll	morkFile::Get(nsIMdbEnv*, void*, unsigned int, int, unsigned int*)	c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/db/mork/src/morkFile.cpp:284
23 	xul.dll	morkFactory::CanOpenMorkTextFile(morkEnv*, nsIMdbFile*)	c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/db/mork/src/morkFactory.cpp:428
24 	xul.dll	morkFactory::CanOpenFilePort(nsIMdbEnv*, nsIMdbFile*, unsigned char*, mdbYarn*)	c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/db/mork/src/morkFactory.cpp:324
25 	xul.dll	nsMsgDatabase::OpenMDB(char const*, bool, bool)	c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/mailnews/db/msgdb/src/nsMsgDatabase.cpp:1354
26 	xul.dll	nsMsgDatabase::OpenInternal(nsMsgDBService*, nsIFile*, bool, bool, bool)	c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/mailnews/db/msgdb/src/nsMsgDatabase.cpp:1216
27 	xul.dll	nsMsgDatabase::Open(nsMsgDBService*, nsIFile*, bool, bool)	c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/mailnews/db/msgdb/src/nsMsgDatabase.cpp:1201
28 	xul.dll	nsMsgDBService::OpenFolderDB(nsIMsgFolder*, bool, nsIMsgDatabase**)	c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/mailnews/db/msgdb/src/nsMsgDatabase.cpp:137
29 	xul.dll	nsImapMailFolder::GetDatabase()	c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/mailnews/imap/src/nsImapMailFolder.cpp:602
30 	xul.dll	nsMsgDBFolder::GetMsgDatabase(nsIMsgDatabase**)	c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/mailnews/base/util/nsMsgDBFolder.cpp:951
31 	xul.dll	nsAutoSyncState::ProcessExistingHeaders(unsigned int, unsigned int*)	c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/mailnews/imap/src/nsAutoSyncState.cpp:333
32 	xul.dll	nsAutoSyncManager::TimerCallback(nsITimer*, void*)	c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/mailnews/imap/src/nsAutoSyncManager.cpp:294
All the crashes are Vista*, which isn't supported in version 60 and newer.

* https://crash-stats.mozilla.com/signature/?signature=RtlpDosPathNameToRelativeNtPathName_U%20%7C%20RtlDosPathNameToNtPathName_U%20%7C%20GetFileAttributesW&date=%3E%3D2018-01-09T04%3A35%3A37.000Z&date=%3C2018-07-09T06%3A35%3A37.000Z&_columns=date&_columns=product&_columns=version&_columns=build_id&_columns=platform&_columns=reason&_columns=address&_columns=install_time&_sort=-date&page=1#summary
Status: NEW → RESOLVED
Closed: 6 years ago
OS: Windows NT → Windows Vista
Resolution: --- → WONTFIX
Summary: crash in RtlpDosPathNameToRelativeNtPathName_U | RtlDosPathNameToNtPathName_U | GetFileAttributesW → crash in RtlpDosPathNameToRelativeNtPathName_U | RtlDosPathNameToNtPathName_U | GetFileAttributesW with Windows Vista
Some crashes are via mozilla::EnsureLongPath

bp-c5774615-58be-4d82-903d-c40810180821 is an example
0	ntdll.dll	RtlpDosPathNameToRelativeNtPathName_U	
1	ntdll.dll	RtlDosPathNameToNtPathName_U_WithStatus	
2	kernelbase.dll	GetFileAttributesW	
3	kernel32.dll	GetLongPathNameW	
4	xul.dll	mozilla::EnsureLongPath(nsTSubstring<char16_t>&)	xpcom/io/FileUtilsWin.h:35
5	xul.dll	mozilla::NtPathToDosPath(nsTSubstring<char16_t> const&, nsTSubstring<char16_t>&)	xpcom/io/FileUtilsWin.h:113
6	xul.dll	mozilla::HandleToFilename(void*, _LARGE_INTEGER const&, nsTSubstring<char16_t>&)	xpcom/io/FileUtilsWin.cpp:71
7	xul.dll	void `anonymous namespace'::WinIOAutoObservation::Filename(class nsTSubstring<char16_t>& const)	xpcom/build/PoisonIOInterposerWin.cpp:201
8	xul.dll	mozilla::Telemetry::TelemetryIOInterposeObserver::Observe(mozilla::IOInterposeObserver::Observation&)	toolkit/components/telemetry/TelemetryIOInterposeObserver.cpp:51
9	xul.dll	mozilla::IOInterposer::Report(mozilla::IOInterposeObserver::Observation&)	xpcom/build/IOInterposer.cpp:518
10	xul.dll	mozilla::IOInterposeObserver::Observation::Report()	xpcom/build/IOInterposer.cpp:420
11	xul.dll	static long `anonymous namespace'::InterposedNtFlushBuffersFile(void*, struct _IO_STATUS_BLOCK*)	xpcom/build/PoisonIOInterposerWin.cpp:400
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Summary: crash in RtlpDosPathNameToRelativeNtPathName_U | RtlDosPathNameToNtPathName_U | GetFileAttributesW with Windows Vista → crash in RtlpDosPathNameToRelativeNtPathName_U | RtlDosPathNameToNtPathName_U | GetFileAttributesW via mozilla::EnsureLongPath
Crash Signature: [@ RtlpDosPathNameToRelativeNtPathName_U | RtlDosPathNameToNtPathName_U | GetFileAttributesW] → [@ RtlpDosPathNameToRelativeNtPathName_U | RtlDosPathNameToNtPathName_U | GetFileAttributesW] [@ RtlpDosPathNameToRelativeNtPathName_U | RtlDosPathNameToNtPathName_U_WithStatus | GetFileAttributesW ]

Only about a dozen crashes for version 68.* in 3 months, with no testcase and in many cases may be a purely windows bug, so isn't worth keeping this bug open.

perhaps includes

Status: REOPENED → RESOLVED
Crash Signature: [@ RtlpDosPathNameToRelativeNtPathName_U | RtlDosPathNameToNtPathName_U | GetFileAttributesW] [@ RtlpDosPathNameToRelativeNtPathName_U | RtlDosPathNameToNtPathName_U_WithStatus | GetFileAttributesW ] → [@ RtlpDosPathNameToRelativeNtPathName_U | RtlDosPathNameToNtPathName_U | GetFileAttributesW] [@ RtlpDosPathNameToRelativeNtPathName_U | RtlDosPathNameToNtPathName_U_WithStatus | GetFileAttributesW ] [@ RtlpDosPathNameToRelativeNtPathName | RtlpDosPathN…
Closed: 6 years ago4 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.