TEXT   114

metadump-crash.txt

Guest on 4th September 2021 03:19:18 PM

  1. (gdb) bt
  2. #0  0x00007fe866afbde1 in ?? () from /lib64/libc.so.6
  3. #1  0x0000000000429234 in process_dir_free_block (block=0x6c5d200 "XDF3\311\033\254\061") at metadump.c:1449
  4. #2  0x000000000042a3b8 in process_single_fsb_objects (o=16777216, s=2471412828, c=1, btype=TYP_DIR2, last=16777217) at metadump.c:1910
  5. #3  0x000000000042abe2 in process_bmbt_reclist (rp=0x67a8fb0, numrecs=17, btype=TYP_DIR2) at metadump.c:2129
  6. #4  0x000000000042b791 in process_exinode (dip=0x67a8e00, itype=TYP_DIR2) at metadump.c:2300
  7. #5  0x000000000042b81c in process_inode_data (dip=0x67a8e00, itype=TYP_DIR2) at metadump.c:2326
  8. #6  0x000000000042bacd in process_inode (agno=9, agino=313967633, dip=0x67a8e00, free_inode=false) at metadump.c:2393
  9. #7  0x000000000042c05f in copy_inode_chunk (agno=9, rp=0x99aeba8) at metadump.c:2543
  10. #8  0x000000000042c21e in scanfunc_ino (block=0x99ae200, agno=9, agbno=4530, level=0, btype=TYP_INOBT, arg=0x7fffdd98f6f4) at metadump.c:2604
  11. #9  0x0000000000427358 in scan_btree (agno=9, agbno=4530, level=1, btype=TYP_INOBT, arg=0x7fffdd98f6f4, func=0x42c112 <scanfunc_ino>) at metadump.c:403
  12. #10 0x000000000042c3c7 in scanfunc_ino (block=0x789f200, agno=9, agbno=6319, level=1, btype=TYP_INOBT, arg=0x7fffdd98f6f4) at metadump.c:2627
  13. #11 0x0000000000427358 in scan_btree (agno=9, agbno=6319, level=2, btype=TYP_INOBT, arg=0x7fffdd98f6f4, func=0x42c112 <scanfunc_ino>) at metadump.c:403
  14. #12 0x000000000042c4b9 in copy_inodes (agno=9, agi=0x4fb7400) at metadump.c:2660
  15. #13 0x000000000042ca6b in scan_ag (agno=9) at metadump.c:2784
  16. #14 0x000000000042d6e7 in metadump_f (argc=3, argv=0x23f71d0) at metadump.c:3086
  17. #15 0x000000000041874e in command (argc=3, argv=0x23f71d0) at command.c:88
  18. #16 0x0000000000421d67 in main (argc=7, argv=0x7fffdd98f9b8) at init.c:190
  19. (gdb) frame 1
  20. #1  0x0000000000429234 in process_dir_free_block (block=0x6c5d200 "XDF3\311\033\254\061") at metadump.c:1449
  21. 1449                    memset(high, 0, mp->m_dir_geo->blksize - used);
  22. (gdb) l
  23. 1444
  24. 1445                    /* Zero out space from end of bests[] to end of block */
  25. 1446                    bests = freehdr.bests;
  26. 1447                    high = (char *)&bests[freehdr.nvalid];
  27. 1448                    used = high - (char*)free;
  28. 1449                    memset(high, 0, mp->m_dir_geo->blksize - used);
  29. 1450                    iocur_top->need_crc = 1;
  30. 1451                    break;
  31. 1452            }
  32. 1453            default:
  33. (gdb) print high
  34. $1 = 0x5341d334 <error: Cannot access memory at address 0x5341d334>
  35. (gdb) print mp->m_dir_geo->blksize
  36. $2 = 4096
  37. (gdb) print high-(char *)free
  38. $5 = 1283195188
  39. (gdb) print used
  40. $3 = 1283195188
  41. (gdb)

Raw Paste


Login or Register to edit or fork this paste. It's free.