Hi Yuri,

You wrote on Wed, Dec 02, 2020 at 02:36:28PM -0800:
> Here is the SEGV stack trace:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251533#c2

if the line number in the backtrace corresponds
to the upstream line number, then it's this:

int ftdi_transfer_data_done(struct ftdi_transfer_control *tc)
{
    int ret;
    struct timeval to = { 0, 0 };
>>>    while (!tc->completed) <<<


I've analyzed the code paths and if it segfaults at "while (!tc->completed)",
either FreeBSD's libusb trashed the memory or something else trashed the memory.

It's rather unlikely it's a libftdi issue in ftdi_transfer_data_done().

Cheers,
Thomas

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscr...@developer.intra2net.com   

Reply via email to