fivestarplus / mp4v2

Automatically exported from code.google.com/p/mp4v2
Other
0 stars 0 forks source link

--dump fails on debug build #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
First let me say thanks for doing this.  I use the mp4lib library in my
tagging program, MetaX for Windows, and it is severely limited, so I also
use AtomicParsley.  I hope to standardize on this new mp4v2 dll.  Also
thanks for building it for Visual Studio, as the old library had lots of
warnings and dependencies that made it hard to build.

One quick question.  I had a heck of a time debugging this, because when I
put a breakpoint on the first line in main in mp4file.cpp (   
mp4v2::util::FileUtility util( argc, argv );
) it never gets there.  I finally got to debug it by just running it,
letting it fail and then bringing up the debugger.  But I'm curious as to
how I can step through this from the beginning.

Again, thanks for the hard work.

Dan
What steps will reproduce the problem?
1. mp4file --dump <any m4v file>
2.
3.

What is the expected output? What do you see instead?
It faults (only in the debug version)

What version of the product are you using? On what operating system?
mp4v2-2.0-20090110

Please provide any additional information below.
In MP4BytesProperty::Dump, the call
text << (isprint( static_cast<char>(value[i]) ) ?
static_cast<char>(value[i]) : '.');
asserts because isprint, calls __fast_ch_check which calls _chvalidator
which then asserts if the char > 256.

Original issue reported on code.google.com by danahins...@gmail.com on 11 Feb 2009 at 8:47

GoogleCodeExporter commented 8 years ago

Original comment by Kona8l...@gmail.com on 17 May 2009 at 5:57

GoogleCodeExporter commented 8 years ago
fixed in r251.

Original comment by Kona8l...@gmail.com on 18 May 2009 at 1:54