# HG changeset patch # User Chris Cannam # Date 1488887324 0 # Node ID edee37ae5882352f9047f9abc5c2c424bc4111c1 # Parent aadfb395e9332a40a4ba2fe33fb7039be96ceeb4 Debug output diff -r aadfb395e933 -r edee37ae5882 data/fileio/CodedAudioFileReader.cpp --- a/data/fileio/CodedAudioFileReader.cpp Mon Mar 06 17:37:23 2017 +0000 +++ b/data/fileio/CodedAudioFileReader.cpp Tue Mar 07 11:48:44 2017 +0000 @@ -482,6 +482,7 @@ m_data.insert(m_data.end(), buffer, buffer + count); } catch (const std::bad_alloc &e) { m_data.clear(); + SVCERR << "CodedAudioFileReader: Caught bad_alloc when trying to add " << count << " elements to buffer" << endl; m_dataLock.unlock(); throw e; }