google-code-export / fluorinefx

Automatically exported from code.google.com/p/fluorinefx
2 stars 4 forks source link

CreateSharedObject caused StackOverFlow in RoomStart or AppStart #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the latest version from SVN 1.0.0.17
2. Try to do CreateSharedObject in event RoomStart or AppStart on server 
side.
3. A dead loop will be caused.

Guess that the latest version faild to create the scope object's service 
contianer 'cause CreateSharedObject can work in both RoomConnect and 
AppConnect.

Also when I restored the code to version 1.0.0.15,everything works fine.

Original issue reported on code.google.com by zoroufa...@gmail.com on 15 Jun 2009 at 12:48

GoogleCodeExporter commented 9 years ago
Can you please check out with the latest version?

Is this test code similar to your case:
public override bool AppStart(IScope application)
{
  CreateSharedObject(application, "TestSO", false);
  ISharedObject so = GetSharedObject(application, "TestSO");
  return base.AppStart(application);
}

Original comment by zol...@thesilentgroup.com on 18 Jun 2009 at 1:09

GoogleCodeExporter commented 9 years ago
Yep,zol,your example is just what I have met.

Original comment by zoroufa...@gmail.com on 18 Jun 2009 at 3:22

GoogleCodeExporter commented 9 years ago
I'll try to get the latest version when I'm free.
Thanks a lot~

Original comment by zoroufa...@gmail.com on 18 Jun 2009 at 5:34

GoogleCodeExporter commented 9 years ago

Original comment by zol...@thesilentgroup.com on 26 Sep 2009 at 1:33