Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Exception in setInterval callback: TypeError: Cannot read property 'length' of undefined #864

Closed
fossil opened this issue Jun 20, 2016 · 12 comments

Comments

@fossil
Copy link

fossil commented Jun 20, 2016

[2016-06-20 23:04:46.187] [INFO] (ui: popup) - Exception in setInterval callback: TypeError: Cannot read property 'length' of undefined
    at c (file:///opt/Ethereum-Wallet-linux64-0-7-5/resources/app.asar/interface/0eb7d2da4099cfb19890a97198fa54fa438cd1fb.js:128:3965)
    at t (file:///opt/Ethereum-Wallet-linux64-0-7-5/resources/app.asar/interface/0eb7d2da4099cfb19890a97198fa54fa438cd1fb.js:128:431)
    at Object.format (file:///opt/Ethereum-Wallet-linux64-0-7-5/resources/app.asar/interface/0eb7d2da4099cfb19890a97198fa54fa438cd1fb.js:128:6000)
    at file:///opt/Ethereum-Wallet-linux64-0-7-5/resources/app.asar/interface/0eb7d2da4099cfb19890a97198fa54fa438cd1fb.js:278:1678
    at withValue (file:///opt/Ethereum-Wallet-linux64-0-7-5/resources/app.asar/interface/0eb7d2da4099cfb19890a97198fa54fa438cd1fb.js:3:7204)
    at file:///opt/Ethereum-Wallet-linux64-0-7-5/resources/app.asar/interface/0eb7d2da4099cfb19890a97198fa54fa438cd1fb.js:3:2935
    at file:///opt/Ethereum-Wallet-linux64-0-7-5/resources/app.asar/interface/0eb7d2da4099cfb19890a97198fa54fa438cd1fb.js:3:7462

Node type: geth/eth
OS: linux
Network type: main
Mist version: 0.7.5

@luclu
Copy link
Contributor

luclu commented Jul 18, 2016

Could you kindly check if you still encounter this with 0.8.1?

@martinkrung
Copy link

I do have the same problem with Ubuntu 15.04 using Ethereum-Wallet-linux64-0-8-1.zip

Network type: main

I deleted all config and synct the chain, at the end this came up. Its a UI problem:

[2016-07-25 12:11:10.668] [INFO] (ui: popup) - Exception in setInterval callback: TypeError: Cannot read property 'length' of undefined

My System:

Linux i7 3.19.0-25-generic #26-Ubuntu SMP Fri Jul 24 21:17:31 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

@luclu luclu added this to the 0.8.3 milestone Jul 25, 2016
@luclu
Copy link
Contributor

luclu commented Jul 25, 2016

Did this happen on the splash-screen, the main-UI or some transaction/onboarding dialog?

@martinkrung
Copy link

Splash screen, thats the first screen? I see syncing the chains, and left bottom corner the nodes. After syncing, this error shows up in the console. (I start with ./Ethereum-Wallet) It just loops forever.

Just ask, if you have more questions..

@luclu luclu added the ready label Jul 25, 2016
@luclu
Copy link
Contributor

luclu commented Sep 17, 2016

Do you still encounter this issue on the latest version 0.8.2?

@souellet-mn
Copy link

souellet-mn commented Sep 18, 2016

I just encounter this issue using Ubuntu 16.04 and Mist 0.8.2. Started Mist for the first time, let it download for a couple hours. When I got back, this issue was flooding my terminal. Closed Mist. Reopened it and looks like Splash Screen is stuck with 25 peers and nothing else for a hour.

@luclu
Copy link
Contributor

luclu commented Sep 18, 2016

Thank you @souellet-mn, could you add the terminal output to your post?

Reopened it and looks like Splash Screen is stuck with 25 peers and nothing else for a hour.

There have been several users reporting the same behaviour on other issues (will add links here).

pinging @hiddentao
https://github.com/ethereum/mist/search?utf8=%E2%9C%93&q=setInterval

@souellet-mn
Copy link

souellet-mn commented Sep 18, 2016

[2016-09-18 00:16:48.409] [INFO] (ui: popup) - Exception in setInterval callback: TypeError: Cannot read property 'length' of undefined
    at c (file:///home/xxxx/ethereum/Mist-linux64-0-8-2/resources/app.asar/interface/6fa29eb3f4e5ee14f8b166e0ae60985d28cc30dc.js:127:3965)
    at t (file:///home/xxxx/ethereum/Mist-linux64-0-8-2/resources/app.asar/interface/6fa29eb3f4e5ee14f8b166e0ae60985d28cc30dc.js:127:431)
    at Object.format (file:///home/xxxx/ethereum/Mist-linux64-0-8-2/resources/app.asar/interface/6fa29eb3f4e5ee14f8b166e0ae60985d28cc30dc.js:127:6000)
    at file:///home/xxxx/ethereum/Mist-linux64-0-8-2/resources/app.asar/interface/6fa29eb3f4e5ee14f8b166e0ae60985d28cc30dc.js:273:1679
    at withValue (file:///home/xxxx/ethereum/Mist-linux64-0-8-2/resources/app.asar/interface/6fa29eb3f4e5ee14f8b166e0ae60985d28cc30dc.js:3:7204)
    at file:///home/xxxx/ethereum/Mist-linux64-0-8-2/resources/app.asar/interface/6fa29eb3f4e5ee14f8b166e0ae60985d28cc30dc.js:3:2935
    at file:///home/xxxx/ethereum/Mist-linux64-0-8-2/resources/app.asar/interface/6fa29eb3f4e5ee14f8b166e0ae60985d28cc30dc.js:3:7462

@souellet-mn
Copy link

souellet-mn commented Sep 18, 2016

I don't know if this is even related to this issue, but today I'm having a really bad memory leak. I still have the previous exception flooding my terminal and while the splash screen says "Downloading blocks (X peers)", geth process memory usage go from 200 MiB to over 1GiB in about 2 minutes and then went up to 6GiB in a manner of seconds before I killed the process.

@luclu
Copy link
Contributor

luclu commented Sep 19, 2016

I don't know if this is even related to this issue, but today I'm having a really bad memory leak. I still have the previous exception flooding my terminal and while the splash screen says "Downloading blocks (X peers)", geth process memory usage go from 200 MiB to over 1GiB in about 2 minutes and then went up to 6GiB in a manner of seconds before I killed the process.

This was caused by a faulty instruction within geth:
https://blog.ethereum.org/2016/09/18/security-alert-geth-nodes-crash-due-memory-bug

Bug-Report: ethereum/go-ethereum#3002
Pull-Request: ethereum/go-ethereum#3006

Duplicate of #1165

@evertonfraga
Copy link
Member

Probably fixed.

@lock
Copy link

lock bot commented May 3, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants