Crashing
12 posts
• Page 1 of 2 • 1, 2
Crashing
I have a lot of crashes that result in missing syntax highlighting in new opened files.
This is the message inside the ActivityLog.xml:
This is the message inside the ActivityLog.xml:
- Code: Select all
<entry>
<record>2209</record>
<time>2018/03/15 08:34:22.262</time>
<type>Information</type>
<source>PhpLanguage</source>
<description>ProjectHierarchy.InitProjectContent Done.</description>
</entry>
<entry>
<record>2210</record>
<time>2018/03/15 08:35:46.748</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.OutOfMemoryException: Eine Ausnahme vom Typ "System.OutOfMemoryException" wurde ausgelöst.
 bei Devsense.PHP.ControlFlow.Analysis.RoutineHelpers.CreateTypeRefContext(IRoutine routine)
 bei  .Devsense.PHP.Nodes.Tables.ITableFunction.GetReturnType(ITypeRefContext ctx)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.TablesAnalysisVisitor.HandleFunctionCall(ITableFunction info, QualifiedName fncName, Span fncNameSpan, TypeRefMask ofType, CallSignature callsignature)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.TablesAnalysisVisitor.<>c__DisplayClass48_0.<HandleMethodCall>b__1(ITableFunction info)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.TablesAnalysisVisitor.HandleMemberUseInternal[T](TypeRefMask ofType, Span ofTypeSpan, TypeRef ofTypeRef, Func`2 resolveMember, Func`2 evaluateMember, Action evaluateUnknownMember, Func`2 mergeMembers, Action checkMemberNotFound, Action`3 checkTypeRef)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.TablesAnalysisVisitor.HandleMethodCall(Name name, Span nameSpan, TypeRefMask ofType, Span ofTypeSpan, TypeRef ofTypeRef, CallSignature callsignature)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.TablesAnalysisVisitor.HandleFunctionCall(DirectFcnCall fcn)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitDirectFcnCall(DirectFcnCall x, ConditionBranch branch)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.VisitDirectFcnCall(DirectFcnCall x)
 bei Devsense.PHP.Syntax.Ast.DirectFcnCall.VisitMe(TreeVisitor visitor)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitConditionalEx(ConditionalEx x)
 bei Devsense.PHP.Syntax.Ast.ConditionalEx.VisitMe(TreeVisitor visitor)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.VisitCondition(Expression condition, ConditionBranch branch)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitConditionalEx(ConditionalEx x)
 bei Devsense.PHP.Syntax.Ast.ConditionalEx.VisitMe(TreeVisitor visitor)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitConditionalEx(ConditionalEx x)
 bei Devsense.PHP.Syntax.Ast.ConditionalEx.VisitMe(TreeVisitor visitor)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitConditionalEx(ConditionalEx x)
 bei Devsense.PHP.Syntax.Ast.ConditionalEx.VisitMe(TreeVisitor visitor)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.VisitCondition(Expression condition, ConditionBranch branch)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitConditionalEx(ConditionalEx x)
 bei Devsense.PHP.Syntax.Ast.ConditionalEx.VisitMe(TreeVisitor visitor)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.VisitCondition(Expression condition, ConditionBranch branch)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitConditionalEx(ConditionalEx x)
 bei Devsense.PHP.Syntax.Ast.ConditionalEx.VisitMe(TreeVisitor visitor)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitConditionalEx(ConditionalEx x)
 bei Devsense.PHP.Syntax.Ast.ConditionalEx.VisitMe(TreeVisitor visitor)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.VisitCondition(Expression condition, ConditionBranch branch)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitConditionalEx(ConditionalEx x)
 bei Devsense.PHP.Syntax.Ast.ConditionalEx.VisitMe(TreeVisitor visitor)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.VisitCondition(Expression condition, ConditionBranch branch)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitConditionalEx(ConditionalEx x)
 bei Devsense.PHP.Syntax.Ast.ConditionalEx.VisitMe(TreeVisitor visitor)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.VisitCondition(Expression condition, ConditionBranch branch)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitConditionalEx(ConditionalEx x)
 bei Devsense.PHP.Syntax.Ast.ConditionalEx.VisitMe(TreeVisitor visitor)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.VisitCondition(Expression condition, ConditionBranch branch)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitConditionalEx(ConditionalEx x)
 bei Devsense.PHP.Syntax.Ast.ConditionalEx.VisitMe(TreeVisitor visitor)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitConditionalEx(ConditionalEx x)
 bei Devsense.PHP.Syntax.Ast.ConditionalEx.VisitMe(TreeVisitor visitor)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.VisitCondition(Expression condition, ConditionBranch branch)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitConditionalEx(ConditionalEx x)
 bei Devsense.PHP.Syntax.Ast.ConditionalEx.VisitMe(TreeVisitor visitor)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitConditionalEx(ConditionalEx x)
 bei Devsense.PHP.Syntax.Ast.ConditionalEx.VisitMe(TreeVisitor visitor)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitConditionalEx(ConditionalEx x)
 bei Devsense.PHP.Syntax.Ast.ConditionalEx.VisitMe(TreeVisitor visitor)
 bei Devsense.PHP.Syntax.TreeVisitor.VisitElement(LangElement element)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitJumpStmt(JumpStmt x)
 bei Devsense.PHP.Syntax.Ast.JumpStmt.VisitMe(TreeVisitor visitor)
 bei Devsense.PHP.Syntax.TreeVisitor.VisitElement(LangElement element)
 bei Devsense.PHP.ControlFlow.Graph.GraphVisitor.VisitCFGBlockStatements(Block x)
 bei Devsense.PHP.ControlFlow.Graph.GraphVisitor.VisitCFGBlockInternal(Block x)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.VisitCFGBlock(Block x)
 bei Devsense.PHP.ControlFlow.Graph.Block.Visit(GraphVisitor visitor)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.VisitCFG(ControlFlowGraph x)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.ExpressionAnalysisVisitor.VisitCFG(ControlFlowGraph x)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.TablesAnalysisVisitor.VisitCFG(ControlFlowGraph x)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.CheckAnalysisVisitor.VisitCFG(ControlFlowGraph x)
 bei Devsense.PHP.ControlFlow.Analysis.Visitors.AnalysisVisitor.AnalyseGraph(ControlFlowGraph graph, LocalsState initialFlowState)
 bei Devsense.PHP.ControlFlow.Analysis.State.AnalyseCfg(ControlFlowGraph cfg, LambdaFunctionExprHandler handleLambdaExpr, IRoutine routine, CallInfo call, LocalsState callState, ITables tables, ErrorAnalysisSettings errSettings)
 bei 
	. 		(IRoutine 		, CallInfo 			, LocalsState 


	)
 bei 
	.EnsureRoutineAnalysed(IRoutine routine)
 bei 
	.
 
