Re: ugen(4) crash libusb

2014-02-09 Thread Martin Pieuchot
On 05/02/14(Wed) 00:39, Thomas Pfaff wrote: [...] This diff simply remove the possibility to unconfigure a device by passing the magic value to usbd_set_config_no(). There's no code in our three that does that so it should be enough for the moment. Configuration 0 should be the

ugen(4) crash libusb

2014-02-02 Thread Thomas Pfaff
Hi. I was playing with libusb when my machine suddenly crashed. The code below, run twice, should reproduce the problem on i386 and amd64 with any ugen device attached, GENERIC and GENERIC.MP. $ cat bug.c # minimal error-checking #include stdlib.h #include stdio.h #include sys/types.h #include

Re: ugen(4) crash libusb

2014-02-02 Thread Martin Pieuchot
Hello Thomas, On 02/02/14(Sun) 15:39, Thomas Pfaff wrote: Hi. I was playing with libusb when my machine suddenly crashed. The code below, run twice, should reproduce the problem on i386 and amd64 with any ugen device attached, GENERIC and GENERIC.MP. Thanks for the bug report! int