On 28 June 2011 04:03, Peter Desjardins <peter.desjardins...@gmail.com> wrote:
> AudioPreviewThread::requestPreview for file id 1, start -0.064062500R,
> end  8.081250000R, width 1018, notify 0x1d8cc60
> AudioPreviewThread::requestPreview - token = 4
> AudioPreviewThread::process()
> AudioPreviewThread::process() file id 1
> terminate called after throwing an instance of 'std::out_of_range'
>  what():  basic_string::substr

I expect this is the substr() call at PeakFile.cpp:815.  Note that
start is negative in the first line I quoted above, so startPeak, and
thus peakNumber, and thus charNum will be negative at this point in
PeakFile::getPreview.

There is probably more than one way to fix this, but I'm rather
concerned that I still haven't managed to reproduce it in the first
place in order to test any fix...


Chris

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to