Bug 354871 - invalid format file for dirfile causes segfault
Summary: invalid format file for dirfile causes segfault
Status: RESOLVED WORKSFORME
Alias: None
Product: kst
Classification: Applications
Component: datasources (show other bugs)
Version: 2.0.8
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-04 23:40 UTC by Greg Johnson
Modified: 2018-09-28 22:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.