terminates, runtime errors



  • Hi, i get runtime errors
    ,,Here are the runtime errors:

    runtime error: invalid memory address or nil pointer dereference
    
    this vite node`s git GO version is  26f221f47447520b5fa82ab9eb5d1a1cc2a36465
    INFO[07-25|01:56:22] runtime num                              module=gvite/main max=33
    INFO[07-25|01:56:22] DefaultNodeconfig: { C:\Users\Gigabyte\AppData\Roaming\GVite C:\Users\Gigabyte\AppData\Roaming\GVite [] 0 <nil> <nil> [] <nil>  false 0.0.0.0 8483 8484   vite-node 3  true 60 5 2 10 [] [] [] any [] [] [] [] cross    false 0 false false false <nil> gvite.ipc  48132 []  31420 [] [*] [] true true    info  false false false false   <nil> <nil> <nil> <nil> <nil> <nil> <nil>} module=gvite/node_manager
    INFO[07-25|01:56:22] Will use the default config node_config.json module=gvite/node_manager
    INFO[07-25|01:56:22] After load config file: { C:\Users\Gigabyte\AppData\Roaming\GVite C:\Users\Gigabyte\AppData\Roaming\GVite [] 0 <nil> <nil> [] <nil>  false 0.0.0.0 8483 8484   Alsayed10 1  true 10 5 2 5 [] [https://bootnodes.vite.net/bootmainnet.json] [] any [] [] [] [] cross    true 0 true true false <nil> gvite.ipc 0.0.0.0 48132 [] 0.0.0.0 41420 [] [*] [ledger public_onroad net contract pledge register vote mintage consensusGroup tx debug sbpstats dashboard] true true    info  false false false false wss://stats.vite.net vite_c0449378b0cf243e9d245c37e5f9f0826d012005500abb13a8 <nil> <nil> <nil> <nil> <nil> <nil> <nil>} module=gvite/node_manager
    INFO[07-25|01:56:22] After mapping cmd input: { C:\Users\Gigabyte\AppData\Roaming\GVite C:\Users\Gigabyte\AppData\Roaming\GVite [] 0 <nil> <nil> [] <nil>  false 0.0.0.0 8483 8484   Alsayed10 1  true 10 5 2 5 [] [https://bootnodes.vite.net/bootmainnet.json] [] any [] [] [] [] cross    true 0 true true false <nil> gvite.ipc 0.0.0.0 48132 [] 0.0.0.0 41420 [] [*] [ledger public_onroad net contract pledge register vote mintage consensusGroup tx debug sbpstats dashboard] true true    info  false false false false wss://stats.vite.net vite_c0449378b0cf243e9d245c37e5f9f0826d012005500abb13a8 <nil> <nil> <nil> 0xc000309d90 0xc000309da0 0xc000309db0 0xc000309dc0} module=gvite/node_manager
    INFO[07-25|01:56:22] Last override config: {main C:\Users\Gigabyte\AppData\Roaming\GVite\maindata C:\Users\Gigabyte\AppData\Roaming\GVite\maindata\wallet [] 0 <nil> <nil> [] <nil>  false 0.0.0.0 8483 8484   Alsayed10 1  true 10 5 2 5 [] [https://bootnodes.vite.net/bootmainnet.json] [] any [] [] [] [] cross    true 0 true true false <nil> gvite.ipc 0.0.0.0 48132 [] 0.0.0.0 41420 [] [*] [ledger public_onroad net contract pledge register vote mintage consensusGroup tx debug sbpstats dashboard] true true    info  false false false false wss://stats.vite.net vite_c0449378b0cf243e9d245c37e5f9f0826d012005500abb13a8 <nil> <nil> <nil> 0xc000309d90 0xc000309da0 0xc000309db0 0xc000309dc0} module=gvite/node_manager
    INFO[07-25|01:56:22] NodeServer.DataDir:C:\Users\Gigabyte\AppData\Roaming\GVite\maindata module=gvite/node_manager
    INFO[07-25|01:56:22] NodeServer.KeyStoreDir:C:\Users\Gigabyte\AppData\Roaming\GVite\maindata\wallet module=gvite/node_manager
    Prepare the Node success!!!
    panic: runtime error: invalid memory address or nil pointer dereference
    [signal 0xc0000005 code=0x0 addr=0x48 pc=0x7d8cee]
    
    goroutine 201 [running]:
    github.com/vitelabs/go-vite/ledger.(*SnapshotBlock).Producer(0x0, 0x0, 0x0, 0x0)
            /Users/jie/Documents/vite/src/github.com/vitelabs/go-vite/ledger/snapshot_block.go:215 +0x3e
    github.com/vitelabs/go-vite/pool.(*pool).checkIrreversible(0xc0000ac500, 0xc00fc86140, 0xc0049a2960, 0x11, 0x0)
            /Users/jie/Documents/vite/src/github.com/vitelabs/go-vite/pool/pool_fork_checker.go:294 +0x181
    github.com/vitelabs/go-vite/pool.(*pool).getLatestIrreversible(0xc0000ac500, 0x0, 0x19, 0x1531600, 0xc0010b7ec0, 0x0, 0x0, 0x0)
            /Users/jie/Documents/vite/src/github.com/vitelabs/go-vite/pool/pool_fork_checker.go:275 +0x231
    github.com/vitelabs/go-vite/pool.(*pool).getLatestIrreversibleBlock(0xc0000ac500, 0x0, 0xc001d14a50, 0x0, 0x0)
            /Users/jie/Documents/vite/src/github.com/vitelabs/go-vite/pool/pool_fork_checker.go:241 +0xd1
    github.com/vitelabs/go-vite/pool.(*pool).updateIrreversibleBlock(0xc0000ac500, 0x0, 0xc00f6dbe48)
            /Users/jie/Documents/vite/src/github.com/vitelabs/go-vite/pool/pool_fork_checker.go:198 +0x342
    github.com/vitelabs/go-vite/pool.(*pool).GetIrreversibleBlock(0xc0000ac500, 0x1538680)
            /Users/jie/Documents/vite/src/github.com/vitelabs/go-vite/pool/pool_fork_checker.go:300 +0x32
    github.com/vitelabs/go-vite/net.(*cacheReader).cleanLoop(0xc0000f2b00)
            /Users/jie/Documents/vite/src/github.com/vitelabs/go-vite/net/sync_cache_reader.go:793 +0x187
    created by github.com/vitelabs/go-vite/net.(*cacheReader).start
            /Users/jie/Documents/vite/src/github.com/vitelabs/go-vite/net/sync_cache_reader.go:251 +0xf7
    

    ruuning on 32GB Ram ,, 32 Core cpu



  • How much RAM does your node have?



  • @fonzie said in terminates, runtime errors:

    How much RAM does your node have?
    my pc specs ;; 32GB ram - 16 core - 32 treads cpu .. 4 tb M2
    how do i know that ,, the previous version works perfectly on the sudden this error appear to me ,, i download the latest version also the same error



  • You're on v2.3.1?

    And it's the same error every time you try to run your node?



  • @fonzie said in terminates, runtime errors:

    You're on v2.3.1?

    And it's the same error every time you try to run your node?

    yes indeed i just wiped down my M2 and re-partition it then i have installed the Win10 , it works perfectly now ^_^



  • Great! πŸ™‚



  • @fonzie said in terminates, runtime errors:

    Great! πŸ™‚

    what is the number 33 refers to based on what ( cpu , gpu , Internter speed ) ( My guess is to indicate the number of connected peers to my node ) am i right ..?
    06a19ef7-6178-465a-a874-742291d82ce1-image.png



  • I am not sure. Not a dev πŸ™‚

    Did you change the number of allowed connections/peers in the config file? I think by default it is 10, if I remember correctly.

    You can check your node (connections and block progress) on the below link (sometimes it is overloaded and doesn't work):

    https://explorer.vite.net/FullNode



  • @fonzie 在 terminates, runtime errors 中说:

    I am not sure. Not a dev πŸ™‚

    Did you change the number of allowed connections/peers in the config file? I think by default it is 10, if I remember correctly.

    You can check your node (connections and block progress) on the below link (sometimes it is overloaded and doesn't work):

    https://explorer.vite.net/FullNode

    okey , indeed i haven't change anything the config file except the wallet address and the some parameters too true πŸ™‚


Log in to reply