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

WARN_ONが出力されるkernel configについて #106

Open
Koichi98 opened this issue Aug 13, 2024 · 0 comments
Open

WARN_ONが出力されるkernel configについて #106

Koichi98 opened this issue Aug 13, 2024 · 0 comments

Comments

@Koichi98
Copy link
Contributor

pre_handler_do_exit()内でWARN_ONを利用して、topic_wrapperを解放する直前にtopic.publisher_queuesがNULLであることを確認している。NULLでなければdmesgでスタックトレースなどのデバッグ情報が出力されるはずだが、これが実際に機能するかはlinux kernelのconfigが関わっている模様。
今後もWARN_ONを利用したassertを他の箇所にも挿入する可能性があるので調査の必要がある。
CONFIG_BUGやCONFIG_DEBUG_INFOあたりが怪しいが詳細は不明。

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