Kevent/Kqueue causing kernel panics
site_archiver@lists.apple.com Delivered-To: Darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=3X3txZTgQRuNK0XcLDeq8QvIdYvYka9TIYTQ+pZXfAc=; b=oSdCePeqLta3BklU6ybwqyuX5w1GznlziXNLCTsgT3X89sjTn950xXSI6YiPZ4rrtg zdF7chdow1yypoYKCqFWZS+vs9Z+WYyv2YAB6mTUfZ7wHrONfKifSOYgFwYWi86WQapm mhqoF9odLCI8KCkPYo9/UjpaclgmoYlSRLDIM= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=FayczJdl0E5EL0fCF4VVRk42Db02nsPkUsRkcVhPeVCD7T7KOzRUuBHiNAyUe0M0cQ tQVDnoMETYlQVX/GywO5VHbNKNqFf65RsRC/Ug5xlVPS4FjfW+QyyuvBdzOSLhR3seST AiKzfMX7yB3ccmS1HiJ/XEoKYc+tNqYTzbbUA= I have a application that uses the kevent and kqueue API to provide asynchronous events to my application. Essentially, my program is completely event driven. I have my own event handling system which uses a global event queue to distribute events out to a number of threads (as many as the number of processors in the system). Periodically, kevent and kqueue are called to collect events on a number of sockets (I've only tested with one socket, since I can't do any more without a kernel panic), and then add these events to the global event queue. The event queue system works fine (it can handle thousands of simultaneous connections on linux using epoll* functions), however on mac, regardless of what I do, if I run my test program I get a KERNEL PANIC. Application bugs are one thing, but they should NEVER cause a kernel panic. Just wanted to know if anyone else has gotten this error and if they have, how they went about resolving it. The kernel panic message is below and I can provide source code if necessary. I'm using the Boehm GC with pthreads, if that means anything to you And this isn't a once in a while thing. This is every time I run the application, within a few test client runs. I've attached a kernel panic. I can provide sources, but keep in mind I'm not ready to make this software open-source. And the panic is always in the same place: locks_i386.c. -- Travis Athougies _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com Kernel_2010-11-05-151425_Travis-Athougiess-MacBook-Pro.panic
participants (1)
-
Travis Athougies