Skip to content

[Bug]: Kusama validator core-dumps whenever para validator #2402

@Lederstrumpf

Description

@Lederstrumpf

Bug Summary

Error occurs whenever validator is active as para validator

Bug Description

Kusama validator core-dumps after ~ 10s whenever selected as para validator, else operates stably.

Steps to Reproduce

Mode: Validator
number of nodes: 1
Command: kagome --chain kusama -d [...] --validator --listen-addr [...] --public-addr [...] --name [...] --rpc-port [...] --telemetry-url [...] --telemetry-url [...] --node-key-file [...] -ldebug

Effects of the Bug

Trace log when active as para validator:

para-validator-core-dump.log

Core dump log:

           PID: 31131 (kagome)
           UID: 1002 (...)
           GID: 100 (users)
        Signal: 6 (ABRT)
     Timestamp: Mon 2025-03-17 12:27:39 UTC (27min ago)
  Command Line: .../kagome --chain kusama -d ... --listen-addr ... --public-addr ... --name ... --node-key-file ... --validator -ltrace
    Executable: .../kagome
 Control Group: /system.slice/kagomalice.service
          Unit: kagomalice.service
         Slice: system.slice
       Boot ID: ...
    Machine ID: ...
      Hostname: ...
       Storage: /var/lib/systemd/coredump/core.kagome.1002.1cc7c0c52ed64c9282b1f9bbe4d3ea53.31131.1742214459000000.zst (present)
  Size on Disk: 661M
       Message: Process 31131 (kagome) of user 1002 dumped core.

                Module .../kagome without build-id.
                Module libgcc_s.so.1 without build-id.
                Module libstdc++.so.6 without build-id.
                Module libseccomp.so.2 without build-id.
                Module libncursesw.so.6 without build-id.
                Module libatomic.so.1 without build-id.
                Stack trace of thread 31151:
                #0  0x00007f553227defc __pthread_kill_implementation (libc.so.6 + 0x8fefc)
                #1  0x00007f553222de86 raise (libc.so.6 + 0x3fe86)
                #2  0x000000000078cb9e n/a (.../kagome + 0x38cb9e)
                #3  0x00007f553222df30 __restore_rt (libc.so.6 + 0x3ff30)
                #4  0x00007f553227defc __pthread_kill_implementation (libc.so.6 + 0x8fefc)
                #5  0x00007f553222de86 raise (libc.so.6 + 0x3fe86)
                #6  0x00007f5532216935 abort (libc.so.6 + 0x28935)
                #7  0x00007f55324acc0b _ZN9__gnu_cxx27__verbose_terminate_handlerEv.cold (libstdc++.so.6 + 0xacc0b)
                #8  0x00007f55324bc21a _ZN10__cxxabiv111__terminateEPFvvE (libstdc++.so.6 + 0xbc21a)
                #9  0x00007f55324bc285 _ZSt9terminatev (libstdc++.so.6 + 0xbc285)
                #10 0x00007f55324bc4d7 __cxa_throw (libstdc++.so.6 + 0xbc4d7)
                #11 0x000000000045d9fc n/a (.../kagome + 0x5d9fc)
                #12 0x0000000000bacd8c n/a (.../kagome + 0x7acd8c)
                #13 0x0000000000ba2a63 n/a (.../kagome + 0x7a2a63)
                #14 0x0000000000ba37b9 n/a (.../kagome + 0x7a37b9)
                #15 0x00000000008acd2d n/a (.../kagome + 0x4acd2d)
                #16 0x00000000008b8c0c n/a (.../kagome + 0x4b8c0c)
                #17 0x00007f55324e8683 execute_native_thread_routine (libstdc++.so.6 + 0xe8683)
                #18 0x00007f553227c272 start_thread (libc.so.6 + 0x8e272)
                #19 0x00007f55322f7dec __clone3 (libc.so.6 + 0x109dec)

                Stack trace of thread 31131:
                #0  0x00007f5532278c5e __futex_abstimed_wait_common (libc.so.6 + 0x8ac5e)
                #1  0x00007f553227b4c0 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8d4c0)
                #2  0x0000000005691bab n/a (.../kagome + 0x5291bab)
                #3  0x0000000005693db8 n/a (.../kagome + 0x5293db8)
                #4  0x0000000000790f40 n/a (.../kagome + 0x390f40)
                #5  0x00000000005dbd09 n/a (.../kagome + 0x1dbd09)
                #6  0x00007f553221810e __libc_start_call_main (libc.so.6 + 0x2a10e)
                #7  0x00007f55322181c9 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a1c9)
                #8  0x0000000000780875 n/a (.../kagome + 0x380875)
                ELF object binary architecture: AMD x86-64

Can also DM link to the concrete core dump.

Expected Behavior

No core dumps

System Information

NixOS 24.11 with kernel 6.13.7
Compiler: gcc 13.2.0
CMake: cmake version 3.25.3

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions