87 Commits

Author SHA1 Message Date
openeuler-ci-bot
edbde128fc
!149 [sync] PR-148: fix segmentation fault in value_search_module_6_4()
From: @openeuler-sync-bot 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2025-04-29 06:20:51 +00:00
wangxiao65
43e719e5c5 fix segmentation fault in value_search_module_6_4()
(cherry picked from commit f6332c374b4635b619527217641eb4f774b2423c)
2025-04-28 19:06:46 +08:00
openeuler-ci-bot
b17fc1f05f
!145 [sync] PR-144: crash: add support for sw64
From: @openeuler-sync-bot 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2025-04-28 02:51:42 +00: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
openeuler-ci-bot
cf1ac9c504
!135 [sync] PR-133: 同步PR!103修复源码包同源异构问题
From: @openeuler-sync-bot 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2024-12-20 02:04:48 +00: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
openeuler-ci-bot
957b33e740
!125 arm64: fix SDEI stack frame unwind while UNW_4_14 is set
From: @wangxiao65 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2024-12-03 01:39:15 +00:00
wangxiao65
d689f40141 arm64: fix SDEI stack frame unwind while UNW_4_14 is set 2024-11-29 06:35:14 +00:00
openeuler-ci-bot
5bf3874cc2
!120 use autosetup instead of setup in prep stage
From: @wangxiao65 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2024-11-19 03:07:48 +00:00
wangxiao65
52b38354fa use autosetup instead of setup in prep stage 2024-11-13 06:45:43 +00:00
openeuler-ci-bot
74e7c274c7
!116 arm64:fix a potential segfault when unwind frame
From: @wangxiao65 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2024-11-12 08:21:00 +00:00
wangxiao65
723c22bb0a arm64:fix a potential segfault when unwind frame 2024-11-12 05:57:22 +00:00
openeuler-ci-bot
30cde9e3b5
!108 Fix crash vmlinux /proc/kcore failed
From: @d_chenghao 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-10-30 08:02:02 +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
openeuler-ci-bot
12cf3e71ab
!101 Backport a gdb patch to fix clang build "integer value -1 is outside the valid range of values" error
From: @yanyir 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
2024-09-21 10:45:26 +00: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
openeuler-ci-bot
f8188d0c30
!99 Fix crash parsing vmcore file failed for loongarch64
From: @zhangzikang1992 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2024-08-21 13:16:19 +00:00
zhangzikang1992
66aac54683 Fix crash parsing vmcore file failed for loongarch64 2024-08-15 22:37:42 +08:00
openeuler-ci-bot
bc79147fb7
!94 修复loongarch64和sw_64平台的patch在x86_64或其他平台编译出来的源码包中丢失的问题
From: @nebd 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2024-06-07 06:54:54 +00: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
openeuler-ci-bot
0c06ccda6b
!92 Resolve loongarch64 patch add error and add support for loongarch64
From: @dpdwaj 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2024-04-23 08:33:47 +00:00
doupengda
d32856d64d Resolve loongarch64 patch add error and add support for loongarch64 2024-04-16 09:57:29 +08:00
openeuler-ci-bot
66daec136b
!91 Upgrade to crash-8.0.4
From: @chenhaixaing 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2024-02-19 12:10:10 +00:00
chenhaixiang
1b3ca1f15b Upgrade to crash-8.0.4
Signed-off-by chenhaixiang3@huawei.com
2024-01-25 14:32:19 +08:00
openeuler-ci-bot
b7f4deb953
!90 Fix compilation error due to new strlcpy function that glibc added
From: @chenhaixaing 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2023-08-01 12:56:21 +00: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
openeuler-ci-bot
6e03baeeb3
!83 添加LoongArch64架构支持
From: @robinorg 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2023-07-11 12:08:07 +00:00
Ming Wang
2279f9696c crash: add LoongArch64 support.
Signed-off-by: Ming Wang <wangming01@loongson.cn>
2023-07-11 17:35:43 +08:00
openeuler-ci-bot
93007e8507
!82 Add riscv64 support
From: @East_x 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2023-07-07 06:13:46 +00:00
EastDong
3405fc720c add riscv support 2023-07-07 11:43:54 +08:00
openeuler-ci-bot
cdaa074d92
!79 update to crash-8.0.2
From: @chenhaixaing 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2023-02-11 01:33:11 +00:00
chenhaixiang
f73fa2f432 update to crash-8.0.2
Signed-off-by:chenhaixiang <chenhaixiang3@huawei.com>
2023-02-10 19:39:15 +08:00
openeuler-ci-bot
a1f1597b2c
!77 fix segfault by "bt" command with offline cpus
From: @lijianglin6 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2023-01-04 08:27:16 +00:00
l30029166
d30bfa99c6 fix segfault by "bt" command with offline cpus 2023-01-04 15:52:06 +08:00
openeuler-ci-bot
20acea475c
!73 modifiy patch description to keep upstream info
From: @huskartang 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2022-12-29 11:06:45 +00:00
huskarTang
3652955d20 keep upstream info in patches 2022-12-29 17:00:53 +08:00
openeuler-ci-bot
2cbdc492a3
!72 Fix the value of TIF_SIGPENDING macro
From: @huskartang 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2022-12-29 07:37:00 +00: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
openeuler-ci-bot
2c37844741
!71 Fix 'kmem -s|-S' option on Linux 5.7 and later kernels
From: @huskartang 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2022-12-29 06:36:30 +00:00
huskarTang
bd3bd6b94d Fix 'kmem -s|-S' option on Linux 5.7 and later kernels 2022-12-29 13:00:01 +08:00
openeuler-ci-bot
5e1c30fc74
!70 arm64: Add lowercase tcr_el1_t1sz
From: @huskartang 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2022-12-29 03:42:33 +00:00
huskarTang
65b1724263 Add lowercase tcr_el1_t1sz 2022-12-29 11:19:03 +08:00
openeuler-ci-bot
944f493144
!69 rename pathes to keep in order
From: @huskartang 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2022-12-29 01:08:24 +00:00
huskarTang
2523dc8464 format patch names 2022-12-28 21:57:59 +08:00
openeuler-ci-bot
92e8df10e8
!64 Fix aarch64 KASAN 内核kdump,crash工具bt无法显示宕机堆栈
From: @ch-cityhunter 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2022-12-09 02:43:43 +00: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
openeuler-ci-bot
444394d999
!60 添加sw架构
From: @wuzx065891 
Reviewed-by: @wangbin224 
Signed-off-by: @wangbin224
2022-10-28 06:34:13 +00:00
wzx
634549d7d8 Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com>
2022-10-19 14:34:47 +08:00
openeuler-ci-bot
cd51f25ab6
!52 Handle task_struct cpu member changes for kernels >= 5.16-rc1
From: @wangbin224 
Reviewed-by: @hanxinke 
Signed-off-by: @hanxinke
2022-02-23 13:18:55 +00: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