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

On Windows with non-UTF codepage, startup crash if data path has non-ASCII characters. Causes wallet startup error. #1402

Closed
catenocrypt opened this issue Nov 20, 2018 · 0 comments

Comments

Projects
4 participants
@catenocrypt
Copy link
Contributor

commented Nov 20, 2018

On Windows OS with non-UTF code page (e.g. Hungarian language Windows), paths with non-ASCII chars seem to cause a crash at startup. The MDB library does not handle this case correctly, cannot open the DB files, and this error is not handled well within the node. It results in some NULL pointer access.

Can be reproduced with (on a Windows with non-UTF code page):
rai_node.exe --data_path "c:\Temp\józsef" --debug_block_count

Can be solved in LMDB.
See:
mikroncoin/lmdb#1
nanocurrency/lmdb#2
arugulaBowl/lmdb#1
mikroncoin/mikron_node#33

@rkeene rkeene added the bug label Nov 26, 2018

@rkeene rkeene added this to the V18.0 milestone Nov 26, 2018

@zhyatt zhyatt added this to Unscheduled in V18 Dec 27, 2018

@argakiig argakiig self-assigned this Dec 28, 2018

@cryptocode cryptocode removed their assignment Dec 28, 2018

@argakiig argakiig moved this from Unscheduled to CP 1 (2018-01-09) in V18 Dec 28, 2018

@argakiig argakiig moved this from CP 1 (2018-01-09) to CP 3 (2018-01-23) in V18 Dec 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.