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

manager crashing on M3 docker with Syscall pipe2() failed #99

Open
shankari opened this issue Dec 10, 2024 · 1 comment
Open

manager crashing on M3 docker with Syscall pipe2() failed #99

shankari opened this issue Dec 10, 2024 · 1 comment

Comments

@shankari
Copy link
Collaborator

Tried running the demo on an M3.

Got error

root@b067b0828b54:/workspace# sh /ext/build/run-scripts/run-sil-ocpp201-pnc.sh
2024-12-10 15:36:55.001147 [INFO] manager          ::   ________      __                _   
2024-12-10 15:36:55.005948 [INFO] manager          ::  |  ____\ \    / /               | |
2024-12-10 15:36:55.005993 [INFO] manager          ::  | |__   \ \  / /__ _ __ ___  ___| |_
2024-12-10 15:36:55.006015 [INFO] manager          ::  |  __|   \ \/ / _ \ '__/ _ \/ __| __|
2024-12-10 15:36:55.006041 [INFO] manager          ::  | |____   \  /  __/ | |  __/\__ \ |_
2024-12-10 15:36:55.006211 [INFO] manager          ::  |______|   \/ \___|_|  \___||___/\__|
2024-12-10 15:36:55.006231 [INFO] manager          :: 
2024-12-10 15:36:55.006244 [INFO] manager          :: everest-framework 0.17.2 @v0.17.2
2024-12-10 15:36:55.006262 [INFO] manager          :: everest-core 2024.9.0 @2024.9.0-dirty
2024-12-10 15:36:55.006308 [INFO] manager          :: 
2024-12-10 15:36:55.006329 [INFO] manager          :: Using MQTT broker mqtt-server:1883
2024-12-10 15:36:55.009553 [ERRO] manager         int main(int, char**) :: Main manager process exits because of caught exception:
Syscall pipe2() failed (Invalid argument), exiting

The relevant code is: https://github.com/EVerest/everest-framework/blob/6ff5d21b512e43397c537a8167dfec2136cb654a/src/system_unix.cpp#L193

    if (pipe2(pipefd, O_CLOEXEC | O_DIRECT)) {
        throw std::runtime_error(fmt::format("Syscall pipe2() failed ({}), exiting", strerror(errno)));
    }
@shankari
Copy link
Collaborator Author

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