Ticket #160 (closed Defect: invalid)

Opened 7 years ago

Last modified 6 years ago

Odd behavior with m4v files on AppleTV

Reported by: jbuzbee Owned by:
Priority: normal Milestone:
Component: Playback Version: 1.0b6
Keywords: Cc:

Description

Beta 6 on AppleTV 2.01. I recently Handbrake-ripped a few DVDs using the pre-set AppleTV settings in order to get the new enhanced audio support, but I am seeing some odd behavior from Sapphire when I attempt to play them back. The first odd thing I noticed is that when I navigate to the movie in the virtual All Movies menu, the "size" field shows 32K when in reality the files are around 2.4 Gig. The files are on a network-mounted drive (I've tried both NFS and SMB with the same behavior). When I select the movie, I get a quick "Loading DVD.." display and then I get dumped back to the menu or the Finder crashes.

The really odd thing I see is that when I navigate to one of the movies directly, i.e. not through the Virtual directory, Sapphire will play the files correctly. And when I stop, the movie, the display shows all of the correct A/V data including the proper size. But when I go back to the movie through the Virtual menu, the A/V data is still minimal with the 32K size and attempting to play fails.

I've tried clearing the metadata, turning AC3 passthrough on and off and renaming a problematic file with no change in behavior. Looking at the plist data, I see that the size is negative, but this appears to be the case with a number of my movies. Playing the files back in Quicktime on my MacBook? is successful as is playing the files with ATVFiles on the AppleTV.

Attachments

CrashReporter.log Download (31.5 KB) - added by jbuzbee 7 years ago.
Crash log

Change History

comment:1 follow-up: ↓ 2 Changed 7 years ago by gbooker

  • Milestone set to Awaiting User Feedback

And the log files contain????? BugReporting

comment:2 in reply to: ↑ 1 Changed 7 years ago by jbuzbee

Replying to gbooker:

And the log files contain????? BugReporting

Sorry - Here's a snippet, let me know if I got the right section:

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0xa1b1c1d3

Thread 0 Crashed:
0   libobjc.A.dylib                     0x90ac33e7 objc_msgSend + 23
1   com.apple.CoreFoundation            0x9089794f __CFSetFindBuckets1b + 173
2   com.apple.CoreFoundation            0x90897028 CFSetGetValue + 201
3   com.apple.CoreFoundation            0x90896e41 __CFRunLoopFindMode + 85
4   com.apple.CoreFoundation            0x908c71ab CFRunLoopRemoveTimer + 206
5   com.apple.CoreFoundation            0x908c740c CFRunLoopTimerInvalidate + 314
6   ...frontrow.appliance.Sapphire      0x0aa30c3a -[SapphireMetaDataCollection writeMetaData] + 42
7   ...frontrow.appliance.Sapphire      0x0aa2c56b -[SapphireBrowser willBeExhumed] + 283
8   com.apple.frontrow.backrow          0x9e34388e -[BRControllerStack(TransactionEngine) _processPopTransaction:] + 352

comment:3 follow-up: ↓ 4 Changed 7 years ago by gbooker

It asked for the console as well. In addition, your crash log is very suspicious; because it contains calls which don't follow any chain in the code.

Changed 7 years ago by jbuzbee

Crash log

comment:4 in reply to: ↑ 3 Changed 7 years ago by jbuzbee

Replying to gbooker:

It asked for the console as well. In addition, your crash log is very suspicious; because it contains calls which don't follow any chain in the code.

Here's the console output from a new crash

Apr 27 16:07:12 AppleTV crashdump[338]: Finder crashed
2008-04-27 16:07:15.475 Finder[339] settings facade <ATVSettingsFacade: 0x130b8c0>
Apr 27 16:07:15 AppleTV /System/Library/PrivateFrameworks/AppleTV.framework/Resources/SettingsHelper: Request to change power settings: 0
Apr 27 16:07:16 AppleTV /System/Library/PrivateFrameworks/AppleTV.framework/Resources/SettingsHelper: WDOG: reset boot count to zero
Apr 27 16:07:17 AppleTV crashdump[338]: crash report written to: /Users/frontrow/Library/Logs/CrashReporter/CrashReporter.log
2008-04-27 16:07:23.736 Finder[339] success loading AppleShareClient
SSE3EMU - This code is copyright 2007 Turbo (Mike Byrne) and MAY NOT be distributed.  All rights reserved.
2008-04-27 16:07:24.795 Finder[339] +[SapphireAppliance className] called for Leopard/ATV2 whitelist check, so I'm lying, m'kay?

I don't know why the traceback would look suspect. I've attached a new, complete log from this new crash.

comment:5 follow-up: ↓ 6 Changed 7 years ago by gbooker

Did anything precede the crash, such as exceptions. This is explicitly mentioned in BugReporting.

Again, your crashlog is suspect. itemSelected: does not call _processNextTransaction.

comment:6 in reply to: ↑ 5 ; follow-up: ↓ 7 Changed 7 years ago by jbuzbee

Replying to gbooker:

Did anything precede the crash, such as exceptions. This is explicitly mentioned in BugReporting.

A tail-f on the log while browsing around shows nothing unusual (e.g. exceptions) until the crashes, as detailed above, occur. These crashes only occur on m4v files. Also note that when I can get a m4v to play, I get odd behavior as well. I see my receiver 5.1 indicators flash as if it's trying to lock-on, but then it rarely (never?) does. Sometimes I just get stereo, other times I get no sound at all. I can play these properly, with 5.1, on the AppleTV using ATVFiles, but I much prefer Sapphire's metadata-organized interface.

Again, your crashlog is suspect. itemSelected: does not call _processNextTransaction.

I'm using a binary version downloaded from nanopi.net, so I don't have any explanation for differences. Maybe I just need to re-install.

comment:7 in reply to: ↑ 6 Changed 7 years ago by jbuzbee

Replying to jbuzbee:

Replying to gbooker:

Again, your crashlog is suspect. itemSelected: does not call _processNextTransaction.

I'm using a binary version downloaded from nanopi.net, so I don't have any explanation for differences. Maybe I just need to re-install.

After a removal, re-download and re-install as documented in the nanopi.net instructions, I get the same behavior.

Apple TV OS Version 10.4.7 (Build 8N5455)
2008-05-01 17:15:02 -0600
2008-05-01 17:15:03.085 Finder[181] settings facade <ATVSettingsFacade: 0x130b8c0>^M
May  1 17:15:03 AppleTV /System/Library/PrivateFrameworks/AppleTV.framework/Resources/SettingsHelper: Request to change power settings: 0
May  1 17:15:03 AppleTV /System/Library/PrivateFrameworks/AppleTV.framework/Resources/SettingsHelper: WDOG: reset boot count to zero
May  1 17:15:07 AppleTV crashdump[179]: crash report written to: /Users/frontrow/Library/Logs/CrashReporter/CrashReporter.log
2008-05-01 17:15:12.269 Finder[181] success loading AppleShareClient
SSE3EMU - This code is copyright 2007 Turbo (Mike Byrne) and MAY NOT be distributed.  All rights reserved.
2008-05-01 17:15:13.288 Finder[181] +[SapphireAppliance className] called for Leopard/ATV2 whitelist check, so I'm lying, m'kay?
13  com.apple.frontrow.backrow          0x9e314bb4 -[BRControl(ControlTree) removeFromParent] + 56
14  com.apple.frontrow.backrow          0x9e30224d -[BRControllerStack(TransactionEngine) _processNextTransaction] + 979
15  ...frontrow.appliance.Sapphire      0x0a562b94 -[SapphireBrowser itemSelected:] + 1636
16  com.apple.Foundation                0x924e4ee7 _nsnote_callback + 230
17  com.apple.CoreFoundation            0x908b6536 __CFXNotificationPost + 345
18  com.apple.CoreFoundation            0x908b63d2 _CFXNotificationPostNotification + 645
19  com.apple.Foundation                0x924e01cc -[NSNotificationCenter postNotificationName:object:userInfo:] + 121
20  com.apple.Foundation                0x924e014d -[NSNotificationCenter postNotificationName:object:] + 55
21  com.apple.frontrow.backrow          0x9e333df1 -[BRListControl(ScrollControl) _selectCurrentItem] + 71
22  com.apple.frontrow.backrow          0x9e332fab -[BRListControl brEventAction:] + 221
23  com.apple.frontrow.backrow          0x9e332c37 -[BRControl brEventAction:] + 58
24  ...ance.Sapphire.CompatClasses      0x085e75b5 -[SapphireMediaMenuController brEventAction:] + 206
25  ...frontrow.appliance.Sapphire      0x0a5639ee -[SapphireBrowser brEventAction:] + 174
26  com.apple.frontrow.backrow          0x9e332c37 -[BRControl brEventAction:] + 58
27  com.apple.frontrow.backrow          0x9e334c46 -[BRControllerStack brEventAction:] + 57

comment:8 Changed 7 years ago by gbooker

I think you're misinterpreting what I am saying. When I say the log is suspect, I mean that it cannot be trusted to provide reliable data, not that you did something wrong. This is typical of a memory issue. Since Sapphire is a plugin, there is no easy way to narrow down the real issue.

I can tell you, ATV 2.0.x is unstable. It crashes in random places, completely unrelated to the plugin used. I have crashlogs which show bugs in the graphics processing for Quicktime and the like.

comment:10 in reply to: ↑ 9 Changed 6 years ago by gbooker

  • Status changed from new to closed
  • Resolution set to invalid
  • Milestone Awaiting User Feedback deleted

8 months; no really useful information. Closing

Note: See TracTickets for help on using tickets.