Ticket #314 (closed Defect: invalid)
1.0b7.5 will not upgrade Metadata
| Reported by: | kadeschs | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Other | Version: | 1.0b7 |
| Keywords: | Cc: |
Description
I've tried to upgrade Sapphire from 1.0b6.5 (717) to 1.0b7.5 (927) on AppleTV 2.3.1 via the Software Menu. After upgrading and restarting finder, I get a "Upgrade Metadata" menu item. Selecting that always causes "an error occurred" message and restarts Finder. I've downgraded back to version 1.0b6.5 and everything works fine again. Does this software work under AppleTV version 2.3.1? The ONLY reason I'm still using 2.3.1 is that Sapphire crashes AppleTV 2.4 too much.
Change History
comment:2 Changed 4 years ago by kadeschs
Not sure if the error produced any logging but here is the last crash that was logged.
Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 Thread 0 Crashed: 0 libobjc.A.dylib 0x90ac33e7 objc_msgSend + 23 1 ...frontrow.appliance.Sapphire 0x0a74bb27 -[SapphireVirtualDirectory reloadDirectoryContents] + 39 2 com.apple.Foundation 0x924efca2 __NSFireTimer + 199 3 com.apple.CoreFoundation 0x908bfa65 CFRunLoopRunSpecific + 3341 4 com.apple.frontrow.backrow 0x9e3b91bd -[BRAppManager run] + 1464 5 com.apple.frontrow 0x00005c79 0x1000 + 19577 6 com.apple.frontrow 0x00468b66 0x1000 + 4619110 7 com.apple.frontrow 0x00468a8d 0x1000 + 4618893
comment:3 Changed 4 years ago by pat4040
Same problem here, exact same problem. I upgrade thru Software Menu and the update seems to look OK. Then Upgrade Metadata option on Sapphire menu is clicked and I get yellow yield triangle with exclamation point and words "an error occurred, press play pause to restart", Upon restart Sapphire menu still shows Upgrade Metadata and if clicked error recurs. Restore to 6.5 backup and all is fine.
comment:4 Changed 4 years ago by gbooker
The "an error occurred" is not a crash, it is throwing an exception, which should be logged in the console. Step 3 explicitly asks to check the console for this very reason.
pat4040, your report is not helpful as it includes no new information.
comment:5 Changed 4 years ago by kadeschs
"tail /Library/Logs/Console?/501/console.log" returns nothing concerning Sapphire. Only that rowmote started on the second try. No references to Sapphire.
comment:6 Changed 4 years ago by gbooker
Without the log information, there's nothing we can do.
BTW, your crash log is with the 6.x series of Sapphire, not 7. !reloadDirectoryContents is no longer called using a timer.
comment:7 Changed 4 years ago by kadeschs
Yeah, it looked like all 6.x series stuff. Sapphire 6 hadn't played well on ATV 2.3.1 since I downgraded from ATV 2.4. However, since I've downgraded from 7, it appears 6.x now works well once again. I'll see if I can get some kind of information with 7. So far I haven't been able to really find anything concerning the problem.
comment:8 Changed 4 years ago by kadeschs
-bash-2.05b$ tail /Library/Logs/Console/501/console.log 2009-10-10 10:13:18.502 Finder[239] [DEBUG] +[XBMCAppliance initialize] 2009-10-10 10:13:18.509 Finder[239] [INFO] Launcher running in pure mode 2009-10-10 10:13:18.509 Finder[239] [DEBUG] +[XBMCAppliance className] 2009-10-10 10:13:18.690 Finder[239] [DEBUG] +[XBMCAppliance className] called for whitelist check, so I'm lying, m'kay? 2009-10-10 10:13:19.320 Finder[239] <AsyncSocket 0x1b63450 local 127.0.0.1 5844 remote 127.0.0.1 50661 has queued 0 reads 0 writes, no current read, no current write, read stream 0x1b7c0b0 open, write stream 0x1b189c0 open> connected (127.0.0.1:50661) 2009-10-10 10:13:26.562 Finder[239] *** +[SapphireFrontRowCompat usingLeopard]: selector not recognized Oct 10 10:13:26 AppleTV FrontRow[239]: *** NSEXCEPTION RAISED ***\n NSInvalidArgumentException: *** +[SapphireFrontRowCompat usingLeopard]: selector not recognized\n 0x925d4a8f: +[NSObject doesNotRecognizeSelector:] (in Foundation)\n 0x925279af: -[NSObject(NSForwardInvocation) forward::] (in Foundation)\n 0x90ac6c01: _objc_msgForward (in libobjc.A.dylib)\n 0x0a7888e8: -[SapphireMetaDataUpgrading initWithScene:] (in Sapphire)\n 0x0a737323: -[SapphireAppliance upgradeControllerWithScene:] (in Sapphire)\n 0x9e41e039: -[BRApplianceManager controllerForApplianceKey:identifier:] (in BackRow)\n 0x9e3ca1a7: -[BRApplianceBrowserControl controllerForCurrentSelection] (in BackRow)\n 0x9e46bc5c: -[BRMainMenuManager(Private) _browserItemSelected:] (in BackRow)\n 0x90ac6cb6: objc_msgSendv (in libobjc.A.dylib)\n 0x92528a48: -[NSInvocation invoke] (in Foundation)\n 0x9e4903e8: -[BRInvocationSelectionHandler handleSelectionForControl:] (in BackRow)\n 0x9e3d576e: -[BRApplianceBrowserControl(ListNotifications) _categorySelected:] (in BackRow)\n 0x90ac6cb6: objc_msgSendv (in libobjc.A.dylib)\n 0x92528a48: -[NSInvocation invoke] (in Foundation)\n 0x9e4903e8: -[BRInvocationSelectionHandler handleSelectionForControl:] (in BackRow)\n ...more... Oct 10 10:13:33 AppleTV FrontRow[239]: ITCopyPhotoDatabase returned -43 Oct 10 10:13:34 AppleTV /System/Library/CoreServices/UserNotificationCenter.app/Contents/MacOS/UserNotificationCenter: mount_smbfs/SMB_AUTH_HEADER_KEY/SMB_AUTH_MSG_WITH_PARAMETERS_KEY Oct 10 10:13:37 AppleTV /System/Library/CoreServices/UserNotificationCenter.app/Contents/MacOS/UserNotificationCenter: mount_smbfs/SMB_AUTH_HEADER_KEY/SMB_AUTH_MSG_WITH_PARAMETERS_KEY -bash-2.05b$

BugReporting