Bug #1986
closedCharts enter infinite loop when Y column equals 0 or nan
0%
Description
Hello there,
We've found an issue related to charts.
We have a model that we set to a chart ( Cartesian or Pie ). This model is updated in event time and all data in Y column ( vertical column in WStandardItemModel ) were initialized to 0 ( or nan ). As we launched the app containing the chart, it's immediately freezing and consumes 100% CPU (we assume that this is an infinite loop ). We noticed that changing one data to a non zero value ( and non nan ) fixed the bug.
To reproduce this little issue, simply create a WStandardItemModel with zero vector column and try to bind it to the Y axis of a chart.
Up to now we fixed this in checking that the column vector was not a zero (or nan) vector.
Thomas & Mohamed.
Updated by Koen Deforche over 11 years ago
- Status changed from New to Feedback
- Assignee set to Koen Deforche
Hey,
With what Wt version are you experiencing this? This issue has been fixed in Wt 3.3.0.
Regards,
koen
Updated by Koen Deforche over 11 years ago
- Status changed from Feedback to Resolved
- Target version set to 3.3.0
Updated by Koen Deforche over 11 years ago
- Status changed from Resolved to Closed