When running owondump to my Owon MSO7102TD, the first time I successfully receive a data file. The second attempt, however, fails:
$ src/owondump test5.bmp
$ src/owondump test6.bmp
Error reading from device: -6
owondump(11390,0x7fff77034960) malloc: *** error for object 0x7fff615b65d0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
The important part is the "Error reading from device: -6" -- the malloc is because the program doesn't exit when the USB error occurs and still tries to copy the buffer, so I'm not so worried about that.
To work around the problem, I simply unplug the USB cable and re-insert it.
When running owondump to my Owon MSO7102TD, the first time I successfully receive a data file. The second attempt, however, fails:
The important part is the "Error reading from device: -6" -- the malloc is because the program doesn't exit when the USB error occurs and still tries to copy the buffer, so I'm not so worried about that.
To work around the problem, I simply unplug the USB cable and re-insert it.