Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Application built in VC 6.0 Windows application crashes in Windows server 2008 r2 japanese OS

$
0
0
Hi, 

I am facing the crash in windows 2008 r2 in Japanese OS, below are the crash dump call stacks by VS 2008 debugger. I am surprised that issue occurs in Windows 2008 r2 Japanese OS only If we exit from application without performing any operation (simply close the window) If I do any operation before exit it works fine. My application is built in VC 6.0 in WIN32 GUI project below are the following compilation option

/nologo /MT /W3 /GX /O2 /I "..\..\CoreRCSSource\Source\\" /I "c:\Program Files\Microsoft SDK\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_VC6_" /D "_VMSWIN_" /D "_I18N_WIDECHAR_" /D "_VI18N_" /Fo"Release/" /Fd"Release/" /FD /c  

These are linking options

my_internal.lib mpr.lib netapi32.lib wsock32.lib rpcrt4.lib shlwapi.lib nafxcw.lib LIBCMT.lib /nologo /subsystem:windows /incremental:no /pdb:"Release\dynamic/TestProject.pdb" /machine:I386 /out:"Release\dynamic/TestProject.exe" /libpath:"..\CommonLibs\dynamic" 

    743b3f46()
    user32.dll!_InternalCallWinProc@20()  + 0x23 bytes    
     user32.dll!_UserCallWinProcCheckWow@32()  + 0xb7 bytes    
     user32.dll!_DispatchMessageWorker@8()  + 0xed bytes    
     user32.dll!_DispatchMessageA@4()  + 0xf bytes    
     TestProject.exe!AfxInternalPumpMessage()  Line 183    C++
     TestProject.exe!CWinThread::PumpMessage()  Line 900    C++
     TestProject.exe!CWinThread::Run()  Line 629 + 0xd bytes    C++
     TestProject.exe!CWinApp::Run()  Line 865    C++
     TestProject.exe!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x002434d2, int nCmdShow=1)  Line 47 + 0xd bytes    C++
     TestProject.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x002434d2, int nCmdShow=1)  Line 30    C++
     TestProject.exe!__tmainCRTStartup()  Line 263 + 0x2c bytes    C
     TestProject.exe!WinMainCRTStartup()  Line 182    C
     kernel32.dll!@BaseThreadInitThunk@12()  + 0x12 bytes    
     ntdll.dll!___RtlUserThreadStart@8()  + 0x27 bytes    
     ntdll.dll!__RtlUserThreadStart@8()  + 0x1b bytes    
    
After debugging the crash dump I found the above call stack. I have spent a long time to find the root cause but could not get any clue, Anybody  please help me to suggest any clue to get ride the issue.

I have compiled the project in VS 2008 but issue is still keep coming, Is the issue of C run time?

Many Many Thanks in Advance.

Thanks,
Arshad

Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>