Mailing Lists: Apple Mailing Lists

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

Hang in WritePipe()



Hi,

We very intermittently get a hang in our software when writing to a particular device. It will work fine for days talking to the device many times per second, but then suddenly it will fail with this callstack:

268 Thread_1703
268 _pthread_body
268 MPosixThreadImp::ThreadEntry(void*)
268 MThread::RunThread()
268 XThread::RunThread()
268 XDeviceValuePoller::RunThreadSelf()
268 XLudlXYStage::PollDeviceValue(XDevice::XDeviceID)
268 XLudlController::SendHighLevelCommand(XString const&, XSerialPort const&, unsigned long)
268 XSerialPort::WriteData(void const*, unsigned long) const
268 MUSBSerialPort::WriteDataSelf(void const*, unsigned long) const
268 MUSBDevice::WritePipe(long, void const*, unsigned long) const
268 IOUSBInterfaceClass::WritePipe (unsigned char, void*, unsigned long, unsigned long, unsigned long)
268 io_connect_method_scalarI_structureI
268 mach_msg
268 mach_msg_trap
268 mach_msg_trap


Unfortunately the customer and the troublesome device are many thousands of miles away. Does anyone have any clues as to what might cause a hang like this in WritePipe()? This is probably a problem at the firmware end, but we would like to give the manufacturers some clues if we can!

Cheers,

Steve

Steve Baxter
Software Development Manager
Improvision
+44-2476-692229

Image Processing and Vision Company Limited (trading as Improvision) is a company registered in England and Wales with company number 2505778. VAT number GB536188722.



_______________________________________________
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.