cjl20062529
cjl20062529
Steps to Reproduce the corrupted sa file: 1, Mount ext4 file system to output sa file. [root@rhel74 ~]# mount | grep ext /dev/vdb1 on /ext4 type ext4 (rw,relatime,data=ordered) 2. Run...
Hi, g_bCheckMetaCap define as U32 g_bCheckMetaCap = 1 crash> p g_bCheckMetaCap g_bCheckMetaCap = $1 = 2432712771 I set debug to 31, but no debug info shown. crash> rd g_bCheckMetaCap ffff000003ececc0:...
Hi, I found that the input parameters of the gdb_readmem_callback function are incorrect. crash> rd g_bCheckMetaCap ffff000003ececc0: 0000000000000001 ........ but gdb_readmem_callback(addr=0xffff000003d79cc0) " And gdb_readmem_callback() then does the requested readmem() call....
> ----- Original Message ----- > Hi, I found that the input parameters of the gdb_readmem_callback function are incorrect. crash> rd g_bCheckMetaCap ffff000003ececc0: 0000000000000001 ........ but gdb_readmem_callback(addr=0xffff000003d79cc0) " And gdb_readmem_callback()...
I still didn't find the reason why gdb can't read the global variable address in the module correctly. I have some new discoveries, crash can not read the global variables...
> @bhupesh-sharma @lian-bo > (Seems editing a comment doesn't send a notification..) > > It looks like RHEL8 also has the same or a similar issue. I could reproduce it...
> Good findings. I just tested the commit: 4b610737f0 ("Handle copy relocations") with your method, and I saw the gdb works well and got the correct result as expected. >...