One of the nasty issues with LogProcessExceptions utility was that it was unable to attach to service processes and track them to catch their exceptions. The actual problem was that the processes were not listed in first place, so there was nothing to attach to. Access and security requirements necessary for a process to debug [...]
Archive for the ‘Seriously’ Category
LogProcessExceptions: Log Service Process Exceptions
Posted: 29th April 2012 by Roman in ATL, Seriously, Utilities, WTLTags: .DMP, ATL, C++, debug, debugger, exception, minidump, service, support, troubleshooting, utility
Oops, AMAP_3D_TARGET
Posted: 13th February 2012 by Roman in Seriously, VideoTags: 3D, DirectDraw, DirectShow, mixing, renderer, Video
Unfortunately, AMAP_3D_TARGET appears to be useless. Internally, surface allocation comes up with the following capabilities for the surface: DDSCAPS_VIDEOMEMORY | DDSCAPS_LOCALVIDMEM | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_3DDEVICE. Sadly, DirectDraw responds (might respond?) with E_NOTIMPL. While one can advance one step further by removing DDSCAPS_VIDEOMEMORY | DDSCAPS_LOCALVIDMEM, another problem is hit that you are no longer able to [...]
Hardware assisted memory corruption detection
Posted: 19th November 2011 by Roman in ATL, Seriously, SourceTags: ATL, corruption, debug, detection, exception, hardware, memory, protection
So you got a memory corruption issue with a piece of software. It comes in a unique scenario along the line of having a huge pile of weird code running well most of the time and then, right out of the blue, a corruption takes place followed by unexpected code execution and unstable software state [...]
Below is the chart for distribution of software piracy cases for product X by workstation locale. Russia (more exactly, Russian speaking community) is not the primary market for the product, nor it is the place where it is specifically popular or well-known for a reason. Welcome to the land of the brave, and guys who [...]
A tricky EVR bug was caught up: input pin may falsely report disconnected state
Posted: 26th July 2011 by Roman in Seriously, VideoTags: bug, evr, microsoft, Source, Video
Crime An application which builds a DirectShow graph unexpectedly started failing with VFW_E_NOT_CONNECTED (0×80040209) error code. Scene The problem takes place during DirectShow graph building, yet in stopped state. Specific call which appeared to be giving out the error in first place appears to be EVR input pin’s IPin::ConnectionMediaType, and the problem is also specific [...]
Another VFW/DirectShow Pain in the Ass: picapmk4.dll
Posted: 21st July 2011 by Roman in Seriously, VideoTags: codec, compatibility, crapware, DirectShow, issue, picapmk4, vfw, Video
A customer complained on video playback problems which had symptoms of software compatibility issue. At certain operation modes software froze leaving the only option to kill process and restart. I appeared that the system has a third party DLL installed, a new hero name’s – picapmk4.dll. The DLL registers itself as Video for Windows codec [...]
LogProcessExceptions: Minidumps on User Request
Posted: 19th July 2011 by Roman in ATL, Seriously, UtilitiesTags: .DMP, ATL, C++, debug, debugger, minidump, support, troubleshooting, utility
An updated version of LogProcessExceptions utility is given an additional option to create minidump .DMP files for debugged process on user request. This is in particular useful in conjunction with flag choices (on the previous page of the wizard). Download links: Partial Visual C++ .NET 2010 source code: Trac, Subversion Binaries: Win32 – LogProcessExceptions.exe, x64 [...]
