Ticket #54 (reopened defect)
Sporadic "Mutex destroy error (rpt)" with simple Python program
| Reported by: | josh | Owned by: | dsmith |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | libcwiid | Version: | |
| Keywords: | Cc: |
Description
I tried testing with the following Python program:
#!/usr/bin/env python
import sys
import cwiid
wiimotes = []
def main(args):
while len(wiimotes) < 2:
print "Waiting for wiimote %u" % (len(wiimotes) + 1)
try:
wiimotes.append(cwiid.Wiimote())
if len(wiimotes) <= 4:
wiimotes[-1].led = 1 << (len(wiimotes) - 1)
else:
wiimotes[-1].led = 15
wiimotes[-1].rpt_mode = cwiid.RPT_BTN
except RuntimeError, e:
pass
print "%u wiimotes connected" % len(wiimotes)
if __name__ == '__main__': sys.exit(main(sys.argv))
The first time I ran it, I got this output:
Waiting for wiimote 1 Waiting for wiimote 2 2 wiimotes connected Mutex destroy error (rpt)
I have not seen the Mutex destroy error again since, but I wanted to report the problem.
Component "libcwiid" since the error in question comes from libcwiid, and I don't know how the Python module could cause this problem.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

