[OpenAFS-port-darwin] 1.6.0pre4 AFSBackgrounder - "get new token" fails using aklog
Arthur Prokosch
arthurp@csail.mit.edu
Fri, 27 May 2011 16:34:42 -0400
--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On a clean install of OpenAFS 1.6.0pre4 on Mac OS 10.6
I'm getting the attached message in Console, starting with
"AFSBackgrounder: HIToolbox: ignoring exception
'getNewTicketIfNotPresent'..."
To reproduce:
Install our site's /Library/Preferences/edu.mit.Kerberos -- from
http://tig.csail.mit.edu/twiki/bin/view/TIG/InstallingKerberosOnMacOSX
Install openafs 1.6.0pre4 for 10.6 on 10.6.7 with all updates
without rebooting, choose settings for System Preferences -> OpenAFS...
...AFS menu, Backgrounder, Use aklog: YES
...Get Krb5 credential at login, get credential at login time: NO
Go to AFSBackgrounder icon -> get new token
...and no dialog box ever appears; it just fails silently while
logging the uncaught exception.
>From Terminal, kinit && aklog works fine.
I've seen this on two MacBook Pros, one Mid 2009 with 32-bit kernel,
the other Early 2011 with 64-bit kernel, over multiple reinstalls
each.
These steps work fine on the computer with 1.4.14.1 (when configured
for 32-bit kernel). Given the AFSBackgrounder and aklog changes that
hit in 1.6.0pre4 and pre3 according to the release notes, I wanted to
test OpenAFS-1.6.0pre3-2-gff7e8 which I'd been downloading from the
link in
https://lists.openafs.org/pipermail/port-darwin/2011-March/001355.html
but it looks like Derrick has cleaned up his home directory. :-(
As with my email from a few minutes ago, I've got a test laptop that
can be booted into either 32-bit or 64-bit kernel, if that helps.
-arthur.
--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="afsbackgrounder-getNewTicketIfNotPresent-fail.txt"
5/27/11 3:31:02 PM AFSBackgrounder[287] HIToolbox: ignoring exception 'getNewTicketIfNotPresent' that raised inside Carbon event dispatch
(
0 CoreFoundation 0x00007fff804d17b4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x00007fff82e540f3 objc_exception_throw + 45
2 AFSBackgrounder 0x0000000100008f32 +[Krb5Util getNewTicketIfNotPresent] + 436
3 AFSBackgrounder 0x0000000100003b28 -[AFSPropertyManager aklog:noKerberosCall:] + 33
4 AFSBackgrounder 0x000000010000813b -[AFSBackgrounderDelegate getToken:] + 91
5 AppKit 0x00007fff849b4e9a -[NSApplication sendAction:to:from:] + 95
6 AppKit 0x00007fff849d941e -[NSMenuItem _corePerformAction] + 365
7 AppKit 0x00007fff849d9188 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 121
8 AppKit 0x00007fff84c5d279 -[NSMenu _internalPerformActionForItemAtIndex:] + 35
9 AppKit 0x00007fff84b0ef77 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 136
10 AppKit 0x00007fff849bb95c NSSLMMenuEventHandler + 321
11 HIToolbox 0x00007fff829c67f7 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1002
12 HIToolbox 0x00007fff829c5d46 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 395
13 HIToolbox 0x00007fff829e3a81 SendEventToEventTarget + 45
14 HIToolbox 0x00007fff82a12c35 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 387
15 HIToolbox 0x00007fff82a3fa0a SendMenuCommandWithContextAndModifiers + 56
16 HIToolbox 0x00007fff82a3f9c2 SendMenuItemSelectedEvent + 101
17 HIToolbox 0x00007fff82a3f8d2 _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 150
18 HIToolbox 0x00007fff82b48a69 _ZL19PopUpMenuSelectCoreP8MenuData5PointdS1_tjPK4RecttjS4_S4_PK10__CFStringPP13OpaqueMenuRefPt + 1618
19 HIToolbox 0x00007fff82b48dc2 _HandlePopUpMenuSelection7 + 665
20 AppKit 0x00007fff84b0bf29 _NSSLMPopUpCarbonMenu3 + 3710
21 AppKit 0x00007fff84d3d9ee -[NSStatusItem popUpStatusItemMenu:] + 157
22 AFSBackgrounder 0x0000000100008968 -[AFSMenuExtraView mouseDown:] + 72
23 AppKit 0x00007fff8495934f -[NSWindow sendEvent:] + 5409
24 AppKit 0x00007fff84d3c9ec -[NSStatusBarWindow sendEvent:] + 68
25 AppKit 0x00007fff8488ea86 -[NSApplication sendEvent:] + 4719
26 AppKit 0x00007fff848254da -[NSApplication run] + 474
27 AppKit 0x00007fff8481e1a8 NSApplicationMain + 364
28 AFSBackgrounder 0x0000000100000e24 start + 52
)
--IJpNTDwzlM2Ie8A6--