[BUG] Fatal Error on keypress - Now with resolution!

Error:

Failed assertion: (_controlfp(0, 0) & 0x00030000) == 0x00020000

File: C:\work\forge\beta\code\src\core\WinMain.cpp

Line: 259

 

Program : D:\Program Files\Stardock Games\Demigod\bin\Demigod.exe

Cmd line arguments : 

 

Callstack:

    unavailable.

 

Last 100 lines of log...

 

warning: Key action not found toggle_score for key Tab

warning: Key map contains unrecognized modifier string: C

debug: Loading module '/lua/options/options.lua'

info: Compiled shader: /effects/atlantis.fx

info: Compiled shader: /effects/cloth.fx

info: Compiled shader: /effects/cloudring.fx

info: Compiled shader: /effects/debris.fx

info: Compiled shader: /effects/eye.fx

info: Compiled shader: /effects/frame.fx

info: Compiled shader: /effects/ground.fx

info: Compiled shader: /effects/heightfield.fx

info: Compiled shader: /effects/jungle.fx

info: Compiled shader: /effects/lava.fx

info: Compiled shader: /effects/lightmap.fx

info: Compiled shader: /effects/lightshaft.fx

info: Compiled shader: /effects/mesh.fx

info: Compiled shader: /effects/particle.fx

info: Compiled shader: /effects/planet.fx

info: Compiled shader: /effects/postprocess.fx

info: Compiled shader: /effects/primbatcher.fx

info: Compiled shader: /effects/range.fx

info: Compiled shader: /effects/reticule.fx

info: Compiled shader: /effects/shadow.fx

info: Compiled shader: /effects/shroud.fx

info: Compiled shader: /effects/sky.fx

info: Compiled shader: /effects/terrain.fx

info: Compiled shader: /effects/terrain_low.fx

info: Compiled shader: /effects/ui.fx

info: Compiled shader: /effects/vision.fx

info: Compiled shader: /effects/water.fx

warning: Error running '/lua/user/prefs.lua:GetOption': attempt to get as int a nil value

         stack traceback:

debug: Loading module '/lua/debug/enginestats.lua'

debug: Loading module '/lua/maui/layouthelpers.lua'

debug: Loading module '/lua/maui/group.lua'

debug: Loading module '/lua/maui/control.lua'

debug: Loading module '/lua/maui/bitmap.lua'

debug: Loading module '/lua/maui/itemlist.lua'

debug: Loading module '/lua/maui/dragger.lua'

debug: Loading module '/lua/ui/uiutil.lua'

debug: Loading module '/lua/lazyvar.lua'

debug: Loading module '/lua/maui/text.lua'

debug: Loading module '/lua/maui/multilinetext.lua'

debug: Loading module '/lua/ui/game/module_pause.lua'

debug: Loading module '/lua/ui/prefs.lua'

debug: Loading module '/lua/maui/button.lua'

debug: Loading module '/lua/maui/edit.lua'

debug: Loading module '/lua/maui/checkbox.lua'

debug: Loading module '/lua/maui/scrollbar.lua'

debug: Loading module '/lua/maui/cursor.lua'

debug: Loading module '/lua/maui/border.lua'

debug: Loading module '/lua/user/skins/layouts.lua'

debug: Loading module '/lua/ui/game/gamemain.lua'

debug: Loading module '/lua/maui/effecthelpers.lua'

debug: Loading module '/lua/ui/game/wlduiprovider.lua'

debug: Loading module '/lua/ui/game/gamecommon.lua'

debug: Loading module '/lua/maui/movie.lua'

debug: Loading module '/lua/ui/game/ingameui.lua'

debug: Loading module '/lua/ui/game/hud_avatar.lua'

debug: Loading module '/lua/maui/statusbar.lua'

debug: Loading module '/lua/ui/game/tooltip.lua'

debug: Loading module '/lua/ui/help/tooltips.lua'

debug: Loading module '/lua/ui/game/commandmode.lua'

debug: Loading module '/lua/ui/uimain.lua'

debug: Loading module '/lua/multiplayer/onlineprovider.lua'

debug: Loading module '/lua/ui/menus/menuinit.lua'

debug: Loading module '/lua/ui/game/orders.lua'

debug: Loading module '/lua/maui/grid.lua'

debug: Loading module '/lua/ui/game/abilitybutton.lua'

debug: Loading module '/lua/ui/game/cooldown.lua'

debug: Loading module '/lua/maui/frame.lua'

debug: Loading module '/lua/user/skins/skins.lua'

debug: Loading module '/lua/ui/splash/splash.lua'

debug: Loading module '/lua/ui/menus/demo/demo.lua'

debug: Loading module '/lua/ui/menus/menuscreen.lua'

debug: Loading module '/lua/ui/menus/menucommon.lua'

debug: Loading module '/lua/ui/lobby/lobbycomm.lua'

warning: Screen has no bindings: demo

debug: Loading module '/lua/ui/menus/heroselect/heroselect.lua'

debug: Loading module '/lua/common/heroutil.lua'

debug: Loading module '/lua/ui/controls/heroview.lua'

debug: Loading module '/lua/user/worldmesh.lua'

debug: Loading module '/lua/user/simpleworldview.lua'

debug: Loading module '/lua/ui/menus/host/host.lua'

debug: Loading module '/lua/ui/menus/impulsejoin/impulsejoin.lua'

debug: Loading module '/lua/ui/menus/join/join.lua'

debug: Loading module '/lua/ui/menus/main/main.lua'

info: *DEBUG: OnHide: false

info: *DEBUG: OnHide: true

warning: Screen has no bindings: main

debug: Loading module '/lua/ui/menus/multiplayer/multiplayer.lua'

warning: Screen has no bindings: multiplayer

debug: Loading module '/lua/ui/menus/options/options.lua'

debug: Loading module '/lua/maui/slider.lua'

debug: Loading module '/lua/ui/controls/combo.lua'

debug: Loading module '/lua/ui/menus/profile/profile.lua'

debug: Loading module '/lua/ui/menus/tournament/tournament.lua'

debug: Loading module '/lua/ui/game/treepicker.lua'

info: *DEBUG: OnHide: false

info: *DEBUG: OnHide: true

