[FFmpeg-devel] [PATCH 3/3] Add assert that the avcodec lockisheld when initializing static VLC tables.
Reimar.Doeffinger at gmx.de
Tue Dec 4 23:45:14 CET 2012
On Tue, Dec 04, 2012 at 06:32:00AM -0500, Don Moir wrote:
> This is a windows app and no beta testers are going to have any
> linux / MinGW / Windows debugging tools. The beta testers are not
I know, I was thinking about an option to include e.g. gdb in
testing versions, but I think it is overkill.
> The point about debug dlls for beta testing is to include named
> functions but not sure that would work. If it did work it doesn't do
> much good for shipping version.
You skipped my question about what you mean by "debug dll".
I believe that term is usually used to mean "compiled without
optimization", which is very different from "compiled with
debug information" which would be enough.
Either way, since the users are not developers, they do not need to know
You only need to know the address, you can then use tools like
addr2line to get line number info as long as _you_ have the
debug info for the binary they were running.
A simple way to get the addresses on Windows is by calling
CaptureStackBackTrace (on Linux with glibc backtrace() is the
If you use ASLR (which I hope you do) you might need some tricks
to figure out the DLL load address and compensate for it.
More information about the ffmpeg-devel