Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IOUSBDevice::SetConfiguration panic



Title: IOUSBDevice::SetConfiguration panic
Does anyone out there use IOUSBDevice::SetConfiguration() to set their device to a second (or not the first) configuration?

When attempting to do this, I'm frequently (but not always) getting a panic that appears to be in IOUSBFamily (10.3.9).  Here is the most recent panic (no code changes between panics, just reboots while trying to debug this).

panic(cpu 0): OSObject::refcount: Attempting to retain a freed object
Latest stack backtrace for cpu 0:
      Backtrace:
         0x00083498 0x0008397C 0x0001EDA4 0x0028F988 0x00254904 0x22C4756C 0x22C47744 0x22C806E4
         0x22C803A0 0x002570E4 0x00256EBC 0x00257938 0x00257FAC 0x00248164 0x00248128
      Kernel loadable modules in backtrace (with dependencies):
         com.apple.driver.AppleUSBComposite(2.1.4)@0x22c7f000
            dependency: com.apple.iokit.IOUSBFamily(2.1.5)@0x22c38000
         com.apple.iokit.IOUSBFamily(2.1.5)@0x22c38000
Proceeding back via exception chain:
   Exception state (sv=0x2008EA00)
      PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)

Kernel version:
Darwin Kernel Version 7.9.0:
Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC

I’m looking at this wondering if I did something that might be causing this panic.  The driver matches on the device, not the interfaces, so it’s not doing anything with the interfaces until this switch of configurations is done.

The idea behind the configurations is that we have config 1 be a simple setup for the class driver, and our driver using config 2 and can correctly manage bandwidth using a-priori knowledge that the class driver doesn’t have.

Thanks,
Mark
--
Mark Cookson
M-Audio, a part of Avid
225 Locust St.
Hudson, WI 54016
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.