Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
nimbus status-c-api status-console-client segfault stacktrace
> gdb --args ./bin/status-term-client -keyhex=0xe8b3b8a7cae540ace9bcaf6206e81387feb6415016aee75307976084f7751ed7 2>/tmp/status-term-client.log
GNU gdb (GDB) Fedora 8.2-7.fc29
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./bin/status-term-client...done.
To enable execution of this file add
add-auto-load-safe-path /usr/local/go/src/runtime/
line to your configuration file "/home/oskarth/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/oskarth/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
(gdb) next
(gdb) run
Starting program: /home/oskarth/go/src/ -keyhex=0xe8b3b8a7cae540ace9bcaf6206e81387feb6415016aee75307976084f7751ed7
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.28-30.fc29.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/".
[New Thread 0x7ffff5722700 (LWP 10606)]
[New Thread 0x7fffecf21700 (LWP 10607)]
[New Thread 0x7ffff4f21700 (LWP 10608)]
[New Thread 0x7fffeffff700 (LWP 10609)]
[New Thread 0x7fffef7fe700 (LWP 10610)]
[New Thread 0x7fffeeffd700 (LWP 10611)]
[New Thread 0x7fffee7fc700 (LWP 10612)]
*** Hello from main
*** inside secp256k1
*** secp compile
***Inside nim status
INF 2019-06-27 19:23:15+08:00 RLPx listener up tid=10595 file=../vendor/nim-eth/eth/p2p.nim:93 self=enode://baf8440daca52dad955480e95929880b84d7c7b86e45893cc3c4e04846b4a464916a38dfd5002c2bb05cceae25d04907d609337446a3405699944a6cf634458e@
Thread 5 "status-term-cli" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffeffff700 (LWP 10609)]
lowGauge_3mwQtFaBTgevFrybZdgUNw (n=0x0) at nimcache/debug/status_api/stdlib_system.c:1741
1741 if (!!(((*it).link[(((NI) 0))- 0] == it))) goto LA2;
(gdb) bt
#0 lowGauge_3mwQtFaBTgevFrybZdgUNw (n=0x0) at nimcache/debug/status_api/stdlib_system.c:1741
#1 prepareForInteriorPointerChecking_Zqr3EQAAcehIfp3uSECEuQsystem (a=0x7fffefffc288)
at nimcache/debug/status_api/stdlib_system.c:1770
#2 collectCTBody_zoTIuavlrCHyw3B8MBaLJA_2 (gch=gch@entry=0x7fffefffc220)
at nimcache/debug/status_api/stdlib_system.c:4340
#3 0x00007ffff7d4fb92 in collectCT_zoTIuavlrCHyw3B8MBaLJA (gch=0x7fffefffc220)
at nimcache/debug/status_api/stdlib_system.c:4404
#4 collectCT_zoTIuavlrCHyw3B8MBaLJA (gch=0x7fffefffc220) at nimcache/debug/status_api/stdlib_system.c:4374
#5 0x00007ffff7d4fc39 in rawNewObj_BpNS5yt3b9cMOponsUKh8aw (
typ=typ@entry=0x7ffff7fc03c0 <NTI_xsIzb6EDNuJQE2KHY8fPTQ_>, size=size@entry=88, gch=0x7fffefffc220)
at nimcache/debug/status_api/stdlib_system.c:4500
#6 0x00007ffff7d5012a in newObj (typ=typ@entry=0x7ffff7fc03c0 <NTI_xsIzb6EDNuJQE2KHY8fPTQ_>, size=size@entry=88)
at nimcache/debug/status_api/stdlib_system.c:4595
#7 0x00007ffff7d76ca1 in newDispatcher_9cn2s9bl2AlM9bOFiYttviChw_2 ()
at nimcache/debug/status_api/chronos_asyncloop.c:764
#8 0x00007ffff7d7e655 in getGlobalDispatcher_9cn2s9bl2AlM9bOFiYttviChw ()
at nimcache/debug/status_api/chronos_asyncloop.c:783
#9 poll_yNXn6B3diVrj9apUe0xlOKQ_3 () at nimcache/debug/status_api/chronos_asyncloop.c:1563
#10 0x00007ffff7d45116 in nimbus_poll () at nimcache/debug/status_api/nimbus_status_api.c:1419
#11 0x000000000047ac90 in runtime.asmcgocall () at /usr/local/go/src/runtime/asm_amd64.s:635
#12 0x0000000000453b21 in runtime.park_m (gp=0xc000230300) at /usr/local/go/src/runtime/proc.go:2605
#13 0x000000c000000180 in ?? ()
#14 0x000000c000230300 in ?? ()
#15 0x000000c00009e180 in ?? ()
#16 0x0000000000800000 in crypto/tls.(*serverHandshakeState).processClientHello (hs=0x0, ~r0=...)
at /usr/local/go/src/crypto/tls/handshake_server.go:251
#17 0x0000000000000000 in ?? ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment