Project

General

Profile

Bug #1986

Charts enter infinite loop when Y column equals 0 or nan

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

#1

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

#2

Updated by Koen Deforche over 7 years ago

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

Updated by Koen Deforche about 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF