BUG in libtc08usb for pico tc08 ?

Post your Linux discussions here
Post Reply
eltorio
Newbie
Posts: 1
Joined: Tue Oct 16, 2007 10:40 am

BUG in libtc08usb for pico tc08 ?

Post by eltorio »

Hi,
I'm testing the libtc08usb library but there is a problem while reading more than 185 GetSingle value.

If I modify the line 189 of examples/tc08test_cpp/main.cpp with

Code: Select all

for (int conversions = 0; conversions < 1000; conversions++) {
(for getting more than 185 reading)

I got a segmentation fault caused while calling usb_bulk_write in PicoUsbDevice_Linux.cpp

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
0xb7f73f21 in PicoLinuxUsbDevice::WritePipe (this=0x804d0f8, pipeNumber=1, buf=0xbfe6a798, size=1) at shared/PicoUsbDevice_Linux.cpp:564

ziko
Advanced User
Advanced User
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Post by ziko »

Hi and thank you for your post.

One of our engineers is looking into this, I shall keep you informed of any updates.

Kind regards
Ziko

Technical Specialist

Post Reply