user/diskdev_cmds: 332.14-r0: fsck.hfsplus segfault
Bugzilla ID | 183 |
Reporter | Max Rees (sroracle) |
Assignee | A. Wilcox (awilfox) |
Reported | 2019-08-18 22:57:10 -0500 |
Modified | 2020-06-22 06:25:42 -0500 |
Status | CONFIRMED |
Version | 1.0-BETA3 |
Hardware | Adélie Linux / PowerPC (64-bit) |
Importance | --- / major |
Package(s) | user/diskdev_cmds |
Description
(gdb) run
Starting program: /sbin/fsck.hfsplus /dev/sda2
** /dev/sda2
** Checking HFS Plus volume.
Program received signal SIGSEGV, Segmentation fault.
CreateExtentsBTreeControlBlock (GPtr=0x3fffffffdf38) at SVerify1.c:786
786 SVerify1.c: No such file or directory.
(gdb) bt
#0 CreateExtentsBTreeControlBlock (GPtr=0x3fffffffdf38) at SVerify1.c:786
#1 (closed) 0x0000000100006654 in ScavCtrl (GPtr=0x3fffffffdf38, ScavOp=2, ScavRes=0x3fffffffdf24) at SControl.c:391
#2 (closed) 0x0000000100005f0c in CheckHFS (fsReadRef=3, fsWriteRef=4, checkLevel=2, repairLevel=2, logLevel=2, guiControl=0, lostAndFoundMode=0, canWrite=1,
modified=0x100061eac ) at SControl.c:145
#3 0x0000000100002b14 in checkfilesys (filesys=0x3ffffffff8ca "/dev/sda2") at fsck_hfs.c:297
#4 (closed) 0x0000000100002810 in main (argc=0, argv=0x3ffffffff5d8) at fsck_hfs.c:191
(gdb) info locals
err = 0
size = 32
numABlks = 256
header = {treeDepth = 0, rootNode = 0, leafRecords = 0, firstLeafNode = 0, lastLeafNode = 0, nodeSize = 4096, maxKeyLength = 10, totalNodes = 256,
freeNodes = 255, reserved1 = 0, clumpSize = 1048576, btreeType = 0 '\000', keyCompareType = 0 '\000', attributes = 2, reserved3 = {0 <repeats 16 times>}}
btcb = 0x100066438
vcb = 0x100066020
block = {buffer = 0x3ffff7b2bc00, blockHeader = 0x3ffff7fff100, blockNum = 262142, blockSize = 512, blockReadFromDisk = 0 '\000', fragmented = 0 '\000'}
isHFSPlus = 1 '\001'
(gdb) disas /r CreateExtentsBTreeControlBlock
...
0x00000001000093c8 <+1372>: 48 00 00 c8 b 0x100009490 <CreateExtentsBTreeControlBlock+1572>
0x00000001000093cc <+1376>: e9 3f 00 50 ld r9,80(r31)
0x00000001000093d0 <+1380>: 81 29 00 38 lwz r9,56(r9)
0x00000001000093d4 <+1384>: 39 29 00 07 addi r9,r9,7
0x00000001000093d8 <+1388>: 79 29 00 20 clrldi r9,r9,32
0x00000001000093dc <+1392>: 55 29 e8 fe rlwinm r9,r9,29,3,31
0x00000001000093e0 <+1396>: 79 29 00 20 clrldi r9,r9,32
0x00000001000093e4 <+1400>: 91 3f 00 44 stw r9,68(r31)
0x00000001000093e8 <+1404>: e9 5f 00 46 lwa r10,68(r31)
0x00000001000093ec <+1408>: e9 3f 00 50 ld r9,80(r31)
0x00000001000093f0 <+1412>: 81 29 03 00 lwz r9,768(r9)
0x00000001000093f4 <+1416>: 7d 3e 4b 78 mr r30,r9
0x00000001000093f8 <+1420>: 7d 44 53 78 mr r4,r10
0x00000001000093fc <+1424>: 38 60 00 01 li r3,1
0x0000000100009400 <+1428>: 4b ff 8a 61 bl 0x100001e60 <0000001a.plt_call.calloc>
0x0000000100009404 <+1432>: e8 41 00 18 ld r2,24(r1)
0x0000000100009408 <+1436>: 7c 69 1b 78 mr r9,r3
=> 0x000000010000940c <+1440>: f9 3e 00 00 std r9,0(r30)
0x0000000100009410 <+1444>: e9 3f 00 50 ld r9,80(r31)
0x0000000100009414 <+1448>: 81 29 03 00 lwz r9,768(r9)
0x0000000100009418 <+1452>: e9 29 00 00 ld r9,0(r9)
0x000000010000941c <+1456>: 2f a9 00 00 cmpdi cr7,r9,0
0x0000000100009420 <+1460>: 40 9e 00 10 bne cr7,0x100009430 <CreateExtentsBTreeControlBlock+1476>
...
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Emily changed milestone to %1.0-BETA3
changed milestone to %1.0-BETA3
- Zach van Rijn changed title from user/diskdev_cmds 332.14-r0: fsck.hfsplus segfault to user/diskdev_cmds: 332.14-r0: fsck.hfsplus segfault
changed title from user/diskdev_cmds 332.14-r0: fsck.hfsplus segfault to user/diskdev_cmds: 332.14-r0: fsck.hfsplus segfault
Getting the same segfault on ppc64, here's some more info:
(gdb) file /sbin/fsck.hfsplus Reading symbols from /sbin/fsck.hfsplus... Reading symbols from /usr/lib/debug//sbin/fsck_hfs.debug... (gdb) run /dev/sda2 Starting program: /sbin/fsck.hfsplus /dev/sda2 ** /dev/sda2 ** Checking HFS Plus volume. Program received signal SIGSEGV, Segmentation fault. CreateExtentsBTreeControlBlock (GPtr=0x3fffffffddb8) at SVerify1.c:786 786 SVerify1.c: No such file or directory. (gdb) bt #0 CreateExtentsBTreeControlBlock (GPtr=0x3fffffffddb8) at SVerify1.c:786 #1 0x00000001000066b4 in ScavCtrl (GPtr=0x3fffffffddb8, ScavOp=2, ScavRes=0x3fffffffdda4) at SControl.c:391 #2 0x0000000100005f6c in CheckHFS (fsReadRef=3, fsWriteRef=4, checkLevel=2, repairLevel=2, logLevel=2, guiControl=0, lostAndFoundMode=0, canWrite=1, modified=0x100061eac <fsmodified>) at SControl.c:145 #3 0x0000000100002b74 in checkfilesys (filesys=0x3ffffffff784 "/dev/sda2") at fsck_hfs.c:297 #4 0x0000000100002870 in main (argc=0, argv=0x3ffffffff488) at fsck_hfs.c:191 (gdb) disas /r CreateExtentsBTreeControlBlock Dump of assembler code for function CreateExtentsBTreeControlBlock: 0x0000000100008ecc <+0>: 3c 4c 00 06 addis r2,r12,6 0x0000000100008ed0 <+4>: 38 42 f0 34 addi r2,r2,-4044 0x0000000100008ed4 <+8>: 7c 08 02 a6 mflr r0 0x0000000100008ed8 <+12>: f8 01 00 10 std r0,16(r1) 0x0000000100008edc <+16>: fb c1 ff f0 std r30,-16(r1) 0x0000000100008ee0 <+20>: fb e1 ff f8 std r31,-8(r1) 0x0000000100008ee4 <+24>: f8 21 fe f1 stdu r1,-272(r1) 0x0000000100008ee8 <+28>: 7c 3f 0b 78 mr r31,r1 0x0000000100008eec <+32>: f8 7f 00 28 std r3,40(r31) 0x0000000100008ef0 <+36>: e9 2d 8f f0 ld r9,-28688(r13) 0x0000000100008ef4 <+40>: f9 3f 00 f8 std r9,248(r31) 0x0000000100008ef8 <+44>: 39 20 00 00 li r9,0 0x0000000100008efc <+48>: 48 01 5e 99 bl 0x10001ed94 <VolumeObjectIsHFSPlus+8> 0x0000000100008f00 <+52>: 60 00 00 00 nop 0x0000000100008f04 <+56>: 7c 69 1b 78 mr r9,r3 0x0000000100008f08 <+60>: 99 3f 00 3d stb r9,61(r31) 0x0000000100008f0c <+64>: e9 3f 00 28 ld r9,40(r31) 0x0000000100008f10 <+68>: 39 40 00 03 li r10,3 0x0000000100008f14 <+72>: 91 49 00 20 stw r10,32(r9) 0x0000000100008f18 <+76>: e9 3f 00 28 ld r9,40(r31) 0x0000000100008f1c <+80>: 39 40 00 00 li r10,0 0x0000000100008f20 <+84>: f9 49 00 28 std r10,40(r9) 0x0000000100008f24 <+88>: e9 3f 00 28 ld r9,40(r31) 0x0000000100008f28 <+92>: e9 29 02 f0 ld r9,752(r9) 0x0000000100008f2c <+96>: f9 3f 00 48 std r9,72(r31) 0x0000000100008f30 <+100>: e9 3f 00 28 ld r9,40(r31) 0x0000000100008f34 <+104>: e9 29 03 28 ld r9,808(r9) 0x0000000100008f38 <+108>: f9 3f 00 50 std r9,80(r31) 0x0000000100008f3c <+112>: 39 20 00 00 li r9,0 0x0000000100008f40 <+116>: f9 3f 00 68 std r9,104(r31) 0x0000000100008f44 <+120>: 39 3f 00 68 addi r9,r31,104 0x0000000100008f48 <+124>: 7d 23 4b 78 mr r3,r9 0x0000000100008f4c <+128>: 48 01 43 f5 bl 0x10001d340 <GetVolumeObjectVHBorMDB+8> 0x0000000100008f50 <+132>: 60 00 00 00 nop 0x0000000100008f54 <+136>: 7c 69 1b 78 mr r9,r3 0x0000000100008f58 <+140>: b1 3f 00 3e sth r9,62(r31) 0x0000000100008f5c <+144>: a1 3f 00 3e lhz r9,62(r31) 0x0000000100008f60 <+148>: 7d 29 07 34 extsh r9,r9 0x0000000100008f64 <+152>: 2f 89 00 00 cmpwi cr7,r9,0 0x0000000100008f68 <+156>: 40 9e 05 54 bne cr7,0x1000094bc <CreateExtentsBTreeControlBlock+1520> 0x0000000100008f6c <+160>: 89 3f 00 3d lbz r9,61(r31) 0x0000000100008f70 <+164>: 2f 89 00 00 cmpwi cr7,r9,0 0x0000000100008f74 <+168>: 41 9e 02 80 beq cr7,0x1000091f4 <CreateExtentsBTreeControlBlock+808> 0x0000000100008f78 <+172>: e9 3f 00 68 ld r9,104(r31) 0x0000000100008f7c <+176>: f9 3f 00 58 std r9,88(r31) 0x0000000100008f80 <+180>: e9 3f 00 58 ld r9,88(r31) 0x0000000100008f84 <+184>: 39 49 00 d0 addi r10,r9,208 0x0000000100008f88 <+188>: e9 3f 00 28 ld r9,40(r31) 0x0000000100008f8c <+192>: e9 29 02 f8 ld r9,760(r9) 0x0000000100008f90 <+196>: 39 29 00 24 addi r9,r9,36 0x0000000100008f94 <+200>: 38 a0 00 40 li r5,64 0x0000000100008f98 <+204>: 7d 44 53 78 mr r4,r10 0x0000000100008f9c <+208>: 7d 23 4b 78 mr r3,r9 0x0000000100008fa0 <+212>: 4b ff 8d 21 bl 0x100001cc0 <0000001a.plt_call.memmove> 0x0000000100008fa4 <+216>: e8 41 00 18 ld r2,24(r1) 0x0000000100008fa8 <+220>: e9 3f 00 28 ld r9,40(r31) 0x0000000100008fac <+224>: e9 29 02 f8 ld r9,760(r9) 0x0000000100008fb0 <+228>: 39 29 00 24 addi r9,r9,36 0x0000000100008fb4 <+232>: 39 5f 00 40 addi r10,r31,64 0x0000000100008fb8 <+236>: 7d 47 53 78 mr r7,r10 0x0000000100008fbc <+240>: 7d 26 4b 78 mr r6,r9 0x0000000100008fc0 <+244>: 38 a0 00 00 li r5,0 0x0000000100008fc4 <+248>: 38 80 00 03 li r4,3 0x0000000100008fc8 <+252>: e8 7f 00 28 ld r3,40(r31) 0x0000000100008fcc <+256>: 48 00 45 cd bl 0x10000d598 <CheckFileExtents+8> 0x0000000100008fd0 <+260>: 7c 69 1b 78 mr r9,r3 0x0000000100008fd4 <+264>: b1 3f 00 3e sth r9,62(r31) 0x0000000100008fd8 <+268>: a1 3f 00 3e lhz r9,62(r31) 0x0000000100008fdc <+272>: 7d 29 07 34 extsh r9,r9 0x0000000100008fe0 <+276>: 2f 89 00 00 cmpwi cr7,r9,0 0x0000000100008fe4 <+280>: 40 9e 04 e0 bne cr7,0x1000094c4 <CreateExtentsBTreeControlBlock+1528> 0x0000000100008fe8 <+284>: e9 3f 00 58 ld r9,88(r31) 0x0000000100008fec <+288>: 81 49 00 cc lwz r10,204(r9) 0x0000000100008ff0 <+292>: 81 3f 00 40 lwz r9,64(r31) 0x0000000100008ff4 <+296>: 7f 8a 48 40 cmplw cr7,r10,r9 0x0000000100008ff8 <+300>: 41 9e 00 20 beq cr7,0x100009018 <CreateExtentsBTreeControlBlock+332> 0x0000000100008ffc <+304>: 38 80 fd e0 li r4,-544 0x0000000100009000 <+308>: e8 7f 00 28 ld r3,40(r31) 0x0000000100009004 <+312>: 48 01 35 e5 bl 0x10001c5e8 <RcdError+8> 0x0000000100009008 <+316>: 60 00 00 00 nop 0x000000010000900c <+320>: 39 20 fd e0 li r9,-544 0x0000000100009010 <+324>: b1 3f 00 3e sth r9,62(r31) 0x0000000100009014 <+328>: 48 00 04 dc b 0x1000094f0 <CreateExtentsBTreeControlBlock+1572> 0x0000000100009018 <+332>: e9 3f 00 28 ld r9,40(r31) 0x000000010000901c <+336>: e9 29 02 f8 ld r9,760(r9) 0x0000000100009020 <+340>: e9 5f 00 58 ld r10,88(r31) 0x0000000100009024 <+344>: e9 4a 00 c0 ld r10,192(r10) 0x0000000100009028 <+348>: f9 49 00 70 std r10,112(r9) 0x000000010000902c <+352>: e9 3f 00 58 ld r9,88(r31) 0x0000000100009030 <+356>: 81 29 00 cc lwz r9,204(r9) 0x0000000100009034 <+360>: 7d 28 4b 78 mr r8,r9 0x0000000100009038 <+364>: e9 3f 00 58 ld r9,88(r31) 0x000000010000903c <+368>: 81 29 00 28 lwz r9,40(r9) 0x0000000100009040 <+372>: 7d 2a 4b 78 mr r10,r9 0x0000000100009044 <+376>: e9 3f 00 28 ld r9,40(r31) 0x0000000100009048 <+380>: e9 29 02 f8 ld r9,760(r9) 0x000000010000904c <+384>: 7d 48 51 d2 mulld r10,r8,r10 0x0000000100009050 <+388>: f9 49 00 78 std r10,120(r9) 0x0000000100009054 <+392>: e9 3f 00 28 ld r9,40(r31) 0x0000000100009058 <+396>: e9 29 02 f8 ld r9,760(r9) 0x000000010000905c <+400>: 39 5f 00 8e addi r10,r31,142 0x0000000100009060 <+404>: 7d 45 53 78 mr r5,r10 0x0000000100009064 <+408>: 7d 24 4b 78 mr r4,r9 0x0000000100009068 <+412>: e8 7f 00 28 ld r3,40(r31) 0x000000010000906c <+416>: 48 01 38 09 bl 0x10001c874 <GetBTreeHeader+8> 0x0000000100009070 <+420>: 60 00 00 00 nop 0x0000000100009074 <+424>: 7c 69 1b 78 mr r9,r3 0x0000000100009078 <+428>: b1 3f 00 3e sth r9,62(r31) 0x000000010000907c <+432>: a1 3f 00 3e lhz r9,62(r31) 0x0000000100009080 <+436>: 7d 29 07 34 extsh r9,r9 0x0000000100009084 <+440>: 2f 89 00 00 cmpwi cr7,r9,0 0x0000000100009088 <+444>: 40 9e 04 44 bne cr7,0x1000094cc <CreateExtentsBTreeControlBlock+1536> 0x000000010000908c <+448>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009090 <+452>: 39 40 00 0a li r10,10 0x0000000100009094 <+456>: b1 49 00 36 sth r10,54(r9) 0x0000000100009098 <+460>: e9 3f 00 50 ld r9,80(r31) 0x000000010000909c <+464>: 3d 42 ff fc addis r10,r2,-4 0x00000001000090a0 <+468>: 39 4a 9e 58 addi r10,r10,-25000 0x00000001000090a4 <+472>: f9 49 00 08 std r10,8(r9) 0x00000001000090a8 <+476>: e9 3f 00 50 ld r9,80(r31) 0x00000001000090ac <+480>: 81 29 00 88 lwz r9,136(r9) 0x00000001000090b0 <+484>: 61 29 00 02 ori r9,r9,2 0x00000001000090b4 <+488>: 79 2a 00 20 clrldi r10,r9,32 0x00000001000090b8 <+492>: e9 3f 00 50 ld r9,80(r31) 0x00000001000090bc <+496>: 91 49 00 88 stw r10,136(r9) 0x00000001000090c0 <+500>: 81 5f 00 94 lwz r10,148(r31) 0x00000001000090c4 <+504>: e9 3f 00 50 ld r9,80(r31) 0x00000001000090c8 <+508>: 91 49 00 28 stw r10,40(r9) 0x00000001000090cc <+512>: a1 5f 00 8e lhz r10,142(r31) 0x00000001000090d0 <+516>: e9 3f 00 50 ld r9,80(r31) 0x00000001000090d4 <+520>: b1 49 00 20 sth r10,32(r9) 0x00000001000090d8 <+524>: 81 5f 00 90 lwz r10,144(r31) 0x00000001000090dc <+528>: e9 3f 00 50 ld r9,80(r31) 0x00000001000090e0 <+532>: 91 49 00 24 stw r10,36(r9) 0x00000001000090e4 <+536>: 81 5f 00 98 lwz r10,152(r31) 0x00000001000090e8 <+540>: e9 3f 00 50 ld r9,80(r31) 0x00000001000090ec <+544>: 91 49 00 2c stw r10,44(r9) 0x00000001000090f0 <+548>: 81 5f 00 9c lwz r10,156(r31) 0x00000001000090f4 <+552>: e9 3f 00 50 ld r9,80(r31) 0x00000001000090f8 <+556>: 91 49 00 30 stw r10,48(r9) 0x00000001000090fc <+560>: a1 5f 00 a0 lhz r10,160(r31) 0x0000000100009100 <+564>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009104 <+568>: b1 49 00 34 sth r10,52(r9) 0x0000000100009108 <+572>: e9 3f 00 28 ld r9,40(r31) 0x000000010000910c <+576>: e9 29 02 f8 ld r9,760(r9) 0x0000000100009110 <+580>: e9 29 00 78 ld r9,120(r9) 0x0000000100009114 <+584>: e9 5f 00 50 ld r10,80(r31) 0x0000000100009118 <+588>: a1 4a 00 34 lhz r10,52(r10) 0x000000010000911c <+592>: 7d 29 53 92 divdu r9,r9,r10 0x0000000100009120 <+596>: 79 2a 00 20 clrldi r10,r9,32 0x0000000100009124 <+600>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009128 <+604>: 91 49 00 38 stw r10,56(r9) 0x000000010000912c <+608>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009130 <+612>: 81 49 00 38 lwz r10,56(r9) 0x0000000100009134 <+616>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009138 <+620>: 91 49 00 3c stw r10,60(r9) 0x000000010000913c <+624>: e8 9f 00 50 ld r4,80(r31) 0x0000000100009140 <+628>: e8 7f 00 28 ld r3,40(r31) 0x0000000100009144 <+632>: 48 00 04 29 bl 0x10000956c <CheckNodesFirstOffset+8> 0x0000000100009148 <+636>: 7c 69 1b 78 mr r9,r3 0x000000010000914c <+640>: b1 3f 00 3e sth r9,62(r31) 0x0000000100009150 <+644>: a1 3f 00 3e lhz r9,62(r31) 0x0000000100009154 <+648>: 7d 29 07 34 extsh r9,r9 0x0000000100009158 <+652>: 2f 89 00 00 cmpwi cr7,r9,0 0x000000010000915c <+656>: 41 9e 02 70 beq cr7,0x1000093cc <CreateExtentsBTreeControlBlock+1280> 0x0000000100009160 <+660>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009164 <+664>: a1 29 00 34 lhz r9,52(r9) 0x0000000100009168 <+668>: 2b 89 04 00 cmplwi cr7,r9,1024 0x000000010000916c <+672>: 41 9e 02 60 beq cr7,0x1000093cc <CreateExtentsBTreeControlBlock+1280> 0x0000000100009170 <+676>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009174 <+680>: 39 40 04 00 li r10,1024 0x0000000100009178 <+684>: b1 49 00 34 sth r10,52(r9) 0x000000010000917c <+688>: e9 3f 00 28 ld r9,40(r31) 0x0000000100009180 <+692>: e9 29 02 f8 ld r9,760(r9) 0x0000000100009184 <+696>: e9 29 00 78 ld r9,120(r9) 0x0000000100009188 <+700>: e9 5f 00 50 ld r10,80(r31) 0x000000010000918c <+704>: a1 4a 00 34 lhz r10,52(r10) 0x0000000100009190 <+708>: 7d 29 53 92 divdu r9,r9,r10 0x0000000100009194 <+712>: 79 2a 00 20 clrldi r10,r9,32 0x0000000100009198 <+716>: e9 3f 00 50 ld r9,80(r31) 0x000000010000919c <+720>: 91 49 00 38 stw r10,56(r9) 0x00000001000091a0 <+724>: e9 3f 00 50 ld r9,80(r31) 0x00000001000091a4 <+728>: 81 49 00 38 lwz r10,56(r9) 0x00000001000091a8 <+732>: e9 3f 00 50 ld r9,80(r31) 0x00000001000091ac <+736>: 91 49 00 3c stw r10,60(r9) 0x00000001000091b0 <+740>: e8 9f 00 50 ld r4,80(r31) 0x00000001000091b4 <+744>: e8 7f 00 28 ld r3,40(r31) 0x00000001000091b8 <+748>: 48 00 03 b5 bl 0x10000956c <CheckNodesFirstOffset+8> 0x00000001000091bc <+752>: 7c 69 1b 78 mr r9,r3 0x00000001000091c0 <+756>: b1 3f 00 3e sth r9,62(r31) 0x00000001000091c4 <+760>: a1 3f 00 3e lhz r9,62(r31) 0x00000001000091c8 <+764>: 7d 29 07 34 extsh r9,r9 0x00000001000091cc <+768>: 2f 89 00 00 cmpwi cr7,r9,0 0x00000001000091d0 <+772>: 40 9e 03 04 bne cr7,0x1000094d4 <CreateExtentsBTreeControlBlock+1544> 0x00000001000091d4 <+776>: e9 3f 00 28 ld r9,40(r31) 0x00000001000091d8 <+780>: a1 29 00 0e lhz r9,14(r9) 0x00000001000091dc <+784>: 65 29 ff ff oris r9,r9,65535 0x00000001000091e0 <+788>: 61 29 80 00 ori r9,r9,32768 0x00000001000091e4 <+792>: 55 2a 04 3e clrlwi r10,r9,16 0x00000001000091e8 <+796>: e9 3f 00 28 ld r9,40(r31) 0x00000001000091ec <+800>: b1 49 00 0e sth r10,14(r9) 0x00000001000091f0 <+804>: 48 00 01 dc b 0x1000093cc <CreateExtentsBTreeControlBlock+1280> 0x00000001000091f4 <+808>: e9 3f 00 68 ld r9,104(r31) 0x00000001000091f8 <+812>: f9 3f 00 60 std r9,96(r31) 0x00000001000091fc <+816>: e9 3f 00 60 ld r9,96(r31) 0x0000000100009200 <+820>: 39 49 00 86 addi r10,r9,134 0x0000000100009204 <+824>: e9 3f 00 28 ld r9,40(r31) 0x0000000100009208 <+828>: e9 29 02 f8 ld r9,760(r9) 0x000000010000920c <+832>: 39 29 00 18 addi r9,r9,24 0x0000000100009210 <+836>: 38 a0 00 0c li r5,12 0x0000000100009214 <+840>: 7d 44 53 78 mr r4,r10 0x0000000100009218 <+844>: 7d 23 4b 78 mr r3,r9 0x000000010000921c <+848>: 4b ff 8a a5 bl 0x100001cc0 <0000001a.plt_call.memmove> 0x0000000100009220 <+852>: e8 41 00 18 ld r2,24(r1) 0x0000000100009224 <+856>: e9 3f 00 28 ld r9,40(r31) 0x0000000100009228 <+860>: e9 29 02 f8 ld r9,760(r9) 0x000000010000922c <+864>: 39 29 00 18 addi r9,r9,24 0x0000000100009230 <+868>: 39 5f 00 40 addi r10,r31,64 0x0000000100009234 <+872>: 7d 47 53 78 mr r7,r10 0x0000000100009238 <+876>: 7d 26 4b 78 mr r6,r9 0x000000010000923c <+880>: 38 a0 00 00 li r5,0 0x0000000100009240 <+884>: 38 80 00 03 li r4,3 0x0000000100009244 <+888>: e8 7f 00 28 ld r3,40(r31) 0x0000000100009248 <+892>: 48 00 43 51 bl 0x10000d598 <CheckFileExtents+8> 0x000000010000924c <+896>: 7c 69 1b 78 mr r9,r3 0x0000000100009250 <+900>: b1 3f 00 3e sth r9,62(r31) 0x0000000100009254 <+904>: a1 3f 00 3e lhz r9,62(r31) 0x0000000100009258 <+908>: 7d 29 07 34 extsh r9,r9 0x000000010000925c <+912>: 2f 89 00 00 cmpwi cr7,r9,0 0x0000000100009260 <+916>: 40 9e 02 7c bne cr7,0x1000094dc <CreateExtentsBTreeControlBlock+1552> 0x0000000100009264 <+920>: e9 3f 00 60 ld r9,96(r31) 0x0000000100009268 <+924>: 81 29 00 82 lwz r9,130(r9) 0x000000010000926c <+928>: 7d 2a 4b 78 mr r10,r9 0x0000000100009270 <+932>: 81 3f 00 40 lwz r9,64(r31) 0x0000000100009274 <+936>: 7d 28 4b 78 mr r8,r9 0x0000000100009278 <+940>: e9 3f 00 28 ld r9,40(r31) 0x000000010000927c <+944>: e9 29 02 f0 ld r9,752(r9) 0x0000000100009280 <+948>: 81 29 00 28 lwz r9,40(r9) 0x0000000100009284 <+952>: 7d 28 49 d2 mulld r9,r8,r9 0x0000000100009288 <+956>: 7f aa 48 40 cmpld cr7,r10,r9 0x000000010000928c <+960>: 41 9e 00 20 beq cr7,0x1000092ac <CreateExtentsBTreeControlBlock+992> 0x0000000100009290 <+964>: 38 80 fd e0 li r4,-544 0x0000000100009294 <+968>: e8 7f 00 28 ld r3,40(r31) 0x0000000100009298 <+972>: 48 01 33 51 bl 0x10001c5e8 <RcdError+8> 0x000000010000929c <+976>: 60 00 00 00 nop 0x00000001000092a0 <+980>: 39 20 fd e0 li r9,-544 0x00000001000092a4 <+984>: b1 3f 00 3e sth r9,62(r31) 0x00000001000092a8 <+988>: 48 00 02 48 b 0x1000094f0 <CreateExtentsBTreeControlBlock+1572> 0x00000001000092ac <+992>: e9 3f 00 60 ld r9,96(r31) 0x00000001000092b0 <+996>: 81 49 00 82 lwz r10,130(r9) 0x00000001000092b4 <+1000>: e9 3f 00 28 ld r9,40(r31) 0x00000001000092b8 <+1004>: e9 29 02 f8 ld r9,760(r9) 0x00000001000092bc <+1008>: f9 49 00 78 std r10,120(r9) 0x00000001000092c0 <+1012>: e9 3f 00 28 ld r9,40(r31) 0x00000001000092c4 <+1016>: e9 49 02 f8 ld r10,760(r9) 0x00000001000092c8 <+1020>: e9 3f 00 28 ld r9,40(r31) 0x00000001000092cc <+1024>: e9 29 02 f8 ld r9,760(r9) 0x00000001000092d0 <+1028>: e9 4a 00 78 ld r10,120(r10) 0x00000001000092d4 <+1032>: f9 49 00 70 std r10,112(r9) 0x00000001000092d8 <+1036>: e9 3f 00 28 ld r9,40(r31) 0x00000001000092dc <+1040>: e9 29 02 f8 ld r9,760(r9) 0x00000001000092e0 <+1044>: 39 5f 00 8e addi r10,r31,142 0x00000001000092e4 <+1048>: 7d 45 53 78 mr r5,r10 0x00000001000092e8 <+1052>: 7d 24 4b 78 mr r4,r9 0x00000001000092ec <+1056>: e8 7f 00 28 ld r3,40(r31) 0x00000001000092f0 <+1060>: 48 01 35 85 bl 0x10001c874 <GetBTreeHeader+8> 0x00000001000092f4 <+1064>: 60 00 00 00 nop 0x00000001000092f8 <+1068>: 7c 69 1b 78 mr r9,r3 0x00000001000092fc <+1072>: b1 3f 00 3e sth r9,62(r31) 0x0000000100009300 <+1076>: a1 3f 00 3e lhz r9,62(r31) 0x0000000100009304 <+1080>: 7d 29 07 34 extsh r9,r9 0x0000000100009308 <+1084>: 2f 89 00 00 cmpwi cr7,r9,0 0x000000010000930c <+1088>: 40 9e 01 d8 bne cr7,0x1000094e4 <CreateExtentsBTreeControlBlock+1560> 0x0000000100009310 <+1092>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009314 <+1096>: 39 40 00 07 li r10,7 0x0000000100009318 <+1100>: b1 49 00 36 sth r10,54(r9) 0x000000010000931c <+1104>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009320 <+1108>: 3d 42 ff fc addis r10,r2,-4 0x0000000100009324 <+1112>: 39 4a 9d 60 addi r10,r10,-25248 0x0000000100009328 <+1116>: f9 49 00 08 std r10,8(r9) 0x000000010000932c <+1120>: 81 5f 00 94 lwz r10,148(r31) 0x0000000100009330 <+1124>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009334 <+1128>: 91 49 00 28 stw r10,40(r9) 0x0000000100009338 <+1132>: a1 5f 00 8e lhz r10,142(r31) 0x000000010000933c <+1136>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009340 <+1140>: b1 49 00 20 sth r10,32(r9) 0x0000000100009344 <+1144>: 81 5f 00 90 lwz r10,144(r31) 0x0000000100009348 <+1148>: e9 3f 00 50 ld r9,80(r31) 0x000000010000934c <+1152>: 91 49 00 24 stw r10,36(r9) 0x0000000100009350 <+1156>: 81 5f 00 98 lwz r10,152(r31) 0x0000000100009354 <+1160>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009358 <+1164>: 91 49 00 2c stw r10,44(r9) 0x000000010000935c <+1168>: 81 5f 00 9c lwz r10,156(r31) 0x0000000100009360 <+1172>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009364 <+1176>: 91 49 00 30 stw r10,48(r9) 0x0000000100009368 <+1180>: a1 5f 00 a0 lhz r10,160(r31) 0x000000010000936c <+1184>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009370 <+1188>: b1 49 00 34 sth r10,52(r9) 0x0000000100009374 <+1192>: e9 3f 00 28 ld r9,40(r31) 0x0000000100009378 <+1196>: e9 29 02 f8 ld r9,760(r9) 0x000000010000937c <+1200>: e9 29 00 78 ld r9,120(r9) 0x0000000100009380 <+1204>: e9 5f 00 50 ld r10,80(r31) 0x0000000100009384 <+1208>: a1 4a 00 34 lhz r10,52(r10) 0x0000000100009388 <+1212>: 7d 29 53 92 divdu r9,r9,r10 0x000000010000938c <+1216>: 79 2a 00 20 clrldi r10,r9,32 0x0000000100009390 <+1220>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009394 <+1224>: 91 49 00 38 stw r10,56(r9) 0x0000000100009398 <+1228>: e9 3f 00 50 ld r9,80(r31) 0x000000010000939c <+1232>: 81 49 00 38 lwz r10,56(r9) 0x00000001000093a0 <+1236>: e9 3f 00 50 ld r9,80(r31) 0x00000001000093a4 <+1240>: 91 49 00 3c stw r10,60(r9) 0x00000001000093a8 <+1244>: e8 9f 00 50 ld r4,80(r31) 0x00000001000093ac <+1248>: e8 7f 00 28 ld r3,40(r31) 0x00000001000093b0 <+1252>: 48 00 01 bd bl 0x10000956c <CheckNodesFirstOffset+8> 0x00000001000093b4 <+1256>: 7c 69 1b 78 mr r9,r3 0x00000001000093b8 <+1260>: b1 3f 00 3e sth r9,62(r31) 0x00000001000093bc <+1264>: a1 3f 00 3e lhz r9,62(r31) 0x00000001000093c0 <+1268>: 7d 29 07 34 extsh r9,r9 0x00000001000093c4 <+1272>: 2f 89 00 00 cmpwi cr7,r9,0 0x00000001000093c8 <+1276>: 40 9e 01 24 bne cr7,0x1000094ec <CreateExtentsBTreeControlBlock+1568> 0x00000001000093cc <+1280>: 89 3f 00 b2 lbz r9,178(r31) 0x00000001000093d0 <+1284>: 2f a9 00 00 cmpdi cr7,r9,0 0x00000001000093d4 <+1288>: 41 9e 00 1c beq cr7,0x1000093f0 <CreateExtentsBTreeControlBlock+1316> 0x00000001000093d8 <+1292>: e9 3f 00 28 ld r9,40(r31) 0x00000001000093dc <+1296>: a1 29 00 0e lhz r9,14(r9) 0x00000001000093e0 <+1300>: 61 29 00 80 ori r9,r9,128 0x00000001000093e4 <+1304>: 55 2a 04 3e clrlwi r10,r9,16 0x00000001000093e8 <+1308>: e9 3f 00 28 ld r9,40(r31) 0x00000001000093ec <+1312>: b1 49 00 0e sth r10,14(r9) 0x00000001000093f0 <+1316>: 38 80 00 20 li r4,32 0x00000001000093f4 <+1320>: 38 60 00 01 li r3,1 0x00000001000093f8 <+1324>: 4b ff 8a 69 bl 0x100001e60 <0000001a.plt_call.calloc> 0x00000001000093fc <+1328>: e8 41 00 18 ld r2,24(r1) 0x0000000100009400 <+1332>: 7c 69 1b 78 mr r9,r3 0x0000000100009404 <+1336>: 79 2a 00 20 clrldi r10,r9,32 0x0000000100009408 <+1340>: e9 3f 00 50 ld r9,80(r31) 0x000000010000940c <+1344>: 91 49 03 00 stw r10,768(r9) 0x0000000100009410 <+1348>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009414 <+1352>: 81 29 03 00 lwz r9,768(r9) 0x0000000100009418 <+1356>: 2f a9 00 00 cmpdi cr7,r9,0 0x000000010000941c <+1360>: 40 9e 00 10 bne cr7,0x10000942c <CreateExtentsBTreeControlBlock+1376> 0x0000000100009420 <+1364>: 39 20 00 01 li r9,1 0x0000000100009424 <+1368>: b1 3f 00 3e sth r9,62(r31) 0x0000000100009428 <+1372>: 48 00 00 c8 b 0x1000094f0 <CreateExtentsBTreeControlBlock+1572> 0x000000010000942c <+1376>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009430 <+1380>: 81 29 00 38 lwz r9,56(r9) 0x0000000100009434 <+1384>: 39 29 00 07 addi r9,r9,7 0x0000000100009438 <+1388>: 79 29 00 20 clrldi r9,r9,32 0x000000010000943c <+1392>: 55 29 e8 fe srwi r9,r9,3 0x0000000100009440 <+1396>: 79 29 00 20 clrldi r9,r9,32 0x0000000100009444 <+1400>: 91 3f 00 44 stw r9,68(r31) 0x0000000100009448 <+1404>: e9 5f 00 46 lwa r10,68(r31) 0x000000010000944c <+1408>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009450 <+1412>: 81 29 03 00 lwz r9,768(r9) 0x0000000100009454 <+1416>: 7d 3e 4b 78 mr r30,r9 0x0000000100009458 <+1420>: 7d 44 53 78 mr r4,r10 0x000000010000945c <+1424>: 38 60 00 01 li r3,1 0x0000000100009460 <+1428>: 4b ff 8a 01 bl 0x100001e60 <0000001a.plt_call.calloc> 0x0000000100009464 <+1432>: e8 41 00 18 ld r2,24(r1) 0x0000000100009468 <+1436>: 7c 69 1b 78 mr r9,r3 => 0x000000010000946c <+1440>: f9 3e 00 00 std r9,0(r30) 0x0000000100009470 <+1444>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009474 <+1448>: 81 29 03 00 lwz r9,768(r9) 0x0000000100009478 <+1452>: e9 29 00 00 ld r9,0(r9) 0x000000010000947c <+1456>: 2f a9 00 00 cmpdi cr7,r9,0 0x0000000100009480 <+1460>: 40 9e 00 10 bne cr7,0x100009490 <CreateExtentsBTreeControlBlock+1476> 0x0000000100009484 <+1464>: 39 20 00 01 li r9,1 0x0000000100009488 <+1468>: b1 3f 00 3e sth r9,62(r31) 0x000000010000948c <+1472>: 48 00 00 64 b 0x1000094f0 <CreateExtentsBTreeControlBlock+1572> 0x0000000100009490 <+1476>: e9 3f 00 50 ld r9,80(r31) 0x0000000100009494 <+1480>: 81 29 03 00 lwz r9,768(r9) 0x0000000100009498 <+1484>: 7d 2a 4b 78 mr r10,r9 0x000000010000949c <+1488>: 81 3f 00 44 lwz r9,68(r31) 0x00000001000094a0 <+1492>: 91 2a 00 08 stw r9,8(r10) 0x00000001000094a4 <+1496>: e9 3f 00 50 ld r9,80(r31) 0x00000001000094a8 <+1500>: 81 29 03 00 lwz r9,768(r9) 0x00000001000094ac <+1504>: 7d 2a 4b 78 mr r10,r9 0x00000001000094b0 <+1508>: 81 3f 00 a8 lwz r9,168(r31) 0x00000001000094b4 <+1512>: 91 2a 00 18 stw r9,24(r10) 0x00000001000094b8 <+1516>: 48 00 00 38 b 0x1000094f0 <CreateExtentsBTreeControlBlock+1572> 0x00000001000094bc <+1520>: 60 00 00 00 nop 0x00000001000094c0 <+1524>: 48 00 00 30 b 0x1000094f0 <CreateExtentsBTreeControlBlock+1572> 0x00000001000094c4 <+1528>: 60 00 00 00 nop 0x00000001000094c8 <+1532>: 48 00 00 28 b 0x1000094f0 <CreateExtentsBTreeControlBlock+1572> 0x00000001000094cc <+1536>: 60 00 00 00 nop 0x00000001000094d0 <+1540>: 48 00 00 20 b 0x1000094f0 <CreateExtentsBTreeControlBlock+1572> 0x00000001000094d4 <+1544>: 60 00 00 00 nop 0x00000001000094d8 <+1548>: 48 00 00 18 b 0x1000094f0 <CreateExtentsBTreeControlBlock+1572> 0x00000001000094dc <+1552>: 60 00 00 00 nop 0x00000001000094e0 <+1556>: 48 00 00 10 b 0x1000094f0 <CreateExtentsBTreeControlBlock+1572> 0x00000001000094e4 <+1560>: 60 00 00 00 nop 0x00000001000094e8 <+1564>: 48 00 00 08 b 0x1000094f0 <CreateExtentsBTreeControlBlock+1572> 0x00000001000094ec <+1568>: 60 00 00 00 nop 0x00000001000094f0 <+1572>: e9 3f 00 68 ld r9,104(r31) 0x00000001000094f4 <+1576>: 2f a9 00 00 cmpdi cr7,r9,0 0x00000001000094f8 <+1580>: 41 9e 00 1c beq cr7,0x100009514 <CreateExtentsBTreeControlBlock+1608> 0x00000001000094fc <+1584>: 39 3f 00 68 addi r9,r31,104 0x0000000100009500 <+1588>: 38 a0 00 00 li r5,0 0x0000000100009504 <+1592>: 7d 24 4b 78 mr r4,r9 0x0000000100009508 <+1596>: e8 7f 00 48 ld r3,72(r31) 0x000000010000950c <+1600>: 48 02 46 9d bl 0x10002dba8 <ReleaseVolumeBlock+8> 0x0000000100009510 <+1604>: 60 00 00 00 nop 0x0000000100009514 <+1608>: a1 3f 00 3e lhz r9,62(r31) 0x0000000100009518 <+1612>: 7d 29 07 34 extsh r9,r9 0x000000010000951c <+1616>: 7d 23 4b 78 mr r3,r9 0x0000000100009520 <+1620>: e9 3f 00 f8 ld r9,248(r31) 0x0000000100009524 <+1624>: e9 4d 8f f0 ld r10,-28688(r13) 0x0000000100009528 <+1628>: 7f a9 50 40 cmpld cr7,r9,r10 0x000000010000952c <+1632>: 39 20 00 00 li r9,0 0x0000000100009530 <+1636>: 39 40 00 00 li r10,0 0x0000000100009534 <+1640>: 41 9e 00 0c beq cr7,0x100009540 <CreateExtentsBTreeControlBlock+1652> 0x0000000100009538 <+1644>: 4b ff 87 69 bl 0x100001ca0 <0000001a.plt_call.__stack_chk_fail> 0x000000010000953c <+1648>: e8 41 00 18 ld r2,24(r1) 0x0000000100009540 <+1652>: 38 3f 01 10 addi r1,r31,272 0x0000000100009544 <+1656>: e8 01 00 10 ld r0,16(r1) 0x0000000100009548 <+1660>: 7c 08 03 a6 mtlr r0 0x000000010000954c <+1664>: eb c1 ff f0 ld r30,-16(r1) 0x0000000100009550 <+1668>: eb e1 ff f8 ld r31,-8(r1) 0x0000000100009554 <+1672>: 4e 80 00 20 blr 0x0000000100009558 <+1676>: 00 00 00 00 .long 0x0 0x000000010000955c <+1680>: 00 00 00 01 .long 0x1 0x0000000100009560 <+1684>: 80 02 00 01 lwz r0,1(r2) End of assembler dump.
SVerify1.c:786 upstream contains:
((BTreeExtensionsRec*)btcb->refCon)->BTCBMPtr = AllocateClearMemory(size); // get precleared bitmap
Edited by Zach van Rijn- Zach van Rijn added BETA5 label
added BETA5 label
- Owner
Hi @ifrit05, thanks for the update.
@awilfox can we bump this to something newer?
332.14
is from Feb 20, 2006.There have been numerous releases since: https://github.com/apple-oss-distributions/diskdev_cmds/tags.
- Zach van Rijn assigned to @awilfox
assigned to @awilfox
- Anna Wilcox removed BETA6 label
removed BETA6 label
- Anna Wilcox changed milestone to %1.0-BETA7
changed milestone to %1.0-BETA7
- Maintainer
I can confirm this is still a thing on beta6:
Adelie-661796 /home/awilcox # fsck /dev/sda4 fsck from util-linux 2.38.1 ** /dev/sda4 ** Checking HFS Plus volume. fsck: Warning... fsck.hfsplus for device /dev/sda4 exited with signal 11.
- Anna Wilcox mentioned in issue #1315
mentioned in issue #1315