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

Segfault after BlockchainLMDB::do_resize #402

Closed
pmknutsen opened this issue Sep 12, 2015 · 1 comment
Closed

Segfault after BlockchainLMDB::do_resize #402

pmknutsen opened this issue Sep 12, 2015 · 1 comment

Comments

@pmknutsen
Copy link

bitmonerod silently fails when launched after executing BlockchainLMDB::do_resize. I have reset the database, and re-synced with the same result. The following is the last output when running the deamon. Box runs Ubuntu 14.04 LTS, with 8GB RAM and tons of HDD space to spare:

2015-Sep-11 22:47:38.748646 BlockchainLMDB::need_resize
2015-Sep-11 22:47:38.748851 DB map size:     1073741824
2015-Sep-11 22:47:38.749055 Space used:      967413760
2015-Sep-11 22:47:38.749251 Space remaining: 106328064
2015-Sep-11 22:47:38.749446 Size threshold:  0
2015-Sep-11 22:47:38.749818 Percent used: 0.9010  Percent threshold: 0.8000
2015-Sep-11 22:47:38.751299 Threshold met (percent-based)
2015-Sep-11 22:47:38.751443 LMDB memory map needs resized, doing that now.
2015-Sep-11 22:47:38.751589 BlockchainLMDB::do_resize
2015-Sep-11 22:47:38.751828 LMDB Mapsize increased.  Old: 1024MiB, New: 2048MiB

Segfault as reported in /var/log/syslog

kernel: [859428.738710] bitmonerod[8170]: segfault at 72a0001c ip 083ec820 sp bf814980 error 4 in bitmonerod[8048000+58e000]
kernel: [859502.299108] bitmonerod[8180]: segfault at 72a0001c ip 083ec820 sp bf8658e0 error 4 in bitmonerod[8048000+58e000]
kernel: [859520.137126] bitmonerod[8188]: segfault at 72a0001c ip 083ec820 sp bfa2fb90 error 4 in bitmonerod[8048000+58e000]
@pmknutsen pmknutsen changed the title Silently fails after BlockchainLMDB::do_resize Segfault after BlockchainLMDB::do_resize Sep 12, 2015
@pmknutsen
Copy link
Author

Found the cause of this segfault. Bitmonero was running on 32-bit Ubuntu. Problem resolved when updating OS to 64 bit.

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

1 participant