C runtime error

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
officeboy Offline
Member
Posts: 75
Joined: Nov 2009
Reputation: 0
Post: #1
In trying to solve a problem related to media info, I totally wiped and reinstalled xbmc. Now when I try to play an MKV I get a C runtime error and xbmc locks up.
I have to drop back to desktop and end task to quit.

Windows 7 32bit
Athlon 64 3000+
2gb ram
Geforce6600GT 181.72
Realtek built in audio with spdif out
Xbmc svn 24195
Play an MKV video


http://pastebin.com/m48633649

and media info
General
Complete name : C:\Documents and Settings\All Users\Documents\My Videos\Cars.2006.720p.BluRay.DTS.x264-ESiR\Cars.2006.720p.BluRay.DTS.x264-ESiR.mkv
Format : Matroska
File size : 4.37 GiB
Duration : 1h 56mn
Overall bit rate : 5 365 Kbps
Encoded date : UTC 2007-11-13 23:05:10
Writing application : mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:40:07
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Cover : Yes / Yes / Yes

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 11 frames
Muxing mode : Container profile=Unknown@5.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 56mn
Bit rate : 3 748 Kbps
Nominal bit rate : 3 850 Kbps
Width : 1 280 pixels
Height : 536 pixels
Display aspect ratio : 2.35:1
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.228
Stream size : 3.05 GiB (70%)
Writing library : x264 core 56 svn-680
Encoding settings : cabac=1 / ref=8 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=7 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=2 / deadzone=6,6 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=3850 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=6 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.7:12.0
Language : English

Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 1h 56mn
Bit rate mode : Constant
Bit rate : 1 510 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 24 bits
Stream size : 1.23 GiB (28%)
Language : English

Text #1
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Language : English

Text #2
ID : 4
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Language : French

Text #3
ID : 5
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Language : Romanian

Text #4
ID : 6
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Language : Dutch

Text #5
ID : 7
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Language : Spanish
find quote
joshuass Offline
Fan
Posts: 422
Joined: Sep 2009
Reputation: 0
Post: #2
Not sure if the GL builds are having the same issues as the DX ones, but right now, SSA subtitle support is a bit goofy.

Do you have auto refresh rate enabled? Turn it off if you do. As thats where most of the issues are in the DX build with SSA subs. Again, not sure if the GL builds are affected though.

Does the C error result in a pop-up window in windows? Or does it just freeze up with no user notification?

Windows 7 x64 Home Premium
Gigabyte MA78GM-U2SH Mainboard
ATI HD3200 Onboard
AMD 7750BE Dual-Core 4.00GB RAM
ATI HD3200 HDMI Sound
HTPC HMDI -> ONKYO TX-SR605 -> Panasonic TH-46PZ85U Plasma
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,221
Joined: Oct 2003
Reputation: 178
Post: #3
1. Remove any msvc*.dll's from within the XBMC directory, and from within XBMC/system.
2. Start XBMC. It should fail to start with a similar error.
3. Install the MSVC2008 runtimes from Microsoft.
4. XBMC should now run.

Please confirm.

Cheers,
Jonathan

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
officeboy Offline
Member
Posts: 75
Joined: Nov 2009
Reputation: 0
Post: #4
That did the trick. Took me a bit to figure out to just delete and not try to replace the files but after they were gone, everything played great.

Thanks
find quote
WiSo Offline
Team-Kodi Developer
Posts: 2,745
Joined: Oct 2003
Reputation: 0
Location: Germany
Post: #5
@jmarshall: does vs2008 include the msvc?71 dlls or don't we need them anymore?
We could think of providing the vcredist with the installer and run it. Have seen this for another application I installed recently.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
oatmealjack Offline
Junior Member
Posts: 1
Joined: Nov 2009
Reputation: 0
Post: #6
I have had a similar problem. When I try to play a .mkv file an error window pops up saying "runtime error: r6034 An application has made an attempt to load the c runtime library incorrectly. Please contact the applications support team for more information." After I ok out of the message it pauses for several seconds then begins to play normally.
I tried removing the msvc*.dlls (msvcp71.dll and msvcr71.dll were in the folder), but when I started XBMC it ran the same (it did not "fail to start with a similar error") and installing the MSVC2008 runtimes from Microsoft also had no effect.
Could there possible be another location that the msvd*.dlls could be located that is causing the problem? I'm running r24883 on 32bit Windows 7 build 7100.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,221
Joined: Oct 2003
Reputation: 178
Post: #7
I can almost guarantee that it will be some other application on your path that has the dll's stored incorrectly. ImageMagick does this for instance.

Cheers,
Jonathan

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote