PostSharp terminates due to StackOverflow
4 posts • Page 1 of 1
PostSharp terminates due to StackOverflow
Hi everyone
I have a project that goes into an infinite loop while PostSharp is running. The output I get is:
PostSharp 1.0 [1.0.10.403] - Copyright (c) Gael Fraiteur, 2005-2008.
info PS0092: Unexpected error during auto-update check: The remote server returned an error: (407) Proxy Authentication Required.
Process is terminated due to StackOverflowException.
C:\Program Files (x86)\PostSharp 1.0\PostSharp-1.0.targets(255,5): error : The PostSharp build step failed (exit code -2147023895). See previous errors or the build log for details.
Done building project "FileStructureService.csproj" -- FAILED.
On other C# solutions on the same machine using PostSharp this does not occur. I am sure this is trivial to fix, but is currently beyond my skill with PostSharp.
Thanks in advance
Graham J McDonald
I have a project that goes into an infinite loop while PostSharp is running. The output I get is:
PostSharp 1.0 [1.0.10.403] - Copyright (c) Gael Fraiteur, 2005-2008.
info PS0092: Unexpected error during auto-update check: The remote server returned an error: (407) Proxy Authentication Required.
Process is terminated due to StackOverflowException.
C:\Program Files (x86)\PostSharp 1.0\PostSharp-1.0.targets(255,5): error : The PostSharp build step failed (exit code -2147023895). See previous errors or the build log for details.
Done building project "FileStructureService.csproj" -- FAILED.
On other C# solutions on the same machine using PostSharp this does not occur. I am sure this is trivial to fix, but is currently beyond my skill with PostSharp.
Thanks in advance
Graham J McDonald
- GrahamMcDonald
- Posts: 2
- Joined: Fri Aug 22, 2008 10:03 am
- First Name: Graham
- Last Name: J McDonald
- Company: MAN Investments
Re: PostSharp terminates due to StackOverflow
Graham,
Please build your project using the command line:
The debugger should break at the exception. Please copy the call stack and paste it here.
Thanks,
-gael
Please build your project using the command line:
- Code: Select all
msbuild /p:PostSharpAttachDebugger=true
The debugger should break at the exception. Please copy the call stack and paste it here.
Thanks,
-gael
Gael Fraiteur, project leader
- gfraiteur
- Site Admin
- Posts: 834
- Joined: Tue Dec 18, 2007 3:09 pm
- First Name: Gael
- Last Name: Fraiteur
- Company: postsharp.org
Re: PostSharp terminates due to StackOverflow
Gael,
The problem was a recursive call in the aspect code. The debugger tip pushed me in the right direction. I was just surprised to see that code in the aspect was really getting executed at compile time. Increased my knowledge 100%
Thanks,
Graham J McDonald
The problem was a recursive call in the aspect code. The debugger tip pushed me in the right direction. I was just surprised to see that code in the aspect was really getting executed at compile time. Increased my knowledge 100%
Thanks,
Graham J McDonald
- GrahamMcDonald
- Posts: 2
- Joined: Fri Aug 22, 2008 10:03 am
- First Name: Graham
- Last Name: J McDonald
- Company: MAN Investments
- gfraiteur
- Site Admin
- Posts: 834
- Joined: Tue Dec 18, 2007 3:09 pm
- First Name: Gael
- Last Name: Fraiteur
- Company: postsharp.org
4 posts • Page 1 of 1
