Menu

#78 Stack Corruption Error under Visual Studio .NET

open
nobody
None
5
2005-05-11
2005-05-11
Anonymous
No

Hi there,

I got everything compiling and linking under Visual
Studio .NET but I got a runtime debug error when
running in debug mode saying "Run-Time Check Failure #2
- Stack around the variable 'vbrheaderdata' was
corrupted". It only seems to happen on some MP3 files,
not all.

If I select "Continue" it doesn't crash - it just keeps
on going until the next one. i suppose the hackiest
solution would be to disable runt-time error checking
but I am hoping there might be something else going
wrong that I am missing.

This is version 3.8.3 downloaded from sourceforge and
the error happens on return from
Mp3Info::Parse(ID3_Reader& reader, size_t mp3size) in
mp3_parse.cpp

Any suggestions?

Thanks,
Darryl

Discussion

  • T.H.F. Klok

    T.H.F. Klok - 2005-05-12

    Logged In: YES
    user_id=564388

    Please have a look at the file in cvs. Change const size_t
    VBR_HEADER_MAX_SIZE to 120 in mp3_parse.cpp.

     
  • Nobody/Anonymous

    Logged In: NO

    I get the same error using MS Visual Studio .Net Version
    2002

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.