Skip to content

Instantly share code, notes, and snippets.

@tomatolog
Created February 6, 2013 07:49
Show Gist options
  • Select an option

  • Save tomatolog/4721022 to your computer and use it in GitHub Desktop.

Select an option

Save tomatolog/4721022 to your computer and use it in GitHub Desktop.
more info on large spa fail
--- a/src/sphinx.cpp 2013-02-06 11:48:18.000000000 +-0400
+++ b/src/sphinx.cpp 2013-02-06 11:47:57.000000000 +-0400
@@ -15405,13 +15405,14 @@
m_pDocinfoIndex = m_pDocinfo.GetWritePtr()+iDocinfoSize;
} else
{
if ( iDocinfoSize < iRealDocinfoSize )
{
- m_sLastError.SetSprintf ( "precomputed chunk size check mismatch" );
+ m_sLastError.SetSprintf ( "precomputed chunk size check mismatch (size="UINT64_FMT", real="UINT64_FMT", min-max="UINT64_FMT", count="UINT64_FMT")",
+ iDocinfoSize, iRealDocinfoSize, m_uMinMaxIndex, m_iDocinfo );
return false;
}
m_iDocinfoIndex = ( ( iDocinfoSize - iRealDocinfoSize ) / (m_bId32to64?iStride2:iStride) / 2 ) - 1;
// prealloc docinfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment