Wintermute Engine Forum

Wintermute Engine => Bug reports => Fixed => Topic started by: atm_deev on December 04, 2008, 10:43:12 AM

Title: Game often haults to Windows with fatal error... [wme 1.8.008]
Post by: atm_deev on December 04, 2008, 10:43:12 AM
Game often haults to Windows with fatal error. Experimentally we found that to repeat this error you need to have your actor often change walk direction, pointing him each time to new walk point. After about ten clicks - fatal error.

p.s.
There is a suspicion that this weird bug is related to playing sounds...
Title: Re: Game often haults to Windows with fatal error... [wme 1.8.008]
Post by: Mnemonic on December 04, 2008, 10:49:09 AM
What do you mean by "fatal error"? It crashes or...?
Title: Re: Game often haults to Windows with fatal error... [wme 1.8.008]
Post by: Jihar on December 04, 2008, 06:36:16 PM
What do you mean by "fatal error"? It crashes or...?
Yes, it crashes to OS with "send report to developers?". I can attach crash report to this topic if it helps.
Title: Re: Game often haults to Windows with fatal error... [wme 1.8.008]
Post by: Mnemonic on December 05, 2008, 02:12:45 PM
I'm going to need a reproduction project. The crash dump showed me it crashes when a script is about to report a non-existent method call, but I can't really say why.
Title: Re: Game often haults to Windows with fatal error... [wme 1.8.008]
Post by: Mnemonic on December 07, 2008, 01:56:24 PM
No matter what I do, I'm unable to reproduce the crash. Are you able to reproduce it on exactly the same project you've sent me (maybe it's simplified too much)? Are you able to reproduce on several computers? Does full-screen / windowed make any difference?
What is expand_actor.script, why is it executed twice? Is that intentional?
Title: Re: Game often haults to Windows with fatal error... [wme 1.8.008]
Post by: Jihar on December 08, 2008, 07:27:39 AM
No matter what I do, I'm unable to reproduce the crash. Are you able to reproduce it on exactly the same project you've sent me (maybe it's simplified too much)? Are you able to reproduce on several computers? Does full-screen / windowed make any difference?
What is expand_actor.script, why is it executed twice? Is that intentional?
http://www.filefactory.com/file/56d649/n/wme_dasha_avi - its an video capture of what im doing to reproduce the crash (does this hosting better?). Of course im able to reproduce it on the project i send you, and no matter windowed /full-screen.
About expand_actor.script - i need to take a look, will write about it later. But i sink its not intentional.
Title: Re: Game often haults to Windows with fatal error... [wme 1.8.008]
Post by: Jihar on December 08, 2008, 07:55:15 AM
What is expand_actor.script, why is it executed twice? Is that intentional?
expand_actor - its an our extension of actor, controls light positions for shadow handling, some improvements in idle animations, step sounds and some more small features.
But i cant found its double execution, there is only one reference to it - in actor (dasha) definition file.
Title: Re: Game often haults to Windows with fatal error... [wme 1.8.008]
Post by: Mnemonic on December 08, 2008, 10:29:37 AM
(does this hosting better?)
Not really. It won't let me download at all.
Title: Re: Game often haults to Windows with fatal error... [wme 1.8.008]
Post by: Jihar on December 08, 2008, 12:40:09 PM
(does this hosting better?)
Not really. It won't let me download at all.
Tell me what hosting to use pls!
Title: Re: Game often haults to Windows with fatal error... [wme 1.8.008]
Post by: odnorf on December 08, 2008, 03:22:05 PM
I often use sendspace.com
No registration required & no waiting to download a file.
Title: Re: Game often haults to Windows with fatal error... [wme 1.8.008]
Post by: Jihar on December 08, 2008, 04:01:04 PM
I often use sendspace.com
No registration required & no waiting to download a file.
http://www.sendspace.com/file/dc116j
Title: Re: Game often haults to Windows with fatal error... [wme 1.8.008]
Post by: Mnemonic on December 08, 2008, 06:19:22 PM
Ok, after a lot of crazy clicking I was able to crash the engine and I *think* I fixed the cause. See if you can crash this: http://dead-code.org/download/wme_latest.zip
Title: Re: Game often haults to Windows with fatal error... [wme 1.8.008]
Post by: Jihar on December 09, 2008, 03:56:46 PM
Ok, after a lot of crazy clicking I was able to crash the engine and I *think* I fixed the cause. See if you can crash this: http://dead-code.org/download/wme_latest.zip
I could not crash this build! Can you tell me what was the reason of this crash?
Title: Re: Game often haults to Windows with fatal error... [wme 1.8.008]
Post by: Mnemonic on December 09, 2008, 04:08:03 PM
It was happening in the pathfinding routine. Apparently it was possible to generate an empty path, which was not handled correctly.