xbmc aborts on itunes unprotected m4v files
#1
When I go to play an itunes m4v (unprotected video file) xbmc aborts and dumps out a backtrace and memory map, which follow. Any thoughts? This is xbmc from the svn, pre-9.10 r20693, compiled 5/27/09. It is Fedora 10, kernel 2.6.27.24-170.2.68.fc10.i686 #1 SMP, with an nvidia 9500 GT, opengl 3.0.

Any thoughts? Here is the memory map and backtrace:

The XBMC_HOME environment variable is not set.
*** glibc detected *** /usr/local/share/xbmc/xbmc.bin: munmap_chunk(): invalid pointer: 0xb73329c8 ***
======= Backtrace: =========
/lib/libc.so.6[0xe653a4]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x8bf591]
/usr/lib/libstdc++.so.6(_ZdaPv+0x1d)[0x8bf5ed]
/usr/local/share/xbmc/xbmc.bin(_ZN9CDVDAudio7DestroyEv+0x52)[0x859fe92]
/usr/local/share/xbmc/xbmc.bin(_ZN15CDVDPlayerAudio11CloseStreamEb+0x8e)[0x85a593e]
/usr/local/share/xbmc/xbmc.bin(_ZN10CDVDPlayer16CloseAudioStreamEb+0x48)[0x85ac788]
/usr/local/share/xbmc/xbmc.bin(_ZN10CDVDPlayer6OnExitEv+0xc9)[0x85b1439]
/usr/local/share/xbmc/xbmc.bin(_ZN7CThread12staticThreadEPv+0x70)[0x8887450]
/usr/local/share/xbmc/xbmc.bin[0x8814fd6]
/usr/lib/libSDL-1.2.so.0[0x78cc7bb]
/usr/lib/libSDL-1.2.so.0[0x791b2cd]
/lib/libpthread.so.0[0x3d951f]
/lib/libc.so.6(clone+0x5e)[0xeda04e]
======= Memory map: ========
00110000-00130000 r-xp 00000000 fd:00 6322930 /usr/lib/libSDL_mixer-1.2.so.0.2.6
00130000-00139000 rw-p 0001f000 fd:00 6322930 /usr/lib/libSDL_mixer-1.2.so.0.2.6
00139000-0015c000 rw-p 00139000 00:00 0
0015c000-00179000 r-xp 00000000 fd:00 6319771 /usr/lib/libcdio.so.7.1.1
00179000-0017a000 rw-p 0001d000 fd:00 6319771 /usr/lib/libcdio.so.7.1.1
0017a000-0017e000 rw-p 0017a000 00:00 0
0017e000-00186000 r-xp 00000000 fd:00 5218644 /lib/librt-2.9.so
00186000-00187000 r--p 00007000 fd:00 5218644 /lib/librt-2.9.so
00187000-00188000 rw-p 00008000 fd:00 5218644 /lib/librt-2.9.so
00188000-0018a000 r-xp 00000000 fd:00 5218517 /lib/libcom_err.so.2.1
0018a000-0018b000 rw-p 00001000 fd:00 5218517 /lib/libcom_err.so.2.1
0018b000-0018d000 r-xp 00000000 fd:00 6318168 /usr/lib/libXau.so.6.0.0
0018d000-0018e000 rw-p 00001000 fd:00 6318168 /usr/lib/libXau.so.6.0.0
0018e000-0018f000 r-xp 00000000 fd:00 6318269 /usr/lib/libxcb-xlib.so.0.0.0
0018f000-00190000 rw-p 00000000 fd:00 6318269 /usr/lib/libxcb-xlib.so.0.0.0
00190000-001b1000 r-xp 00000000 fd:00 6317536 /usr/lib/liblzo2.so.2.0.0
001b1000-001b2000 rw-p 00020000 fd:00 6317536 /usr/lib/liblzo2.so.2.0.0
001b2000-001b4000 rwxp 00000000 00:0f 371 /dev/zero
001b4000-001d4000 r-xp 00000000 fd:00 5218468 /lib/ld-2.9.so
001d5000-001d6000 r--p 00020000 fd:00 5218468 /lib/ld-2.9.so
001d6000-001d7000 rw-p 00021000 fd:00 5218468 /lib/ld-2.9.so
001d7000-001ed000 r-xp 00000000 fd:00 6318853 /usr/lib/libfribidi.so.0.3.0
001ed000-001ee000 rw-p 00015000 fd:00 6318853 /usr/lib/libfribidi.so.0.3.0
001ee000-00204000 r-xp 00000000 fd:00 6317328 /usr/lib/libmad.so.0.2.1
00204000-00205000 rw-p 00015000 fd:00 6317328 /usr/lib/libmad.so.0.2.1
00205000-00241000 r-xp 00000000 fd:00 6322874 /usr/lib/libGLEW.so.1.5.1
00241000-00243000 rw-p 0003c000 fd:00 6322874 /usr/lib/libGLEW.so.1.5.1
00243000-00245000 rw-p 00243000 00:00 0
00245000-00342000 r-xp 00000000 fd:00 6317083 /usr/lib/libX11.so.6.2.0
00342000-00345000 rw-p 000fd000 fd:00 6317083 /usr/lib/libX11.so.6.2.0
00345000-00346000 rw-p 00345000 00:00 0
00346000-0034d000 r-xp 00000000 fd:00 6319350 /usr/lib/libSM.so.6.0.0
0034d000-0034e000 rw-p 00006000 fd:00 6319350 /usr/lib/libSM.so.6.0.0
0034e000-00352000 r-xp 00000000 fd:00 6321257 /usr/lib/libXfixes.so.3.1.0
00352000-00353000 rw-p 00003000 fd:00 6321257 /usr/lib/libXfixes.so.3.1.0
00353000-00356000 r-xp 00000000 fd:00 5218490 /lib/libdl-2.9.so
00356000-00357000 r--p 00002000 fd:00 5218490 /lib/libdl-2.9.so
00357000-00358000 rw-p 00003000 fd:00 5218490 /lib/libdl-2.9.so
0035a000-00381000 r-xp 00000000 fd:00 5218496 /lib/libm-2.9.so
00381000-00382000 r--p 00026000 fd:00 5218496 /lib/libm-2.9.so
00382000-00383000 rw-p 00027000 fd:00 5218496 /lib/libm-2.9.so
00383000-00388000 r-xp 00000000 fd:00 6318170 /usr/lib/libXdmcp.so.6.0.0
00388000-00389000 rw-p 00004000 fd:00 6318170 /usr/lib/libXdmcp.so.6.0.0
0038b000-0038c000 r-xp 0038b000 00:00 0 [vdso]
0038c000-0039a000 r-xp 00000000 fd:00 6321420 /usr/lib/liblber-2.4.so.2.2.0
0039a000-0039b000 rw-p 0000d000 fd:00 6321420 /usr/lib/liblber-2.4.so.2.2.0
0039b000-0039d000 r-xp 00000000 fd:00 6365260 /usr/lib/gconv/CP1252.so
0039d000-0039e000 r--p 00001000 fd:00 6365260 /usr/lib/gconv/CP1252.so
0039e000-0039f000 rw-p 00002000 fd:00 6365260 /usr/lib/gconv/CP1252.so
003a1000-003b4000 r-xp 00000000 fd:00 5218519 /lib/libz.so.1.2.3
003b4000-003b5000 rw-p 00012000 fd:00 5218519 /lib/libz.so.1.2.3
003b7000-003c2000 r-xp 00000000 fd:00 6320177 /usr/lib/libSDL_image-1.2.so.0.1.5
003c2000-003c3000 rw-p 0000b000 fd:00 6320177 /usr/lib/libSDL_image-1.2.so.0.1.5
003c3000-003d3000 rw-p 003c3000 00:00 0
003d3000-003e9000 r-xp 00000000 fd:00 5218515 /lib/libpthread-2.9.so
003e9000-003ea000 r--p 00015000 fd:00 5218515 /lib/libpthread-2.9.so
003ea000-003eb000 rw-p 00016000 fd:00 5218515 /lib/libpthread-2.9.so
003eb000-003ed000 rw-p 003eb000 00:00 0
003f1000-0043c000 r-xp 00000000 fd:00 6319924 /usr/lib/libjasper.so.1.0.0
0043c000-00440000 rw-p 0004a000 fd:00 6319924 /usr/lib/libjasper.so.1.0.0
00440000-00446000 rw-p 00440000 00:00 0
00446000-00474000 r-xp 00000000 fd:00 6318761 /usr/lib/libgssapi_krb5.so.2.2
00474000-00475000 rw-p 0002e000 fd:00 6318761 /usr/lib/libgssapi_krb5.so.2.2
00475000-0047e000 r-xp 00000000 fd:00 6318622 /usr/lib/libkrb5support.so.0.1
0047e000-0047f000 rw-p 00008000 fd:00 6318622 /usr/lib/libkrb5support.so.0.1
0047f000-00484000 r-xp 00000000 fd:00 5218434 /lib/libnss_dns-2.9.so
00484000-00485000 r--p 00004000 fd:00 5218434 /lib/libnss_dns-2.9.so
00485000-00486000 rw-p 00005000 fd:00 5218434 /lib/libnss_dns-2.9.so
0048b000-005f3000 r-xp 00000000 fd:00 6320250 /usr/lib/libsamplerate.so.0.1.4
005f3000-005f4000 rw-p 00167000 fd:00 6320250 /usr/lib/libsamplerate.so.0.1.4
005f9000-00608000 r-xp 00000000 fd:00 6321215 /usr/lib/libXext.so.6.4.0
00608000-00609000 rw-p 0000e000 fd:00 6321215 /usr/lib/libXext.so.6.4.0
0060b000-0062f000 r-xp 00000000 fd:00 6320496 /usr/lib/libenca.so.0.5.1
0062f000-00632000 rw-p 00024000 fd:00 6320496 /usr/lib/libenca.so.0.5.1
00632000-0064d000 r-xp 00000000 fd:00 6318267 /usr/lib/libxcb.so.1.0.0
0064d000-0064e000 rw-p 0001b000 fd:00 6318267 /usr/lib/libxcb.so.1.0.0
0064e000-00652000 r-xp 00000000 fd:00 5218685 /lib/libcap.so.2.10
00652000-00653000 rw-p 00003000 fd:00 5218685 /lib/libcap.so.2.10
00655000-0067a000 r-xp 00000000 fd:00 5218497 /lib/libexpat.so.1.5.2
0067a000-0067c000 rw-p 00024000 fd:00 5218497 /lib/libexpat.so.1.5.2
0067e000-006bd000 r-xp 00000000 fd:00 5218686 /lib/libdbus-1.so.3.4.0
006bd000-006be000 r--p 0003e000 fd:00 5218686 /lib/libdbus-1.so.3.4.0
006be000-006bf000 rw-p 0003f000 fd:00 5218686 /lib/libdbus-1.so.3.4.0
006c1000-00750000 r-xp 00000000 fd:00 6318166 /usr/lib/libfreetype.so.6.3.18
00750000-00754000 rw-p 0008e000 fd:00 6318166 /usr/lib/libfreetype.so.6.3.18
00754000-0075f000 r-xp 00000000 fd:00 5218436 /lib/libnss_files-2.9.so
0075f000-00760000 r--p 0000a000 fd:00 5218436 /lib/libnss_files-2.9.so
00760000-00761000 rw-p 0000b000 fd:00 5218436 /lib/libnss_files-2.9.so
00763000-00791000 r-xp 00000000 fd:00 6318298 /usr/lib/libfontconfig.so.1.3.0
00791000-00792000 rw-p 0002e000 fd:00 6318298 /usr/lib/libfontconfig.so.1.3.0
00794000-007aa000 r-xp 00000000 fd:00 5218687 /lib/libnsl-2.9.so
007aa000-007ab000 r--p 00016000 fd:00 5218687 /lib/libnsl-2.9.so
007ab000-007ac000 rw-p 00017000 fd:00 5218687 /lib/libnsl-2.9.so
007ac000-007ae000 rw-p 007ac000 00:00 0
007b0000-007bd000 r-xp 00000000 fd:00 5218501 /lib/libgcc_s-4.3.2-20081105.so.1
007bd000-007be000 rw-p 0000c000 fd:00 5218501 /lib/libgcc_s-4.3.2-20081105.so.1
007c0000-007e6000 r-xp 00000000 fd:00 6317209 /usr/lib/libpng12.so.0.35.0
007e6000-007e7000 rw-p 00025000 fd:00 6317209 /usr/lib/libpng12.so.0.35.0
007e9000-007ec000 r-xp 00000000 fd:00 5218697 /lib/libuuid.so.1.2
007ec000-007ed000 rw-p 00003000 fd:00 5218697 /lib/libuuid.so.1.2
007ef000-007f8000 r-xp 00000000 fd:00 6321258 /usr/lib/libXcursor.so.1.0.2
007f8000-007f9000 rw-p 00008000 fd:00 6321258 /usr/lib/libXcursor.so.1.0.2
007fe000-00800000 r-xp 00000000 fd:00 6321216 /usr/lib/libXinerama.so.1.0.0
00800000-00801000 rw-p 00001000 fd:00 6321216 /usr/lib/libXinerama.so.1.0.0
00806000-008ed000 r-xp 00000000 fd:00 6318608 /usr/lib/libstdc++.so.6.0.10
008ed000-008f1000 r--p 000e6000 fd:00 6318608 /usr/lib/libstdc++.so.6.0.10
008f1000-008f3000 rw-p 000ea000 fd:00 6318608 /usr/lib/libstdc++.so.6.0.10
008f3000-008f8000 rw-p 008f3000 00:00 0
008fa000-008fb000 r-xp 00000000 fd:00 6321630 /usr/lib/tls/libnvidia-tls.so.180.51
008fb000-008fc000 rw-p 00000000 fd:00 6321630 /usr/lib/tls/libnvidia-tls.so.180.51
00901000-00903000 r-xp 00000000 fd:00 6365436 /usr/lib/gconv/ISO8859-1.so
00903000-00904000 r--p 00001000 fd:00 6365436 /usr/lib/gconv/ISO8859-1.so
00904000-00905000 rw-p 00002000 fd:00 6365436 /usr/lib/gconv/ISO8859-1.so
0090c000-0091f000 r-xp 0000000/usr/local/bin/xbmc: line 7: 7342 Aborted /usr/local/share/xbmc/xbmc.bin "$@"
Reply
#2
Ahh very interesting.

Please read this post here: Sticky: [LINUX] HOW-TO post about a problem in a useful manner

I suggest editing your post and making appropriate amendments according to the guidelines set forth.
Reply
#3
Uhm, we don't support DRM files, heck that's the entire point of DRM, it shouldn't be playable in other applications as they code copy the data.

DRM is the enemy!

Cheers,
Tobias
If you have problems please read this before posting

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

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#4
Is the unprotected m4v file playable in vlc? If not, then it's still got drm.
Reply
#5
Oh darn, didn't read that it was unprotected Smile haha.
But yeah, if it fails in VLC thats a good test, an even better one is if it fails in ffplay but VLC is an easy way to check.
If you have problems please read this before posting

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

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#6
Yeah, ok, it still had DRM. I wish there was an easy way to tell which m4v files have DRM and which don't. Probably is a way, I just don't know it.
Reply
#7
Simple. If they're bought from itunes and they're video, they got drm. If they're music and you haven't paid to update them to itunes plus format, they got drm. Although why you would pay for something that inherently limits you in the first place is beyond my understanding. That's why I never buy anything that I can't copy. I like having backups that don't rely on a third party to play back.
Reply
#8
Actually, there is drm free video now, too. I have several of them. Just like everyone else, all I want to do is play whatever I get on whatever machine/software/device I own. It's a simple thing, really.
Reply

Logout Mark Read Team Forum Stats Members Help
xbmc aborts on itunes unprotected m4v files0