[Kst] [Bug 261011] New: Segmentation fault reading dirfile at non-existent future INDEX

stevebenton at rogers.com stevebenton at rogers.com
Wed Dec 22 22:51:19 CET 2010


https://bugs.kde.org/show_bug.cgi?id=261011

           Summary: Segmentation fault reading dirfile at non-existent
                    future INDEX
           Product: kst
           Version: 2.0.3
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: datasources
        AssignedTo: kst at kde.org
        ReportedBy: stevebenton at rogers.com


Version:           2.0.3
OS:                Linux

Saved .kst file has vectors from dirfile with start="1294710" count="-1".
Indexes in current dirfile (a symlink) only go to 85370. On trying to load, a
segmentation fault occurs.

Editing to .kst file so that each datavector has start="-1" count="100" makes
things work again.

Reproducible: Always

Steps to Reproduce:
Can reproduce using the "Change Data Sample Range" dialog: Select "Read to end"
and set "Start" to outside the current dirfile INDEX range.

Actual Results:  
kst immediately dies to a segmentation fault

Expected Results:  
Best behaviour would be to detect problem and bring up dialog to select a valid
data sample range (maybe after warning). It would also be okay for nothing to
happen, and plots contain no data.

OS: Linux

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kst mailing list