Project

General

Profile

Actions

Bug #1986

closed
KD

Charts enter infinite loop when Y column equals 0 or nan

Bug #1986: Charts enter infinite loop when Y column equals 0 or nan

Added by Anonymous about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
06/17/2013
Due date:
% Done:

0%

Estimated time:

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.

KD Updated by Koen Deforche about 13 years ago Actions #1

  • 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

KD Updated by Koen Deforche about 13 years ago Actions #2

  • Status changed from Feedback to Resolved
  • Target version set to 3.3.0

KD Updated by Koen Deforche about 13 years ago Actions #3

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom