Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
7
Star
0
Fork
48
src-openEuler
/
crash
Code
Issues
1
Pull Requests
0
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
64
Fix aarch64 KASAN 内核kdump,crash工具bt无法显示宕机堆栈
Merged
techding:master
src-openEuler:master
techding
create on 2022-12-06 20:08
Clone/Download
HTTPS
SSH
Copy
Email Patch
Diff file
修改方法同步在推upstream https://listman.redhat.com/archives/crash-utility/2022-December/010288.html 已得到upstream维护者认可 https://listman.redhat.com/archives/crash-utility/2022-December/010329.html 问题原因为开启CONFIG_KASAN=y编译的内核,函数内会嵌入一些stack检查的汇编 参考gcc的说明 (https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/asan.cc;h=dc7b7f4bcf1803dd2ffbbaad782cf1b515d61ed8;hb=717154f26b0856bbf19787ffcdfc895b6aa67d4f#l156) 156 3/ The following 8 bytes contain the PC of the current function which 157 will be used by the run-time library to print an error message. 左侧红区会将函数入口地址压入栈内 crash工具arm64架构寻找栈顶的方法是在栈上遍历,循环符合条件的LR压栈位置 原条件 (*ptr >= xxx_start) && (*ptr < xxx_end),会被上述 asan-stack机制压入的函数入口地址干扰,导致找错起始位置
This pull request needs to pass some approval items
Type
Assign personnel
Status
Reviewer
wangbin
Completed
(0/0 )
How to merge Pull Request
git checkout master
git pull https://gitee.com/ch-cityhunter/crash.git master
git push origin master
Comments
14
Commits
1
Files
2
Checks
Code problems
0
Bulk operation
Expand
Collapse
Reviewer
Code Owner
Reviewer
hexiaowen
overweight
zhujianwei001
zhujianwei001
谢志鹏
xiezhipeng1
Monday
licihua
wangbin
wangbin224
陈棋德
dillon_chen
syyhao
shenyangyang01
No Setting
Min number
0
Tester
hexiaowen
overweight
zhujianwei001
zhujianwei001
谢志鹏
xiezhipeng1
Monday
licihua
wangbin
wangbin224
陈棋德
dillon_chen
syyhao
shenyangyang01
No Setting
Min number
0
Priority
Not specified
Serious
Main
Secondary
Unimportant
Label
openeuler-cla/yes
lgtm
approved
ci_successful
sig/Base-service
Link Issue
I64FYG
aarch64 内核配置开KASAN,宕机出vmcore,crash工具无法正常显示bt
Milestone
No related milestones
Participators
(4)
1
https://gitee.com/src-openeuler/crash.git
git@gitee.com:src-openeuler/crash.git
src-openeuler
crash
crash
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register