Page 1 of 2
Fatal Error on Startup
Posted: Wed Sep 12, 2012 2:36 pm
by McSkivv
Hello, Grimrock Community and Developers,
Today I joyously opted in to the Grimrock Dungeon Editor Beta. After a short download, I started the game only to have the game crash.
Code: Select all
[string "Grimrock.lua"]:0: attempt to index global 'party' (a nil value)
stack traceback:
[string "Grimrock.lua"]: in function 'init'
[string "Grimrock.lua"]: in main chunk
[C]: in function 'require'
init.lua: in main chunk
OS Version 6.0
OEM ID: 0
Number of processors: 2
Page size: 4096
Processor type: 586
Total memory: 3033 MB
Free memory: 1322 MB
Display device 0:
Device name: \\.\DISPLAY1
Device string: Mobile Intel(R) 4 Series Express Chipset Family
State flags: 00000005
Display device 1:
Device name: \\.\DISPLAY2
Device string: Mobile Intel(R) 4 Series Express Chipset Family
State flags: 00000000
Display device 2:
Device name: \\.\DISPLAYV1
Device string: RDPDD Chained DD
State flags: 00000008
Display device 3:
Device name: \\.\DISPLAYV2
Device string: RDP Encoder Mirror Driver
State flags: 00200008
I am quite disappointed that I could not be building a dungeon as we speak, but this is what Beta testing is for. Is there any additional information that you need?
~An Eager Tester
Re: Fatal Error on Startup
Posted: Wed Sep 12, 2012 2:42 pm
by petri
Thank you for the bug report!
I tracked down and reproduced the issue. There seems to be a problem with 4:3 aspect ratios. This will be fixed in the next beta build.
To workaround the issue you can do the following:
1) open Documents\Almost Human\Legend of Grimrock\grimrock.cfg in a text editor
2) locate the following line: resolution = "XXX x YYY" and change the resolution to something that is not 4:3, e.g. "1280 x 720"
3) if your monitor does not support 16:9 aspect ratios make sure that the game runs in windowed mode by changing "displayMode" field to value 2.
4) restart the game
Re: Fatal Error on Startup
Posted: Wed Sep 12, 2012 2:45 pm
by McSkivv
That was remarkably fast, and the solution worked.
Thanks for your time,
~A Relieved Tester
Re: Fatal Error on Startup
Posted: Wed Sep 12, 2012 2:59 pm
by Sol_HSA
McSkivv wrote:That was remarkably fast, and the solution worked.
I was an active tester on the original grimrock beta, and man these guys are frustrating - every time I reported a bug, it was already fixed. =)
Re: Fatal Error on Startup
Posted: Wed Sep 12, 2012 9:58 pm
by TheStranger
Hi, I have the same crash to desktop when I click in the menu on the Dungeon Editor. The weird thing is I don't have a 4:3 spect ratio - playing on 1920x1080 - my monitor's native resolution. So apart from the windowed mode I see nothing I can do here.
Code: Select all
[string "Grimrock.lua"]:0: D3DError - Present() failed: D3DERR_INVALIDCALL
stack traceback:
[C]: in function 'endRender'
[string "Grimrock.lua"]: in function 'init'
[string "Grimrock.lua"]: in main chunk
[C]: in function 'require'
init.lua: in main chunk
OS Version 6.1
OEM ID: 0
Number of processors: 4
Page size: 4096
Processor type: 586
Total memory: 8190 MB
Free memory: 5725 MB
Display device 0:
Device name: \\.\DISPLAY1
Device string: ATI Radeon HD 5700 Series
State flags: 08000005
Display device 1:
Device name: \\.\DISPLAY2
Device string: ATI Radeon HD 5700 Series
State flags: 08000000
Display device 2:
Device name: \\.\DISPLAY3
Device string: ATI Radeon HD 5700 Series
State flags: 08000000
Display device 3:
Device name: \\.\DISPLAYV1
Device string: RDPDD Chained DD
State flags: 00000008
Display device 4:
Device name: \\.\DISPLAYV2
Device string: RDP Encoder Mirror Driver
State flags: 00200008
Display device 5:
Device name: \\.\DISPLAYV3
Device string: RDP Reflector Display Driver
State flags: 00200008
Re: Fatal Error on Startup
Posted: Thu Sep 13, 2012 12:54 am
by ShadowTigerZC
I too have received the infamous fatal crash error on startup, with the proposed work-around not functioning, sadly. I have attempted a 16x9 and a 4:3 resolution. Neither function. The first two lines of the grimrock.cfg file are currently as such:
resolution = "600 X 480"
displayMode = 2
The above is a 5:4 ratio I believe, not 4:3.
My native desktop resolution is 1152 x 864.
Code: Select all
[string "Grimrock.lua"]:0: attempt to perform arithmetic on field 'width' (a nil value)
stack traceback:
[string "Grimrock.lua"]: in function 'init'
[string "Grimrock.lua"]: in main chunk
[C]: in function 'require'
init.lua: in main chunk
OS Version 5.1
... aaaand the rest of the log:
Code: Select all
OEM ID: 0
Number of processors: 2
Page size: 4096
Processor type: 586
Total memory: 2047 MB
Free memory: 909 MB
Display device 0:
Device name: \\.\DISPLAY1
Device string: NVIDIA GeForce 9800 GT
State flags: 08000005
Display device 1:
Device name: \\.\DISPLAYV1
Device string: NetMeeting driver
State flags: 00000008
Display device 2:
Device name: \\.\DISPLAYV2
Device string: RDPDD Chained DD
State flags: 00000008
WinXP, service pack 3, 2 GB RAM, NVIDIA GeForce 9800GT with latest drivers. Grimrock ran perfectly before this.
Re: Fatal Error on Startup
Posted: Thu Sep 13, 2012 2:02 pm
by TheStranger
My config says:
resolution = "1920 x 1080"
displayMode = 1
which is 16:9 and still I have the crash.
Re: Fatal Error on Startup
Posted: Thu Sep 13, 2012 2:06 pm
by petri
TheStranger wrote:My config says:
resolution = "1920 x 1080"
displayMode = 1
which is 16:9 and still I have the crash.
Your crash report says it's a different bug. Something related to how the editor renders in windowed mode and seems to be an isolated incident so far. I don't have time to investigate the issue right now but it's on the list. Thanks for the report!
Re: Fatal Error on Startup
Posted: Thu Sep 13, 2012 2:39 pm
by TheStranger
Ok It isn't a big problem for my anyway, just wanted to take a glance at the editor.
Re: Fatal Error on Startup
Posted: Thu Sep 13, 2012 2:42 pm
by petri
TheStranger wrote:Ok It isn't a big problem for my anyway, just wanted to take a glance at the editor.
Yes but it's still important to fix this problem. May I harass you a little bit later by PM to get help with debugging the problem?