Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Applications built with Visual Studio 2013 x64 crash!

- - - - - vs 2013 x64 windows vista

  • Please log in to reply
6 replies to this topic

#1
ppgrainbow

ppgrainbow

    Advanced Member

  • Member
  • PipPipPip
  • 437 posts
  • OS:Vista Ultimate x64
  • Country: Country Flag

I have a problem here. When I try to run the 64-bit version of a application such as Stella 4.0 that was built with the 64-bit version of Visual Studio 2013, the application crashes.

The problem details are as follows:

Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    Stella.exe
  Application Version:    4.0.0.0
  Application Timestamp:    53b2cfba
  Fault Module Name:    MSVCR120.dll
  Fault Module Version:    12.0.21005.1
  Fault Module Timestamp:    524f83ff
  Exception Code:    c000001d
  Exception Offset:    0000000000092bc3
  OS Version:    6.0.6002.2.2.0.256.1
  Locale ID:    1033
  Additional Information 1:    78c1
  Additional Information 2:    0869ef10dc8cd21b7395bb14415118ff
  Additional Information 3:    0c15
  Additional Information 4:    4d720ac05b49834e684ca24d3d806421

 

Other applications built using the 64-bit version of Visual Studio 2013 such as Media Player Classic do work under Vista x64.

Is there a way to fix or debug this issue? I know that this issue might have been resolved under Windows 7 SP1, but what about Windows Vista SP2 users?


AVA Direct FX AM3+ specs: Zalman ZM Z9-U3 Black Mid-Tower case / ASUS M5A97 R2.0 / AMD FX-4300 3.8 GHz quad-core processor / Fractal Design Integra R2 500W PSU/ Hyper 212 EVO CPU cooler / Western Digital BLACK SERIES 1 TB (WD1003FZEX) SATA III 7200 RPM / Lite-On iHas124 Black 24x DVD-RW / Sabrent CRW-UINB internal memory card w/USB 2.0 port (to be replaced soon) / 8 GB Crucual (2 x 4GB) Ballistix Sport PC3-12800 DDR3 RAM / EVGA GeForce 8400 GS 520 MHz 1 GB GDDR3 / Microsoft Windows Vista Ultimate SP2 x64



How to remove advertisement from MSFN

#2
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,672 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

It looks to be that your application is expecting a certain version of (at least) MSVCR120.dll and you don't have that one. I would run Depends on the program to see what it complains about. Also, run Procmon on Stella.exe at launch to see what its search order for MSVCR120.dll is. If the first place to look is the home or working dir, you could put the correct version into that folder and no effect anything using the one in the Windows folder.


MSFN RULES | GimageX HTA for PE 3.x | lol probloms
msfn2_zpsc37c7153.jpg

#3
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,920 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

Exception Code:    c000001d

error c000001d can be those things:

C:\Users\André>err c000001d
# for hex 0xc000001d / decimal -1073741795
  STATUS_ILLEGAL_INSTRUCTION                                     ntstatus.h
# {EXCEPTION}
# Illegal Instruction An attempt was made to execute an illegal instruction.
# as an HRESULT: Severity: FAILURE (1), FACILITY_NULL (0x0), Code 0x1d
# for hex 0x1d / decimal 29
  ERROR_WRITE_FAULT                                              winerror.h
# The system cannot write to the specified device.
# 2 matches found for "c000001d"

maybe it tries to call an API which is not part of Vista. Does the tool have PDB (debug symbols) files? If yes, you can create a dump and we can look at the dmp with Windbg


Posted Image

#4
ppgrainbow

ppgrainbow

    Advanced Member

  • Member
  • PipPipPip
  • 437 posts
  • OS:Vista Ultimate x64
  • Country: Country Flag
Exception Code:    c000001d

error c000001d can be those things:

C:\Users\André>err c000001d
# for hex 0xc000001d / decimal -1073741795
  STATUS_ILLEGAL_INSTRUCTION                                     ntstatus.h
# {EXCEPTION}
# Illegal Instruction An attempt was made to execute an illegal instruction.
# as an HRESULT: Severity: FAILURE (1), FACILITY_NULL (0x0), Code 0x1d
# for hex 0x1d / decimal 29
  ERROR_WRITE_FAULT                                              winerror.h
# The system cannot write to the specified device.
# 2 matches found for "c000001d"

maybe it tries to call an API which is not part of Vista. Does the tool have PDB (debug symbols) files? If yes, you can create a dump and we can look at the dmp with Windbg

 

 

