Page 1 of 1

1 new editor crash bug and one UI bug reporting in!

Posted: Wed Sep 26, 2012 11:23 am
by aaneton
Editor dosen't crash regularly any more, but I have gotten it to crash a a few times.

1) The STOP button crash. It happends rarely but sometimes when pressing STOP button after playing inside editor it crashes like this (also grimrock process does not die and I have to kill it manually).

Image

Here is the contents of Grimrock logfile:

Code: Select all

[string "Map.lua"]:0: table index is nil
stack traceback:
	[string "Map.lua"]: in function 'registerNode'
	[string "Blockage.lua"]: in function 'entityRemovedFromMap'
	[string "Map.lua"]: in function 'removeEntity'
	[string "Map.lua"]: in function 'destroy'
	[string "Dungeon.lua"]: in function 'unload'
	[string "DungeonEditor.lua"]: in function 'stopPreview'
	[string "DungeonEditor.lua"]: in function 'previewButtons'
	[string "DungeonEditor.lua"]: in function 'update'
	[string "Grimrock.lua"]: in main chunk

OS Version 6.0

OEM ID: 0
Number of processors: 4
Page size: 4096
Processor type: 586

Total memory: 4094 MB
Free memory: 901 MB

Display device 0:
  Device name: \\.\DISPLAY1
  Device string: NVIDIA GeForce GTX 460
  State flags: 08000005

Display device 1:
  Device name: \\.\DISPLAY2
  Device string: NVIDIA GeForce GTX 460
  State flags: 00000000

Display device 2:
  Device name: \\.\DISPLAYV1
  Device string: RDPDD Chained DD
  State flags: 00200008

Display device 3:
  Device name: \\.\DISPLAYV2
  Device string: RDP Encoder Mirror Driver
  State flags: 00200008

Display device 4:
  Device name: \\.\DISPLAYV3
  Device string: RDP Reflector Display Driver
  State flags: 00200008

Display device 5:
  Device name: \\.\DISPLAYV4
  Device string: LogMeIn Mirror Driver
  State flags: 00000008

2) The PLAY button UI select problem.
Another thing that happends from time to time, is when I press PLAY, game work normally inside editor, but sudeenly I cannot click on/select anything in the editor map window. Reloading project does not help, all menus e.g. saving works etc but I just can't click on anything in map window. Restart of editor helps, also might be that clicking on STOP and PLAY again might fix it (I will verify next time it happends).

Re: 1 new editor crash bug and one UI bug reporting in!

Posted: Wed Sep 26, 2012 11:55 am
by aaneton
In fact I'm able to reproduce the crash by doing this:
http://www.grimrock.net/modding/how-to- ... ider-eggs/

Implement this egg hatching, then I play in editor, destroy a few eggs including the one that spawn spider, then press stop before killing said spider, Editor crashes.
However I have gotten this crash even before playing with this egg hatching. I doing this in my very mature dungeon so I wouldn't read much into it just an obsevation I made.

Re: 1 new editor crash bug and one UI bug reporting in!

Posted: Wed Sep 26, 2012 12:26 pm
by petri
The "destroyed blockage crash" is already fixed for 1.2.11 but thanks for letting us know anyway!

Re: 1 new editor crash bug and one UI bug reporting in!

Posted: Wed Sep 26, 2012 3:38 pm
by Komag
I was playing the mod "The Reeking Depths" (good mod!), not using the editor or preview at all, and when I hit quickload, BAM, almost same exact crash as pictured above, except a couple differences of the last few strings:
SpoilerShow
[string "Map.lua"]:0: table index is nil
stack traceback:
[string "Map.lua"]: in function 'registerNode'
[string "Blockage.lua"]: in function 'entityRemovedFromMap'
[string "Map.lua"]: in function 'removeEntity'
[string "Map.lua"]: in function 'destroy'
[string "Dungeon.lua"]: in function 'unload'
[string "GameMode.lua"]: in function 'unloadDungeon'
[string "GameMode.lua"]: in function 'loadGame'
[string "GameMode.lua"]: in function 'update'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk

OS Version 6.0

OEM ID: 0
Number of processors: 2
Page size: 4096
Processor type: 586

Total memory: 4094 MB
Free memory: 1234 MB

Display device 0:
Device name: \\.\DISPLAY1
Device string: NVIDIA GeForce GTS 450
State flags: 00000005

Display device 1:
Device name: \\.\DISPLAY2
Device string: NVIDIA GeForce GTS 450
State flags: 00000000

Display device 2:
Device name: \\.\DISPLAYV1
Device string: LogMeIn Mirror Driver
State flags: 00000008

Display device 3:
Device name: \\.\DISPLAYV2
Device string: RDPDD Chained DD
State flags: 00000008

Display device 4:
Device name: \\.\DISPLAYV3
Device string: RDP Encoder Mirror Driver
State flags: 00200008
so this is that same error again? if so, glad to hear it's already going to be fixed :)

Re: 1 new editor crash bug and one UI bug reporting in!

Posted: Wed Sep 26, 2012 3:39 pm
by Montis
damn I was really looking forward to the destroy() and now this :cry:

Re: 1 new editor crash bug and one UI bug reporting in!

Posted: Wed Sep 26, 2012 3:43 pm
by petri
Komag, it's the same thing.