-
-
Notifications
You must be signed in to change notification settings - Fork 335
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
"terminate called without an active exception" with Muse 2 and Ubuntu #434
Comments
Welcome to BrainFlow project and thanks for your contribution! We will try to fix your issue ASAP. Make sure that you have read about issue format in the docs. |
Hi and thanks a lot for gdb backtrace! I have no ubuntu to test... in fact for linux I can test it only using raspberry pi.
Can it be that there is an error in another thread? Could you switch to other threads if any and check backtrace there too? If I remember correctly gdb commands for it are |
I had a look but wasn't able to work it out. I've attached the bt for the other thread.
|
I've asked SimpleBLE developers maybe they have some insights. I cannot test locally because of openwrt/mt76#548 (comment) bluetooth just doesnt work for me, I will give it another try with the latest kernel. Another thing you can try in the meantime - build SimpleBLE from upstream using latest master and copypaste resulting .so file instead .so compiled by brainflow(in brainflow as of right now older version is used). If it helps then we will just need to update SimpleBLE fork in brainflow |
I've updated simpleble in a linked PR, there were plenty of changes especially for linux. Could you test it and let me know if the issue is solved or not? |
Describe the bug
Got
terminate called without an active exception
, and subsequent crash when connecting to muse 2 on ubuntu.This is gbd output when running
get_data_demo
cpp test with a board_id of 38.To Reproduce
Call the
get_data_demo
cpp test using Ubuntu Linux with a board_id of 38 using a Muse 2.Info (please complete the following information):
Additional context
This is similar to #407, however, the steps were followed to install BrainFlow from source and a similar error was observed. The output from gbd is shown. It appears that the error occurs (i.e., while attempting connection) when the "simpleble_peripheral_write_command" is called from the BLELibBoard::dll_loader, more detailed info shown above in the gbd output.
The text was updated successfully, but these errors were encountered: