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

[0.A] Crash since 1035 #6422

Closed
Bakit opened this issue Mar 4, 2014 · 23 comments

Comments

Projects
None yet
10 participants
@Bakit
Copy link

commented Mar 4, 2014

I have a crash each time i use Tiles.

Problem Signature:
Name Problem Event: APPCRASH
Application Name: cataclysm-tiles.exe
Application Version: 0.0.0.0
Timestamp of the application: 53157822
Name of the default module: cataclysm-tiles.exe
Version of the default module: 0.0.0.0
Timestamp default module: 53157822
Exception code: C0000005
Shifting the exception 00024ae5
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 3084
Additional Information 1: ff25
Additional Information 2: ff25a1640e9776ce8d600bc17fee902f
Additional Information 3: 2156
Additional Information 4: 215698a870f5cc7df80a12fd88b4881b

@i2amroy i2amroy added the Crash label Mar 4, 2014

@Bakit

This comment has been minimized.

Copy link
Author

commented Mar 4, 2014

and the logg here:

http://pastebin.com/KDM9YniM

@kevingranade

This comment has been minimized.

Copy link
Member

commented Mar 5, 2014

It's saying it can't find the tile files themselves, can you check if those
are present? (For example gfx/HoderTiles/hodertiles.bmp)?
Meanwhile I'll see if I can reproduce the crash by deleting the file, we
should just fail and do something else regardless.

@Bakit

This comment has been minimized.

Copy link
Author

commented Mar 5, 2014

Yes, it's there

@Bakit

This comment has been minimized.

Copy link
Author

commented Mar 5, 2014

The first time i started the game i have a white screen. I'm go at the Forum and i have seen delete the folder lang. After that i can open the game but when i make my character the game crash.
(sorry for my bad english i'm french)

@Akira-Blaze

This comment has been minimized.

Copy link

commented Mar 5, 2014

Just thought I'd add my input, the issue started after the windows tiles build 1007 (1007 works, none after it do) the crash happens with all tilesets, even pointing the tileset.txt directly to the files (via putting the entire location including drive into the file) the log still reports that it cannot find the .png.

As I posted on the forum, the bog standard fixes for things (such as compatibility mode and running as admin) do nothing to remedy the problem. I'm running windows 8 and 8.1, just in case that's affecting something.

@Bakit

This comment has been minimized.

Copy link
Author

commented Mar 5, 2014

I'm on Windows 7 64bit

@Bakit

This comment has been minimized.

Copy link
Author

commented Mar 5, 2014

I think the problem is the cataclysm-tiles.exe because when i use the old one i can play with a debug/error like this:

http://pastebin.com/tvnFDZ9V

@Abalieno

This comment has been minimized.

Copy link
Contributor

commented Mar 5, 2014

I don't know if it's related, but to avoid crashes when I compile my own version I have to include in the directory the zlib1.dll that comes with SDL2.

You could try downloading my version here: http://www.cesspit.net/misc/cataf.zip

It includes the zlib1.dll so try move that file to your version and see if it fixes the crashes.

@Bakit

This comment has been minimized.

Copy link
Author

commented Mar 5, 2014

Get the error miss freetype6.ddl

@Abalieno

This comment has been minimized.

Copy link
Contributor

commented Mar 5, 2014

@Bakit

This comment has been minimized.

Copy link
Author

commented Mar 5, 2014

Do not work for me

@Abalieno

This comment has been minimized.

Copy link
Contributor

commented Mar 6, 2014

I tried to load my version on my very old XP computer and indeed it crashes with the same message about tile not found. ASCII works.

Now I'm trying to check if it's some library.

@Abalieno

This comment has been minimized.

Copy link
Contributor

commented Mar 6, 2014

Ok, I've fixed it on that PC, so it will likely work everywhere else.

The game needs three libraries locally:
freetype6.dll
libpng16-16.dll
zlib1.dll

It wasn't finding the tile image because the tile image is .png and it missed the dll that could load the png.

If you want to try here's my full package that includes everything, the dlls are there so you ca move them to other versions too:
http://www.cesspit.net/misc/cataf5.zip

@Mzxs

This comment has been minimized.

Copy link

commented Mar 6, 2014

heres a easy way to fix the most up to date builds by just putting the .dll's that are missing(said above)in the main folder that has the .exe

@Bakit

This comment has been minimized.

Copy link
Author

commented Mar 6, 2014

It works now, thank you

@Zireael07

This comment has been minimized.

Copy link
Contributor

commented Mar 6, 2014

Are the three libraries included in the experimental download?

@Akira-Blaze

This comment has been minimized.

Copy link

commented Mar 6, 2014

afaik the three libraries are not included, might be an idea to add them, although I am curious as to what caused the break in the first place?

Adding the libraries does make the newest version work, I think someone needs to put a note about this somewhere, or add them to the experimental build, so others don't face these issues.

@kevingranade

This comment has been minimized.

Copy link
Member

commented Mar 6, 2014

My guess is the default packaging of SDL on windows changed between
versions 1.2 and 2.0, these were included before, but no longer.

@narc0tiq

This comment has been minimized.

Copy link
Contributor

commented Mar 7, 2014

Allow me to bring over my comment from the recently-closed duplicate issue:

That's strange. I'm looking at the build log from build 1061 and it shows -static among the linker parameters. What the heck is going on here?

Furthermore, all three of the mentioned libraries are explicitly included in the linking directives as -lz, -lfreetype, and -lpng.

@TheFerc8

This comment has been minimized.

Copy link

commented Mar 17, 2014

I'm getting the same error message on crash with Build #1182
The last working build for me was #1007
Adding the three dll files fixes it.

Problem Event Name: APPCRASH
Application Name: cataclysm-tiles.exe
Application Version: 0.0.0.0
Application Timestamp: 5326acca
Fault Module Name: cataclysm-tiles.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 5326acca
Exception Code: c0000005
Exception Offset: 0004aef3
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: ff25
Additional Information 2: ff25a1640e9776ce8d600bc17fee902f
Additional Information 3: 2156
Additional Information 4: 215698a870f5cc7df80a12fd88b4881b

N.b. I seem to have accidentally deleted this comment right after writing it.

@narc0tiq

This comment has been minimized.

Copy link
Contributor

commented Mar 17, 2014

For what it's worth, I have gathered the DLLs from the build system at http://dev.narc.ro/cataclysm/sdl2/win-tiles-dlls.zip -- despite the slightly different name to libfreetype6, they seem to work just fine.

I'd still love to know why they're required when we're clearly doing static linking, but I'm tempted to just say "fuck it", and change the makefile so they can be included automatically.

@SeanMirrsen

This comment has been minimized.

Copy link
Contributor

commented Mar 17, 2014

I think it's worth noting that while the DLLs fix the crash issue, they make another issue visible - that of no animations running whatsoever. Bullet shots, explosions, fast move with the mouse, even sleeping, all skip rendering while the action goes on.

@kevingranade

This comment has been minimized.

Copy link
Member

commented Mar 17, 2014

Pretty sure the animation problem is an issue with our SDL code, I'm seeing
that on linux as well.

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.