Bug 354871

Summary: invalid format file for dirfile causes segfault
Product: [Applications] kst Reporter: Greg Johnson <gregfjohnson>
Component: datasourcesAssignee: kst
Status: RESOLVED WORKSFORME    
Severity: normal CC: netterfield
Priority: NOR    
Version: 2.0.8   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Greg Johnson 2015-11-04 23:40:45 UTC
I accidentally wrote an invalid format file, with the following contents:
"BREATH_phase RAW S 1filtered_airway_pres_cmH2O RAW S 1filtered_flow_wye_lpm RAW S 1filtered_flow_valve_lpm RAW S 1PIP_cmH2O RAW S 1Vt_ml RAW S 1delivered_Vol_ml RAW S 1Inspired_Vol_ml RAW S 1Vol_loss_ml RAW S 1Vol_loss_pct RAW S 1exp_limb_disconnected RAW S 1faultStatus RAW S 1Vol_loss_breath RAW S 1"

(OOPS:  no linefeeds!)

This crashed kst when I hit hte wizard and tried to create the project.

Reproducible: Always

Steps to Reproduce:
1.create invalid format file as above
2.use wizard to try to open dirfile.
3.
Comment 1 Netterfield 2018-09-28 22:48:19 UTC
Appears to have been fixed sometime in the last couple years.