Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue 0xc000007b #1338

Closed
Vladislav-S opened this issue Aug 17, 2016 · 14 comments

Comments

Projects
None yet
3 participants
@Vladislav-S
Copy link

commented Aug 17, 2016

5

@Vladislav-S

This comment has been minimized.

Copy link
Author

commented Aug 17, 2016

downloaded new NVIDIA drivers and now its work

@bjorn

This comment has been minimized.

Copy link
Owner

commented Aug 18, 2016

Well, you should not need to download NVIDIA drivers to get Tiled to work, so this is still a valid issue. It is a problem with the way the Visual Studio 2013 Runtime is shipped in the Tiled installer (and it's hence specific to 64-bit Tiled, since the 32-bit version is built with MinGW instead).

I tried to solve this issue by using the available Merge Modules, but so far it has not resulted in a usable installer for me so I must be doing something wrong.

@bjorn bjorn reopened this Aug 18, 2016

@bjorn bjorn added the windows label Aug 18, 2016

@davidwesst

This comment has been minimized.

Copy link

commented Jan 14, 2017

I just hit is this issue this evening. I'm running Windows 10 v1607 and I'm sure I had it working before. Not sure what could have changed, but would like to help if I can.

I've installed the 32-bit to keep working on my game, but the 64-bit version continues to give me grief.

What info can I provide to help?

@Vladislav-S

This comment has been minimized.

Copy link
Author

commented Jan 14, 2017

@Vladislav-S

This comment has been minimized.

Copy link
Author

commented Jan 14, 2017

@bjorn

This comment has been minimized.

Copy link
Owner

commented Jan 14, 2017

@Vladislav-S I'm happy to hear your MacBook resolved all your problems, but I still have 19 open issues on OS X. :-P

@davidwesst I eventually noticed what was up with the shipped DLLs and fixed it for the snapshot builds. Could you try a snapshot 64-bit build resolves your issue? You can find them at https://update.mapeditor.org/snapshots-win/. I'll make sure to include this fix in the 0.18.1 release as well, but it would be nice to know for sure whether it resolves this issue.

@davidwesst

This comment has been minimized.

Copy link

commented Jan 17, 2017

@bjorn I installed Tiled-0.18.1483-win64 and still have the same error. I've uninstalled the old versions, and re-installed, with still no luck.

Any ideas on how I can triage the issue on my system?

EDIT: Just wanted to add that, looking at the fix you referenced it makes sense and figured it would have fixed it for me, but no dice.

@bjorn

This comment has been minimized.

Copy link
Owner

commented Jan 17, 2017

@davidwesst Hmm, that's unfortunate. Could you try http://www.dependencywalker.com/ for figuring out which DLLs the tiled.exe is loading and whether they have the correct architecture?

@davidwesst

This comment has been minimized.

Copy link

commented Jan 19, 2017

I managed to get some time to triage it with dependency walker, and found a few things. I did a fresh install of the x64 MSI for version 18.1483. There are errors when I go through tiled.exe. Here's the log:

Error: At least one required implicit or forwarded dependency was not found.
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Error: Modules with different CPU types were found.
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

In regards to any DLLs with the incorrect architecture, there are two that are used through many of the DLLs:

  • MSVCP120.DLL
  • MSVCR120.DLL

Thoughts?

@bjorn

This comment has been minimized.

Copy link
Owner

commented Jan 19, 2017

That is strange, because these two DLLs are exactly the ones that I fixed. Did you check the path to see whether they are the ones shipping with Tiled (they are in the Tiled installation directory)?

@davidwesst

This comment has been minimized.

Copy link

commented Jan 22, 2017

Looks like it. I've included a screenshot, just in case I'm missing something:

tiled

@bjorn

This comment has been minimized.

Copy link
Owner

commented Jan 23, 2017

Hmm, indeed for some reason the MSI installer is still putting the wrong file:

MSI (s) (D0:40) [11:46:28:957]: Executing op: FileCopy(SourceName=MSVCP120.DLL,SourceCabKey=MSVCP120,DestName=MSVCP120.DLL,Attributes=512,FileSize=455488,PerTick=65536,,VerifyMedia=1,,,,,CheckCRC=0,Version=12.0.40649.5,Language=1033,InstallMode=58982400,,,,,,,)
MSI (s) (D0:40) [11:46:28:957]: File: C:\Program Files\Tiled\MSVCP120.DLL;	To be installed;	Won't patch;	No existing file
MSI (s) (D0:40) [11:46:28:957]: Source for file 'MSVCP120' is compressed
InstallFiles: File: MSVCP120.DLL,  Directory: C:\Program Files\Tiled\,  Size: 455488

The correct file for 64-bit should be 645 KiB, whereas here it installs a file of 445 KiB.

@bjorn bjorn closed this in c717d5a Jan 23, 2017

@bjorn

This comment has been minimized.

Copy link
Owner

commented Jan 23, 2017

After much time was lost trying different things, I think I know why this was going wrong (see the commit message...).

@davidwesst I closed the issue because I'm pretty sure this was it, but please do still verify.

@davidwesst

This comment has been minimized.

Copy link

commented Jan 25, 2017

Works like a charm! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.