-
Notifications
You must be signed in to change notification settings - Fork 88
Closed
Labels
Component: Core AppRelated to the application itself.Related to the application itself.Dev Status: Help WantedSeeking someone to help resolve this issue. Nobody is actively working on the issue.Seeking someone to help resolve this issue. Nobody is actively working on the issue.Issue Type: BugSomething isn't workingSomething isn't workingPriority: 3 - HighCritical item that should be done as soon as possibleCritical item that should be done as soon as possibleTag: SegfaultThis issue causes the application to crash.This issue causes the application to crash.
Description
The assertion in const CBlockIndex* CBlockIndex::GetAncestor(int) at pindexWalk->pprev fails it's assertion.
This is unfortunately unreliable to reproduce. Needs investigating into what had caused it.
This was done with v1.0.4.7, downloaded from GitHub Veil releases.
See backtrace:
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff3d5b700 (LWP 22025)]
[New Thread 0x7ffff1d9e700 (LWP 22026)]
[New Thread 0x7ffff0e51700 (LWP 22027)]
[New Thread 0x7fffe9ffd700 (LWP 22028)]
[New Thread 0x7fffe3e1e700 (LWP 22029)]
[New Thread 0x7fffe361d700 (LWP 22030)]
[New Thread 0x7fffe2e1c700 (LWP 22031)]
[New Thread 0x7fffe261b700 (LWP 22032)]
[New Thread 0x7fffe1e1a700 (LWP 22033)]
[New Thread 0x7fffe1619700 (LWP 22034)]
[New Thread 0x7fffe0e18700 (LWP 22035)]
veil-qt: chain.cpp:105: const CBlockIndex* CBlockIndex::GetAncestor(int) const: Assertion `pindexWalk->pprev' failed.
Thread 4 "QThread" received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff0e51700 (LWP 22027)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) backtrace
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff5bc1801 in __GI_abort () at abort.c:79
#2 0x00007ffff5bb139a in __assert_fail_base (
fmt=0x7ffff5d387d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x5555576f4170 "pindexWalk->pprev",
file=file@entry=0x5555576741ab "chain.cpp", line=line@entry=105,
function=function@entry=0x5555576f4200 <CBlockIndex::GetAncestor(int) const::__PRETTY_FUNCTION__> "const CBlockIndex* CBlockIndex::GetAncestor(int) const")
at assert.c:92
#3 0x00007ffff5bb1412 in __GI___assert_fail (
assertion=0x5555576f4170 "pindexWalk->pprev",
file=0x5555576741ab "chain.cpp", line=105,
function=0x5555576f4200 <CBlockIndex::GetAncestor(int) const::__PRETTY_FUNCTION__> "const CBlockIndex* CBlockIndex::GetAncestor(int) const")
at assert.c:101
#4 0x0000555555b0618b in CBlockIndex::GetAncestor(int) const ()
#5 0x0000555555b06348 in CBlockIndex::BuildSkip() ()
#6 0x0000555555a71f54 in CChainState::LoadBlockIndex(Consensus::Params const&, CBlockTreeDB&) ()
#7 0x0000555555a7234a in LoadBlockIndex(CChainParams const&) ()
#8 0x00005555558ca852 in AppInitMain() ()
#9 0x0000555555753032 in BitcoinCore::initialize() ()
#10 0x0000555556588e72 in QObject::event(QEvent*) ()
---Type <return> to continue, or q <return> to quit---
#11 0x00005555568992fc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
#12 0x00005555568a094f in QApplication::notify(QObject*, QEvent*) ()
#13 0x0000555556555cc8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
()
#14 0x0000555556558c7d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
#15 0x00005555565ae714 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
#16 0x0000555556553aaf in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
#17 0x00005555563cce5a in QThread::run() ()
#18 0x00005555563d25fd in QThreadPrivate::start(void*) ()
#19 0x00007ffff79b56db in start_thread (arg=0x7ffff0e51700)
at pthread_create.c:463
#20 0x00007ffff5ca288f in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95```
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Component: Core AppRelated to the application itself.Related to the application itself.Dev Status: Help WantedSeeking someone to help resolve this issue. Nobody is actively working on the issue.Seeking someone to help resolve this issue. Nobody is actively working on the issue.Issue Type: BugSomething isn't workingSomething isn't workingPriority: 3 - HighCritical item that should be done as soon as possibleCritical item that should be done as soon as possibleTag: SegfaultThis issue causes the application to crash.This issue causes the application to crash.