Notices
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Visual C++ runtime error

Old 24th March 2010 | 21:34
  #1 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
Visual C++ runtime error

I've Googled 'til I'm blind. I am trying to watch a streaming video from my local council (.asx file for an .asf video). Three other clips on their site run fine.

Whichever browser I choose, as it buffers to run, I get 'Visual C++ Runtime Library

runtime error -
Abnormal programme termination.'


and the browser is shut down. Where do I start? presumably I need to reinstall something? I've run CCleaner through the registry.

Last edited by BOAC; 24th March 2010 at 22:53.
BOAC is offline  
Reply
Old 24th March 2010 | 22:01
  #2 (permalink)  
More bang for your buck
 
Joined: Nov 2005
Posts: 3,513
Likes: 1
From: land of the clanger
Logically, if the other three clips on their site run ok, and assuming they're the same format, then the file must be corrupted causing the error.
green granite is offline  
Reply
Old 24th March 2010 | 22:22
  #3 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
My thoughts, but a mate viewed it ok, and my laptop does too. Confusing?

He sent me the URL for the vid, and it more or less runs in VLC. The others all open in WMP 'as advertised'.


EG This link works
one

This one does not
two

EDIT: Should have said - both my machines XP SP3

Last edited by BOAC; 24th March 2010 at 22:52.
BOAC is offline  
Reply
Old 24th March 2010 | 23:34
  #4 (permalink)  
 
Joined: Nov 2000
Posts: 3,443
Likes: 1
From: Cambridge, England, EU
'Visual C++ Runtime Library

runtime error -
Abnormal programme termination.'
Well, about 1000:1 on this means that you're running something written and compiled with Visual C++ that has a bug in it.

One might guess that it's a codec with a bug, and the same codec is run from your different browsers. Further one might assume that the bug doesn't always happen (otherwise why would the author have shipped the software??) but is triggered by something it can't cope with in the incoming data stream.

The "correct" approach to this is

(a) find out which piece of code is crashing
(b) contact the authors asking for a fixed version.

Your suggestion of "reinstalling something" will work, provided that you correctly identify what to reinstall (see (a) above), and of course provided that you don't simply reinstall the same thing with the same bug, but instead reinstall a later version that has the bug fixed (see (b) above).

Identifying exactly which codec is being called to process a particular file is beyone me, I'm afraid, and I used to write software in this area. The dynamic knitting that goes on inside Windows might as well be black magic.
Gertrude the Wombat is offline  
Reply
Old 25th March 2010 | 08:43
  #5 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
GtW - yes, that is pretty much what Google concluded for me. I reinstalled theWMP codec with no change.

I expected M$ to have some ideas, but the only 'help' page from them tells me it is 'not for my version of Windows'.

The puzzle is that it works on other machines and on mine with the other URLs.
BOAC is offline  
Reply
Old 25th March 2010 | 08:52
  #6 (permalink)  
More bang for your buck
 
Joined: Nov 2005
Posts: 3,513
Likes: 1
From: land of the clanger
A few years ago I would have suggested it might be a RAM module boundary problem, ie where the address changes from one module to another, but I thought those problems didn't happen any more.
green granite is offline  
Reply
Old 25th March 2010 | 14:40
  #7 (permalink)  
 
Joined: Nov 2000
Posts: 3,443
Likes: 1
From: Cambridge, England, EU
I expected M$ to have some ideas
Don't see why. Sure they sold the compiler, but you can't hold them responsible for all the buggy code that other people choose to write with it.
Gertrude the Wombat is offline  
Reply
Old 25th March 2010 | 15:21
  #8 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
GtW - I agree, but when you ask the KB for help with XP Runtime library problems I do not expect an answer that does not apply to XP! Your (logical) solution does not help when it is just one file on just one machine that has the problem. That I cannot fathom.

Where on earth do I look for clues? My whole add/remove is littered with M$ things that mention C++ - which module will this 'library' be in so I can 'update' it?
BOAC is offline  
Reply
Old 25th March 2010 | 16:10
  #9 (permalink)  
15 Anniversary
 
Joined: Feb 2008
Posts: 73
Likes: 4
From: UK
Audio & video under Windows is a bit of a gamble. Codecs in Windows often 'bid' for support of types of media file (or stream): there might perhaps be 2 or more codecs on your computer that can handle 'format x', and the codecs are permitted to express their 'keenness' to handle that format. Windows will attempt to assemble components in order to render these formats, & part of its decision is influenced by which codes ‘bid’ the highest. Sometimes the bid values that the programmer chose may mean that the correct choice doesn't get made.

You may have installed something (probably not explicitly, but as part of something else) that might be causing the error. Or you might not have. So the problem might or might not lie with Microsoft's codecs.

The specs for parts some types of media encoding are also open to interpretation, & this can cause issues too.
Generally to try to solve these issues, there are tools such as GSpot, Graphedit etc. but it’s often more trouble than it’s worth, particularly when the video format is itself merely a container for other media types (as is the case with .asx).
Best advice is usually to ensure that you’ve all Windows updates installed, & if that doesn’t fix it, give up.
Tim00 is offline  
Reply
Old 25th March 2010 | 16:52
  #10 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
I have even reinstalled Visual Studio 2008 Express to no avail.

Tim - re the last sentence - I concur fully, and I will put this down as one of the great M$ unknowns.

Thanks to all for the time and effort.
BOAC is offline  
Reply
Old 25th March 2010 | 20:58
  #11 (permalink)  
 
Joined: Nov 2000
Posts: 3,443
Likes: 1
From: Cambridge, England, EU
Where on earth do I look for clues?
Like I said, it's beyond me, and I've read all the technical specs and tried to program this stuff.

Once Upon A Time there used to be a Dr Watson thingy that would produce a crash report with rather more clues in it, like for example the name of the module that crashed, but I haven't seen that for years.

If it happens on my machine, which has VC++ installed, it'll ask me "do you want to run this in the debugger" and I'll have a good chance of being able to sort it, but I'm not about to suggest that you fork out a grand for a tool you don't know how to use!
Gertrude the Wombat is offline  
Reply

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Thread Tools
Search this Thread

Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.