Ledger-live-desktop: "Attempt to free invalid pointer" error while trying to execute "yarn start"

Created on 9 Oct 2019  ·  2Comments  ·  Source: LedgerHQ/ledger-live-desktop

Ledger Live Version and Operating System

Operation system
uname -a
Linux pavlovdog 5.0.0-29-generic #31~18.04.1-Ubuntu SMP Thu Sep 12 18:29:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Ledger live
 │ Ledger Live Desktop - 4c3da59baeff4bc72eda894baa3e32c3bc2c6955
 │ Linux 5.0.0-29-generic x86_64 GNU/Linux
 │ commit 4c3da59baeff4bc72eda894baa3e32c3bc2c6955
Environment
node --version
v10.16.3
npm --version
6.12.0
yarn --version
1.19.0

Expected behavior

Running Ledger Live instance.

Actual behavior

Failed with the following error:

┗ ----------------------------
┏ Renderer -------------------

  ℹ 「wdm」: Compiled successfully.

┗ ----------------------------
┏ Electron -------------------

  Debugger listening on ws://127.0.0.1:5858/1f0c22c5-211e-4a7f-aea1-15b421eecf7b
  For help see https://nodejs.org/en/docs/inspector

┗ ----------------------------
┏ Electron -------------------

  Ledger Live 1.16.0-nightly.20191008

┗ ----------------------------
┏ Electron -------------------

  ../../third_party/tcmalloc/chromium/src/tcmalloc.cc:289] Attempt to free invalid pointer 0x7ff379285530

┗ ----------------------------
error Command failed with exit code 1.

Steps to reproduce the behavior

yarn start

Most helpful comment

This is an issue we run into with Electron 2 under Linux, because of this we had to temporary settle on manually downgrading to Electron 1 for our Linux releases.

We're working on updating our codebase to work with the latest versions of electron and node, but for the time being please use yarn add electron@1 and use node 8 (via eg nvm).

All 2 comments

This is an issue we run into with Electron 2 under Linux, because of this we had to temporary settle on manually downgrading to Electron 1 for our Linux releases.

We're working on updating our codebase to work with the latest versions of electron and node, but for the time being please use yarn add electron@1 and use node 8 (via eg nvm).

@MortalKastor Thanks a lot! Now it works perfectly :)

Was this page helpful?
0 / 5 - 0 ratings