[OpenAFS] 1.6.0 causes kernel panic (OS X 10.7.1 32-bit kernel)

Derrick Brashear shadow@gmail.com
Fri, 2 Sep 2011 00:22:49 -0400

On Thu, Sep 1, 2011 at 10:51 PM, Derrick Brashear <shadow@gmail.com> wrote:
> a decoded panic (/Library/OpenAFS/Tools/tools/decode-panic) is always
> more interesting. I decoded it, tho, and...
> In any case, i have seen this one before, in 10.6, 32 bit.
> 0x22032e <panic+510>: =A0 mov =A0 =A00x85fab4,%eax
> 0x2ccb0f <kernel_trap+1535>: =A0 =A0add =A0 =A0$0x9c,%esp
> 0x2e2e34 <return_from_trap+212>: =A0 =A0 =A0 =A0mov =A0 =A00x8(%esp),%esp
> 0x4943a7d8 <_rxevent_Post+552>: mov =A0 =A0%ecx,(%eax)
> 0x4943acf4 <rxevent_Post+100>: =A0mov =A0 =A0%eax,-0x20(%ebp)
> 0x4943367c <rxi_ReapConnections+4812>: =A0add =A0 =A0$0x128,%esp
> 0x4941a0c8 <rx_StartServer+376>: =A0 =A0 =A0 =A0mov =A0 =A0-0x4(%ebp),%ea=
> 0x493d87e3 <afs_ResourceInit+395>: =A0 =A0 =A0movl =A0 $0x49474948,(%esp)
> 0x49456e99 <afs_InitSetup+169>: movl =A0 $0x1,0x49472cf4
> 0x494574ee <afs_DaemonOp+78>: =A0 mov =A0 =A0%eax,-0x34(%ebp)
> in that case, it went away... when I recompiled with a different
> Xcode, namely, 3.2.3; For Lion, that's not an option.
> Fun thing is, providing information to track this to Apple is probably
> a huge adventure, because it's probably not our bug.
> I'll see what I can come up with.

Try this. No code changes, so it's still labelled (correctly) 1.6.0.
I smashed my face against the compiler a bit and it spit this out.
It's ok on the 32 bit test box (where I couldn't produce the above
crash with a debug build, but got a different crash).