warning: Error running OnRelease script in <deleted object>: SessionIsPaused(): no active session.

         stack traceback:

         [C]: in function `SessionIsPaused'

         ...\stardock games\demigod\lua\ui\game\module_pause.lua(81): in function `SetPause'

         ...ogram files\stardock games\demigod\lua\ui\uiutil.lua(737): in function `OnClick'

         ...ram files\stardock games\demigod\lua\maui\button.lua(145): in function <...ram files\stardock games\demigod\lua\maui\button.lua:134>

 

DXDiag: http://www.mediafire.com/?sharekey=dc4183d3f24e5076d2db6fb9a8902bda

Quick PC Specs:

ABIT AB9 Pro (Intel P965 Express)
2.5Gb PC6400 RAM
Nvidia GeForce 8800 GTX 
Intel Core 2 Duo E6600
Razer Tarantula Keyboard (in case it's input-based)

OS - XP Pro (SP3)

What I was doing: Creating a profile. On pressing any key on my keyboard in trying to enter something into the editbox in the dialogue it causes this error. 100% occurrence.

 

55,866 views 17 replies
Reply #1 Top

Additional:

This doesn't actually hang the game as such, I can type into the editbox after getting the error, but I have to alt-tab out and back again to see any results of what I type. This is the only way I actually managed to create a profile (the UI was trashed though, multiple button clicks did nothing, and so on).

Reply #2 Top

Ok, I just went to host a game and had the same issue with that dialogue box too (when trying to enter a game name). Here's the error:

Failed assertion: (_controlfp(0, 0) & 0x00030000) == 0x00020000

File: C:\work\forge\beta\code\src\core\WinMain.cpp

Line: 259

 

Program : D:\Program Files\Stardock Games\Demigod\bin\Demigod.exe

Cmd line arguments : 

 

Callstack:

    unavailable.

 

Last 100 lines of log...

 

info: Compiled shader: /effects/eye.fx

info: Compiled shader: /effects/frame.fx

info: Compiled shader: /effects/ground.fx

info: Compiled shader: /effects/heightfield.fx

info: Compiled shader: /effects/jungle.fx

info: Compiled shader: /effects/lava.fx

info: Compiled shader: /effects/lightmap.fx

info: Compiled shader: /effects/lightshaft.fx

info: Compiled shader: /effects/mesh.fx

info: Compiled shader: /effects/particle.fx

info: Compiled shader: /effects/planet.fx

info: Compiled shader: /effects/postprocess.fx

info: Compiled shader: /effects/primbatcher.fx

info: Compiled shader: /effects/range.fx

info: Compiled shader: /effects/reticule.fx

info: Compiled shader: /effects/shadow.fx

info: Compiled shader: /effects/shroud.fx

info: Compiled shader: /effects/sky.fx

info: Compiled shader: /effects/terrain.fx

info: Compiled shader: /effects/terrain_low.fx

info: Compiled shader: /effects/ui.fx

info: Compiled shader: /effects/vision.fx

info: Compiled shader: /effects/water.fx

debug: Loading module '/lua/options/options.lua'

warning: Error running '/lua/user/prefs.lua:GetOption': attempt to get as int a nil value

         stack traceback:

debug: Loading module '/lua/debug/enginestats.lua'

debug: Loading module '/lua/maui/layouthelpers.lua'

debug: Loading module '/lua/maui/group.lua'

debug: Loading module '/lua/maui/control.lua'

debug: Loading module '/lua/maui/bitmap.lua'

debug: Loading module '/lua/maui/itemlist.lua'

debug: Loading module '/lua/maui/dragger.lua'

debug: Loading module '/lua/ui/uiutil.lua'

debug: Loading module '/lua/lazyvar.lua'

debug: Loading module '/lua/maui/text.lua'

debug: Loading module '/lua/maui/multilinetext.lua'

debug: Loading module '/lua/ui/game/module_pause.lua'

debug: Loading module '/lua/ui/prefs.lua'

debug: Loading module '/lua/maui/button.lua'

debug: Loading module '/lua/maui/edit.lua'

debug: Loading module '/lua/maui/checkbox.lua'

debug: Loading module '/lua/maui/scrollbar.lua'

debug: Loading module '/lua/maui/cursor.lua'

debug: Loading module '/lua/maui/border.lua'

debug: Loading module '/lua/user/skins/layouts.lua'

debug: Loading module '/lua/ui/game/gamemain.lua'

debug: Loading module '/lua/maui/effecthelpers.lua'

debug: Loading module '/lua/ui/game/wlduiprovider.lua'

debug: Loading module '/lua/ui/game/gamecommon.lua'

debug: Loading module '/lua/maui/movie.lua'

debug: Loading module '/lua/ui/game/ingameui.lua'

debug: Loading module '/lua/ui/game/hud_avatar.lua'

debug: Loading module '/lua/maui/statusbar.lua'

debug: Loading module '/lua/ui/game/tooltip.lua'

debug: Loading module '/lua/ui/help/tooltips.lua'

debug: Loading module '/lua/ui/game/commandmode.lua'

debug: Loading module '/lua/ui/uimain.lua'

debug: Loading module '/lua/multiplayer/onlineprovider.lua'

debug: Loading module '/lua/ui/menus/menuinit.lua'

debug: Loading module '/lua/ui/game/orders.lua'

debug: Loading module '/lua/maui/grid.lua'

debug: Loading module '/lua/ui/game/abilitybutton.lua'

debug: Loading module '/lua/ui/game/cooldown.lua'

debug: Loading module '/lua/maui/frame.lua'

debug: Loading module '/lua/user/skins/skins.lua'

debug: Loading module '/lua/ui/splash/splash.lua'

debug: Loading module '/lua/ui/menus/demo/demo.lua'

debug: Loading module '/lua/ui/menus/menuscreen.lua'

debug: Loading module '/lua/ui/menus/menucommon.lua'

debug: Loading module '/lua/ui/lobby/lobbycomm.lua'

warning: Screen has no bindings: demo

debug: Loading module '/lua/ui/menus/heroselect/heroselect.lua'

debug: Loading module '/lua/common/heroutil.lua'

debug: Loading module '/lua/ui/controls/heroview.lua'

debug: Loading module '/lua/user/worldmesh.lua'

debug: Loading module '/lua/user/simpleworldview.lua'

debug: Loading module '/lua/ui/menus/host/host.lua'

debug: Loading module '/lua/ui/menus/impulsejoin/impulsejoin.lua'

debug: Loading module '/lua/ui/menus/join/join.lua'

debug: Loading module '/lua/ui/menus/main/main.lua'

info: *DEBUG: OnHide: false

info: *DEBUG: OnHide: true

warning: Screen has no bindings: main

debug: Loading module '/lua/ui/menus/multiplayer/multiplayer.lua'

warning: Screen has no bindings: multiplayer

debug: Loading module '/lua/ui/menus/options/options.lua'

debug: Loading module '/lua/maui/slider.lua'

debug: Loading module '/lua/ui/controls/combo.lua'

debug: Loading module '/lua/ui/menus/profile/profile.lua'

debug: Loading module '/lua/ui/menus/tournament/tournament.lua'

debug: Loading module '/lua/ui/game/treepicker.lua'

info: MUSIC : Setting track [Forge/MUSIC/snd_m_Demigod_main_menu]

info: *DEBUG: OnHide: false

info: *DEBUG: OnHide: true

info: LOBBY: Broadcasting discovery request to port 15000.

info: LOBBY: Broadcasting discovery request to port 15000.

info: LOBBY: Broadcasting discovery request to port 15000.

info: LOBBY: Received discovery reply for UDP:5.88.202.94:4798.

info: LOBBY: Received discovery reply for UDP:5.88.202.94:4798.

info: LOBBY: Received discovery reply for UDP:5.88.202.94:4798.

Reply #3 Top

And another spammy update! It seems to occur now if I press anything on the keyboard at any time (even if there is no dialogue). For example, all I did now was start the game, click through the intro and pressed a random key on the main screen without doing anything else.

Ze log:

Failed assertion: (_controlfp(0, 0) & 0x00030000) == 0x00020000

File: C:\work\forge\beta\code\src\core\WinMain.cpp

Line: 259

 

Program : D:\Program Files\Stardock Games\Demigod\bin\Demigod.exe

Cmd line arguments : 

 

Callstack:

    unavailable.

 

Last 100 lines of log...

 

debug: Loading module '/lua/keymap/keyactions.lua'

warning: Key action not found toggle_score for key Tab

warning: Key map contains unrecognized modifier string: C

info: Compiled shader: /effects/atlantis.fx

info: Compiled shader: /effects/cloth.fx

info: Compiled shader: /effects/cloudring.fx

info: Compiled shader: /effects/debris.fx

info: Compiled shader: /effects/eye.fx

info: Compiled shader: /effects/frame.fx

info: Compiled shader: /effects/ground.fx

info: Compiled shader: /effects/heightfield.fx

info: Compiled shader: /effects/jungle.fx

info: Compiled shader: /effects/lava.fx

info: Compiled shader: /effects/lightmap.fx

info: Compiled shader: /effects/lightshaft.fx

info: Compiled shader: /effects/mesh.fx

info: Compiled shader: /effects/particle.fx

info: Compiled shader: /effects/planet.fx

info: Compiled shader: /effects/postprocess.fx

info: Compiled shader: /effects/primbatcher.fx

info: Compiled shader: /effects/range.fx

info: Compiled shader: /effects/reticule.fx

info: Compiled shader: /effects/shadow.fx

info: Compiled shader: /effects/shroud.fx

info: Compiled shader: /effects/sky.fx

info: Compiled shader: /effects/terrain.fx

info: Compiled shader: /effects/terrain_low.fx

info: Compiled shader: /effects/ui.fx

info: Compiled shader: /effects/vision.fx

info: Compiled shader: /effects/water.fx

debug: Loading module '/lua/options/options.lua'

warning: Error running '/lua/user/prefs.lua:GetOption': attempt to get as int a nil value

         stack traceback:

debug: Loading module '/lua/debug/enginestats.lua'

debug: Loading module '/lua/maui/layouthelpers.lua'

debug: Loading module '/lua/maui/group.lua'

debug: Loading module '/lua/maui/control.lua'

debug: Loading module '/lua/maui/bitmap.lua'

debug: Loading module '/lua/maui/itemlist.lua'

debug: Loading module '/lua/maui/dragger.lua'

debug: Loading module '/lua/ui/uiutil.lua'

debug: Loading module '/lua/lazyvar.lua'

debug: Loading module '/lua/maui/text.lua'

debug: Loading module '/lua/maui/multilinetext.lua'

debug: Loading module '/lua/ui/game/module_pause.lua'

debug: Loading module '/lua/ui/prefs.lua'

debug: Loading module '/lua/maui/button.lua'

debug: Loading module '/lua/maui/edit.lua'

debug: Loading module '/lua/maui/checkbox.lua'

debug: Loading module '/lua/maui/scrollbar.lua'

debug: Loading module '/lua/maui/cursor.lua'

debug: Loading module '/lua/maui/border.lua'

debug: Loading module '/lua/user/skins/layouts.lua'

debug: Loading module '/lua/ui/game/gamemain.lua'

debug: Loading module '/lua/maui/effecthelpers.lua'

debug: Loading module '/lua/ui/game/wlduiprovider.lua'

debug: Loading module '/lua/ui/game/gamecommon.lua'

debug: Loading module '/lua/maui/movie.lua'

debug: Loading module '/lua/ui/game/ingameui.lua'

debug: Loading module '/lua/ui/game/hud_avatar.lua'

debug: Loading module '/lua/maui/statusbar.lua'

debug: Loading module '/lua/ui/game/tooltip.lua'

debug: Loading module '/lua/ui/help/tooltips.lua'

debug: Loading module '/lua/ui/game/commandmode.lua'

debug: Loading module '/lua/ui/uimain.lua'

debug: Loading module '/lua/multiplayer/onlineprovider.lua'

debug: Loading module '/lua/ui/menus/menuinit.lua'

debug: Loading module '/lua/ui/game/orders.lua'

debug: Loading module '/lua/maui/grid.lua'

debug: Loading module '/lua/ui/game/abilitybutton.lua'

debug: Loading module '/lua/ui/game/cooldown.lua'

debug: Loading module '/lua/maui/frame.lua'

debug: Loading module '/lua/user/skins/skins.lua'

debug: Loading module '/lua/ui/splash/splash.lua'

debug: Loading module '/lua/ui/menus/demo/demo.lua'

debug: Loading module '/lua/ui/menus/menuscreen.lua'

debug: Loading module '/lua/ui/menus/menucommon.lua'

debug: Loading module '/lua/ui/lobby/lobbycomm.lua'

warning: Screen has no bindings: demo

debug: Loading module '/lua/ui/menus/heroselect/heroselect.lua'

debug: Loading module '/lua/common/heroutil.lua'

debug: Loading module '/lua/ui/controls/heroview.lua'

debug: Loading module '/lua/user/worldmesh.lua'

debug: Loading module '/lua/user/simpleworldview.lua'

debug: Loading module '/lua/ui/menus/host/host.lua'

debug: Loading module '/lua/ui/menus/impulsejoin/impulsejoin.lua'

debug: Loading module '/lua/ui/menus/join/join.lua'

debug: Loading module '/lua/ui/menus/main/main.lua'

info: *DEBUG: OnHide: false

info: *DEBUG: OnHide: true

warning: Screen has no bindings: main

debug: Loading module '/lua/ui/menus/multiplayer/multiplayer.lua'

warning: Screen has no bindings: multiplayer

debug: Loading module '/lua/ui/menus/options/options.lua'

debug: Loading module '/lua/maui/slider.lua'

debug: Loading module '/lua/ui/controls/combo.lua'

debug: Loading module '/lua/ui/menus/profile/profile.lua'

debug: Loading module '/lua/ui/menus/tournament/tournament.lua'

debug: Loading module '/lua/ui/game/treepicker.lua'

info: MUSIC : Setting track [Forge/MUSIC/snd_m_Demigod_main_menu]

info: *DEBUG: OnHide: false

Reply #5 Top

I've been trying a number of things such as reinstalling the game, running WindowsUpdate, removing random peripherals (like my Formula Force EX and PS2 Adaptor) and so on but still no luck :(

Reply #6 Top

Do you have keyboard and regional settings set to anything other than US English?

 

@Spell: Update your drivers to 177.92b

Reply #7 Top

Yeah, UK English.

Also, it is totally possible to play an entire game without pressing any keys. Just played a 2v2 to the end and it was fine. It's like someone has broken your arm off without hotkeys though :P

Reply #8 Top

Quoting Sureshot^, reply 7
Just played a 2v2 to the end

How did you do that ?! When I host a pseudo-LAN game (not connected to other Humans), I'm stuck, by default, in a 3 v 3 (with 5 comps). How do you remove a player, since the game setup options have been disabled ? 

Reply #9 Top

Actually that's what I meant, sorry - it was 3v3 but with 2 AI, so I didn't count them :P

Reply #10 Top

Well i tried going to windowed mode and using onscreen keyboard or pasting text without using any keys but still no luck. Crashes anyway. Btw Sureshot^ how did you manage to host a game without typing in game name? I got fatal error after typing name, i can then enter game lobby(using alt-tab) and mess with some settings but game never starts. :(

Reply #11 Top

I didn't host, the only way I can play right now is to join a game which has been setup by someone else and not press any keys the entire game (ie, playing with mouse only, not using hotkeys and not chatting).

Reply #12 Top

As an update, I just unplugged my Tarantula and tried a standard MS Media keyboard that I have kicking around. The results are the same.

Anyone got any more ideas? Playing without hotkeys is killing me :P

Reply #13 Top

Sureshot : " Actually that's what I meant, sorry - it was 3v3 but with 2 AI, so I didn't count them "

 

^_^   Thxxx for the clarification. I thought that I had missed some obvious team-composition procedure.

(Allow me to give you +1 karma for all the great technical info you took the time & trouble to post on this thread.)

Reply #15 Top

Well people, I have some good news (in my situation, anyway). I started closing some of the tasks in my systray and loading Demigod up to see if on the offchance that one was screwing things up. However, after going through all the prime suspects (virus scanner, keyboard software etc.), I eventually closed some random disk cleanup software that I'd installed some time ago and now Demigod doesn't crash any more!

So, if you're still having problems with crashing on keypresses, start closing stuff in your systray and loading up DG to see if it's fixed. If you don't know what the systray is, it's the part next to the clock filled with program icons. Right click and close them until you find a resolution.

Hope this helps you too.

Reply #16 Top

So it was the disk cleanup software interfering with Demi? What random disk cleanup software was that?

 

:fox:

Reply #17 Top

I tried closing everything possible and it still crashes on me... x_x   Spore, Dota and Sins are the only things keeping me from getting depressed I wanted to play so bad and then *Face slap*... x_x Yet I am dead inside...