View Issue Details

IDProjectCategoryView StatusLast Update
0032786PatchesOtherpublic2017-12-07 16:10
ReporterTiml Assigned ToJuha Manninen  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Platformx86OSLinux 
Product Version1.8 
Summary0032786: CodeExplorer crash
DescriptionWhen opening Lazarus, it has segmentation fault in CodeExplorer
TagsNo tags attached.
Fixed in Revisionr56661
LazTarget-
WidgetsetGTK 2
Attached Files

Activities

Timl

2017-12-06 07:43

reporter  

explorer.diff (462 bytes)   
Index: ide/codeexplorer.pas
===================================================================
--- ide/codeexplorer.pas	(working copy)
+++ ide/codeexplorer.pas	(revision 56652)
@@ -1282,7 +1282,6 @@
             begin
               ProcNode:=CodeNode.Parent;
               TVNode:=AddCodeNode(cefcLongProcs,ProcNode);
-              if assigned(TVNode) then
               TVNode.Text:=TVNode.Text+' ['+IntToStr(LineCnt)+']';
             end;
           end;
explorer.diff (462 bytes)   

Juha Manninen

2017-12-07 16:10

developer   ~0104571

The patch is inverted but otherwise valid. Function AddCodeNode can return Nil.
Fixed. Thanks.

Issue History

Date Modified Username Field Change
2017-12-06 07:43 Timl New Issue
2017-12-06 07:43 Timl File Added: explorer.diff
2017-12-07 15:11 Juha Manninen Assigned To => Juha Manninen
2017-12-07 15:11 Juha Manninen Status new => assigned
2017-12-07 16:10 Juha Manninen Fixed in Revision => r56661
2017-12-07 16:10 Juha Manninen LazTarget => -
2017-12-07 16:10 Juha Manninen Note Added: 0104571
2017-12-07 16:10 Juha Manninen Status assigned => resolved
2017-12-07 16:10 Juha Manninen Resolution open => fixed