nickswalker Posted September 30, 2016 Share Posted September 30, 2016 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 More sharing options...
clf Posted December 4, 2016 Share Posted December 4, 2016 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 More sharing options...
attila Posted September 30, 2016 Share Posted September 30, 2016 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 More sharing options...
nickswalker Posted October 1, 2016 Author Share Posted October 1, 2016 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 More sharing options...
ibadr Posted October 5, 2016 Share Posted October 5, 2016 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 More sharing options...
nickswalker Posted October 18, 2016 Author Share Posted October 18, 2016 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] Link to comment Share on other sites More sharing options...
Daniel Rech Posted October 26, 2016 Share Posted October 26, 2016 I have the same issue but no idea how to solve it. Did you solve it already? Link to comment Share on other sites More sharing options...
nickswalker Posted October 26, 2016 Author Share Posted October 26, 2016 No, I have not been able to work around this. I've had to use Waveforms on my non-unix machines instead. Link to comment Share on other sites More sharing options...
clf Posted November 8, 2016 Share Posted November 8, 2016 Try running from an Ubuntu 14.04.5 Live USB. Link to comment Share on other sites More sharing options...
ballessay Posted November 12, 2016 Share Posted November 12, 2016 Hi guys, maybe checkout a possible workaround I posted in the other thread clf already linked to here. Link to comment Share on other sites More sharing options...
nickswalker Posted February 1, 2017 Author Share Posted February 1, 2017 It seems like libc is now shipping with lock elision disabled for my CPU, correcting the issue. Thanks for your work @ballessay! Link to comment Share on other sites More sharing options...
Question
nickswalker
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
Archived
This topic is now archived and is closed to further replies.