Jump to content
  • 0

Waveforms 3.3.7 crash - Ubuntu 16.04


nickswalker

Question

I have installed Adept 2 and Waveforms 3.3.7 from the Digilent website. I can open the Waveforms software and use it in demo mode with no issues, but the moment I plug in my Analog Discovery 2, the application crashes.

The .crash file is too big to upload directly, so I have uploaded it here: https://dl.dropboxusercontent.com/u/971295/_usr_lib_digilent_waveforms_waveforms.1000.crash
This issue is entirely deterministic with my setup, so please let me know if any additional information would help.

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

Hi @nickswalker, @ibadr, @Daniel Rech -

Another thread here has found a workaround for Waveforms 2015 segfaulting (crashing) when an Analog Discovery 1 / Analog Discovery 2 device is connected to a Skylake machine running Ubuntu 16.04.  The thread includes steps to confirm you're experiencing the same problem (gdb stacktrace) as well as steps to fix.

Please post back & let me know if that fixes the problem for you.

Chris

Link to comment
Share on other sites

Hello,

It seems that the problem is caused by an earlier version of libftd2xx library, version 1.0.4 but the latest Adept Runtime includes v1.2.2.
Please try to reinstall Adept Runtime. In case you have this earlier installed by install.sh try to remove the files manually.
https://reference.digilentinc.com/reference/software/adept/start

Link to comment
Share on other sites

When I install via the 64bit deb, /usr/lib64/digilent/adept is populated with libftd2xx.so.1.0.4 and libdftd2xx.so.1.2.2. I downloaded the latest runtime manually, and I see that it too comes bundled with 1.0.4. I manually removed this library, installed 1.3.6 from the ftdi site, and ensured it was accessible with ldconfig. Waveforms continues to crash whenever my device is connected. I've uploaded the new crash file here: https://dl.dropboxusercontent.com/u/971295/_usr_lib_digilent_waveforms_waveforms.1000.crash.2

Link to comment
Share on other sites

Hi,

 

I have the exact same problem on one of two machines. As @nickswalker noted, upgrading libftd2xx.so to 1.3.6 didn't help. I also made sure to manually point the symbolic link `/usr/lib64/digilent/adept/libftd2xx.so` to version 1.3.6, still the same crash as soon as the Analog Discovery device is connected. I've two machines with the exact same Ubuntu version 16.04. It only crashes on the newer machine with the Skylake processor (Intel(R) Core(TM) i7-6700K). Looking at `dmesg` shows this:

```

traps: waveforms[2101] general protection ip:7f2494ac6960 sp:7f2402efb388 error:0 in libpthread-2.23.so[7f2494ab4000+18000]

```

So, I'm suspicious now that this could be related to other crash reports on newer Intel processors, e.g. as in here

https://bbs.archlinux.org/viewtopic.php?id=203679

 

Installing the `intel-microcode` package on Ubuntu, and upgrading to the latest 4.7 kernel image didn't help either.

 

Any help is appreciated. Thanks!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...