• 0
nickswalker

Waveforms 3.3.7 crash - Ubuntu 16.04

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.

Share this post


Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 0

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

Share this post


Link to post
Share on other sites
  • 1

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

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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!

Share this post


Link to post
Share on other sites
  • 0

 Bumped to 16.10, issue persists. dmeseg is showing the same message for me too. Skylake i5-6600

waveforms[19947] general protection ip:7fc0f7970cb0 sp:7fc06643b378 error:0 in libpthread-2.24.so[7fc0f795e000+18000]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now