Project

General

Profile

Actions

Bug #1986

closed

Charts enter infinite loop when Y column equals 0 or nan

Added by Anonymous almost 11 years ago. Updated over 10 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.

Actions #1

Updated by Koen Deforche almost 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

Actions #2

Updated by Koen Deforche almost 11 years ago

  • Status changed from Feedback to Resolved
  • Target version set to 3.3.0
Actions #3

Updated by Koen Deforche over 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF