Hello Everyone,
What is the best way to troubleshoot GPIB segfaults?
I am using the Summer 2020 GPIB drivers on RedHat Enterprise Linux 8 (RHEL8) and getting segfaults from the driver's libni4882.so and libnipalu shared libraries.
My application is able to start up and run a few GPIB commands, then when it tries to run more commands the application crashes when trying to read data from the GPIB.
Running the 'dmesg' command shows the following log entries:
segfault at 439ec ip 00007f290b67c012 sp 00007f290493a890 error 4 in libnipalu.so.20.0.0 [7f290b606000+97000]
segfault at 7fc014fce2ec ip 00007fc0021bf0d7 sp 00007ffc58712bf8 error 4 in libni4882.so.20.0.0 [7fc0021a1000+52000]
Are there any recommendations about how to troubleshoot these segfaults?
For example, are there any environment variables that I can set that will provide more verbose logging or more detailed error messages?
Do the GPIB drivers write any log files? If so, where can I find those log files?