Summary: | FTDI USB->Serial device prevents libsigrok startup | ||
---|---|---|---|
Product: | libsigrok | Reporter: | Alan Bowman <alan.michael.bowman> |
Component: | Other | Assignee: | Nobody <nobody> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | Gerhard.Sittig, soeren, uwe |
Priority: | Normal | ||
Version: | unreleased development snapshot | ||
Target Milestone: | --- | ||
Hardware: | x86 | ||
OS: | Windows | ||
Attachments: |
Log of stderr in success case
Log in failure case |
Description
Alan Bowman
2015-06-30 12:32:59 CEST
Hi, the current nightly EXE seems to work fine for me (Win 7, 64bit). Can you check the FAQ here whether any of the items applies to your setup please? Specifically the "error Oxc0150002" may be relevant (just a guess, though): http://sigrok.org/wiki/Windows#FAQ Were there any errors during the installation? Did you uninstall older versions of PulseView before this installation? Can you try running PulseView as administrator (shouldn't be needed, but it might be worth a test)? I had a look through the FAQ, and none seem to be relevant. I have (several versions!) of the C++ redistributable package shown in Control Panel, so I assumed it's not related to that, and I don't recognise the error code. I don't even get to the point of choosing a device (or selecting the demo device), so the other hints don't help. I have installed and uninstalled this a couple of times, with the same results (both "fresh", and following an uninstallation of the previous attempt. Looking at the date of the "nightly" packages in Jenkins, I think it was the some one both times. I'm pretty sure there were no errors during installation. Running as administrator gave exactly the same error. I just noticed - running "sigrok-cli.exe --scan" gives the exact same error. Specifying the driver allows it to run way more successfully. This isn't a PulseView issue, but I'm not sure where it should be moved to. I used Process Monitor (https://technet.microsoft.com/en-us/library/bb896645.aspx) to see what was going on before the crash, and it seemed to be scanning FTDI devices. I have a number of FTDI USB->Serial devices plugged into my PC. One in particular seems to cause the crash on startup. It is an Abacus Optical Probe, FTDIBUS\COMPORT&VID_0403&PID_F458. Unplugging this allows Pulseview to start correctly. OK, that's some progress. Can you provide a log for the case with that FTDI device attached and one log with the device not being attached? Please create the logs like this and attach them to the bug report: sigrok-cli --scan -l 5 Please also attach the output of "lsusb -v" (run as root) for that specific FTDI device. Thanks! It might be something we can fix in one of the libsigrok drivers' scan() function, or maybe it's something libusb/libftdi related we cannot do much about, we'll have to see. Created attachment 137 [details]
Log of stderr in success case
Created attachment 138 [details]
Log in failure case
Attached are the logs in the success and failure cases (run from a Powershell prompt as Administrator). I don't have lsusb option on my Windows machine - is there an equivalent? I think the VID and PID (taken from the from the Device Manager) are VID_0403&PID_F458. Hi, can you please retry the current sigrok-cli/PulseView nightly builds? We merged a bugfix recently (which fixes similar issues with other devices, e.g. #1370) which might have (indirectly) caused the issues you were seeing. Does it still reproduce with recent versions? Is it another duplicate of bug 1031? |