That's what I've been thinking. The 64-bit version of Stella 4.0 tries to call an API that neither exists on Windows XP x64 nor Windows Vista x64.

 

How can I use the Windbg feature with Stella 4.0 to investigate the issue on Vista? Would I have to download the Windows Debugging Tools from the Windows 7 SDK?


AVA Direct FX AM3+ specs: Zalman ZM Z9-U3 Black Mid-Tower case / ASUS M5A97 R2.0 / AMD FX-4300 3.8 GHz quad-core processor / Fractal Design Integra R2 500W PSU/ Hyper 212 EVO CPU cooler / Western Digital BLACK SERIES 1 TB (WD1003FZEX) SATA III 7200 RPM / Lite-On iHas124 Black 24x DVD-RW / Sabrent CRW-UINB internal memory card w/USB 2.0 port (to be replaced soon) / 8 GB Crucual (2 x 4GB) Ballistix Sport PC3-12800 DDR3 RAM / EVGA GeForce 8400 GS 520 MHz 1 GB GDDR3 / Microsoft Windows Vista Ultimate SP2 x64


#5
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,920 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

yes, you can use the Debugger from Win7 SDK.


Posted Image

#6
ppgrainbow

ppgrainbow

    Advanced Member

  • Member
  • PipPipPip
  • 437 posts
  • OS:Vista Ultimate x64
  • Country: Country Flag


yes, you can use the Debugger from Win7 SDK.

 

Thank you for the help. I will install the Windows 7 SDK Debugger and report back when I'm done. :)

 

Note: In order for the Windows 7 SDK Debugger to work, I have to uninstall Visual Studio 2010 and reinstall the Windows 7.1 SDK.

 

I have the System Restore to revert the changes, so once I'm done...I can revert prior to installing the Windows 7.1 SDK.

 

Update: I did some debugging on the 64-bit executable of Stella 4.0 and here are the results:

Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.

CommandLine: C:\Stella\Stella.exe
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path.           *
* Use .symfix to have the debugger choose a symbol path.                   *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
ModLoad: 00000001`40000000 00000001`40366000   image00000001`40000000
ModLoad: 00000000`779d0000 00000000`77b56000   ntdll.dll
ModLoad: 00000000`77540000 00000000`7766d000   C:\Windows\system32\kernel32.dll
ModLoad: 00000000`6c740000 00000000`6c86f000   C:\Stella\SDL2.dll
ModLoad: 000007fe`fe540000 000007fe`fe5a4000   C:\Windows\system32\GDI32.dll
ModLoad: 00000000`77310000 00000000`773dd000   C:\Windows\system32\USER32.dll
ModLoad: 000007fe`fe790000 000007fe`fe898000   C:\Windows\system32\ADVAPI32.dll
ModLoad: 000007fe`fea80000 000007fe`febc2000   C:\Windows\system32\RPCRT4.dll
ModLoad: 000007fe`fe400000 000007fe`fe42d000   C:\Windows\system32\IMM32.dll
ModLoad: 000007fe`febd0000 000007fe`fecd2000   C:\Windows\system32\MSCTF.dll
ModLoad: 000007fe`ffc50000 000007fe`ffcec000   C:\Windows\system32\msvcrt.dll
ModLoad: 000007fe`fe8a0000 000007fe`fea78000   C:\Windows\system32\ole32.dll
ModLoad: 000007fe`fe6b0000 000007fe`fe783000   C:\Windows\system32\OLEAUT32.dll
ModLoad: 000007fe`fef50000 000007fe`ffba3000   C:\Windows\system32\SHELL32.dll
ModLoad: 000007fe`feed0000 000007fe`fef43000   C:\Windows\system32\SHLWAPI.dll
ModLoad: 000007fe`fd820000 000007fe`fd82b000   C:\Windows\system32\VERSION.dll
ModLoad: 000007fe`fc450000 000007fe`fc489000   C:\Windows\system32\WINMM.dll
ModLoad: 000007fe`fc3f0000 000007fe`fc445000   C:\Windows\system32\OLEACC.dll
ModLoad: 000007fe`f0900000 000007fe`f09a6000   C:\Stella\MSVCP120.dll
ModLoad: 000007fe`f06a0000 000007fe`f078f000   C:\Stella\MSVCR120.dll
(4a4.13d8): Break instruction exception - code 80000003 (first chance)
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntdll.dll -
ntdll!DbgBreakPoint:
00000000`77a161f0 cc              int     3

