MantisBT - Ecere SDK
View Issue Details
0000642Ecere SDKide:autocompletepublic2011-09-23 20:432014-05-19 01:32
naji 
jerome 
immediatecrashalways
closedfixed 
0.44.09 
0.44.10 640.44.10 64 
0000642: IDE Crashes when pressing . (dot) in a list
Pressing . (dot) on this file Ln 87, Col 22 crashes the Ecere IDE.
No tags attached.
? najbatch.ec (2,164) 2011-09-23 20:43
http://ecere.com/mantis/file_download.php?file_id=53&type=bug
Issue History
2011-09-23 20:43najiNew Issue
2011-09-23 20:43najiFile Added: najbatch.ec
2011-09-23 20:45jeromeStatusnew => confirmed
2011-09-23 20:49jeromeNote Added: 0000465
2011-09-23 20:50jeromePrioritynormal => immediate
2011-09-23 20:50jeromeTarget Version => 0.44 pre-release 2
2011-09-24 20:07najiNote Added: 0000466
2012-03-08 15:41redjTarget Versionold 0.44.pre2 => 0.45 Ginkakuji
2012-03-29 07:52redjCategory => ide
2012-03-29 07:52redjProject@3@ => Ecere SDK
2013-04-26 18:28jeromeTarget Version0.45 Ginkakuji => 0.44.8 Silver
2014-02-22 18:27jeromeCategoryide => ide:autocomplete
2014-04-30 09:22jeromeNote Added: 0001221
2014-04-30 09:22jeromeTarget Version0.44.80 Silver => 0.44.10 64
2014-04-30 09:23jeromeAssigned To => jerome
2014-04-30 09:23jeromeStatusconfirmed => assigned
2014-04-30 09:23jeromeProduct Version => 0.44.09
2014-05-03 07:46jeromeStatusassigned => resolved
2014-05-03 07:46jeromeFixed in Version => 0.44.10 64
2014-05-03 07:46jeromeResolutionopen => fixed
2014-05-03 07:46jeromeNote Added: 0001258
2014-05-19 01:32jeromeStatusresolved => closed

Notes
(0000465)
jerome   
2011-09-23 20:49   
Parsing type: "Container<char[MAX_LOCATION]>"

  0 yy_get_next_buffer Function, src\lexer.ec:2582
  1 yylex Function, src\lexer.ec:2417
  2 type_yyparse Function, src\type.ec:3470
  3 SpecDeclFromString Function, src\shortcuts.ec:187
  4 ProcessTypeString Function, src\ast.ec:2526

fileInput is null ?
(0000466)
naji   
2011-09-24 20:07   
If you change the part that says:

List<char *> outdirlist { };


List<char *> filedirlist { };

To:



List<char [MAX_LOCATION]> outdirlist { };


List<char [MAX_LOCATION]> filedirlist { };

And try to run the program in the IDE, it crashes the IDE just when it starts building.
(0001221)
jerome   
2014-04-30 09:22   
This still crashes as of 0.44.09.9
(0001258)
jerome   
2014-05-03 07:46   
Fixed by:
https://github.com/ecere/ecere-sdk/commit/97135fda21d6324873ea60234cdab22e3a3016f8 [^]