wangxiao65
43e719e5c5
fix segmentation fault in value_search_module_6_4()
...
(cherry picked from commit f6332c374b4635b619527217641eb4f774b2423c)
2025-04-28 19:06:46 +08:00
Gu Zitao
e52deb9eb4
crash: add support for sw64
...
Signed-off-by: Gu Zitao <guzitao@wxiat.com>
(cherry picked from commit 22074d8265c9eadeb7d24781fa8da26f04a3b3d3)
2025-04-28 10:11:17 +08:00
沈仲伟
7e4a08e09b
remove the architecture judgment in the patches section; include all patches in the source package.
...
(cherry picked from commit 9f0de9c61411a9a3fa66b865314ce99dba3adc25)
2024-12-06 14:09:36 +08:00
wangxiao65
d689f40141
arm64: fix SDEI stack frame unwind while UNW_4_14 is set
2024-11-29 06:35:14 +00:00
wangxiao65
52b38354fa
use autosetup instead of setup in prep stage
2024-11-13 06:45:43 +00:00
wangxiao65
723c22bb0a
arm64:fix a potential segfault when unwind frame
2024-11-12 05:57:22 +00:00
duanchenghao
3836a4b0b1
Fix crash vmlinux /proc/kcore failed
...
When executing "crash vmlinux /proc/kcore", the following error occurred:
crash: cannot translate the ELF header of /proc/kcore
Cause of the problem: The code in the patch was merged into the wrong location.
Signed-of-by: Duan Chenghao <duanchenghao@kylinos.cn>
2024-10-28 14:41:06 +08:00
yanyir
094d97d932
Add gdbsupport ignore Wenum-constexpr-conversion in enum-flags.h to fix clang build error
...
A backported patch from gdb (commit ID:8cbde735 "gdbsupport: ignore -Wenum-constexpr-conversion in enum-flags.")
2024-09-07 00:39:58 +08:00
zhangzikang1992
66aac54683
Fix crash parsing vmcore file failed for loongarch64
2024-08-15 22:37:42 +08:00
孤独的大河马在躺平
37379101f9
Fix lack of loongarch64 and sw_64 patche files in src.rpm package which is build from any platform
...
Signed-off-by: 孤独的大河马在躺平 <shaojiansong@kylinos.cn>
2024-05-28 09:24:21 +00:00
doupengda
d32856d64d
Resolve loongarch64 patch add error and add support for loongarch64
2024-04-16 09:57:29 +08:00
chenhaixiang
1b3ca1f15b
Upgrade to crash-8.0.4
...
Signed-off-by chenhaixiang3@huawei.com
2024-01-25 14:32:19 +08:00
chenhaixiang
677ac816c7
Fix compilation error due to new strlcpy function that glibc added
...
Signed-off-by: chenhaixiang3@huawei.com
2023-08-01 08:22:41 -04:00
Ming Wang
2279f9696c
crash: add LoongArch64 support.
...
Signed-off-by: Ming Wang <wangming01@loongson.cn>
2023-07-11 17:35:43 +08:00
EastDong
3405fc720c
add riscv support
2023-07-07 11:43:54 +08:00
chenhaixiang
f73fa2f432
update to crash-8.0.2
...
Signed-off-by:chenhaixiang <chenhaixiang3@huawei.com>
2023-02-10 19:39:15 +08:00
l30029166
d30bfa99c6
fix segfault by "bt" command with offline cpus
2023-01-04 15:52:06 +08:00
huskarTang
56bd067f8d
Fix the value of TIF_SIGPENDING macro
...
Correct the change of the value of TIF_SIGPENDING macro between
different kernel versions.
TIF_SIGPENDING changes with the kernel version as follows:
ARM 2 -> 0 at v2.6.23
MIPS 2 -> 1 at v2.6.23
MIPS64 2 -> 1 at v2.6.23
PPC 2 -> 1 at v2.6.23
IA64 1 -> 0 at v2.6.23
PPC64 2 -> 1 at v2.6.23
S390 2 -> 1 at v3.16
S390X 2 -> 1 at v3.16
2022-12-29 14:44:28 +08:00
huskarTang
bd3bd6b94d
Fix 'kmem -s|-S' option on Linux 5.7 and later kernels
2022-12-29 13:00:01 +08:00
huskarTang
65b1724263
Add lowercase tcr_el1_t1sz
2022-12-29 11:19:03 +08:00
huskarTang
2523dc8464
format patch names
2022-12-28 21:57:59 +08:00
Ding Hui
d38a008f23
fix backtraces of arm64 KASAN kernel dumpfile truncated
...
bugzilla: https://gitee.com/src-openeuler/crash/issues/I64FYG
apply upstream
https://listman.redhat.com/archives/crash-utility/2022-December/010288.html
and port for SDEI stack
Signed-off-by: Ding Hui <dinghui@sangfor.com.cn>
2022-12-06 08:57:29 +08:00
wzx
634549d7d8
Add sw64 architecture
...
Signed-off-by: wzx <wuzx1226@qq.com>
2022-10-19 14:34:47 +08:00
Bin Wang
c09fcc8583
Handle task_struct cpu member changes for kernels >= 5.16-rc1
...
Kernel commit bcf9033e5449bdcaa9bed46467a7141a8049dadb
("sched: move CPU field back into thread_info if THREAD_INFO_IN_TASK=y")
moved the member cpu of task_struct back into thread_info.
Without the patch, crash fails with the following error message
during session initialization:
crash: invalid structure member offset: task_struct_cpu
FILE: task.c LINE: 2904 FUNCTION: add_context()
And delete use_system_readline_v3.patch. Use readline provided by
internal gdb instead of system readline. System readline do not
match crash, and will cause a Segmentation fault when parse corefile.
Signed-off-by: Bin Wang <wangbin224@huawei.com>
2022-02-23 20:49:56 +08:00
zhouwenpei
113036b569
revert to fix null pointer reference when CONFIG_KASAN is open
2022-02-08 11:23:34 +08:00
zhouwenpei
e956a09318
add SDEI stack resolution
2021-12-31 11:30:02 +08:00
zhouwenpei
6cef8b237f
fix seek error IRQ stack pointer
2021-12-30 17:33:21 +08:00
zhouwenpei
a70be530b9
update verion to 7.3.0
2021-11-30 20:13:30 +08:00
wangbin
1882a00b9d
crash: fix null pointer reference when CONFIG_KASAN is open
...
If CONFIG_KASAN is open, CONFIG_VMAP_STACK will be closed. And
the sdei_stack_normal_ptr will be undefined. When crash init the
stack, sdei_stacks will not init. We should not access the sdei_stacks
later, so check null pointer before access it.
Signed-off-by: wangbin <wangbin224@huawei.com>
2021-09-03 16:14:17 +08:00
zhouwenpei
f617707973
add buildrequire m4
2021-06-29 15:42:34 +08:00
tong_1001
31d3ad5c28
add -j option for building efficiency optimization
2021-05-10 19:21:50 +08:00
shixuantong
6919abe3d9
fix patch issue in upgrade version commit
2021-04-08 22:59:03 +08:00
renmingshuai
2424f9464a
Upgrade version to 7.2.9
2021-02-01 11:37:13 +08:00
桐小哥
cee9e7e661
Update Source0, URL, add Source1 and update tarball from upstream release
2020-12-12 10:15:44 +08:00
桐小哥
34fc28b7de
Restore Source0 and URL
2020-09-08 17:19:25 +08:00
jinzhimin369
341a661cd7
update version
2020-07-28 11:14:39 +08:00
weiwei_150212
76806288cc
update version
2020-07-28 09:09:30 +08:00
19909236985
6a3a22c4cf
add yaml file in package
2020-07-28 09:09:29 +08:00
pengyeqing
9f8438951d
fix parse vmcore fail
2020-01-19 11:51:27 +08:00
zhuchunyi
d79406478d
update code
2019-11-06 19:04:54 +08:00
overweight
3bb4f0fd48
Package init
2019-09-30 10:35:57 -04:00