Page 1 of 1

MIcrosoft Visual C++ Runtime Library Error

Posted: 26 Nov 2013 20:43
by Waidesworld
OK seen some posts, but nothing this specific so I am creating a new topic on it. Apologies if I have overlooked an earlier version. Recently I upgraded to 2.1.0 (Rincewind). I operate a Windows 7 32-bit box. I am not stating that it's a VLC issue, but it only occurs when I am finished with what I am using it for (listening to voicemails). The sound ends and then up pops the error, regular as clockwork.

"The applications has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information."

I click OK and it goes away then when I return to the VLC window, I get the next popup from VLC
" A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available"

Click "close program"

Nothing, nada, rien du tout.

Re: MIcrosoft Visual C++ Runtime Library Error

Posted: 27 Nov 2013 11:32
by Jean-Baptiste Kempf
Can you try 2.1.1 ?

Re: MIcrosoft Visual C++ Runtime Library Error

Posted: 04 Dec 2013 07:07
by Dan33185
I am having the same problem. I will drag a VIdeo_TS folder to VLC, and it loads fine, but clicking on any of the menu options causes this error message to pop up.

Re: MIcrosoft Visual C++ Runtime Library Error

Posted: 21 Dec 2014 19:44
by ElCoyote_
Hi everyone,
I have been consistently seeing this error since the 2.0.x times.
Over the months, I have gathered some more data:
- It only happens on Windows (XP and 7 tested both 32bit and 64bit). MacOSX and Linux builds are fine.
- It only happens with some DVD 'images' (or VIDEO_TS folders).
- It only happens if I set the language to 'french' using the DVD menus or VLC's own audio menu (it's no joke, it's really so). Maybe other languages could be affected by this but 'English' usually plays fine.
- It always happens at a precise time in the main feature video/audio stream (can happen 2-3 times over the length of a full movie).
- There is no way to avoid skip by scrolling forward, only way to skip it is to 'jump-over' the chapter with the defective audio stream.
- And more suprisingly, it always happens with a 'forgeign language' DVD stream.. I.E: If I look at the movie in English, it will play fine but -SOME- of my DVD images crash with that error when I am playing a movie with french audio stream.
- It can be tested quickly : scrolling through movie when the affected stream is playing will stumble upon the issue and crash very quickly (I.E: you don't need to -WAIT- for the movie to go over the part where it crashes, you can just fast-foward).

This issue is affecting quite a non-minor number of my kid's ISO images (animated movies that I decrypted and stored on a share drive as ISO files).
Even some ISO movies that I got from other sources seem to be randomly affected.

I'm guessing that perhaps there is some strange interaction with the way VLC handles DVD audio streams and how Windows VC++ Runtime handles them.

I'm willing to help debug this issue. I will provide affected ISO images if you wish so. Are the debug builds more verbose? Is there a tool that I should install to provide you with more information that just that error?

Thanks,

Vincent

Re: MIcrosoft Visual C++ Runtime Library Error

Posted: 21 Dec 2014 20:58
by ElCoyote_
There are other reports of a similar problem:
https://forum.videolan.org/viewtopic.ph ... 88#p350400
https://forum.videolan.org/viewtopic.php?f=14&t=103719
I'll try one of the debug builds later today..
Thanks,
Vincent

Re: MIcrosoft Visual C++ Runtime Library Error

Posted: 21 Dec 2014 21:20
by ElCoyote_
I just tried one of the 2.2.0 debug builds with the GDB instructions:
Build: vlc-2.2.0-rc2-20141219-0202
http://nightlies.videolan.org/build/win ... -debug.zip
Instructions and GDB executable from there: https://wiki.videolan.org/Tutorial_for_ ... der_Win32/

At about 49 secs into the movie ('UP' an ISO from a Disney DVD), I get the C++ runtime crash:
[...crash here...]
warning: Invalid parameter passed to C runtime function.
warning: Invalid parameter passed to C runtime function.
[Thread 7812.0x1e74 exited with code 3]
[Thread 7812.0x2204 exited with code 3]
[Thread 7812.0x1e7c exited with code 3]
[Thread 7812.0x2014 exited with code 3]
[Thread 7812.0x236c exited with code 3]
[Thread 7812.0x1d70 exited with code 3]
[Thread 7812.0x1d2c exited with code 3]
[Thread 7812.0x2198 exited with code 3]
[Thread 7812.0x23fc exited with code 3]
[Thread 7812.0x21c8 exited with code 3]
[Thread 7812.0xaac exited with code 3]
[Thread 7812.0x1124 exited with code 3]
[Thread 7812.0x1d84 exited with code 3]
[Thread 7812.0x2024 exited with code 3]
[Thread 7812.0x1208 exited with code 3]
[Thread 7812.0x1808 exited with code 3]
[Thread 7812.0xabc exited with code 3]
[Thread 7812.0x1134 exited with code 3]
[Thread 7812.0x5d0 exited with code 3]
[Thread 7812.0x22d8 exited with code 3]
[Thread 7812.0x15a8 exited with code 3]
[Thread 7812.0x788 exited with code 3]
[Thread 7812.0x1df0 exited with code 3]
[Thread 7812.0x1f74 exited with code 3]
[Thread 7812.0x161c exited with code 3]
[Thread 7812.0x1cc8 exited with code 3]
[Thread 7812.0x2144 exited with code 3]
[Thread 7812.0x22dc exited with code 3]
[Thread 7812.0x1834 exited with code 3]
[Thread 7812.0x213c exited with code 3]
[Inferior 1 (process 7812) exited with code 03]
(gdb) bt
No stack.
(gdb)

Looks like VLC is terminating by itself..
Do you want me to open a ticket with this information?
Thank you,
Vincent

Re: MIcrosoft Visual C++ Runtime Library Error

Posted: 22 Dec 2014 03:26
by ElCoyote_
I have opened a ticket here:
https://trac.videolan.org/vlc/ticket/11376
Is there some known routine that you'd like me to 'break' in order to inspect these 'invalid parameters'?
Any other ideas?
Thanks,
Vincent