[Kst] [Bug 135354] New: crash when equation contains [scalar][scalar]

Nicolas Brisset nicolas.brisset at eurocopter.com
Mon Oct 9 18:06:19 CEST 2006

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: crash when equation contains [scalar][scalar]
           Product: kst
           Version: unspecified
          Platform: unspecified
        OS/Version: Solaris
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: nicolas.brisset eurocopter com

Version:           1.3.1_devel (using KDE 3.4.0, compiled sources)
Compiler:          gcc version 3.4.3
OS:                SunOS (sun4u) release 5.8

There is a problem in the equation parser, which leads to a crash. To reproduce:
1) load column 1 vs INDEX from gyrodata.dat
2) create an equation with [1]+[C_PI][C_PI] and "INDEX" as X vector
3) Hit "OK": crash!

It should either recognize [C_PI][C_PI] as [C_PI]*[C_PI] and do it correctly, or invalidate the syntax.
The way [1][1] is handled leaves me quite puzzled :-( But it does not seem to be very clean, as kst crashes upon exit (or even before) even though it is less obvious than the previous case.

More information about the Kst mailing list