Hi all,
I'm trying to use Qwt to plot accelerometer data @800Hz.
The application work, but it randomly crashes with error `double free or corruption (out)` while allocating data.

I use this code to update the plot:
Qt Code:
  1. void DataPlot::updateData( DataType type, QVector<double> ts, QVector<double> data, bool replot)
  2. {
  3. mData[type].mCurve->setSamples( ts, data );
  5. if(replot)
  6. this->replot();
  7. }
To copy to clipboard, switch view to plain text mode 

Where `ts` is the X axis, `data` is the Y axis and `mCurve` is a `QwtPlotCurve` curve.

Any idea or suggestion?

Thank you