Resolume crash with swf and sockets
Posted: Fri Dec 25, 2009 04:42
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
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