(

	
 


 )
 bei 
	.AnalyseNode(

	
 node)
 bei 
	 
.InvokeTask()
 bei PHP.VisualStudio.Language.TaskQueue.
	.
	 
()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
 bei Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)</description>
</entry>
- beo6
- Posts: 8
- Joined: February 11th, 2018, 6:33 pm
Re: Crashing
Hello,
Thanks for the post.
From the activity log VS run out of memory. That might be caused by really huge project. May I ask how big the project is?
Thanks,
Thanks for the post.
From the activity log VS run out of memory. That might be caused by really huge project. May I ask how big the project is?
Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Crashing
Its the TYPO3 Core you can find here:
https://github.com/TYPO3/TYPO3.CMS
I already excluded the temporary files from the solution. But that does not help.
https://github.com/TYPO3/TYPO3.CMS
I already excluded the temporary files from the solution. But that does not help.
- beo6
- Posts: 8
- Joined: February 11th, 2018, 6:33 pm
Re: Crashing
Thanks, let us test this one and we will get back asap.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Crashing
Also my PC has 64 GB Ram, so that should not be an issue.
It seems it sometimes does not give an error, but when i Press F12 on a method or something, it opens the file without any Syntax highlighting. If i quickly press F12, then close it with CTRL+F4 to close it, then Press F12 again etc. it eventually opens with Syntax highlighting and everything.![Shocked :shock:](./images/smilies/icon_eek.gif)
It seems it sometimes does not give an error, but when i Press F12 on a method or something, it opens the file without any Syntax highlighting. If i quickly press F12, then close it with CTRL+F4 to close it, then Press F12 again etc. it eventually opens with Syntax highlighting and everything.
![Shocked :shock:](./images/smilies/icon_eek.gif)
- beo6
- Posts: 8
- Joined: February 11th, 2018, 6:33 pm
Re: Crashing
Hi,
It works quite well on my test machine. What version of PHP Tools do you have? Do you have some other vs extension that could take a lot of memory?
Thanks,
It works quite well on my test machine. What version of PHP Tools do you have? Do you have some other vs extension that could take a lot of memory?
Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Crashing
We've analyzed all the packages typo3 uses and we've been able to locate a potential issue. We will prepare an update for you.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Crashing
Nice. ![Smile :)](./images/smilies/icon_e_smile.gif)
will have to check and disable all Extensions i have to see if any of these does make some issues.
![Smile :)](./images/smilies/icon_e_smile.gif)
will have to check and disable all Extensions i have to see if any of these does make some issues.
- beo6
- Posts: 8
- Joined: February 11th, 2018, 6:33 pm
Re: Crashing
Hello,
You can try the latest preview https://www.devsense.com/download. We've included some changes that will hopefully solve the issue you've been having.
Please let us know if that helped.
Thanks!
You can try the latest preview https://www.devsense.com/download. We've included some changes that will hopefully solve the issue you've been having.
Please let us know if that helped.
Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Crashing
Looks good so far. ![Smile :)](./images/smilies/icon_e_smile.gif)
Now only PHP 7.2 support is missing and its perfect. Really nice work.![Wink ;)](./images/smilies/icon_e_wink.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
Now only PHP 7.2 support is missing and its perfect. Really nice work.
![Wink ;)](./images/smilies/icon_e_wink.gif)
- beo6
- Posts: 8
- Joined: February 11th, 2018, 6:33 pm
12 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 47 guests