cschear
  •  cschear
  • 61.4% (Friendly)
  • YAF Camper Topic Starter
2011-02-03T15:54:06Z
I noticed when I hit our messageboard with a mobile device (the windows 7 phone emulator does it as well) that the app pool for the site was restarting. Turns out that I'm getting a System.StackOverflowException.

It looks to me like maybe there is a loop in the code. If I place a breakpoint in the YafContext.cs class at line 164 (inside the get for the YafBoardSettings) I noticed it gets called over and over. The call stack also keeps growing with every couple of runs.

1.9.5.5 Beta (Build 4580)

cschear attached the following image(s):
Sponsor
Jaben
  •  Jaben
  • 100% (Exalted)
  • YAF Developer
2011-02-03T16:07:43Z
Thanks for this bug report... that's new code which obviously don't work perfectly 🙂
Jaben
  •  Jaben
  • 100% (Exalted)
  • YAF Developer
2011-02-03T17:49:30Z
See if you still get the problem with the latest code, cschear.
cschear
  •  cschear
  • 61.4% (Friendly)
  • YAF Camper Topic Starter
2011-02-03T18:34:00Z
Same result - System.StackOverflowException was unhandled.
Jaben
  •  Jaben
  • 100% (Exalted)
  • YAF Developer
2011-02-03T19:06:57Z
Hmm. Latest version is v1.9.5.5 RC20110203.

Maybe try and update from the SVN again?
Jaben
  •  Jaben
  • 100% (Exalted)
  • YAF Developer
2011-02-03T19:14:24Z
Nevermind -- found the issue. Bbobb -- looks like this one was yours.

Can't access PageUserID inside InitUserPage! 🤬

But this whole system will be thrown out an rewritten completely very soon. Thankfully...
cschear
  •  cschear
  • 61.4% (Friendly)
  • YAF Camper Topic Starter
2011-02-03T19:24:53Z
Awesome - glad you found the source.
Jaben
  •  Jaben
  • 100% (Exalted)
  • YAF Developer
2011-02-03T20:02:59Z
Originally Posted by: cschear 

Awesome - glad you found the source.


There wasn't a mobile user agent setting for Windows 7 Phone -- which I added as well.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved