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

aarch64适配调试遇到的两个segment fault? #830

Open
GitsForHuster opened this issue Jul 16, 2024 · 0 comments
Open

aarch64适配调试遇到的两个segment fault? #830

GitsForHuster opened this issue Jul 16, 2024 · 0 comments

Comments

@GitsForHuster
Copy link

1、vsetzoneslab函数的segment fault;

uma_startup1->("UMA Kegs") zone_ctor->keg_ctor->keg_layout-> keg->uk_flags |= UMA_ZFLAG_VTOSLAB; (大于一个page)
->("UMA Zones")zone_ctor->uma_kcreate->zone_import->keg_fetch_slab->keg_alloc_slab->vsetzoneslab (访问未初始化的hash数组 uma_page_slab_hash);

uma_page_slab_hash初始化需提前;
image

2、cache_alloc函数的segment fault;

访问pcpup即x18寄存器的值为NULL,导致的segment fault;
image

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