You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With libcifx 2.0 and Ubuntu 18.04(4.15) this worked great.
However, with libcifx 3.0 and Ubuntu 22.04(6.15) this initialization causes a segfault inside the call cifXDriverInit(&init):
This is reproducable with you api_cifx example, when exchanging the initialisation parameters to the above block.
Even if the initialization might not be correct (even though we think it should be) this should probably not segfault but throw an error instead?
The text was updated successfully, but these errors were encountered:
Mhhm interesting.
I just verified that we are using the headers of cifx 3, which are present in this repository as well.
Is there any chance you could test the setup with Kernel 6.15, where the problem occurs for us?
Thanks for taking the time to investingate with us!
I doubt is has something to do with the kernel version, but rather some other issue (possibly security).
As I don't have access to a development system right now and currently locked by other tasks, so it could take a while to set something up.
Maybe you should either strace the application or run it inside gdb and take a lock at the call stack (bt command).
Hi, we are using HilscherCards in some of our projects.
As initialization of the driver we use (simplified, reproducable:)
With libcifx 2.0 and Ubuntu 18.04(4.15) this worked great.
However, with libcifx 3.0 and Ubuntu 22.04(6.15) this initialization causes a segfault inside the call
cifXDriverInit(&init)
:This is reproducable with you
api_cifx
example, when exchanging the initialisation parameters to the above block.Even if the initialization might not be correct (even though we think it should be) this should probably not segfault but throw an error instead?
The text was updated successfully, but these errors were encountered: