Crashes on startup

General discussion about Chasm.
Kairo
Supporter
Supporter
Posts: 5
Joined: Wed Sep 24, 2014 6:35 pm

Re: Crashes on startup

Post by Kairo » Wed Sep 24, 2014 9:19 pm

Here is the window that pops up when I try and launch the game from Steam.

Image

I looked in both the directory and My Documents/Chasm, and I can't find crashlog.txt. Sorry I'm not more helpful.

Edit: I've also tried deleting the local content off my computer and redownloading it from Steam, but that meets with the same error.

User avatar
James
Developer
Developer
Posts: 1612
Joined: Fri Feb 15, 2013 5:34 pm

Re: Crashes on startup

Post by James » Wed Sep 24, 2014 9:24 pm

OK, there's one more thing we can try. Do you have a config.ini in your My Documents\Chasm folder?

Kairo
Supporter
Supporter
Posts: 5
Joined: Wed Sep 24, 2014 6:35 pm

Re: Crashes on startup

Post by Kairo » Wed Sep 24, 2014 9:30 pm

I used Event Viewer to get this error log when the program launches:

Application: Chasm.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at OpenTK.Graphics.OpenGL.GL.DrawRangeElements(OpenTK.Graphics.OpenGL.BeginMode, Int32, Int32, Int32, OpenTK.Graphics.OpenGL.DrawElementsType, IntPtr)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawIndexedPrimitives(Microsoft.Xna.Framework.Graphics.PrimitiveType, Int32, Int32, Int32, Int32, Int32)
at Microsoft.Xna.Framework.Graphics.SpriteBatch.RenderBatch(Int32, Int32)
at Microsoft.Xna.Framework.Graphics.SpriteBatch.FlushBatch()
at Microsoft.Xna.Framework.Graphics.SpriteBatch.PushSprite(Microsoft.Xna.Framework.Graphics.Texture2D, System.Nullable`1<Microsoft.Xna.Framework.Rectangle>, Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Color, Microsoft.Xna.Framework.Vector2, Single, Single, Byte)
at Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(Microsoft.Xna.Framework.Graphics.Texture2D, Microsoft.Xna.Framework.Rectangle, System.Nullable`1<Microsoft.Xna.Framework.Rectangle>, Microsoft.Xna.Framework.Color, Single, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Graphics.SpriteEffects, Single)
at Chasm.Graphics.TileLayer.DrawHacked(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2)
at Chasm.Menus.MainMenuBackGround.DrawMenuBackground(Microsoft.Xna.Framework.Graphics.SpriteBatch)
at Chasm.Menus.MainMenuBackGround.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch)
at Chasm.Menus.UI.UIComponent.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch)
at Chasm.Menus.MainMenuScreen.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch)
at Chasm.ChasmGame.Draw(Microsoft.Xna.Framework.GameTime)
at Microsoft.Xna.Framework.Game.DoDraw(Microsoft.Xna.Framework.GameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.SDL2_GamePlatform.RunLoop()
at Microsoft.Xna.Framework.Game.Run()
at Chasm.Program.Main(System.String[])

Which immediately sends a second Error event:

Faulting application name: Chasm.exe, version: 1.0.1.1, time stamp: 0x5421d081
Faulting module name: ig7icd32.dll, version: 0.0.0.0, time stamp: 0x4f710f74
Exception code: 0xc0000005
Fault offset: 0x00002940
Faulting process id: 0x1534
Faulting application start time: 0x01cfd85fc529c777
Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\Chasm\Chasm.exe
Faulting module path: C:\Windows\system32\ig7icd32.dll
Report Id: 0673ba8d-4453-11e4-84d0-30f9edeea52f


~~~

That said, I can find the config file in the directory. This is what opens in Notepad:



//OPTIONS
Fullscreen=0
MusicVolume=1
Console=1
SendErrors=1

//GRAPHICS/INPUT/SOUND
Seed=0
Scaling=4
UseStrobes=1
FullscreenAutoscale=1
EnemiesEnabled=1
GamepadDetectEnabled=1
MouseEnabled=0
RumbleEnabled=1
ButtonStyle=Microsoft
SoundVolume=1

//DEBUG/MISC
ShowFPS=0
ShowPerformanceMetric=0
LoadTestSaveData=0
UseLoadingThread=1
ShowTimer=0
DebugMode=0

//KEY MAPPINGS
//Special keys: "Enter", "Space", "Tab", "Escape", "LeftShift"
//"LeftAlt", "LeftControl", "LeftWindows", "D1", "D2", etc.
Mapping_MoveLeft=Left
Mapping_MoveRight=Right
Mapping_MoveUp=Up
Mapping_MoveDown=Down
Mapping_Jump=Z
Mapping_LeftHand=X
Mapping_RightHand=C
Mapping_BumperLeft=A
Mapping_BumperRight=D
Mapping_CharacterMenu=Enter
Mapping_Map=Tab

User avatar
James
Developer
Developer
Posts: 1612
Joined: Fri Feb 15, 2013 5:34 pm

Re: Crashes on startup

Post by James » Wed Sep 24, 2014 10:14 pm

Are you positive you have updated to the very latest drivers? That error tends to happen with old drivers.

Kairo
Supporter
Supporter
Posts: 5
Joined: Wed Sep 24, 2014 6:35 pm

Re: Crashes on startup

Post by Kairo » Thu Sep 25, 2014 12:28 am

Ah, my integrated graphics driver was outdated. The automated search/update didn't pick it up, but a manual install fixed that.

Got the alpha running! Thanks for the help.

User avatar
James
Developer
Developer
Posts: 1612
Joined: Fri Feb 15, 2013 5:34 pm

Re: Crashes on startup

Post by James » Thu Sep 25, 2014 1:56 am

Good to hear, enjoy!

User avatar
inclining
Supporter
Supporter
Posts: 81
Joined: Mon Jul 28, 2014 6:19 pm
Location: Redwood City, California

Re: Crashes on startup

Post by inclining » Thu Sep 25, 2014 2:44 am

Make sure you visit this thread to get access to the dev forums where we're all discussing the alpha!
Visit Chasm on Reddit! http://www.reddit.com/r/chasm/

Locked