A detailed summary of the issue goes here.
When calling an external program, if it does not write anything to stderr and the program returns a non-zero exit code, like a segmentation error, the user is not informed of the error that has just occurred.
Moreover the command appears in green in the console as if everything went well.
What steps will reproduce the problem?
files_to_reproduce.zip
- Unzip the archive files_to_reproduce.zip
- Open a terminal and verify that the following command produce a segmentation error:
UnitexToolLogger Fst2List -D files_to_reproduce/DEMA-ASflx.bin -D files_to_reproduce/DEMA-NSflx.bin -a s -d -s ", " -o A-tous-recursive-paths.txt files_to_reproduce/A-tous.fst2
Let's configure the same with the IDE:
- Open the menu Info > Preferences...
- Select Morphological-mode dictionaries tab
- Add the 2 morphological dictionary (.bin file)
- Open the graph A-tous.grf
- Then open the Explore Graph Path menu (FSGraph > Tools > Explore Graph Paths)
- Click on run
What is the expected output?
A message indicating that the operation has failed.
The command should be considere failed in red in the console.
What do you see instead?
No path is printed and the command is considered successful in the console.
More info
The segmentation error occurs with UnitexToolLogger version 3.3.7 and version 4.0alpha
- Unitex/GramLab IDE version: 4.0.0
- UnitexToolLogger version: 4.0.0
- Did this work before?: [ ] yes [x] no
A detailed summary of the issue goes here.
When calling an external program, if it does not write anything to stderr and the program returns a non-zero exit code, like a segmentation error, the user is not informed of the error that has just occurred.
Moreover the command appears in green in the console as if everything went well.
What steps will reproduce the problem?
files_to_reproduce.zip
UnitexToolLogger Fst2List -D files_to_reproduce/DEMA-ASflx.bin -D files_to_reproduce/DEMA-NSflx.bin -a s -d -s ", " -o A-tous-recursive-paths.txt files_to_reproduce/A-tous.fst2Let's configure the same with the IDE:
What is the expected output?
A message indicating that the operation has failed.
The command should be considere failed in red in the console.
What do you see instead?
No path is printed and the command is considered successful in the console.
More info
The segmentation error occurs with UnitexToolLogger version 3.3.7 and version 4.0alpha