Skip to content

double free or corruption #283

Open
Open

Description

@matusf

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.

Activity

  1. centic9 commented on Aug 22, 2021

    @centic9
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions