hi
Although I normally post only device driver questions, I was hoping that one of the gurus on this site who have video driver and DirectShow experience might be able to give me suggestions. I hope this isn’t too far off a question for ntdev - if so, I apologize in advance.
I’m having trouble with a DirectShow app (console app) I wrote ( XP SP2 - filter graph containing video capture device (webcam) + DMO (Direct media object) ) - it inconsistently hangs unrecoverably (sometimes it takes 1/2 a day - sometimes only 10 minutes). When I run it in the Visual Studio debugger, I get the message “First chance exceptionat 0x7c812a5b ox00ff00ff:0xff0ff”. I looked up the address of 0x7c812a5b in the Modules listing, and it is within kernel32.dll.
When it hangs, the video freezes in the (DirectShow ) video preview window (that pops up when I run the graph) and I no longer see output in DbgView that I output during processing in the DMO for each frame.
Thinking I’d be able to get more info with windbg, I fired up a local connection. I finally got the problem to repro, but I don’t know where to proceed from here.
Could you offer suggestions? Note that I have very little DirectShow and/or COM experience.
I did remove the code that actually was messing with the frame video data - but it still excepts. I haven’t been able to use the process of elimination to isolate what I’m doing wrong.
Here’s the output:
(1a8.1d0): Unknown exception - code 00ff00ff (first chance)
(1a8.1d0): Unknown exception - code 00ff00ff (first chance)
(1a8.1d0): Unknown exception - code 00ff00ff (first chance)
(1a8.1d0): Unknown exception - code 00ff00ff (first chance)
(1a8.1d0): Unknown exception - code 00ff00ff (first chance)
(1a8.1d0): Unknown exception - code 00ff00ff (first chance)
(1a8.1d0): Unknown exception - code 00ff00ff (first chance)
(1a8.1d0): Unknown exception - code 00ff00ff (first chance)
(1a8.b0c): Break instruction exception - code 80000003 (first chance)
eax=7ffd9000 ebx=00000001 ecx=00000002 edx=00000003 esi=00000004 edi=00000005
eip=7c901230 esp=03ecffcc ebp=03ecfff4 iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000246
ntdll!DbgBreakPoint:
7c901230 cc int 3
When I look at the Processes and Threads debug window in windbg, it lists 005:1d0 as one of the threads.
Not sure what the 0x00ff00ff is or the 1a8.
thanks in advance