cschear
  • Posts: 19
  • Joined: 04/03/2009
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):
Jaben
  • Posts: 2544
  • Joined: 09/10/2004
Thanks for this bug report... that's new code which obviously don't work perfectly 🙂
Jaben
  • Posts: 2544
  • Joined: 09/10/2004
See if you still get the problem with the latest code, cschear.
cschear
  • Posts: 19
  • Joined: 04/03/2009
Same result - System.StackOverflowException was unhandled.
Jaben
  • Posts: 2544
  • Joined: 09/10/2004
Hmm. Latest version is v1.9.5.5 RC20110203.

Maybe try and update from the SVN again?
Jaben
  • Posts: 2544
  • Joined: 09/10/2004
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
  • Posts: 19
  • Joined: 04/03/2009
Awesome - glad you found the source.
Jaben
  • Posts: 2544
  • Joined: 09/10/2004
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.
Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

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