SourceForge Ticket System
norep****@sourc*****
2012年 10月 6日 (土) 16:24:13 JST
#29761: Inputfile is not find or 0 bite Open Date: 2012-10-06 03:35 Last Update: 2012-10-06 16:24 URL for this Ticket: http://sourceforge.jp/ticket/browse.php?group_id=6231&tid=29761 RSS feed for this Ticket: http://sourceforge.jp/ticket/ticket_rss.php?group_id=6231&tid=29761 --------------------------------------------------------------------- Last Changes/Comment for this Ticket: 2012-10-06 16:24 Update by: okymmolds Comment: Fix segmentation fault (1) at rev.1048. Detail: Add error handling, 'ifs.fail' in InputParser::StoreInputTermsFromFile. This ticket is not completed. The reason why segmentation fault (2) and (3) are not completed. --------------------------------------------------------------------- Ticket Status: Reporter: mikiya_fujii Owner: okymmolds Type: バグ Status: オープン Priority: 3 MileStone: ver0.2 Component: (未割り当て) Severity: 3 Resolution: なし --------------------------------------------------------------------- Ticket details: When an inputfile is not find or 0 bite, MolDS ends with segmentation fault. Three patterns written below should be fixed. (1) Input file "hoge.in" does not exist: ./MolDS.out hoge.in ->segmentation fault (2) Input file "foo.in" is 0 bite: ./MolDS.out foo.in ->segmentation fault (3) Input file "foo.in" is 0 bite: ./MolDS.out < foo.in ->segmentation fault -- This is Ticket on Project MolDS. MolDS Project hosted on SourceForge.JP. Project URL: http://sourceforge.jp/projects/molds SourceForge.JP: http://sourceforge.jp URL for this Ticket: http://sourceforge.jp/ticket/browse.php?group_id=6231&tid=29761 RSS feed for this Ticket: http://sourceforge.jp/ticket/ticket_rss.php?group_id=6231&tid=29761