Skip to content

geth panic #18983

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
mmitech opened this issue Feb 2, 2019 · 8 comments
Closed

geth panic #18983

mmitech opened this issue Feb 2, 2019 · 8 comments

Comments

@mmitech
Copy link

mmitech commented Feb 2, 2019

System information

Geth version: v1.9.0-unstable-a89170cf
OS & Version: Ubuntu server 18.04
Commit hash : a89170c

crash with the log:

Feb 01 19:57:48 geth[38727]: panic: runtime error: invalid memory address or nil pointer dereference
Feb 01 19:57:48 geth[38727]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5192ce]
Feb 01 19:57:48 geth[38727]: goroutine 4497096 [running]:
Feb 01 19:57:48 geth[38727]: math/big.(*Int).Cmp(0xc050fd99e0, 0x0, 0xc215c9509d3700dc)
Feb 01 19:57:48 geth[38727]:         /home/travis/.gimme/versions/go1.11.5.linux.amd64/src/math/big/int.go:319 +0x2e
Feb 01 19:57:48 geth[38727]: github.com/ethereum/go-ethereum/core.(*BlockChain).insertSidechain(0xc0425f8000, 0xc05264d530, 0xc0000bf5c0, 0xc0000bf501, 0x1, 0x1, 0xc061638b90, 0x1, 0x1, 0xc089af7320, ...)
Feb 01 19:57:48 geth[38727]:         /home/travis/gopath/src/github.com/ethereum/go-ethereum/core/blockchain.go:1340 +0x108b
Feb 01 19:57:48 geth[38727]: github.com/ethereum/go-ethereum/core.(*BlockChain).insertChain(0xc0425f8000, 0xc05364a710, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
Feb 01 19:57:48 geth[38727]:         /home/travis/gopath/src/github.com/ethereum/go-ethereum/core/blockchain.go:1146 +0x2e1e
Feb 01 19:57:48 geth[38727]: github.com/ethereum/go-ethereum/core.(*BlockChain).InsertChain(0xc0425f8000, 0xc05364a710, 0x1, 0x1, 0x8, 0x8, 0xe4a960)
Feb 01 19:57:48 geth[38727]:         /home/travis/gopath/src/github.com/ethereum/go-ethereum/core/blockchain.go:1095 +0xb89
Feb 01 19:57:48 geth[38727]: github.com/ethereum/go-ethereum/eth.NewProtocolManager.func6(0xc05364a710, 0x1, 0x1, 0x1f34a01, 0xc048a00090, 0x7bb03dceace80c2)
Feb 01 19:57:48 geth[38727]:         /home/travis/gopath/src/github.com/ethereum/go-ethereum/eth/handler.go:183 +0x30b
Feb 01 19:57:48 geth[38727]: github.com/ethereum/go-ethereum/eth/fetcher.(*Fetcher).insert.func1(0xc0000c5e10, 0x16178ab3b3c3d0f3, 0x5dfe0eb9e5ba4ece, 0x7bb03dceace80c2, 0xc5d7d573c1ba13ee, 0xc194476cf0, 0xc00bbbbb50, 0x10)
Feb 01 19:57:48 geth[38727]:         /home/travis/gopath/src/github.com/ethereum/go-ethereum/eth/fetcher/fetcher.go:667 +0x53a
Feb 01 19:57:48 geth[38727]: created by github.com/ethereum/go-ethereum/eth/fetcher.(*Fetcher).insert
Feb 01 19:57:48 geth[38727]:         /home/travis/gopath/src/github.com/ethereum/go-ethereum/eth/fetcher/fetcher.go:641 +0x2ad
@holiman
Copy link
Contributor

holiman commented Feb 2, 2019

What chain was this on? Ropsten or mainnet?

@mmitech
Copy link
Author

mmitech commented Feb 2, 2019

Sorry forgot to mention that, it was ropsten.

@holiman
Copy link
Contributor

holiman commented Feb 2, 2019

This is a duplicate of #18977

@holiman
Copy link
Contributor

holiman commented Feb 2, 2019

Thanks for the report, btw!

@holiman holiman closed this as completed Feb 2, 2019
@holiman
Copy link
Contributor

holiman commented Feb 2, 2019

Oh, another thing: do you have the logs preceding the panic? Would be great if we could take a look at those and see the chain of events that led to this

@holiman
Copy link
Contributor

holiman commented Feb 2, 2019

(can add to the other ticket)

@mmitech
Copy link
Author

mmitech commented Feb 2, 2019

Feb 01 18:53:01 geth[38727]: INFO [02-01|18:53:01.526] Imported new chain segment               blocks=1   txs=18   mgas=0.571   elapsed=179.248ms mgasps=3.184    number=4937661 hash=687c77…bc5fd8 cache=62.94mB
Feb 01 18:53:04 geth[38727]: INFO [02-01|18:53:04.132] Imported new chain segment               blocks=1   txs=4    mgas=1.465   elapsed=112.506ms mgasps=13.021   number=4937662 hash=6b72f5…936872 cache=62.92mB
Feb 01 18:53:07 geth[38727]: INFO [02-01|18:53:07.063] Imported new chain segment               blocks=1   txs=2    mgas=0.122   elapsed=9.306ms   mgasps=13.125   number=4937663 hash=e4b011…dede79 cache=62.87mB
Feb 01 18:53:27 geth[38727]: INFO [02-01|18:53:27.097] Imported new chain segment               blocks=1   txs=29   mgas=1.203   elapsed=507.428ms mgasps=2.371    number=4937664 hash=54ec3a…bf3b1e cache=62.87mB
Feb 01 18:53:38 geth[38727]: INFO [02-01|18:53:38.323] Imported new chain segment               blocks=1   txs=18   mgas=0.492   elapsed=176.169ms mgasps=2.794    number=4937665 hash=55ed0a…28d408 cache=62.84mB
Feb 01 18:53:41 geth[38727]: INFO [02-01|18:53:41.752] Imported new chain segment               blocks=1   txs=1    mgas=0.040   elapsed=6.148ms   mgasps=6.550    number=4937666 hash=661478…b1d175 cache=62.85mB
Feb 01 18:54:03 geth[38727]: INFO [02-01|18:54:03.142] Imported new chain segment               blocks=1   txs=34   mgas=0.872   elapsed=545.256ms mgasps=1.600    number=4937667 hash=95df50…126309 cache=62.83mB
Feb 01 18:54:13 geth[38727]: INFO [02-01|18:54:13.985] Imported new chain segment               blocks=1   txs=6    mgas=0.750   elapsed=1.987s    mgasps=0.378    number=4937668 hash=f2dabe…868301 cache=62.93mB
Feb 01 18:54:24 geth[38727]: INFO [02-01|18:54:24.729] Imported new chain segment               blocks=1   txs=18   mgas=0.428   elapsed=867.431ms mgasps=0.494    number=4937669 hash=15a9b8…9b5a29 cache=62.75mB
Feb 01 18:54:32 geth[38727]: INFO [02-01|18:54:32.780] Imported new chain segment               blocks=1   txs=18   mgas=0.519   elapsed=14.804ms  mgasps=35.085   number=4937670 hash=aa15d2…b7d046 cache=62.68mB
Feb 01 18:55:25 geth[38727]: INFO [02-01|18:55:25.987] Imported new chain segment               blocks=1   txs=72   mgas=3.042   elapsed=3.262s    mgasps=0.933    number=4937671 hash=911c6f…d7791d cache=62.88mB
Feb 01 18:55:34 geth[38727]: INFO [02-01|18:55:34.076] Imported new chain segment               blocks=1   txs=17   mgas=0.491   elapsed=12.175ms  mgasps=40.316   number=4937672 hash=1174e4…67485b cache=62.88mB
Feb 01 18:55:43 geth[38727]: INFO [02-01|18:55:43.135] Imported new chain segment               blocks=1   txs=7    mgas=0.479   elapsed=363.464ms mgasps=1.317    number=4937673 hash=e1977e…9301da cache=62.81mB
Feb 01 18:56:12 geth[38727]: INFO [02-01|18:56:12.916] Imported new chain segment               blocks=1   txs=39   mgas=2.093   elapsed=6.236s    mgasps=0.336    number=4937674 hash=2c770f…e4aee3 cache=62.84mB
Feb 01 18:56:14 geth[38727]: INFO [02-01|18:56:14.403] Imported new chain segment               blocks=1   txs=3    mgas=0.348   elapsed=10.926ms  mgasps=31.820   number=4937675 hash=222a75…27e9fa cache=62.89mB
Feb 01 18:56:48 geth[38727]: INFO [02-01|18:56:48.565] Imported new chain segment               blocks=1   txs=58   mgas=1.612   elapsed=2.467s    mgasps=0.653    number=4937676 hash=91a1ff…d9a38b cache=62.85mB
Feb 01 18:56:51 geth[38727]: INFO [02-01|18:56:51.643] Imported new chain segment               blocks=1   txs=1    mgas=0.040   elapsed=10.168ms  mgasps=3.961    number=4937677 hash=644b1e…f9078f cache=62.82mB
Feb 01 18:57:01 geth[38727]: INFO [02-01|18:57:01.806] Imported new chain segment               blocks=1   txs=21   mgas=0.478   elapsed=13.755ms  mgasps=34.772   number=4937678 hash=3ed77e…919d2c cache=62.79mB
Feb 01 18:57:34 geth[38727]: INFO [02-01|18:57:34.889] Imported new chain segment               blocks=1   txs=47   mgas=3.194   elapsed=895.669ms mgasps=3.566    number=4937679 hash=9a90fe…89e51b cache=62.69mB
Feb 01 18:57:42 geth[38727]: INFO [02-01|18:57:42.045] Imported new chain segment               blocks=1   txs=4    mgas=0.201   elapsed=539.058ms mgasps=0.374    number=4937680 hash=5f37a0…b13a63 cache=62.58mB
Feb 01 18:57:42 geth[38727]: INFO [02-01|18:57:42.503] Imported new chain segment               blocks=1   txs=1    mgas=0.040   elapsed=9.291ms   mgasps=4.334    number=4937681 hash=25ed6b…be4748 cache=62.50mB
Feb 01 18:58:27 geth[38727]: INFO [02-01|18:58:27.928] Imported new chain segment               blocks=1   txs=64   mgas=2.319   elapsed=1.824s    mgasps=1.271    number=4937682 hash=f118cb…947258 cache=62.53mB
Feb 01 18:58:41 geth[38727]: INFO [02-01|18:58:41.761] Imported new chain segment               blocks=1   txs=25   mgas=0.865   elapsed=2.817s    mgasps=0.307    number=4937683 hash=7e0d97…bbf624 cache=62.48mB
Feb 01 18:58:55 geth[38727]: INFO [02-01|18:58:55.112] Imported new chain segment               blocks=1   txs=18   mgas=0.514   elapsed=458.720ms mgasps=1.120    number=4937684 hash=1e4098…ed3bc0 cache=62.45mB
Feb 01 18:58:59 geth[38727]: INFO [02-01|18:58:59.948] Imported new chain segment               blocks=1   txs=17   mgas=2.339   elapsed=974.423ms mgasps=2.400    number=4937685 hash=e492ae…409c7a cache=62.28mB
Feb 01 18:59:47 geth[38727]: INFO [02-01|18:59:47.236] Imported new chain segment               blocks=1   txs=64   mgas=2.015   elapsed=1.273s    mgasps=1.582    number=4937686 hash=82b501…f943ce cache=62.32mB
Feb 01 19:00:41 geth[38727]: INFO [02-01|19:00:41.462] Imported new chain segment               blocks=1   txs=108  mgas=6.478   elapsed=23.162s   mgasps=0.280    number=4937687 hash=dceca2…9fce02 cache=62.46mB
Feb 01 19:00:46 geth[38727]: INFO [02-01|19:00:46.812] Imported new chain segment               blocks=1   txs=112  mgas=4.252   elapsed=5.349s    mgasps=0.795    number=4937688 hash=51c0da…01cc69 cache=62.46mB ignored=1
Feb 01 19:00:46 geth[38727]: INFO [02-01|19:00:46.824] Imported new chain segment               blocks=1   txs=3    mgas=4.231   elapsed=11.650ms  mgasps=363.168  number=4937688 hash=50ac30…2a9c57 cache=62.47mB
Feb 01 19:00:46 geth[38727]: INFO [02-01|19:00:46.844] Imported new chain segment               blocks=1   txs=3    mgas=0.102   elapsed=19.749ms  mgasps=5.142    number=4937689 hash=61b265…4c77c4 cache=62.32mB
Feb 01 19:00:48 geth[38727]: INFO [02-01|19:00:48.829] Imported new chain segment               blocks=2   txs=26   mgas=0.804   elapsed=31.638ms  mgasps=25.399   number=4937690 hash=d26b42…11106c cache=62.32mB
Feb 01 19:00:57 geth[38727]: INFO [02-01|19:00:57.385] Imported new chain segment               blocks=1   txs=23   mgas=0.702   elapsed=16.820ms  mgasps=41.737   number=4937690 hash=2798f6…a5f842 cache=62.32mB
Feb 01 19:01:03 geth[38727]: INFO [02-01|19:01:03.238] Imported new chain segment               blocks=1   txs=32   mgas=3.289   elapsed=5.196s    mgasps=0.633    number=4937691 hash=0da0e5…de9cff cache=62.33mB
Feb 01 19:01:03 geth[38727]: INFO [02-01|19:01:03.254] Imported new chain segment               blocks=1   txs=33   mgas=0.021   elapsed=15.955ms  mgasps=1.316    number=4937692 hash=3e3641…4ee6d1 cache=62.33mB ignored=1
Feb 01 19:01:20 geth[38727]: INFO [02-01|19:01:20.936] Imported new chain segment               blocks=1   txs=29   mgas=2.585   elapsed=26.848ms  mgasps=96.266   number=4937693 hash=6d53cd…c8a6a8 cache=62.17mB
Feb 01 19:01:32 geth[38727]: INFO [02-01|19:01:32.423] Imported new chain segment               blocks=1   txs=50   mgas=5.268   elapsed=5.888s    mgasps=0.895    number=4937694 hash=209b06…1f27da cache=62.26mB
Feb 01 19:02:40 geth[38727]: INFO [02-01|19:02:40.596] Imported new chain segment               blocks=1   txs=124  mgas=7.039   elapsed=34.249s   mgasps=0.206    number=4937695 hash=b8ed15…8ed5d5 age=1m19s      cache=62.                                         48mB
Feb 01 19:02:59 geth[38727]: WARN [02-01|19:02:59.040] Synchronisation failed, dropping peer    peer=cff1e822a738d9a9 err=timeout
Feb 01 19:03:32 geth[38727]: INFO [02-01|19:03:32.002] Imported new chain segment               blocks=1   txs=81   mgas=2.736   elapsed=51.398s   mgasps=0.053    number=4937696 hash=40a1c8…47242a age=1m28s      cache=62.                                         73mB
Feb 01 19:03:33 geth[38727]: INFO [02-01|19:03:33.117] Imported new chain segment               blocks=1   txs=110  mgas=6.343   elapsed=1.114s    mgasps=5.693    number=4937696 hash=c5e9db…ec59ff age=1m31s      cache=62.                                         83mB
Feb 01 19:03:33 geth[38727]: INFO [02-01|19:03:33.141] Imported new chain segment               blocks=1   txs=28   mgas=3.586   elapsed=24.327ms  mgasps=147.400  number=4937697 hash=100d31…2abc25 age=1m2s       cache=62.                                         77mB
Feb 01 19:04:17 geth[38727]: INFO [02-01|19:04:17.815] Imported new chain segment               blocks=1   txs=66   mgas=1.762   elapsed=44.666s   mgasps=0.039    number=4937698 hash=4b6743…2f9f0d age=1m44s      cache=62.                                         90mB
Feb 01 19:05:50 geth[38727]: INFO [02-01|19:05:47.979] Imported new chain segment               blocks=3   txs=138  mgas=7.790   elapsed=996.637ms mgasps=7.816    number=4937701 hash=90171b…737b12 age=2m46s      cache=62.                                         66mB ignored=1
Feb 01 19:06:42 geth[38727]: INFO [02-01|19:06:42.879] Imported new chain segment               blocks=2   txs=106  mgas=7.400   elapsed=54.899s   mgasps=0.135    number=4937703 hash=9ee363…26487e age=3m14s      cache=62.                                         81mB
Feb 01 19:06:58 geth[38727]: INFO [02-01|19:06:58.998] Imported new chain segment               blocks=1   txs=43   mgas=1.272   elapsed=16.118s   mgasps=0.079    number=4937704 hash=0a7f81…f22afd age=3m15s      cache=62.                                         91mB
Feb 01 19:07:08 geth[38727]: INFO [02-01|19:07:08.773] Imported new chain segment               blocks=3   txs=185  mgas=9.629   elapsed=9.775s    mgasps=0.985    number=4937707 hash=0263be…acedb6 age=2m40s      cache=63.                                         07mB
Feb 01 19:07:17 geth[38727]: INFO [02-01|19:07:17.626] Imported new chain segment               blocks=5   txs=161  mgas=5.405   elapsed=8.852s    mgasps=0.611    number=4937712 hash=eb50f8…435491 age=2m3s       cache=63.                                         08mB
Feb 01 19:07:18 geth[38727]: INFO [02-01|19:07:18.407] Imported new chain segment               blocks=2   txs=58   mgas=1.442   elapsed=781.775ms mgasps=1.845    number=4937714 hash=2c5fe6…36a5a3 age=1m33s      cache=62.                                         99mB
Feb 01 19:07:29 geth[38727]: WARN [02-01|19:07:29.853] Synchronisation failed, dropping peer    peer=031830c52fac6e3e err=timeout
Feb 01 19:32:37 geth[38727]: INFO [02-01|19:32:37.128] Regenerated local transaction journal    transactions=0 accounts=0
Feb 01 19:52:07 geth[38727]: INFO [02-01|19:52:07.580] Imported new chain segment               blocks=2   txs=2    mgas=0.042   elapsed=14.809ms  mgasps=2.836    number=4937716 hash=f52124…a5e417 age=46m20s     cache=62.                                         86mB
Feb 01 19:52:09 geth[38727]: INFO [02-01|19:52:07.673] Imported new chain segment               blocks=2   txs=67   mgas=2.303   elapsed=55.584ms  mgasps=41.439   number=4937718 hash=bd22da…e80e28 age=46m3s      cache=62.                                         92mB
Feb 01 19:52:09 geth[38727]: INFO [02-01|19:52:07.694] Imported new chain segment               blocks=1   txs=2    mgas=0.061   elapsed=11.909ms  mgasps=5.145    number=4937718 hash=df1cb5…0d1017 age=46m2s      cache=62.                                         93mB
Feb 01 19:52:09 geth[38727]: INFO [02-01|19:52:09.018] Imported new chain segment               blocks=1   txs=27   mgas=0.595   elapsed=1.323s    mgasps=0.449    number=4937719 hash=5b5306…e051d8 age=46m1s      cache=62.                                         86mB
Feb 01 19:52:11 geth[38727]: INFO [02-01|19:52:11.677] Imported new chain segment               blocks=2   txs=47   mgas=0.664   elapsed=2.658s    mgasps=0.250    number=4937721 hash=aa2893…857a5d age=45m58s     cache=62.                                         67mB ignored=1
Feb 01 19:52:23 geth[38727]: INFO [02-01|19:52:23.515] Imported new chain segment               blocks=3   txs=184  mgas=5.730   elapsed=11.833s   mgasps=0.484    number=4937724 hash=3f3f05…d8a9ee age=45m42s     cache=62.                                         87mB
Feb 01 19:52:33 geth[38727]: INFO [02-01|19:52:33.197] Imported new chain segment               blocks=9   txs=347  mgas=10.196  elapsed=9.682s    mgasps=1.053    number=4937733 hash=1cd57a…070f97 age=43m58s     cache=63.                                         02mB
Feb 01 19:52:41 geth[38727]: INFO [02-01|19:52:41.307] Imported new chain segment               blocks=12  txs=377  mgas=13.177  elapsed=8.109s    mgasps=1.625    number=4937745 hash=09af37…2899ee age=41m56s     cache=62.                                         79mB
Feb 01 19:52:49 geth[38727]: INFO [02-01|19:52:49.455] Imported new chain segment               blocks=3   txs=156  mgas=9.793   elapsed=8.148s    mgasps=1.202    number=4937748 hash=cdfb00…410e57 age=41m18s     cache=63.                                         05mB
Feb 01 19:52:59 geth[38727]: INFO [02-01|19:52:59.109] Imported new chain segment               blocks=1   txs=102  mgas=2.856   elapsed=9.653s    mgasps=0.296    number=4937749 hash=e54f25…380c4c age=41m        cache=63.                                         06mB
Feb 01 19:53:07 geth[38727]: INFO [02-01|19:53:07.344] Imported new chain segment               blocks=2   txs=146  mgas=3.583   elapsed=8.234s    mgasps=0.435    number=4937751 hash=2b5dea…7040f4 age=39m50s     cache=63.                                         13mB
Feb 01 19:53:15 geth[38727]: INFO [02-01|19:53:15.906] Imported new chain segment               blocks=2   txs=122  mgas=3.608   elapsed=8.561s    mgasps=0.421    number=4937753 hash=b7bcbe…225f36 age=39m22s     cache=63.                                         41mB
Feb 01 19:53:25 geth[38727]: INFO [02-01|19:53:25.648] Imported new chain segment               blocks=4   txs=312  mgas=8.722   elapsed=9.742s    mgasps=0.895    number=4937757 hash=ff7ea4…4a17b1 age=38m50s     cache=64.                                         10mB
Feb 01 19:53:34 geth[38727]: INFO [02-01|19:53:34.004] Imported new chain segment               blocks=8   txs=229  mgas=7.306   elapsed=8.356s    mgasps=0.874    number=4937765 hash=fca8b1…3a834f age=37m32s     cache=63.                                         87mB
Feb 01 19:53:43 geth[38727]: INFO [02-01|19:53:43.049] Imported new chain segment               blocks=6   txs=285  mgas=7.164   elapsed=9.044s    mgasps=0.792    number=4937771 hash=fbda54…f0567c age=36m3s      cache=63.                                         78mB
Feb 01 19:53:55 geth[38727]: INFO [02-01|19:53:55.997] Imported new chain segment               blocks=4   txs=125  mgas=4.161   elapsed=12.947s   mgasps=0.321    number=4937775 hash=b4aef7…b5cb65 age=35m42s     cache=64.                                         04mB
Feb 01 19:54:12 geth[38727]: INFO [02-01|19:54:12.719] Imported new chain segment               blocks=1   txs=146  mgas=4.508   elapsed=16.722s   mgasps=0.270    number=4937776 hash=7a8313…c70074 age=35m47s     cache=64.                                         21mB
Feb 01 19:54:21 geth[38727]: INFO [02-01|19:54:21.069] Imported new chain segment               blocks=5   txs=170  mgas=5.080   elapsed=8.349s    mgasps=0.608    number=4937781 hash=e29756…b179f6 age=34m8s      cache=64.                                         44mB
Feb 01 19:54:29 geth[38727]: INFO [02-01|19:54:29.412] Imported new chain segment               blocks=18  txs=624  mgas=27.600  elapsed=8.342s    mgasps=3.308    number=4937799 hash=60f458…5ea137 age=31m9s      cache=65.                                         58mB
Feb 01 19:54:39 geth[38727]: INFO [02-01|19:54:39.299] Imported new chain segment               blocks=3   txs=291  mgas=12.804  elapsed=9.886s    mgasps=1.295    number=4937802 hash=b279f2…844c6b age=30m        cache=66.                                         24mB
Feb 01 19:54:47 geth[38727]: INFO [02-01|19:54:47.427] Imported new chain segment               blocks=4   txs=242  mgas=7.192   elapsed=8.128s    mgasps=0.885    number=4937806 hash=c807ba…0c05fb age=28m45s     cache=66.                                         75mB
Feb 01 19:55:02 geth[38727]: INFO [02-01|19:55:02.674] Imported new chain segment               blocks=6   txs=340  mgas=15.475  elapsed=15.246s   mgasps=1.015    number=4937812 hash=2b96d2…d6de13 age=27m4s      cache=67.                                         37mB
Feb 01 19:55:11 geth[38727]: INFO [02-01|19:55:11.035] Imported new chain segment               blocks=6   txs=245  mgas=6.631   elapsed=8.361s    mgasps=0.793    number=4937818 hash=05b207…3519a1 age=25m59s     cache=67.                                         41mB
Feb 01 19:55:25 geth[38727]: INFO [02-01|19:55:25.087] Imported new chain segment               blocks=4   txs=185  mgas=10.244  elapsed=14.051s   mgasps=0.729    number=4937822 hash=33980d…14e77d age=25m22s     cache=67.                                         54mB
Feb 01 19:55:34 geth[38727]: INFO [02-01|19:55:34.143] Imported new chain segment               blocks=1   txs=79   mgas=7.892   elapsed=9.055s    mgasps=0.871    number=4937823 hash=bc2ea4…e81250 age=25m19s     cache=67.                                         48mB
Feb 01 19:55:42 geth[38727]: INFO [02-01|19:55:42.429] Imported new chain segment               blocks=2   txs=118  mgas=13.580  elapsed=8.286s    mgasps=1.639    number=4937825 hash=5b586f…a93e9d age=24m44s     cache=67.                                         59mB
Feb 01 19:56:15 geth[38727]: INFO [02-01|19:56:15.601] Imported new chain segment               blocks=1   txs=2    mgas=0.261   elapsed=33.172s   mgasps=0.008    number=4937826 hash=b6e811…bdf3ab age=24m57s     cache=67.                                         47mB
Feb 01 19:56:26 geth[38727]: INFO [02-01|19:56:26.662] Imported new chain segment               blocks=4   txs=73   mgas=16.311  elapsed=11.061s   mgasps=1.475    number=4937830 hash=3c5b61…6f8188 age=24m22s     cache=67.                                         42mB
Feb 01 19:56:34 geth[38727]: INFO [02-01|19:56:34.992] Imported new chain segment               blocks=15  txs=275  mgas=30.639  elapsed=8.329s    mgasps=3.678    number=4937845 hash=0c05e0…630d22 age=21m44s     cache=66.                                         87mB
Feb 01 19:56:43 geth[38727]: INFO [02-01|19:56:43.315] Imported new chain segment               blocks=22  txs=352  mgas=34.815  elapsed=8.323s    mgasps=4.183    number=4937867 hash=338cc9…a25900 age=17m51s     cache=66.                                         39mB
Feb 01 19:56:54 geth[38727]: INFO [02-01|19:56:54.143] Imported new chain segment               blocks=9   txs=421  mgas=28.798  elapsed=10.827s   mgasps=2.660    number=4937876 hash=a6af8f…11e3ef age=15m41s     cache=66.                                         42mB
Feb 01 19:57:05 geth[38727]: INFO [02-01|19:57:05.207] Imported new chain segment               blocks=1   txs=169  mgas=5.720   elapsed=11.064s   mgasps=0.517    number=4937877 hash=60cde9…cde414 age=14m25s     cache=66.                                         72mB
Feb 01 19:57:22 geth[38727]: INFO [02-01|19:57:22.394] Imported new chain segment               blocks=5   txs=398  mgas=11.783  elapsed=17.186s   mgasps=0.686    number=4937882 hash=1f5eb4…2ab08b age=13m3s      cache=67.                                         20mB
Feb 01 19:57:38 geth[38727]: INFO [02-01|19:57:38.532] Imported new chain segment               blocks=3   txs=250  mgas=7.233   elapsed=16.137s   mgasps=0.448    number=4937885 hash=94943f…17a374 age=11m49s     cache=67.                                         35mB
Feb 01 19:57:47 geth[38727]: INFO [02-01|19:57:46.919] Imported new chain segment               blocks=5   txs=240  mgas=6.252   elapsed=8.386s    mgasps=0.745    number=4937890 hash=145d32…ca0f17 age=10m19s     cache=67.                                         76mB
Feb 01 19:57:47 geth[38727]: INFO [02-01|19:57:47.939] Imported new chain segment               blocks=1   txs=48   mgas=1.645   elapsed=1.019s    mgasps=1.613    number=4937891 hash=1a222e…a11c4e age=9m43s      cache=67.                                         77mB
Feb 01 19:57:48 geth[38727]: panic: runtime error: invalid memory address or nil pointer dereference
Feb 01 19:57:48 geth[38727]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5192ce]
Feb 01 19:57:48 geth[38727]: goroutine 4497096 [running]:
Feb 01 19:57:48 geth[38727]: math/big.(*Int).Cmp(0xc050fd99e0, 0x0, 0xc215c9509d3700dc)
Feb 01 19:57:48 geth[38727]:         /home/travis/.gimme/versions/go1.11.5.linux.amd64/src/math/big/int.go:319 +0x2e
Feb 01 19:57:48 geth[38727]: github.com/ethereum/go-ethereum/core.(*BlockChain).insertSidechain(0xc0425f8000, 0xc05264d530, 0xc0000bf5c0, 0xc0000bf501, 0x1, 0x1, 0xc061638b90, 0x1, 0x1, 0xc089af7320, ...)
Feb 01 19:57:48 geth[38727]:         /home/travis/gopath/src/github.com/ethereum/go-ethereum/core/blockchain.go:1340 +0x108b
Feb 01 19:57:48 geth[38727]: github.com/ethereum/go-ethereum/core.(*BlockChain).insertChain(0xc0425f8000, 0xc05364a710, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
Feb 01 19:57:48 geth[38727]:         /home/travis/gopath/src/github.com/ethereum/go-ethereum/core/blockchain.go:1146 +0x2e1e
Feb 01 19:57:48 geth[38727]: github.com/ethereum/go-ethereum/core.(*BlockChain).InsertChain(0xc0425f8000, 0xc05364a710, 0x1, 0x1, 0x8, 0x8, 0xe4a960)
Feb 01 19:57:48 geth[38727]:         /home/travis/gopath/src/github.com/ethereum/go-ethereum/core/blockchain.go:1095 +0xb89
Feb 01 19:57:48 geth[38727]: github.com/ethereum/go-ethereum/eth.NewProtocolManager.func6(0xc05364a710, 0x1, 0x1, 0x1f34a01, 0xc048a00090, 0x7bb03dceace80c2)
Feb 01 19:57:48 geth[38727]:         /home/travis/gopath/src/github.com/ethereum/go-ethereum/eth/handler.go:183 +0x30b
Feb 01 19:57:48 geth[38727]: github.com/ethereum/go-ethereum/eth/fetcher.(*Fetcher).insert.func1(0xc0000c5e10, 0x16178ab3b3c3d0f3, 0x5dfe0eb9e5ba4ece, 0x7bb03dceace80c2, 0xc5d7d573c1ba13ee, 0xc194476cf0, 0xc00bbbbb50, 0x1                                         0)
Feb 01 19:57:48 geth[38727]:         /home/travis/gopath/src/github.com/ethereum/go-ethereum/eth/fetcher/fetcher.go:667 +0x53a
Feb 01 19:57:48 geth[38727]: created by github.com/ethereum/go-ethereum/eth/fetcher.(*Fetcher).insert
Feb 01 19:57:48 geth[38727]:         /home/travis/gopath/src/github.com/ethereum/go-ethereum/eth/fetcher/fetcher.go:641 +0x2ad
Feb 01 19:57:48 systemd[1]: geth.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Feb 01 19:57:48 systemd[1]: geth.service: Failed with result 'exit-code'

@holiman holiman reopened this Feb 2, 2019
@holiman
Copy link
Contributor

holiman commented Feb 5, 2019

This is fixed on master

@holiman holiman closed this as completed Feb 5, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants