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

5.0.0-rc3 WAX: Error on shutdown: corrupted size vs. prev_size #2022

Closed
matthewdarwin opened this issue Dec 29, 2023 · 6 comments · Fixed by #2042 or #2088
Closed

5.0.0-rc3 WAX: Error on shutdown: corrupted size vs. prev_size #2022

matthewdarwin opened this issue Dec 29, 2023 · 6 comments · Fixed by #2042 or #2088
Assignees
Labels
actionable bug Something isn't working 👍 lgtm

Comments

@matthewdarwin
Copy link

This issue still exists: corrupted size vs. prev_size. Has been seen in many previous versions. It is triggered on a normal clean shutdown. I don't know how often it happens because the state is written correctly and nodeos starts up. So it's just a log message, but nothing bad happens....

Dec 29 00:13:41 wax-snap71c nodeos[2575092]: info  2023-12-29T00:13:41.514 nodeos    http_plugin.cpp:515           plugin_shutdown      ] exit shutdown
Dec 29 00:13:41 wax-snap71c nodeos[2575092]: info  2023-12-29T00:13:41.515 nodeos    main.cpp:155                  operator()           ] nodeos version v5.0.0wax01-rc3 v5.0.0wax01-rc3-10c04d06485c8a1fdb52f6036dfa90b93813cb3a-dirty
Dec 29 00:13:41 wax-snap71c nodeos[2575092]: info  2023-12-29T00:13:41.515 nodeos    main.cpp:62                   log_non_default_opti ] Non-default options:  [.........]
Dec 29 00:13:41 wax-snap71c nodeos[2575092]: corrupted size vs. prev_size
Dec 29 00:13:45 wax-snap71c nodeos[2593285]: nodeos still running
Dec 29 00:13:46 wax-snap71c snapshot[2554292]: get_info failed
Dec 29 00:13:46 wax-snap71c systemd[1]: nodeos.service: Main process exited, code=killed, status=6/ABRT
Dec 29 00:13:49 wax-snap71c snapshot[2554292]: get_info failed
Dec 29 00:13:50 wax-snap71c nodeos[2593285]: nodeos stopped
Dec 29 00:13:51 wax-snap71c systemd[1]: nodeos.service: Failed with result 'signal'.
Dec 29 00:13:51 wax-snap71c systemd[1]: Stopped nodeos.service - EOS Nation Nodeos.
Dec 29 00:13:51 wax-snap71c systemd[1]: nodeos.service: Consumed 8h 6min 43.460s CPU time.
@matthewdarwin
Copy link
Author

Today I got

nodeos[999210]: corrupted size vs. prev_size while consolidating

@spoonincode
Copy link
Member

Can you provide the core dump for these crashes?

@matthewdarwin
Copy link
Author

There is no core dump.. Core dumps are turned off in production systems.

@bhazzard
Copy link

bhazzard commented Jan 3, 2024

Matthew says he thinks this issue has been seen since v2. Previous research found an issue when API calls were in progress while a node was shutting down.

Not a blocker for 5.0.0 stable.

@spoonincode
Copy link
Member

Without core dumps provided it's hard to say for sure, but let's consider #2042 fixing this until knowing otherwise

@matthewdarwin
Copy link
Author

If I see it again (after 5.0.1 release) we can do more debugging on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment