Re: Multiprocessor problem?
Re: Multiprocessor problem?
- Subject: Re: Multiprocessor problem?
- From: Quinn <email@hidden>
- Date: Wed, 19 Mar 2003 10:56:06 +0000
At 9:40 +0000 18/3/03, Mark Hunt wrote:
BTW, does my buffer array need to be virtual memory safe?
No. User space code on Mac OS X does not have to worry about VM
(except insofar as it effect performance).
At 10:38 +0000 19/3/03, Mark Hunt wrote:
FWIW, the machine is too dead to "ping".
Is it too dead to attach with the kernel debugger?
At 9:40 +0000 18/3/03, Mark Hunt wrote:
The bug "seems" to have gone away, but I don't understand why this
would crash the Mac so comprehensively!
I'd be a lot happier if I knew.
To really know you'd have to back out your old code and actually
debug the crash. This is going to take some time. Alternatively,
given that non-privileged user space code is not supposed to *ever*
crash the kernel, you could create a reproducible test case and file
a bug.
btw The following code seems somewhat suspicious.
bcopy(&hdr->data[id].data, msg_queue[idx], count);
msg_queue[idx].size = count; // save packet size
Does the bcopy overwrite msg_queue[idx].size? If so, is the value
that you bcopy compatible with what the consumer thread does with it?
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.