Page 1 of 1

Resolume crash with swf and sockets

Posted: Fri Dec 25, 2009 04:42
by DonMoir
I have been getting spurious crashes in R3. Here is one that happens often when using swf and socket.

Let me say this first:

There is no way for a swf file to know when it is live or you are just generating thumbnail data.

You need to add beginMovie and endMovie external callbacks so we know when we are live and we have a chance to shutdown and cleanup.

I did the testing for this on windows xp with flash 10.0.42.34 which is the latest one for windows activex.

The zip file contains an swf, fla, resolume log file, and a txt that also contains the code for the test. The fla contains the script as well.

Steps to reproduce crash:

1) Start up Resolume:
2) move ResolumeCrash.swf to an empty spot in layer one.
3) move rss.swf next to it so it is convienent.
4) click back and forth between the two swf files in the layer.

Clicking back and forth will cause resolume to crash. It may take you a few tries. Just keep clicking somewhat rapid until you get a crash.

I checked this on a server as well. When you are creating the thumbnail it will connect. This connection will be left hanging. So this is a bad deal. Note that you don't need a server to check this crash.

Heres the zip file:

http://sms.pangolin.com/resolume/crash.zip

Re: Resolume crash with swf and sockets

Posted: Wed Jan 06, 2010 15:34
by DonMoir
This is a show stopper for us unless you can give me a way around this.

When a socket connection is made, it is left hanging when you are switching back and forth. It seems that Avenue is not shutting down flash completely. This causes flash to crash and hence resolume.

It would not be in our or your best interest for us to deliver something that is going to cause resolume to crash.

If you want a example of a shipping application that also causes avenue to crash in this same senario, I will send you that in a private email.

Don

Re: Resolume crash with swf and sockets

Posted: Wed Jan 06, 2010 21:07
by edwin
Hi Don,
We'll certainly have a proper test with your material, note that it may take a while before we know what's going on and when we'll have a fix. Please send us a private email and we can try to hook you up with a Beta version once we sort out your issues. We definitely want to get this fixed.