View Issue Details

IDProjectCategoryView StatusLast Update
0036695LazarusIDEpublic2020-02-13 03:28
Reporterbald zhang Assigned ToMaxim Ganetsky  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformWindows, Linux 
Product Version2.1 (SVN) 
Fixed in Version2.2 
Summary0036695: exception when open Tools -> Options
Descriptionupdate and rebuild target "bigide"
then Main Menu -> Tools -> Options
exception raised.

call stack
---
0x00000000006628E4 /root/work/tools/lazarus-trunk/lcl//include/control.inc:3549
0x0000000000666E7E /root/work/tools/lazarus-trunk/lcl//include/control.inc:5058
0x0000000001545832 /root/work/tools/lazarus-trunk/components/pas2js//pjsdsgnoptsframe.pas:206
0x0000000000BCFD9D /root/work/tools/lazarus-trunk/ide//ideoptionsdlg.pas:512
0x0000000000BCF4B0 /root/work/tools/lazarus-trunk/ide//ideoptionsdlg.pas:332
0x0000000000BCF782 /root/work/tools/lazarus-trunk/ide//ideoptionsdlg.pas:368
0x00000000004B57E0 /root/work/tools/lazarus-trunk/ide//main.pp:5043
0x000000000094BFD7 /root/work/tools/lazarus-trunk/components/ideintf//lazideintf.pas:772
0x00000000004B52E1 /root/work/tools/lazarus-trunk/ide//main.pp:4968
0x00000000009462EF /root/work/tools/lazarus-trunk/components/ideintf//menuintf.pas:547
0x000000000094A291 /root/work/tools/lazarus-trunk/components/ideintf//menuintf.pas:1702
0x00000000006AA464 /root/work/tools/lazarus-trunk/lcl//include/menuitem.inc:85
0x00000000006AADDA /root/work/tools/lazarus-trunk/lcl//include/menuitem.inc:293
0x0000000000436BDF ??:?
0x00007F6694CBC265 ??:0
0x00007F66935F9983 ??:0

some research
---
components/pas2js//pjsdsgnoptsframe.pas, L205
  NodeJSLabel.Caption:=pjsdPathOfNodeJsExecutable;

TLabel component "NodeJSLabel" not exists in "pjsdsgnoptsframe.lfm",
caused this component not be created, so it's nil, then SIGSEGV

tested on Windows 10, Linux x86_64 (QT5), it's same.
TagsNo tags attached.
Fixed in Revision62626
LazTarget-
Widgetset
Attached Files

Activities

Maxim Ganetsky

2020-02-12 23:07

developer   ~0121068

Thanks for the analysis. Please test and close if OK.

bald zhang

2020-02-13 03:28

reporter   ~0121077

win10, linux x86_64 qt5: all good now.

Issue History

Date Modified Username Field Change
2020-02-12 03:39 bald zhang New Issue
2020-02-12 13:47 Maxim Ganetsky Status new => confirmed
2020-02-12 13:47 Maxim Ganetsky LazTarget => -
2020-02-12 23:07 Maxim Ganetsky Assigned To => Maxim Ganetsky
2020-02-12 23:07 Maxim Ganetsky Status confirmed => resolved
2020-02-12 23:07 Maxim Ganetsky Resolution open => fixed
2020-02-12 23:07 Maxim Ganetsky Fixed in Version => 2.2
2020-02-12 23:07 Maxim Ganetsky Fixed in Revision => 62626
2020-02-12 23:07 Maxim Ganetsky Widgetset Win32/Win64, QT5 => QT5
2020-02-12 23:07 Maxim Ganetsky Note Added: 0121068
2020-02-12 23:08 Maxim Ganetsky Widgetset QT5 =>
2020-02-13 03:28 bald zhang Status resolved => closed
2020-02-13 03:28 bald zhang Note Added: 0121077