cplussharp / graph-studio-next

GraphStudioNext is a tool for developers to build and test DirectShow Graphs
355 stars 94 forks source link

Crashes when attempting to render H.264 capture pin of a Logitech C920 (DirectShow WDM) web-camera as media source #296

Open amn opened 8 years ago

amn commented 8 years ago

The interesting detail here is that in comparison, Graph Studio renders the pin just fine, adding the Microsoft DTV-DVD Video Decoder (or LAV Video which I also have installed from LAV Filters release) to the capture pin of the media source.

Graph Studio Next crashes. I can provide crash logs or something, but you'd have to advise me.

Versions: Windows 7 x86-64 SP1 Graph Studio Next 64-bit 0.7.0.430

roman380 commented 8 years ago

It's worth using latest GraphStudioNext (esp. built from code) and posting detailed call stack at the point of exception (crash).

amn commented 8 years ago

I will attempt to build from source, re-test and get back to you with a call stack, if I can obtain one. I mostly develop with Linux these days, do you have some advice on obtaining call stack from VS or standalone debugging tool of some kind?

roman380 commented 8 years ago

You need to run GraphStudioNext under debugger (or run standalone, and use Visual Studio to attach to process). There in Visual Studio make sure to break on exception (Ctrl+Alt+E and check boxes), then once in a while it will crash and stop in debugger. Output window (Alt+2) will show most recent debug output. Call Stack (Alt+7) will show execution stack at exception thread. Make sure that it's the exception you look for, because there might be other that are handled by code and are invisible under normal execution.