Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loguru SIGSEGV #3

Open
SunnyJames opened this issue Oct 1, 2020 · 1 comment
Open

Loguru SIGSEGV #3

SunnyJames opened this issue Oct 1, 2020 · 1 comment

Comments

@SunnyJames
Copy link

I'm struggling to integrate liblsl-Java JNA interface with a larger open source java program for purposes of sending LSL markers for user interface interactions. The example code is very straightforward and everything works as expected in testing outside of the larger program I an integrating with. But when incorporating liblsl directly, while the native library loads and appears to begin running I get an immediate memory access violation after creating an outlet. Library and native interfaces work as expected with Python and Java outside of the project that I am working on.

I'm not particularly familiar with the nuances of JNA, so unsure if there are other options which can be passed when loading the native interface to help diagnose the issue.

Creating a new StreamInfo...
Creating an outlet...
date time ( uptime ) [ thread name/id ] file:line v|
2020-09-30 20:49:37.925 ( 0.085s) [main thread ] loguru.cpp:607 INFO| arguments: liblsl
2020-09-30 20:49:37.925 ( 0.085s) [main thread ] loguru.cpp:610 INFO| Current dir: /home/vagrant/testing/eclipse-workspace/EventListener
2020-09-30 20:49:37.925 ( 0.085s) [main thread ] loguru.cpp:612 INFO| stderr verbosity: 0
2020-09-30 20:49:37.925 ( 0.085s) [main thread ] loguru.cpp:613 INFO| -----------------------------------
2020-09-30 20:49:37.925 ( 0.085s) [main thread ] common.cpp:50 INFO| git:v1.14.0b3/branch:HEAD/build:/compiler:GNU-8.3.0/link:shared

Loguru caught a signal: SIGSEGV
2020-09-30 20:49:39.056 ( 1.216s) [ E6233700] :0 FATL| Signal: SIGSEGV

@tstenner
Copy link
Contributor

tstenner commented Oct 6, 2020

This is an issue that has popped up recently, and so far I haven't been able to reproduce it.

How reliable does the issue occur? If it's all the time, I can prepare several liblsl dlls to test against so we can pinpoint when the issue was introduced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants