Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EMBED tag, SMIL files and memory leaks....



Greetings,

I'm trying to help a friend out here, and I'm not familiar with all the inner workings of QuickTime/SMIL/etc... But it seems obvious that there is either something radically wrong with what they are trying to do, or QuickTime has sprung a memory leak.

For background, this system was working fine until he applied system/ quicktime updates to his 10.3 system bringing it to 10.3.9 and the latest available QuickTime. Prior to that, it seemed fine.

The problem:

He is playing a series of image files using a web page with a EMBED tag that references SMIL files that reference the images.

The HTML EMBED is something like this:

<embed src="../mov/smil1.mov" BGCOLOR="#000000" autoplay="true" controller="false" width="800" height="620" pluginspage="http:// www.apple.com/quicktime/download/" QTNEXT1="<smil2.mov> T<myself>" QTNEXT2="<smil3.mov> T<myself>" QTNEXT3="GOTO0 T<myself>">

In his application, he has 17 movies included, not just the three referenced above. This seems to be valid based on a cursory read of http://www.apple.com/quicktime/tutorials/embed2.html#qtnextn which says this ehmtod is valid for making and endlessly repeating playlist.

Eventually the QT Plugin causes whatever viewer you use to crash... He has tried Safari, Opera, iCab and even RealPlayer, all of them grow in memory usage over time to in excess of 1GB and then crash. Here is a sample crash report from Opera... All the crash logs for the various browsers look the same for the thread crashing.

Command: Opera
Path:    /Applications/Opera.app/Contents/MacOS/Opera
Version: Opera 8.5.2173 (8.5)
PID:     433
Thread:  0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000003

Thread 0 Crashed:
0 com.apple.QuickTime 0x900d9bb8 TaskMovie_priv + 0xb4c
1 com.apple.CoreFoundation 0x9047d500 __CFRunLoopDoTimer + 0xf4
2 com.apple.CoreFoundation 0x9047a860 __CFRunLoopRun + 0x5c8
3 com.apple.CoreFoundation 0x9047ed74 CFRunLoopRunSpecific + 0x148
4 com.apple.HIToolbox 0x92886e10 RunCurrentEventLoopInMode + 0xac
5 com.apple.HIToolbox 0x9288d53c ReceiveNextEventCommon + 0x17c
6 com.apple.HIToolbox 0x928af138 AcquireNextEventInMode + 0x48
7 com.apple.HIToolbox 0x928ac608 RunApplicationEventLoop + 0x88
8 com.operasoftware.Opera 0x000045cc dyld_stub_binding_helper + 0x1b4
9 com.operasoftware.Opera 0x00004000 __code_start__ + 0x198
10 com.operasoftware.Opera 0x00003ea4 __code_start__ + 0x3c


 Compare with an iCab report:

Command: iCab
Path:    /Net-Temp/iCab old
Version: ??? (???)
PID:     509
Thread:  0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000003

Thread 0 Crashed:
0 com.apple.QuickTime 0x900d9bb8 TaskMovie_priv + 0xb4c
1 com.apple.CoreFoundation 0x9047d500 __CFRunLoopDoTimer + 0xf4
2 com.apple.CoreFoundation 0x9047a860 __CFRunLoopRun + 0x5c8
3 com.apple.CoreFoundation 0x9047ed74 CFRunLoopRunSpecific + 0x148
4 com.apple.HIToolbox 0x92886e10 RunCurrentEventLoopInMode + 0xac
5 com.apple.HIToolbox 0x92889eb0 GetNextEventMatchingMask + 0x1a0
6 com.apple.HIToolbox 0x9289d988 WNEInternal + 0xa0
7 com.apple.HIToolbox 0x928ae6a0 WaitNextEvent + 0x4c
8 iCab Carbon (English) 0x01040e68 ProcessNextEvent__12LApplicationFv + 0x84
9 iCab Carbon (English) 0x01040b80 Run__12LApplicationFv + 0x118
10 iCab Carbon (English) 0x01218054 main + 0x258



The mov files being included are SMIL files like this:

<smil xmlns:qt="http://www.apple.com/quicktime/resources/ smilextensions" qt:autoplay="true" qt:time-slider="false">
<head>
<layout>
<root-layout width="620" height="620" background-color="black" />
<region id="region_1" left="0" top="0" width="620" height="620" fit="fill" />
</layout>
</head>
<body>
<seq>
<img src="../001.gif" alt="JPEG or GIF image" region="region_1" begin="0s" dur="1s" qt:immediate-instantiation="true" />
<img src="../002.gif" alt="JPEG or GIF image" region="region_1" begin="0s" dur="1s" />
<img src="../003.gif" alt="JPEG or GIF image" region="region_1" begin="0s" dur="1s" />
<img src="../004.gif" alt="JPEG or GIF image" region="region_1" begin="0s" dur="1s" />
<img src="../005.gif" alt="JPEG or GIF image" region="region_1" begin="0s" dur="1s" />
<img src="../006.gif" alt="JPEG or GIF image" region="region_1" begin="0s" dur="1s" />
<img src="../007.gif" alt="JPEG or GIF image" region="region_1" begin="0s" dur="1s" />
<img src="../008.gif" alt="JPEG or GIF image" region="region_1" begin="0s" dur="1s" />
<img src="../009.gif" alt="JPEG or GIF image" region="region_1" begin="0s" dur="1s" />
<img src="../0010.gif" alt="JPEG or GIF image" region="region_1" begin="0s" dur="1s" />
</seq>
</body>
</smil>



So, having spewed all that in here, is there any place to start looking for something obvious as to why QuickTime now starts gobbling memory when this runs?


 Thanks!!

 Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.