Now, when I select Debug > Go in the menu, here's the second output that I received:

0:000> g
ModLoad: 000007fe`feec0000 000007fe`feecd000   C:\Windows\system32\LPK.DLL
ModLoad: 000007fe`fe5b0000 000007fe`fe64b000   C:\Windows\system32\USP10.dll
ModLoad: 000007fe`fcf70000 000007fe`fd169000   C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18305_none_1509f852f40ee5cd\comctl32.dll
ModLoad: 000007fe`f9260000 000007fe`f9267000   C:\Windows\system32\shfolder.dll
ModLoad: 000007fe`fe270000 000007fe`fe296000   C:\Windows\system32\USERENV.dll
ModLoad: 000007fe`fe250000 000007fe`fe26c000   C:\Windows\system32\Secur32.dll
ModLoad: 000007fe`fca30000 000007fe`fca81000   C:\Windows\system32\uxtheme.dll
ModLoad: 000007fe`ffbb0000 000007fe`ffc49000   C:\Windows\system32\CLBCatQ.DLL
ModLoad: 000007fe`f5ff0000 000007fe`f602d000   C:\Windows\System32\dinput8.dll
ModLoad: 000007fe`fc950000 000007fe`fc95b000   C:\Windows\system32\HID.DLL
ModLoad: 000007fe`fece0000 000007fe`feebc000   C:\Windows\system32\SETUPAPI.DLL
ModLoad: 000007fe`fd1b0000 000007fe`fd1e9000   C:\Windows\system32\WINTRUST.dll
ModLoad: 000007fe`fdb40000 000007fe`fdc7b000   C:\Windows\system32\CRYPT32.dll
ModLoad: 000007fe`fdcf0000 000007fe`fdd09000   C:\Windows\system32\MSASN1.dll
ModLoad: 000007fe`fe520000 000007fe`fe538000   C:\Windows\system32\imagehlp.dll
ModLoad: 00000000`022f0000 00000000`0230e000   C:\Windows\system32\XInput1_3.dll
ModLoad: 000007fe`f0700000 000007fe`f078b000   C:\Windows\system32\XAudio2_7.dll
ModLoad: 000007fe`fc0a0000 000007fe`fc0d6000   C:\Windows\System32\MMDevApi.dll
ModLoad: 000007fe`fbca0000 000007fe`fbcd3000   C:\Windows\system32\AUDIOSES.DLL
ModLoad: 000007fe`fba20000 000007fe`fba9a000   C:\Windows\system32\audioeng.dll
ModLoad: 00000000`77b70000 00000000`77b79000   C:\Windows\system32\PSAPI.DLL
ModLoad: 000007fe`fd2b0000 000007fe`fd2b8000   C:\Windows\system32\AVRT.dll
(1198.244): Illegal instruction - code c000001d (first chance)
(1198.244): Illegal instruction - code c000001d (!!! second chance !!!)
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Stella\MSVCR120.dll -
MSVCR120!log+0x2d3:
000007fe`f0952bc3 c5e173d034      vpsrlq  xmm3,xmm0,34h

I checked the C:\Symbols directory and I found that the debugger created the msvcrt120.amd.pdb and ntdll.pdb sub-directories containing the respective files?

 

What should I do with the *.pdb files?


Edited by ppgrainbow, Today, 12:43 AM.

AVA Direct FX AM3+ specs: Zalman ZM Z9-U3 Black Mid-Tower case / ASUS M5A97 R2.0 / AMD FX-4300 3.8 GHz quad-core processor / Fractal Design Integra R2 500W PSU/ Hyper 212 EVO CPU cooler / Western Digital BLACK SERIES 1 TB (WD1003FZEX) SATA III 7200 RPM / Lite-On iHas124 Black 24x DVD-RW / Sabrent CRW-UINB internal memory card w/USB 2.0 port (to be replaced soon) / 8 GB Crucual (2 x 4GB) Ballistix Sport PC3-12800 DDR3 RAM / EVGA GeForce 8400 GS 520 MHz 1 GB GDDR3 / Microsoft Windows Vista Ultimate SP2 x64


#7
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,920 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

you need to fix the symbols:

 

http://support.micro...kb/311503/en-us

 

and you should look if there are PDBs for your tool.

 

Now run !analyze -v in Windbg to see more details.


Posted Image





Also tagged with one or more of these keywords: vs 2013 x64, windows vista

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN