• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Multiprocessor problem?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Multiprocessor problem? (From: Mark Hunt <email@hidden>)

  • Prev by Date: Re: How to get the domain?
  • Next by Date: Re: Internal modem API's query
  • Previous by thread: Re: Multiprocessor problem?
  • Next by thread: Re: Multiprocessor problem?
  • Index(es):
    • Date
    • Thread