pidl = SHBrowseForFolder(&m_brinfo); // do it
After this call executed the Visual Studio debugger provides me with a First
Chance Exception:
First-chance exception at 0x7c812afb in Ufp.exe: 0xE053534F: 0xe053534f.
This only occurs when I use the flag
BIF_NEWDIALOGSTYLE
What is odd is that I use the same calls in another program and it works
fine. The other issue is that it only occurs on the Dell Latitude E6500 as
far as I can tell. More info is included below.
I used Debug Diagnostic Tool and got this:
Report for Ufp__PID__296__Date__12_01_2009__Time_12_31_45PM__880__First
Chance unknown.dmp
Type of Analysis Performed Crash Analysis
Machine Name TRAINER19
Operating System Windows XP Service Pack 3
Number Of Processors 2
Process ID 296
Process Image C:\Documents and Settings\Trainer-19\Desktop\Ufp.exe
System Up-Time 00:34:50
Process Up-Time 00:00:26
Thread 7 - System ID 1708
Entry point ntdll!RtlpWorkerThread
Create time 12/1/2009 12:31:45 PM
Time spent in user mode 0 Days 0:0:0.31
Time spent in kernel mode 0 Days 0:0:0.78
Function Arg 1 Arg 2 Arg 3 Source
kernel32!RaiseException+53 e053534f 00000000 00000000
mscorwks!ReportStackOverflow+61 00149708 00000032 0bb6f524
mscorwks!Alloc+3b 00000074 00000000 00000000
mscorwks!SlowAllocateString+29 00000032 00000031 79e996ca
mscorwks!UnframedAllocateString+c 0bb6f7bc 0bb6f558 79f53e25
mscorwks!COMString::NewString+17 00000031 0bb6f7d8 0bb6f7bc
mscorwks!WSTRMarshalerBase::ConvertSpaceNativeToCLR+44 0bb6f7bc
0bb6f794 79edf568
mscorwks!DefaultMarshalOverrides<WSTRMarshalerBase>::MarshalNativeToCLR+13
0bb6fb00 0bb6f7b4 5bf5044a
mscorwks!RunML+626 0942250c 0bb6fb00 0bb6f7b4
mscorwks!COMToCLRWorkerBody+115 00149708 0bb6fa74 0bb6faec
mscorwks!COMToCLRWorkerDebuggerWrapper+37 00149708 0bb6fa74
0bb6faec
mscorwks!COMToCLRWorker+157 00149708 0bb6faec 505c4f8a
0x0952a29a 00000000 0013cb08 000da0a8
shell32!CFSIconOverlayManager::_FindMatchingID+3b 0bb6fb70 00000011
00000064
shell32!CFSIconOverlayManager::GetFileOverlayInfo+3e 000da0a8
0bb6fb70 00000011
shell32!CFSFolder::_GetOverlayInfo+121 00141485 0bb6fe58
00000001
shell32!CFSFolder::GetOverlayIndex+31 00145ff8 00141485 0bb6fe58
shell32!CMyDocsFolder::_GetFolderOverlayInfo+6f 0bb6fe58 00000000
0bb6fe10
shell32!CMyDocsFolder::GetOverlayIndex+3e 0013da90 00000000
0bb6fe58
shell32!CRegFolder::_GetOverlayInfo+85 0013d928 0bb6fe58
00000000
shell32!CRegFolder::GetOverlayIndex+45 000c2d48 0013d928
0bb6fe58
shdocvw!CNscOverlayTask::_Extract+32 00000000 0013d928 00143660
shdocvw!CNscIconTask::RunInitRT+2b 000c2d40 00145c00 0013df90
shdocvw!CRunnableTask::Run+54 00143658 75f81b18 75f80000
browseui!CShellTaskScheduler_ThreadProc+111 00143720 001354f0
77f6956b
shlwapi!ExecuteWorkItem+1d 001354f0 7c97e440 00143148
ntdll!RtlpWorkerCallout+70 77f6956b 001354f0 00000000
ntdll!RtlpExecuteWorkerRequest+1a 00000000 001354f0 00143148
ntdll!RtlpApcCallout+11 7c927ae9 00000000 001354f0
ntdll!RtlpWorkerThread+87 00000000 0006dec0 0006dec0
kernel32!BaseThreadStart+37 7c910250 00000000 00000000
In Ufp__PID__296__Date__12_01_2009__Time_12_31_45PM__880__First Chance
unknown.dmp the assembly instruction at kernel32!RaiseException+53 in
C:\WINDOWS\system32\kernel32.dll from Microsoft Corporation has caused an
unknown exception (0xe053534f) on thread 7
This exception originated from mscorwks!ReportStackOverflow+61. Module
Information
Image Name: C:\WINDOWS\system32\kernel32.dll Symbol Type: PDB
Base address: 0x7c800000 Time Stamp: Sat Mar 21 07:06:58 2009
Checksum: 0x000fe572 Comments:
COM DLL: False Company Name: Microsoft Corporation
ISAPIExtension: False File Description: Windows NT BASE API Client DLL
ISAPIFilter: False File Version: 5.1.2600.5781 (xpsp_sp3_gdr.090321-1317)
Managed DLL: False Internal Name: kernel32
VB DLL: False Legal Copyright: © Microsoft Corporation. All rights
reserved.
Loaded Image Name: kernel32.dll Legal Trademarks:
Mapped Image Name: Original filename: kernel32
Module name: kernel32 Private Build:
Single Threaded: False Product Name: Microsoft® Windows® Operating System
Module Size: 984.00 KBytes Product Version: 5.1.2600.5781
Symbol File Name:
c:\symcache\kernel32.pdb\072FF0EB54D24DFAAE9D13885486EE092\kernel32.pdb
Special Build: &
The program crashes from the unhandled exception.
I am using Visual Studio 2008 on a Dell Latitude E6500 running Windows XP
Professional sp3.
The code stack overflows only on this computer.
c:\Windows\Microsoft.net\framework\v2.0.50727\mscorwks.dll is where the
exception originates.
Could anyone help me figure out what is going on here?