Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • crown evo crown evo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Crown
  • crown evocrown evo
  • Issues
  • #3

Closed
Open
Created Jun 24, 2021 by Mark Brooker@walkjiveflyMaintainer

MN crashes during minting

Running Crown Core version v0.21.0.0-78214a02 MN crashes when attempting to mint a block.

debug.log shows

2021-06-24T12:08:35Z CheckProofOfStake : OutPoint: 771d3663af98540978f769409fc51c7e84ee2b01d28ec66fd713e6a0bbf98f6a:1 Modifier=28c89ac1f9a6169214974a8061684f5f45681760ddec3434e7f2aa3412d93774 timeblockfrom=1624513915 time=1624536530
2021-06-24T12:08:35Z AcceptBlock - hashProof 0000832581639eaf2bc780b9fe541b300d45cda2ef2fa5e14f080bcd3d2ad120
2021-06-24T12:08:35Z UpdateTip: new best=22d939ab96f310157ecdaef630622e6154632b01eab5136ec0e3f2a7ec3b99fd height=3430675 version=0x00160202 log2_work=86.425817 tx=4824230 date='2021-06-24T12:08:50Z' progress=0.008751 cache=0.9MiB(7252txo)
2021-06-24T12:08:36Z New outbound peer connected: version: 70058, blocks=3430675, peer=39, peeraddr=194.182.77.88:9340 (full-relay)
2021-06-24T12:08:37Z NodeMinter: Attempting to stake..
2021-06-24T12:08:37Z [default wallet] keypool reserve 1001
2021-06-24T12:08:37Z [default wallet] keypool return 1001
2021-06-24T12:08:38Z CreateCoinStake: Found valid kernel for mn/sn collateral COutPoint(ccc10c00a1f18c0fef6beaac814c0101f1197dbc6d8de7b7833926e223a48ebe, 1)
2021-06-24T12:08:38Z CreateCoinStake: OutPoint: 5716a556b5baa032c378d1e70fda97352e7a7edfa60700c2c4055de4bd8b777d:1 Modifier=d828429116d10b9af6f3cbed9ab983c6651b1ff873d16ff52a4c9cc03e6b87dc timeblockfrom=1624521888 time=1624536518

and gdb shows

Core was generated by `crownd'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000557a407a67a7 in void std::swap<prevector<28u, unsigned char, unsigned int, int>::direct_or_indirect>(prevector<28u, unsigned char, unsigned int, int>::direct_or_indirect&, prevector<28u, unsigned char, unsigned int, int>::direct_or_indirect&) ()
[Current thread is 1 (Thread 0x7f737e77d700 (LWP 21692))]
(gdb) info thread
  Id   Target Id         Frame 
* 1    Thread 0x7f737e77d700 (LWP 21692) 0x0000557a407a67a7 in void std::swap<prevector<28u, unsigned char, unsigned int, int>::direct_or_indirect>(prevector<28u, unsigned char, unsigned int, int>::direct_or_indirect&, prevector<28u, unsigned char, unsigned int, int>::direct_or_indirect&) ()
  2    Thread 0x7f737df7c700 (LWP 21693) 0x00007f7382362b13 in epoll_wait ()
    at ../sysdeps/unix/syscall-template.S:84
  3    Thread 0x7f737ef7e700 (LWP 21691) pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  4    Thread 0x7f737f77f700 (LWP 21690) pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  5    Thread 0x7f731a7b4700 (LWP 21707) pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  6    Thread 0x7f737cf7a700 (LWP 21695) pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  7    Thread 0x7f73777fe700 (LWP 21697) pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  8    Thread 0x7f737ff80700 (LWP 21689) pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  9    Thread 0x7f737d77b700 (LWP 21694) pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  10   Thread 0x7f7377fff700 (LWP 21696) pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  11   Thread 0x7f7383500740 (LWP 21686) 0x00007f73830dec1d in nanosleep ()
    at ../sysdeps/unix/syscall-template.S:84
  12   Thread 0x7f730bfff700 (LWP 21706) pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  13   Thread 0x7f73292fe700 (LWP 21702) 0x00007f7382362b13 in epoll_wait ()
    at ../sysdeps/unix/syscall-template.S:84
  14   Thread 0x7f7313fff700 (LWP 21705) pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  15   Thread 0x7f731b7b6700 (LWP 21703) 0x00007f738235684d in poll ()
    at ../sysdeps/unix/syscall-template.S:84
  16   Thread 0x7f7319fb3700 (LWP 21708) __lll_lock_wait ()
    at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
  17   Thread 0x7f7376ffd700 (LWP 21698) 0x00007f738235891d in fdatasync ()
    at ../sysdeps/unix/syscall-template.S:84
(gdb) bt
#0  0x0000557a407a67a7 in void std::swap<prevector<28u, unsigned char, unsigned int, int>::direct_or_indirect>(prevector<28u, unsigned char, unsigned int, int>::direct_or_indirect&, prevector<28u, unsigned char, unsigned int, int>::direct_or_indirect&) ()
#1  0x0000557a40ad78d9 in BlockAssembler::CreateNewBlock(CScript const&, CWallet*, bool) ()
#2  0x0000557a40a835a6 in NodeMinter(CChainParams const&, CConnman&) ()
#3  0x0000557a40cb418c in Repeat(CScheduler&, std::function<void ()>, std::chrono::duration<long, std::ratio<1l, 1000l> >) [clone .constprop.83] ()
#4  0x0000557a40cb43b8 in std::_Function_handler<void (), Repeat(CScheduler&, std::function<void ()>, std::chrono::duration<long, std::ratio<1l, 1000l> >)::{lambda()#1}>::_M_invoke(std::_Any_data const&) ()
#5  0x0000557a40cb3b30 in CScheduler::serviceQueue() ()
#6  0x0000557a4075e925 in boost::detail::thread_data<AppInitMain(util::Ref const&, NodeContext&, interfaces::BlockAndHeaderTipInfo*)::{lambda()#3}>::run() ()
#7  0x0000557a40de9222 in thread_proxy ()
#8  0x00007f73830d56ba in start_thread (arg=0x7f737e77d700)
    at pthread_create.c:333
#9  0x00007f738236251d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Assignee
Assign to
Time tracking