Weird bug + solution: VC++ 6.0 Debug / Win98 / Matrox G450 DualHead / device=trio.386 [386enh]
-
Recently I encountered a weird problem: when running debug mode in Microsoft VC++ 6.0, passing the first breakpoint (or second press of "Step Into/F11") produced blue screen of death saying "A fatal exception occurred in ... VXD TRIOVXD..."… I found that this behavior was independent of application being debugged, and after wasting some time trying to find something related in DevStudio settings - but everything looked fine - I started to think what have had changed in the system since the last time I've been working with debug. The only change that occurred to me is that I installed Matrox G450 DualHead card instead of old ATI 128 Rage. So I went back, removed Matrox, uninstalled drivers, put ATI, but the problem still persisted. What was suspicious though, that at some point of dealing with old/new card drivers (I do not remember what stage it was exactly) I got exactly the same blue screen message… So, it convinced me even further that the problem originated in graphic card, presumably Matrox, and then I did all kinds of things - downloaded updated drivers, uninstalled, reinstalled, physically removed and installed new/old card, etc. - with no result. Finally, I searched system files for any reference to TRIO, and found the line device=trio.386 in [386enh] block of system.ini file. I deleted it, partly expecting that the machine will not boot, but it did, and this fixed the problem, without any other noticeable effect… It is still quite obscure to me where this line came from, should it be there at all or not, and what does it mean, so if anybody can shed light on this issue, I'll be very grateful. Regards, Igor Kagan http://igoresha.virtalave.net