[vlc-devel] [PATCH]Win32: Generate stacktrace on unhandled exception

Geoffroy Couprie geo.couprie at gmail.com
Sun Feb 1 14:39:07 CET 2009

On Fri, Jan 30, 2009 at 4:03 PM, Rémi Denis-Courmont
<rdenis at simphalempin.com> wrote:
> By the way, I don't know if Windows has lower-level yet format-capable
> output functions...? Using C run-time FILE pointer I/O from a crash handler
> is perhaps not the safest idea...

I didn't see any function like that. It's still possible to work with
buffers, but it's reinventing the wheel. That's what bothers me the
most with crash reporting: I don't know what I can use. I can't
predict if the process memory is screwed up, or if there's enough
memory to create the crashdump. Anyway, when this function is called,
we're in the middle of a crash, so we can't assume everything will
work fine.

More information about the vlc-devel mailing list