"for(object = IOIteratorNext(iter); object != 0; object =
IOIteratorNext(iter)) // iterate through all
"IOATABlockStorageDriver"s"
which seems very strange to me...i can see no obvious defect here...
does anybody have any ideas when/why this crash could occur?
Perhaps you should also use "IOIteratorIsValid()"? The documentation
states that:
"Some iterators will be made invalid if changes are made to the
structure they are iterating over. This function checks the iterator
is still valid and should be called when IOIteratorNext returns zero."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden
This email sent to email@hidden