Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Node stopped syncing while upgrading from v19.3.0 to v20.0.2 - Segmentation fault, No debug information available for stacktrace. You should add debug information and then run #5777

Open
UMANGAWASTHY opened this issue Dec 19, 2023 · 5 comments

Comments

@UMANGAWASTHY
Copy link

Hello Team
I am facing an issue while upgrading from v19.3.0 to v20.0.2.

Posix Signal: Segmentation fault,
No debug information available for stacktrace. You should add debug information and then run:,
dashd -printcrashinfo=bvcgc43iinzgc43ijfxgm3ybaacwiyltnbscaudponuxqictnftw4ylmhiqfgzlhnvsw45dboruw63ramzqxk3dubna4jdyaaaaaaagqh47hxjbjaaahq6tqaaaaaaaa44ftiaaaaaaaa7kbgqaaaaaaaawqwlyaaaaaaaadiokaaaaaaaacqtboaaaaaaaaycp6aaaaaaaaaraqin52ikiaacaaqs33uquqaaaa

Docker File - To build docker image

FROM debian:stable-slim

RUN apt-get update -y
RUN apt-get install -y curl
RUN curl -LOk https://github.com/dashpay/dash/releases/download/v20.0.2/dashcore-20.0.2-x86_64-linux-gnu.tar.gz
RUN tar --strip=2 -xzf *.tar.gz -C /usr/local/bin
WORKDIR /usr/local/bin
VOLUME ["/root/.dash"]
EXPOSE 9998 9999 19998 19999
ENTRYPOINT ["dashd"]

Docker compose File

version: '2'
services:
nodedash:
image: dashnode:v20.0.2
container_name: dashnode1332
restart: always
ports:
- "1332:9998"
- "127.0.0.1:9999:9999"
command: ["-disablewallet","-reindex","-rpcbind=dashnode1332","-rpcallowip=0.0.0.0/0","-printtoconsole=1","-onlynet=ipv4","-txindex","-dbcache=1024","-rpcthreads=128","-rpcuser=user","-rpcpassword=password","-blocksonly=1"]
volumes:
- /MyDisk/node-dash/data-3:/root/.dashcore
#mem_limit: 16g

Node logs

2023-12-19T07:45:24Z Filling coin cache with masternode UTXOs...,
2023-12-19T07:45:24Z CDeterministicMNManager::GetListForBlockInternal -- initial snapshot. blockHash=00000ffd590b1485b3caadc19b22e6379c733355108f107a430458cdf3407ab6 nHeight=0,
2023-12-19T07:45:24Z Filling coin cache with masternode UTXOs: done in 0ms,
2023-12-19T07:45:24Z Failed to open mempool file from disk. Continuing anyway.,
2023-12-19T07:45:24Z loadblk thread exit,
2023-12-19T07:45:25Z New outbound peer connected: version: 70230, blocks=1990279, peer=0 (full-relay),
2023-12-19T07:45:25Z Posix Signal: Segmentation fault,
No debug information available for stacktrace. You should add debug information and then run:,
dashd -printcrashinfo=bvcgc43iinzgc43ijfxgm3ybaacwiyltnbscaudponuxqictnftw4ylmhiqfgzlhnvsw45dboruw63ramzqxk3dubna4jdyaaaaaaagqh47hxjbjaaahq6tqaaaaaaaa44ftiaaaaaaaa7kbgqaaaaaaaawqwlyaaaaaaaadiokaaaaaaaacqtboaaaaaaaaycp6aaaaaaaaaraqin52ikiaacaaqs33uquqaaaa,
Posix Signal: Segmentation fault,
No debug information available for stacktrace. You should add debug information and then run:,
dashd -printcrashinfo=bvcgc43iinzgc43ijfxgm3ybaacwiyltnbscaudponuxqictnftw4ylmhiqfgzlhnvsw45dboruw63ramzqxk3dubna4jdyaaaaaaagqh47hxjbjaaahq6tqaaaaaaaa44ftiaaaaaaaa7kbgqaaaaaaaawqwlyaaaaaaaadiokaaaaaaaacqtboaaaaaaaaycp6aaaaaaaaaraqin52ikiaacaaqs33uquqaaaa,

Thanks
Umang Awasthy

@UMANGAWASTHY
Copy link
Author

@PastaPastaPasta can you please provide some help here.

@PastaPastaPasta
Copy link
Member

Well; you could now use v20.0.3; additionally you could consider using the pre-made docker images here https://hub.docker.com/r/dashpay/dashd/tags (docker pull dashpay/dashd:20.0.3)

@PastaPastaPasta
Copy link
Member

Symbolized debug info

pasta@pasta1:/tmp/dashcore-20.0.2/bin$ ./dashd -printcrashinfo=bvcgc43iinzgc43ijfxgm3ybaacwiyltnbscaudponuxqictnftw4ylmhiqfgzlhnvsw45dboruw63ramzqxk3dubna4jdyaaaaaaagqh47hxjbjaaahq6tqaaaaaaaa44ftiaaaaaaaa7kbgqaaaaaaaawqwlyaaaaaaaadiokaaaaaaaacqtboaaaaaaaaycp6aaaaaaaaaraqin52ikiaacaaqs33uquqaaaa
Posix Signal: Segmentation fault
   0#: (0x55DD55436441) stl_vector.h:111        - std::_Vector_base<unsigned long, std::allocator<unsigned long> >::_Vector_impl_data::_M_copy_data(std::_Vector_base<unsigned long, std::allocator<unsigned long> >::_Vector_impl_data const&)
   1#: (0x55DD55436441) stl_vector.h:123        - std::_Vector_base<unsigned long, std::allocator<unsigned long> >::_Vector_impl_data::_M_swap_data(std::_Vector_base<unsigned long, std::allocator<unsigned long> >::_Vector_impl_data&)
   2#: (0x55DD55436441) stl_vector.h:1818       - std::vector<unsigned long, std::allocator<unsigned long> >::_M_move_assign(std::vector<unsigned long, std::allocator<unsigned long> >&&, std::integral_constant<bool, true>)
   3#: (0x55DD55436441) stl_vector.h:714        - std::vector<unsigned long, std::allocator<unsigned long> >::operator=(std::vector<unsigned long, std::allocator<unsigned long> >&&)
   4#: (0x55DD55436441) stacktraces.cpp:777     - HandlePosixSignal
   5#: (0x7F81CFF1DFD0) <unknown-file>          - ???
   6#: (0x55DD55241A78) atomic_base.h:426       - std::__atomic_base<int>::load(std::memory_order) const
   7#: (0x55DD55241A78) atomic_base.h:289       - std::__atomic_base<int>::operator int() const
   8#: (0x55DD55241A78) sync.h:60               - CMasternodeSync::IsBlockchainSynced() const
   9#: (0x55DD55241A78) client.cpp:35           - CCoinJoinClientQueueManager::ProcessMessage(CNode const&, PeerManager&, std::basic_string_view<char, std::char_traits<char> >, CDataStream&)
  10#: (0x55DD54E7ABE7) unique_ptr.h:173        - std::__uniq_ptr_impl<CJContext, std::default_delete<CJContext> >::_M_ptr() const
  11#: (0x55DD54E7ABE7) unique_ptr.h:422        - std::unique_ptr<CJContext, std::default_delete<CJContext> >::get() const
  12#: (0x55DD54E7ABE7) unique_ptr.h:416        - std::unique_ptr<CJContext, std::default_delete<CJContext> >::operator->() const
  13#: (0x55DD54E7ABE7) net_processing.cpp:4325 - ProcessMessage
  14#: (0x55DD54E7E17D) atomic_base.h:426       - std::__atomic_base<bool>::load(std::memory_order) const
  15#: (0x55DD54E7E17D) atomic:87               - std::atomic<bool>::operator bool() const
  16#: (0x55DD54E7E17D) net_processing.cpp:4455 - ProcessMessages
  17#: (0x55DD54E2AB2D) net.cpp:2818            - CConnman::ThreadMessageHandler()
  18#: (0x55DD5547E303) thread.cpp:19           - util::TraceThread(char const*, std::function<void ()>)
  19#: (0x55DD54E1EC28) std_function.h:244      - std::_Function_base::~_Function_base()
  20#: (0x55DD54E1EC28) std_function.h:303      - std::function<void ()>::~function()
  21#: (0x55DD54E1EC28) invoke.h:60             - __invoke_impl<void, void (*)(char const*, std::function<void()>), char const*, CConnman::Start(CScheduler&, const CConnman::Options&)::<lambda()> >
  22#: (0x55DD54E1EC28) invoke.h:95             - __invoke<void (*)(char const*, std::function<void()>), char const*, CConnman::Start(CScheduler&, const CConnman::Options&)::<lambda()> >
  23#: (0x55DD54E1EC28) thread:264              - _M_invoke<0, 1, 2>
  24#: (0x55DD54E1EC28) thread:271              - operator()
  25#: (0x55DD54E1EC28) thread:215              - _M_run
  26#: (0x55DD55943FC0) <unknown-file>          - ???
  27#: (0x7F81CFF6B044) <unknown-file>          - ???
  28#: (0x7F81CFFEA880) <unknown-file>          - ???

@UMANGAWASTHY
Copy link
Author

UMANGAWASTHY commented Jan 3, 2024

Hi @PastaPastaPasta
I have started node using https://hub.docker.com/r/dashpay/dashd/tags (docker pull dashpay/dashd:20.0.3) image. Now i am getting invalid option error.

docker-compose.yaml
version: '2'
services:
nodedash:
image: dashpay/dashd:20.0.3
container_name: dashnode1332
# restart: always
ports:
- "1332:9998"
- "127.0.0.1:9999:9999"
command: ["-disablewallet","-reindex","-rpcbind=dashnode1332","-rpcallowip=0.0.0.0/0","-printtoconsole=1","-onlynet=ipv4","-txindex","-dbcache=1024","-rpcthreads=128","-rpcuser=rpcuser","-rpcpassword=password","-blocksonly=1"]
volumes:
- /localdisk/data:/root/.dashcore

node logs ---
dashnode1332 | /docker-entrypoint.sh: line 24: exec: -d: invalid option
dashnode1332 | exec: usage: exec [-cl] [-a name] [command [arguments ...]] [redirection ...]
dashnode1332 exited with code 2

Thanks
Umang Awasthy

@debasish22
Copy link

i am also facing the same issue . @PastaPastaPasta any help here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants