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

double free or corruption #283

Open
matusf opened this issue Aug 21, 2021 · 1 comment
Open

double free or corruption #283

matusf opened this issue Aug 21, 2021 · 1 comment

Comments

@matusf
Copy link

matusf commented Aug 21, 2021

Hi, I compiled the openambit with cmake (from master), launched it and started synchronization. After a while the app crashed with following logs:

Vendor: 1493, Product: 1b
libambit_komposti: 2 4 59 0
Komposit version: 2 4 59 0
Start reading log...
double free or corruption (out)

When I tried to relaunch it, it crashed with these logs:

Vendor: 1493, Product: 1b
libambit_komposti: 2 4 59 0
Komposit version: 2 4 59 0
free(): double free detected in tcache 2

Then I unplugged the watch and relaunched the app again and it started normally.

I run Ubuntu 20.04 with x86_64 architecture and the watch is a Ambit 3 Peak. I'm happy to provide more information if needed.

@centic9
Copy link
Contributor

centic9 commented Aug 22, 2021

Sounds like the driver for Ambit 3 can cause this in some case. Unfortunately I don't have that hardware so cannot take a look myself. If you can reproduce it, it would be good to run Openambit with https://valgrind.org/ to get a stacktrace when invalid access or free is done.

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