Also, to test for memory leaks, i'd do a test where you automate the
intro/playing/end loop of your game, ie. Stick a bit of code in that
finishes the game after a second of playing, and just keep going
round:intro,playing,end. If it still crashes, you'll know it's
probably the creation/destruction that's buggy, and not the main game
code itself.

On 9/6/09, mike donnelly <chichila...@gmail.com> wrote:
> God what a nightmare! If your client's machine reliably crashes
> quickly, testing on that is *definitely* the way to go.
>
> Your bug seems so random, it could be anything. I had something
> similar once with a font which would randomly bork the flashplayer. It
> may well be that flash just hates your enormous movieclip, even if
> it's just a dotted line. My first test would be to remove entirely any
> huge clips like that.
> Like i say, don't be meek: rip out half of your game for each test, so
> you can drill down quick as poss.
>
> Sorry i don't have an answer other than plain common sense. Maybe
> someone out there knows a more technological method?
>
> On 9/6/09, Paul Steven <paul_ste...@btinternet.com> wrote:
>> Thanks Mike
>>
>> I am able to replicate it on my PC - well it has happened a few times. I
>> tested for over 2 hours solid last night with no crash and thought it was
>> fixed. But this morning after only about 10 seconds of play it crashed.
>> This
>> is the new version with the large image separated into 4 separate jpgs.
>>
>> Only other large item is a movie clip that is a dotted line that is the
>> same
>> size as the large image - this is a draw object (think this is the right
>> term - basially the built in dotted line)
>>
>> I am trying the fdb command line thingy but of course it won't crash now.
>> Pff!!!
>>
>> Next step is to try taking out bit by bit - so time consuming as a crash
>> can
>> take ages to occur.
>>
>> Cheers
>>
>> Paul
>>
>> -----Original Message-----
>> From: flashcoders-boun...@chattyfig.figleaf.com
>> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of mike
>> donnelly
>> Sent: 06 September 2009 11:17
>> To: Flash Coders List
>> Subject: Re: [Flashcoders] Rather urgent advice on how to track the cause
>> of
>> a crash
>>
>> I would go and get your client's machine. 40 minutes is way too long
>> to test changes!  If you can't do that, i would use a remote desktop
>> app. http://www.uvnc.com is a good one as far as i remember, and it's
>> free.
>>
>> Also, replace the huge picture with a little one, and get rid of the
>> video. Basically, for each test you do, remove half of your game till
>> it stops crashing.
>>
>> Good luck, i know the feelin!
>>
>> On 9/4/09, Paul Steven <paul_ste...@btinternet.com> wrote:
>>> I have created a game in Flash CS3 which is being published for Flash 8
>> AS2.
>>> My client is reporting it crashing periodically on his XP PC. I have
>>> also
>>> managed replicate this on my Vista Ultimate PC with the following error:
>>>
>>> "A problem caused the program to stop working correctly. Windows will
>> close
>>> the program and notify you if a solution is available"
>>>
>>> It took me over 40 minutes of continuous play to get the crash.
>>>
>>> This game is for an exhibition on Monday so I need to sort this pretty
>>> quickly.
>>>
>>> Can anyone suggest any ways to try and pinpoint the problem? The game is
>>> being run as a projector packaged with MDM Zinc. My first thoughts were
>> that
>>> it was due to Zinc being pants but the same problem occurs with just a
>> plain
>>> old Flash projector.
>>>
>>> The problem also happens in the Flash IDE, and similarly it just crashes
>>> Flash completely - there is no message saying a script is causing the
>> movie
>>> problems. I am struggling to work out how to find the cause of the
>>> problem
>>> especially as it can happen pretty much immediately according to the
>> client
>>> or after a long period of play.
>>>
>>> The game is basically a top down flying game with a scrolling background
>>> (JPG 5120 X 4320). The flash movie is published at 1600 x 1200 30 FPS.
>>> It
>>> includes an embedded FLV video on the Splash screen which is apparently
>>> 639kb of video data. There are no audio files in the game.
>>>
>>> Any suggestions what code issues could be causing this or does it sound
>> like
>>> something else causing the crash. Are there any tools that can help me
>> track
>>> down the problem?
>>>
>>> Hoping someone can save the day!
>>>
>>> Thanks
>>>
>>> Paul
>>>
>>> _______________________________________________
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>
>> --
>> Sent from my mobile device
>> _______________________________________________
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> _______________________________________________
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
> --
> Sent from my mobile device
>

-- 
Sent from my mobile device
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to