Kernel Panics
Kernel Panics
- Subject: Kernel Panics
- From: Sebastian Krauß <email@hidden>
- Date: Sun, 22 Oct 2006 18:22:16 +0200
Hello list,
one of my apps seems to be causing Kernel Panics at the moment the
remote client connects to the Mac.
It uses a custom service, the code is partially altered code from the
RFCommServerSample; the code for incoming connections looks like this:
-(void) newRFCOMMChannelOpened:(IOBluetoothUserNotification *)
inNotification channel:(IOBluetoothRFCOMMChannel *)newChannel {
if ((newChannel)&&[newChannel isIncoming]&&([newChannel
getChannelID]==serverChannelID)) {
if ([newChannel setDelegate:self]==kIOReturnSuccess) {
RFCOMMChannel = newChannel;
[RFCOMMChannel retain];
[self stopProvidingServices];
[connectionTarget performSelector:handleRemoteConnectionSelector];
} else {
RFCOMMChannel = NULL;
}
}
}
A panic log sent to me by a user looks like this:
Unresolved kernel trap(cpu 0): 0x700 - Program DAR=0x000000000891D000
PC=0x00000000026E3B40
Latest crash info for cpu 0:
Exception state (sv=0x385B3500)
PC=0x026E3B40; MSR=0x00089030; DAR=0x0891D000;
DSISR=0x42000000; LR=0x002FA2C0; R1=0x21EEB8E0; XCP=0x0000001C (0x700
- Program)
Backtrace:
0x00000000 0x00614E48 0x0060D0E4 0x0060D694 0x00611B68 0x00611274
0x00603654 0x005FE828 0x0060A550 0x005FE770 0x005EF158
0x005EB81C 0x005EB7B0 0x005EAF64
0x006182BC 0x00618714 0x0003C884 0x000A9314
Kernel loadable modules in backtrace (with dependencies):
com.apple.iokit.IOBluetoothFamily(1.7.8f2)@0x5e5000
Proceeding back via exception chain:
Exception state (sv=0x385B3500)
previously dumped as "Latest" state. skipping...
Exception state (sv=0x391BFC80)
PC=0x00000000; MSR=0x0000D030; DAR=0x00000000;
DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
Kernel version:
Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006;
root:xnu-792.12.6.obj~1/RELEASE_PPC
panic(cpu 0 caller 0xFFFF0007): 0x700 - Program
Latest stack backtrace for cpu 0:
Backtrace:
0x00095138 0x00095650 0x00026898 0x000A7E04 0x000AB780
Proceeding back via exception chain:
Exception state (sv=0x385B3500)
PC=0x026E3B40; MSR=0x00089030; DAR=0x0891D000;
DSISR=0x42000000; LR=0x002FA2C0; R1=0x21EEB8E0; XCP=0x0000001C (0x700
- Program)
Backtrace:
0x00000000 0x00614E48 0x0060D0E4 0x0060D694 0x00611B68 0x00611274
0x00603654 0x005FE828 0x0060A550 0x005FE770 0x005EF158
0x005EB81C 0x005EB7B0 0x005EAF64
0x006182BC 0x00618714 0x0003C884 0x000A9314
Kernel loadable modules in backtrace (with dependencies):
com.apple.iokit.IOBluetoothFamily(1.7.8f2)@0x5e5000
Exception state (sv=0x391BFC80)
PC=0x00000000; MSR=0x0000D030; DAR=0x00000000;
DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
Kernel version:
Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006;
root:xnu-792.12.6.obj~1/RELEASE_PPC
Does anybody have an idea what's going wrong here?
Besides the fact that an application running with normal user
privileges shouldn't ever be able to cause a Kernel Panic.
Somewhat helpless...
Sebastian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden