explorer.exe crashes while searching for a file using windows explorer
hi guys,
our product creates virtual snapshot of a ntfs based source volume. virtual copy backed sparse files has latest copy of source volume , old changes written retention store.
symptom : trying search string on virtual copy using explorer.exe(without indexation enabled) , pop-up separate search window. window crashes exception "stack overflow". reproducible. here are more details.
environment : window 2008 r2 sp1 - automatic updates installed upto 1st feb 2012
search operation works on windows 2003 server on virtual copy and command line on windows 2008 r2 sp1 well.
looking @ faulting thread's _teb structure. 2 instances of crash dump showing 508kb of stack used out of 512kb maximum.
details required further debugging :
faulting application name: explorer.exe, version: 6.1.7601.17567, time stamp: 0x4d672ee4
faulting module name: shell32.dll, version: 6.1.7601.17514, time stamp: 0x4ce7c9a6
exception code: 0xc00000fd
fault offset: 0x000000000009c7df
faulting process id: 0xadc
faulting application start time: 0x01cce04ca94c531d
faulting application path: c:\windows\explorer.exe
faulting module path: c:\windows\system32\shell32.dll
report id: dab36523-4cd8-11e1-96ab-00188b8c1d51
++
stack trace :
faulting stack : shell32!cdesktopfolder::bindtoobject+113
000007fe`fe9dfde7 ?? ???
exception_record: ffffffffffffffff -- (.exr 0xffffffffffffffff)
exceptionaddress: 000007fefea3c7df (shell32!cfilesysitemstring::_class+0x0000000000000077)
exceptioncode: c00000fd (stack overflow)
exceptionflags: 00000000
numberparameters: 2
parameter[0]: 0000000000000001
parameter[1]: 0000000008143fe8
default_bucket_id: stack_overflow
process_name: explorer.exe
error_code: (ntstatus) 0xc00000fd - new guard page stack cannot created.
recurring_stack: frames 0xe 0x16
application_verifier_flags: 0
faulting_thread: 00000000000001f0
primary_problem_class: stack_overflow
bugcheck_str: application_fault_stack_overflow
last_control_transfer: 000007fefea3c765 000007fefea3c7df
stack_text:
00000000`08143ff0 000007fe`fea3c765 : 00000000`00000000 00000000`00000001 00000000`00000000 000007fe`fea3bbd5 : shell32!cfilesysitemstring::_class+0x77
00000000`08144050 000007fe`fea3c589 : 00000000`00000000 00000000`00000000 00000000`00000104 000007fe`fea3bf75 : shell32!cfilesysitemstring::class+0x21
00000000`08144080 000007fe`fea3c83a : 00000000`08144140 00000000`08144140 00000000`0a91eb5d 00000000`00000000 : shell32!cfileextension::_ensureclassflags+0x3d
00000000`081440d0 000007fe`fea3d1a5 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`083c3ea0 : shell32!cfilesysitemstring::getjunctionclsid+0xb8
00000000`08144120 000007fe`fea3cbd8 : 00000000`80004005 000007fe`fee00ee0 00000000`00000000 00000000`80004005 : shell32!cfsfolder::_getbindclsid+0x59
00000000`08144610 000007fe`fea3cae3 : 000007fe`fee00ee0 00000000`083c3ed0 00000000`00000000 00000000`00000000 : shell32!cfsfolder::_bind+0x119
00000000`081448f0 000007fe`fea3e97c : 00000000`0a91e9f8 00000000`00000000 00000000`0a91ea11 00000000`0a91e9f8 : shell32!cfsfolder::bindtoobject+0xf0
00000000`08144980 000007fe`fea3d720 : 9d30302b`0008d8a2 0000e04c`ac6239d9 00000000`77ae5410 00000000`08144bf0 : shell32!cdrivesfolder::bindtoobject+0xcb
00000000`08144a10 000007fe`fea3d831 : 00000000`00000000 00000000`073b8c20 000007fe`fee00ee0 00000000`0a91e9f8 : shell32!cregfolder::bindtoobject+0x6f
00000000`08144a60 000007fe`fea3b8dc : 00000000`08144b70 00000000`0a3d8ad0 00000000`00000000 000007fe`fea39cee : shell32!cregfolder::_bindtoitem+0xb6
00000000`08144af0 000007fe`fea3ba72 : 00000000`00000000 000007fe`fee00ee0 00000000`08144bf0 00000000`0a91e9e4 : shell32!cregfolder::bindtoobject+0x58
00000000`08144b40 000007fe`fec35058 : 00000000`00000001 0000e04c`ac623bc9 00000000`00000000 000007fe`fea3d47b : shell32!shbindtoobject+0x7d
00000000`08144bc0 000007fe`fec351c7 : 00000000`0a91e9d0 000007fe`fc9dfe74 000007fe`fee00ee0 000007fe`fea39de7 : shell32!cdesktoprootedstub::_bindinnerfolder+0xa8
00000000`08145070 000007fe`fe9dfde7 : 00000000`0a91e9d0 00000000`0740a6e0 00000000`081451f0 00000000`00000001 : shell32!cdesktoprootedstub::bindtoobject+0x3f
00000000`081450d0 000007fe`fea3d720 : 000007fe`fee00ed0 00000000`081451f0 00000000`00000001 000007fe`fea1893b : shell32!cdesktopfolder::bindtoobject+0x113
00000000`08145170 000007fe`fea3ba72 : 00000000`00000000 000007fe`fee00f70 00000000`0a3d8b08 00000000`0a91e9d0 : shell32!cregfolder::bindtoobject+0x6f
00000000`081451c0 000007fe`feabb177 : 00000000`0a3d8ad0 00000000`00000000 00000000`00000000 00000000`00000000 : shell32!shbindtoobject+0x7d
00000000`08145240 000007fe`fea10fdb : 00000000`0a3d8ad0 00000000`0a3d8a48 00000000`0a3d8ad0 00000000`0a91e787 : shell32!crecentdocumentsfolder::initialize+0x8a
00000000`081452a0 000007fe`feabb351 : 00000000`0a3d8ad8 00000000`00000000 00000000`08145868 00000000`00000000 : shell32!iunknown_setidlist+0x33
00000000`081452d0 000007fe`feae6ebd : 00000000`00000000 000007fe`fee00f70 00000000`00000000 00000000`80004005 : shell32!cfsfolder::_initfolder+0x2df
00000000`08145810 000007fe`fea3cae3 : 000007fe`fee00f70 00000000`08412d90 00000000`00000000 00000000`00000000 : shell32!cfsfolder::_bind+0x187
00000000`08145af0 000007fe`fec351f2 : 00000000`0a91e580 000007fe`fc9dfe74 000007fe`fee00ee0 000007fe`fea39de7 : shell32!cfsfolder::bindtoobject+0xf0
00000000`08145b80 000007fe`fe9dfde7 : 00000000`0a91e580 00000000`0740a6e0 00000000`08145d00 00000000`00000001 : shell32!cdesktoprootedstub::bindtoobject+0x6a
00000000`08145be0 000007fe`fea3d720 : 000007fe`fee00ed0 00000000`08145d00 00000000`00000001 000007fe`fea1893b : shell32!cdesktopfolder::bindtoobject+0x113
00000000`08145c80 000007fe`fea3ba72 : 00000000`00000000 000007fe`fee00f70 00000000`0a3d8a48 00000000`0a91e580 : shell32!cregfolder::bindtoobject+0x6f
00000000`08145cd0 000007fe`feabb177 : 00000000`0a3d8a10 00000000`00000000 00000000`00000000 00000000`00000000 : shell32!shbindtoobject+0x7d
00000000`08145d50 000007fe`fea10fdb : 00000000`0a3d8a10 00000000`0a3d8988 00000000`0a3d8a10 00000000`0a91e337 : shell32!crecentdocumentsfolder::initialize+0x8a
00000000`08145db0 000007fe`feabb351 : 00000000`0a3d8a18 00000000`00000000 00000000`08146378 00000000`00000000 : shell32!iunknown_setidlist+0x33
00000000`08145de0 000007fe`feae6ebd : 00000000`00000000 000007fe`fee00f70 00000000`00000000 00000000`80004005 : shell32!cfsfolder::_initfolder+0x2df
00000000`08146320 000007fe`fea3cae3 : 000007fe`fee00f70 00000000`08412ae0 00000000`00000000 00000000`00000000 : shell32!cfsfolder::_bind+0x187
00000000`08146600 000007fe`fec351f2 : 00000000`0a91e130 000007fe`fc9dfe74 000007fe`fee00ee0 000007fe`fea39de7 : shell32!cfsfolder::bindtoobject+0xf0
00000000`08146690 000007fe`fe9dfde7 : 00000000`0a91e130 00000000`0740a6e0 00000000`08146810 00000000`00000001 : shell32!cdesktoprootedstub::bindtoobject+0x6a
00000000`081466f0 000007fe`fea3d720 : 000007fe`fee00ed0 00000000`08146810 00000000`00000001 000007fe`fea1893b : shell32!cdesktopfolder::bindtoobject+0x113
00000000`08146790 000007fe`fea3ba72 : 00000000`00000000 000007fe`fee00f70 00000000`0a3d8988 00000000`0a91e130 : shell32!cregfolder::bindtoobject+0x6f
00000000`081467e0 000007fe`feabb177 : 00000000`0a3d8950 00000000`00000000 00000000`00000000 00000000`00000000 : shell32!shbindtoobject+0x7d
00000000`08146860 000007fe`fea10fdb : 00000000`0a3d8950 00000000`0a3d88c8 00000000`0a3d8950 00000000`0a91dee7 : shell32!crecentdocumentsfolder::initialize+0x8a
00000000`081468c0 000007fe`feabb351 : 00000000`0a3d8958 00000000`00000000 00000000`08146e88 00000000`00000000 : shell32!iunknown_setidlist+0x33
00000000`081468f0 000007fe`feae6ebd : 00000000`00000000 000007fe`fee00f70 00000000`00000000 00000000`80004005 : shell32!cfsfolder::_initfolder+0x2df
00000000`08146e30 000007fe`fea3cae3 : 000007fe`fee00f70 00000000`08412830 00000000`00000000 00000000`00000000 : shell32!cfsfolder::_bind+0x187
00000000`08147110 000007fe`fec351f2 : 00000000`0a91dce0 000007fe`fc9dfe74 000007fe`fee00ee0 000007fe`fea39de7 : shell32!cfsfolder::bindtoobject+0xf0
00000000`081471a0 000007fe`fe9dfde7 : 00000000`0a91dce0 00000000`0740a6e0 00000000`08147320 00000000`00000001 : shell32!cdesktoprootedstub::bindtoobject+0x6a
00000000`08147200 000007fe`fea3d720 : 000007fe`fee00ed0 00000000`08147320 00000000`00000001 000007fe`fea1893b : shell32!cdesktopfolder::bindtoobject+0x113
00000000`081472a0 000007fe`fea3ba72 : 00000000`00000000 000007fe`fee00f70 00000000`0a3d88c8 00000000`0a91dce0 : shell32!cregfolder::bindtoobject+0x6f
00000000`081472f0 000007fe`feabb177 : 00000000`0a3d8890 00000000`00000000 00000000`00000000 00000000`00000000 : shell32!shbindtoobject+0x7d
00000000`08147370 000007fe`fea10fdb : 00000000`0a3d8890 00000000`0a3d8808 00000000`0a3d8890 00000000`0a91da97 : shell32!crecentdocumentsfolder::initialize+0x8a
00000000`081473d0 000007fe`feabb351 : 00000000`0a3d8898 00000000`00000000 00000000`08147998 00000000`00000000 : shell32!iunknown_setidlist+0x33
00000000`08147400 000007fe`feae6ebd : 00000000`00000000 000007fe`fee00f70 00000000`00000000 00000000`80004005 : shell32!cfsfolder::_initfolder+0x2df
00000000`08147940 000007fe`fea3cae3 : 000007fe`fee00f70 00000000`08412580 00000000`00000000 00000000`00000000 : shell32!cfsfolder::_bind+0x187
00000000`08147c20 000007fe`fec351f2 : 00000000`0a91d890 000007fe`fc9dfe74 000007fe`fee00ee0 000007fe`fea39de7 : shell32!cfsfolder::bindtoobject+0xf0
00000000`08147cb0 000007fe`fe9dfde7 : 00000000`0a91d890 00000000`0740a6e0 00000000`08147e30 00000000`00000001 : shell32!cdesktoprootedstub::bindtoobject+0x6a
00000000`08147d10 000007fe`fea3d720 : 000007fe`fee00ed0 00000000`08147e30 00000000`00000001 000007fe`fea1893b : shell32!cdesktopfolder::bindtoobject+0x113
00000000`08147db0 000007fe`fea3ba72 : 00000000`00000000 000007fe`fee00f70 00000000`0a3d8808 00000000`0a91d890 : shell32!cregfolder::bindtoobject+0x6f
00000000`08147e00 000007fe`feabb177 : 00000000`0a3d87d0 00000000`00000000 00000000`00000000 00000000`00000000 : shell32!shbindtoobject+0x7d
00000000`08147e80 000007fe`fea10fdb : 00000000`0a3d87d0 00000000`0a3d8748 00000000`0a3d87d0 00000000`0a91d647 : shell32!crecentdocumentsfolder::initialize+0x8a
00000000`08147ee0 000007fe`feabb351 : 00000000`0a3d87d8 00000000`00000000 00000000`081484a8 00000000`00000000 : shell32!iunknown_setidlist+0x33
00000000`08147f10 000007fe`feae6ebd : 00000000`00000000 000007fe`fee00f70 00000000`00000000 00000000`80004005 : shell32!cfsfolder::_initfolder+0x2df
00000000`08148450 000007fe`fea3cae3 : 000007fe`fee00f70 00000000`084122d0 00000000`00000000 00000000`00000000 : shell32!cfsfolder::_bind+0x187
00000000`08148730 000007fe`fec351f2 : 00000000`0a91d440 000007fe`fc9dfe74 000007fe`fee00ee0 000007fe`fea39de7 : shell32!cfsfolder::bindtoobject+0xf0
00000000`081487c0 000007fe`fe9dfde7 : 00000000`0a91d440 00000000`0740a6e0 00000000`08148940 00000000`00000001 : shell32!cdesktoprootedstub::bindtoobject+0x6a
00000000`08148820 000007fe`fea3d720 : 000007fe`fee00ed0 00000000`08148940 00000000`00000001 000007fe`fea1893b : shell32!cdesktopfolder::bindtoobject+0x113
00000000`081488c0 000007fe`fea3ba72 : 00000000`00000000 000007fe`fee00f70 00000000`0a3d8748 00000000`0a91d440 : shell32!cregfolder::bindtoobject+0x6f
00000000`08148910 000007fe`feabb177 : 00000000`0a3d8710 00000000`00000000 00000000`00000000 00000000`00000000 : shell32!shbindtoobject+0x7d
00000000`08148990 000007fe`fea10fdb : 00000000`0a3d8710 00000000`0a3d8688 00000000`0a3d8710 00000000`0a91d1f7 : shell32!crecentdocumentsfolder::initialize+0x8a
00000000`081489f0 000007fe`feabb351 : 00000000`0a3d8718 00000000`00000000 00000000`08148fb8 00000000`00000000 : shell32!iunknown_setidlist+0x33
00000000`08148a20 000007fe`feae6ebd : 00000000`00000000 000007fe`fee00f70 00000000`00000000 00000000`80004005 : shell32!cfsfolder::_initfolder+0x2df
00000000`08148f60 000007fe`fea3cae3 : 000007fe`fee00f70 00000000`08412020 00000000`00000000 00000000`00000000 : shell32!cfsfolder::_bind+0x187
00000000`08149240 000007fe`fec351f2 : 00000000`0a91cff0 000007fe`fc9dfe74 000007fe`fee00ee0 000007fe`fea39de7 : shell32!cfsfolder::bindtoobject+0xf0
00000000`081492d0 000007fe`fe9dfde7 : 00000000`0a91cff0 00000000`0740a6e0 00000000`08149450 00000000`00000001 : shell32!cdesktoprootedstub::bindtoobject+0x6a
00000000`08149330 000007fe`fea3d720 : 000007fe`fee00ed0 00000000`08149450 00000000`00000001 000007fe`fea1893b : shell32!cdesktopfolder::bindtoobject+0x113
00000000`081493d0 000007fe`fea3ba72 : 00000000`00000000 000007fe`fee00f70 00000000`0a3d8688 00000000`0a91cff0 : shell32!cregfolder::bindtoobject+0x6f
00000000`08149420 000007fe`feabb177 : 00000000`0a3d8650 00000000`00000000 00000000`00000000 00000000`00000000 : shell32!shbindtoobject+0x7d
00000000`081494a0 000007fe`fea10fdb : 00000000`0a3d8650 00000000`0a3d85c8 00000000`0a3d8650 00000000`0a91cda7 : shell32!crecentdocumentsfolder::initialize+0x8a
00000000`08149500 000007fe`feabb351 : 00000000`0a3d8658 00000000`00000000 00000000`08149ac8 00000000`00000000 : shell32!iunknown_setidlist+0x33
00000000`08149530 000007fe`feae6ebd : 00000000`00000000 000007fe`fee00f70 00000000`00000000 00000000`80004005 : shell32!cfsfolder::_initfolder+0x2df
00000000`08149a70 000007fe`fea3cae3 : 000007fe`fee00f70 00000000`08411d70 00000000`00000000 00000000`00000000 : shell32!cfsfolder::_bind+0x187
00000000`08149d50 000007fe`fec351f2 : 00000000`0a91cba0 000007fe`fc9dfe74 000007fe`fee00ee0 000007fe`fea39de7 : shell32!cfsfolder::bindtoobject+0xf0
00000000`08149de0 000007fe`fe9dfde7 : 00000000`0a91cba0 00000000`0740a6e0 00000000`08149f60 00000000`00000001 : shell32!cdesktoprootedstub::bindtoobject+0x6a
00000000`08149e40 000007fe`fea3d720 : 000007fe`fee00ed0 00000000`08149f60 00000000`00000001 000007fe`fea1893b : shell32!cdesktopfolder::bindtoobject+0x113
00000000`08149ee0 000007fe`fea3ba72 : 00000000`00000000 000007fe`fee00f70 00000000`0a3d85c8 00000000`0a91cba0 : shell32!cregfolder::bindtoobject+0x6f
00000000`08149f30 000007fe`feabb177 : 00000000`0a3d8590 00000000`00000000 00000000`00000000 00000000`00000000 : shell32!shbindtoo
followup_ip:
shell32!cdesktopfolder::bindtoobject+113
000007fe`fe9dfde7 ?? ???
symbol_stack_index: e
symbol_name: shell32!cdesktopfolder::bindtoobject+113
followup_name: machineowner
module_name: shell32
image_name: shell32.dll
debug_flr_image_timestamp: 4ce7c9a6
stack_command: ~27s; .ecxr ; kb
failure_bucket_id: stack_overflow_c00000fd_shell32.dll!cdesktopfolder::bindtoobject
bucket_id: x64_application_fault_stack_overflow_shell32!cdesktopfolder::bindtoobject+113
followup: machineowner
not find on online. suggestions , highly appreciated. in advance.
please let me know if need more details..i have crash dump with me.
regards,
suresh
hi,
i have reported issue ms. found accessing 'recent' folder under users\administrator causing explorer.exe crash, happens when i try access folder first time. junction point accessible user windows 2008 onwards. ms support guy suggested work around. here more explanation.
when create view, the virtual volume is mounted , windows explorer window opens focused on pinned folder. issue here value of "desktop" set null pinned folder, , when "recent" folder accessed, references "desktop" value , causes windows explorer crash accessing null. when close windows explorer window opened software(or open new 1 after 1 crashes), pinned folder removed. can access "recent" folder without further crashes, new windows explorer windows have "desktop" value set location of desktop.
here code snippet works windows 2003. started breaking windows 2008 onwards..
inline bool startfileexplorer(
std::string const& root, // directory pin explorer at
fileexplorerprocesstitles_t& fileexplorerprocesstitles) // tracks
root used start explorer on success
{
startupinfo startupinfo;
process_information processinfo;
zeromemory(&startupinfo, sizeof(startupinfo));
startupinfo.cb = sizeof(startupinfo);
zeromemory(&processinfo, sizeof(processinfo));
std::string cmd("explorer.exe /n,/e,/root,");
cmd += root;
if (!createprocess(null, (lpstr)cmd.c_str(), null, null, false, 0,
null, null, &startupinfo, &processinfo)) {
return false;
}
fileexplorerprocesstitles.insert(root);
return true;
}
work around
- use shellexecute() call instead of createprocess() open explorer window.
- remove /root command line passing createprocess()
-suresh
Windows Server > Windows Server General Forum
Comments
Post a Comment