• 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: open ("/dev/tty.xxxx"...) for my driver crashes the system
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open ("/dev/tty.xxxx"...) for my driver crashes the system


  • Subject: Re: open ("/dev/tty.xxxx"...) for my driver crashes the system
  • From: Garth Cummings <email@hidden>
  • Date: Tue, 27 Jun 2006 10:27:50 -0700

Hi Pavan,

On Jun 27, 2006, at 2:08 AM, Pavan Chebbi wrote:

I want to know what happens when I call open() on my virtual ports from a program? I want to know how do I register the open routine for my driver. I know the routines acquirePort, releasePort, etc but the machine crashes the moment I call open from an application. ( open("/dev/tty.xxxx", O_RDWR | O_NOCTTY | O_NONBLOCK ))

The panic log says unresolved kernel trap 0x300 data access.

The IOSerialBSDClient handles the transition from BSD syscalls to your I/O Kit driver.

I highly recommend you decode the panic backtrace to see precisely where the system panicked. All you know at this point is that a bad memory reference occurred, such as dereferencing a NULL or uninitialized pointer. This could be just a simple bug in your code.

Good luck,
--gc
__________________________________________________________________
Garth Cummings  email@hidden
Sr. Software Engineer
Apple Developer Technical Support

<http://developer.apple.com/technicalsupport>





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: open ("/dev/tty.xxxx"...) for my driver crashes the system
      • From: Pavan Chebbi <email@hidden>
References: 
 >open ("/dev/tty.xxxx"...) for my driver crashes the system (From: Pavan Chebbi <email@hidden>)

  • Prev by Date: Re: kextunload problem
  • Next by Date: Enable/Disable CPU via CLI
  • Previous by thread: open ("/dev/tty.xxxx"...) for my driver crashes the system
  • Next by thread: Re: open ("/dev/tty.xxxx"...) for my driver crashes the system
  • Index(es):
    • Date
    • Thread