{"action":"closed","issue":{"url":"https://api.github.com/repos/CTSRD-CHERI/cheribsd/issues/61","labels_url":"https://api.github.com/repos/CTSRD-CHERI/cheribsd/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/CTSRD-CHERI/cheribsd/issues/61/comments","events_url":"https://api.github.com/repos/CTSRD-CHERI/cheribsd/issues/61/events","html_url":"https://github.com/CTSRD-CHERI/cheribsd/issues/61","id":115599841,"number":61,"title":"Many programs experience alignment exceptions","user":{"login":"rwatson","id":186862,"avatar_url":"https://avatars.githubusercontent.com/u/186862?v=3","gravatar_id":"","url":"https://api.github.com/users/rwatson","html_url":"https://github.com/rwatson","followers_url":"https://api.github.com/users/rwatson/followers","following_url":"https://api.github.com/users/rwatson/following{/other_user}","gists_url":"https://api.github.com/users/rwatson/gists{/gist_id}","starred_url":"https://api.github.com/users/rwatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwatson/subscriptions","organizations_url":"https://api.github.com/users/rwatson/orgs","repos_url":"https://api.github.com/users/rwatson/repos","events_url":"https://api.github.com/users/rwatson/events{/privacy}","received_events_url":"https://api.github.com/users/rwatson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CTSRD-CHERI/cheribsd/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/CTSRD-CHERI/cheribsd/labels/CheriABI","name":"CheriABI","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"rwatson","id":186862,"avatar_url":"https://avatars.githubusercontent.com/u/186862?v=3","gravatar_id":"","url":"https://api.github.com/users/rwatson","html_url":"https://github.com/rwatson","followers_url":"https://api.github.com/users/rwatson/followers","following_url":"https://api.github.com/users/rwatson/following{/other_user}","gists_url":"https://api.github.com/users/rwatson/gists{/gist_id}","starred_url":"https://api.github.com/users/rwatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwatson/subscriptions","organizations_url":"https://api.github.com/users/rwatson/orgs","repos_url":"https://api.github.com/users/rwatson/repos","events_url":"https://api.github.com/users/rwatson/events{/privacy}","received_events_url":"https://api.github.com/users/rwatson/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-11-06T22:04:36Z","updated_at":"2015-11-06T22:48:39Z","closed_at":"2015-11-06T22:48:39Z","body":"A fair number of programs I've tested experience alignment exceptions when storing capabilities in CheriABI. For example, ```fetch(1)```, compiled for CheriABI, experiences an alignment problem in the ```getservent(3)``` code:\r\n```\r\n--- a/usr.bin/fetch/Makefile\r\n+++ b/usr.bin/fetch/Makefile\r\n@@ -1,5 +1,8 @@\r\n # $FreeBSD$\r\n \r\n+WANT_CHERI=pure\r\n+WANT_DUMP=yes\r\n+\r\n PROG=          fetch\r\n CSTD?=         c99\r\n LIBADD=                fetch\r\n```\r\n\r\nWhen run casually:\r\n```\r\n> ./fetch http://www.watson.org/\r\nBus error\r\n```\r\n\r\nConsole output:\r\n```\r\ncpuid = 0\r\n$c00: v:1 s:0 p:7fff81fd b:0000000000000000 l:0000010000000000 o:0 t:0\r\n$c01: v:0 s:0 p:00000000 b:0000000000000000 l:0000000000000000 o:0 t:0\r\n$c02: v:0 s:0 p:00000000 b:0000000000000000 l:0000000000000000 o:0 t:0\r\n$c03: v:1 s:0 p:7fff81ff b:00000001603e9000 l:0000000000000800 o:2d t:0\r\n$c04: v:1 s:0 p:7fff81fd b:0000000000000000 l:0000010000000000 o:1203bf505 t:0\r\n$c05: v:1 s:0 p:7fff81fd b:0000007fffffa77c l:0000000000000004 o:0 t:0\r\n$c06: v:1 s:0 p:7fff81fd b:0000007fffffa780 l:0000000000000020 o:0 t:0\r\n$c07: v:1 s:0 p:7fff81fd b:0000007fffffa778 l:0000000000000004 o:0 t:0\r\n$c08: v:1 s:0 p:7fff81fd b:0000000000000000 l:0000010000000000 o:1203bf507 t:0\r\n$c09: v:1 s:0 p:7fff81d7 b:0000000000000000 l:0000010000000000 o:120374158 t:0\r\n$c10: v:1 s:0 p:7fff81fd b:0000000000000000 l:0000010000000000 o:1203c6468 t:0\r\n$c11: v:1 s:0 p:7fff81fd b:0000000000000000 l:0000010000000000 o:0 t:0\r\n$c12: v:1 s:0 p:7fff81d7 b:0000000000000000 l:0000010000000000 o:1202c1630 t:0\r\n$c13: v:1 s:0 p:000081d5 b:0000007fffffa9e0 l:0000000000000008 o:0 t:0\r\n$c14: v:1 s:0 p:7fff81fd b:0000007fffffaaa0 l:0000000000000020 o:0 t:0\r\n$c15: v:1 s:0 p:7fff81fd b:0000000000000000 l:0000010000000000 o:1203c0703 t:0\r\n$c16: v:1 s:0 p:7fff81fd b:0000000000000000 l:0000010000000000 o:12039cd58 t:0\r\n$c17: v:1 s:0 p:7fff81d7 b:0000000000000000 l:0000010000000000 o:120284f84 t:0\r\n$c18: v:1 s:0 p:7fff81fd b:0000007fffffa8e0 l:0000000000000020 o:0 t:0\r\n$c19: v:1 s:0 p:7fff81fd b:0000000000000000 l:0000010000000000 o:1603e93f8 t:0\r\n$c20: v:0 s:0 p:00000000 b:0000000000000000 l:0000000000000000 o:0 t:0\r\n$c21: v:1 s:0 p:7fff81fd b:0000000000000000 l:0000010000000000 o:1603e9058 t:0\r\n$c22: v:1 s:0 p:7fff81fd b:0000000000000000 l:0000010000000000 o:1603e9058 t:0                  <-- Not 32-byte aligned; 24-byte aligned\r\n$c23: v:1 s:0 p:7fff81fd b:0000007fffffbab8 l:0000000000000004 o:0 t:0\r\n$c24: v:1 s:0 p:7fff81fd b:0000000000000000 l:0000010000000000 o:1203bf505 t:0\r\n$c26: v:1 s:0 p:7fff81ff b:0000000000000000 l:0000010000000000 o:0 t:0\r\n$c31: v:1 s:0 p:7fff81d7 b:0000000000000000 l:0000010000000000 o:120285080 t:0\r\nMar 23 04:13:37 beri1 kernel: ALIGNMENT_FIX_ERR: pid 16610 tid 100049 (fetch), uid 999: pc 0x120285080 got a write fault (type 0x5) at 0x1603e9058\r\nMar 23 04:13:37 beri1 kernel: Trapframe Register Dump:\r\nMar 23 04:13:37 beri1 kernel: zero: 0   at: 0   v0: 0   v1: 0x1\r\nMar 23 04:13:37 beri1 kernel: a0: 0x9   a1: 0xa a2: 0x7 a3: 0xccccccccccccccc\r\nMar 23 04:13:37 beri1 kernel: a4: 0x1   a5: 0   a6: 0x1 a6: 0x88\r\nMar 23 04:13:37 beri1 kernel: t0: 0     t1: 0x17        t2: 0x7fffffc2e0        t3: 0x7fffffc260\r\nMar 23 04:13:37 beri1 kernel: t8: 0x15  t9: 0x1202d6840 s0: 0xffffffffffffffff  s1: 0x9\r\nMar 23 04:13:37 beri1 kernel: s2: 0x1203c0000   s3: 0x1 s4: 0x20        s5: 0x20\r\nMar 23 04:13:37 beri1 kernel: s6: 0xffffffffffffb600    s7: 0xffd7      k0: 0   k1: 0\r\nMar 23 04:13:37 beri1 kernel: gp: 0x120420e50   sp: 0x7fffffa7c0        s8: 0x7fffffa7c0        ra: 0x1204b0000\r\nMar 23 04:13:37 beri1 kernel: sr: 0x4000fcf3    mullo: 0        mulhi: 0        badvaddr: 0x1603e9058\r\nMar 23 04:13:37 beri1 kernel: cause: 0x114      pc: 0x120285080\r\nMar 23 04:13:37 beri1 kernel: Page table info for bad address 0x1603e9058: pde = 0x98000000050bc000, pte = 0x800000001253de\r\n```\r\n\r\nDisassembly of the pertinent function:\r\n```\r\n0000000120284d20 <servent_unpack>:\r\n   120284d20:   67bdfd80        daddiu  sp,sp,-640\r\n   120284d24:   67a10278        daddiu  at,sp,632\r\n   120284d28:   ebcb0803        csd     s8,at,0(c11)\r\n   120284d2c:   67a10270        daddiu  at,sp,624\r\n   120284d30:   eb8b0803        csd     gp,at,0(c11)\r\n   120284d34:   67a10268        daddiu  at,sp,616\r\n   120284d38:   eaab0803        csd     s5,at,0(c11)\r\n   120284d3c:   67a10260        daddiu  at,sp,608\r\n   120284d40:   ea8b0803        csd     s4,at,0(c11)\r\n   120284d44:   67a10258        daddiu  at,sp,600\r\n   120284d48:   ea6b0803        csd     s3,at,0(c11)\r\n   120284d4c:   67a10250        daddiu  at,sp,592\r\n   120284d50:   ea4b0803        csd     s2,at,0(c11)\r\n   120284d54:   67a10248        daddiu  at,sp,584\r\n   120284d58:   ea2b0803        csd     s1,at,0(c11)\r\n   120284d5c:   67a10240        daddiu  at,sp,576\r\n   120284d60:   ea0b0803        csd     s0,at,0(c11)\r\n   120284d64:   67a10220        daddiu  at,sp,544\r\n   120284d68:   fb0b0800        csc     c24,at,0(c11)\r\n   120284d6c:   67a10200        daddiu  at,sp,512\r\n   120284d70:   faeb0800        csc     c23,at,0(c11)\r\n   120284d74:   facbe9e0        csc     c22,sp,480(c11)\r\n   120284d78:   faabe9c0        csc     c21,sp,448(c11)\r\n   120284d7c:   fa8be9a0        csc     c20,sp,416(c11)\r\n   120284d80:   fa6be980        csc     c19,sp,384(c11)\r\n   120284d84:   fa4be960        csc     c18,sp,352(c11)\r\n   120284d88:   fa2be940        csc     c17,sp,320(c11)\r\n   120284d8c:   03a0f025        move    s8,sp\r\n   120284d90:   49b83000        cmove   c24,c6\r\n   120284d94:   00808825        move    s1,a0\r\n   120284d98:   49b72800        cmove   c23,c5\r\n   120284d9c:   49b52000        cmove   c21,c4\r\n   120284da0:   49b61800        cmove   c22,c3\r\n   120284da4:   49b96002        cgetoffset      t9,c12\r\n   120284da8:   3c01001a        lui     at,0x1a\r\n   120284dac:   c8760000        clbu    v1,zero,0(c22)\r\n   120284db0:   0039102d        daddu   v0,at,t9\r\n   120284db4:   24010023        li      at,35\r\n   120284db8:   106100b3        beq     v1,at,120285088 <servent_unpack+0x368>\r\n   120284dbc:   2410ffff        li      s0,-1\r\n   120284dc0:   645cc130        daddiu  gp,v0,-16080\r\n   120284dc4:   67c10120        daddiu  at,s8,288\r\n   120284dc8:   49a15841        csetoffset      c1,c11,at\r\n   120284dcc:   64130020        daddiu  s3,zero,32\r\n   120284dd0:   48320cc0        csetbounds      c18,c1,s3\r\n   120284dd4:   6781b2e8        daddiu  at,gp,-19736\r\n   120284dd8:   48810047        cfromptr        c1,c0,at\r\n   120284ddc:   c8210003        cld     at,zero,0(c1)\r\n   120284de0:   48006007        cgetpcc c12\r\n   120284de4:   49ac6041        csetoffset      c12,c12,at\r\n   120284de8:   64040000        daddiu  a0,zero,0\r\n   120284dec:   64050080        daddiu  a1,zero,128\r\n   120284df0:   48f16000        cjalr   c17,c12\r\n   120284df4:   49a3a800        cmove   c3,c21\r\n   120284df8:   678195e0        daddiu  at,gp,-27168\r\n   120284dfc:   48810047        cfromptr        c1,c0,at\r\n   120284e00:   c8210003        cld     at,zero,0(c1)\r\n   120284e04:   4800a007        cgetpcc c20\r\n   120284e08:   49aca041        csetoffset      c12,c20,at\r\n   120284e0c:   f98bf0a0        csc     c12,s8,160(c11)\r\n   120284e10:   df818030        ld      at,-32720(gp)\r\n   120284e14:   642142ad        daddiu  at,at,17069\r\n   120284e18:   48840047        cfromptr        c4,c0,at\r\n   120284e1c:   48f16000        cjalr   c17,c12\r\n   120284e20:   49a3b000        cmove   c3,c22\r\n   120284e24:   48930007        cfromptr        c19,c0,zero\r\n   120284e28:   49c11cc0        ceq     at,c3,c19\r\n   120284e2c:   14200002        bnez    at,120284e38 <servent_unpack+0x118>\r\n   120284e30:   f8720000        csc     c3,zero,0(c18)\r\n   120284e34:   e8030000        csb     zero,zero,0(c3)\r\n   120284e38:   fad50000        csc     c22,zero,0(c21)\r\n   120284e3c:   df928030        ld      s2,-32720(gp)\r\n   120284e40:   6641f505        daddiu  at,s2,-2811\r\n   120284e44:   48840047        cfromptr        c4,c0,at\r\n   120284e48:   d98bf0a0        clc     c12,s8,160(c11)\r\n   120284e4c:   48f16000        cjalr   c17,c12\r\n   120284e50:   49a3b000        cmove   c3,c22\r\n   120284e54:   49b61800        cmove   c22,c3\r\n   120284e58:   49c1b4c0        ceq     at,c22,c19\r\n   120284e5c:   1420008a        bnez    at,120285088 <servent_unpack+0x368>\r\n   120284e60:   00000000        nop\r\n   120284e64:   faebf040        csc     c23,s8,64(c11)\r\n   120284e68:   67c10100        daddiu  at,s8,256\r\n   120284e6c:   67c200e0        daddiu  v0,s8,224\r\n   120284e70:   67c300d8        daddiu  v1,s8,216\r\n   120284e74:   49a15841        csetoffset      c1,c11,at\r\n   120284e78:   49a25881        csetoffset      c2,c11,v0\r\n   120284e7c:   49a358c1        csetoffset      c3,c11,v1\r\n   120284e80:   64010008        daddiu  at,zero,8\r\n   120284e84:   48210cc0        csetbounds      c1,c1,s3\r\n   120284e88:   f82bf060        csc     c1,s8,96(c11)\r\n   120284e8c:   483714c0        csetbounds      c23,c2,s3\r\n   120284e90:   48211840        csetbounds      c1,c3,at\r\n   120284e94:   f82bf080        csc     c1,s8,128(c11)\r\n   120284e98:   e8160000        csb     zero,zero,0(c22)\r\n   120284e9c:   64020001        daddiu  v0,zero,1\r\n   120284ea0:   24030009        li      v1,9\r\n   120284ea4:   24040020        li      a0,32\r\n   120284ea8:   c8b60008        clbu    a1,zero,1(c22)\r\n   120284eac:   10a3fffe        beq     a1,v1,120284ea8 <servent_unpack+0x188>\r\n   120284eb0:   49b6b080        cincoffset      c22,c22,v0\r\n   120284eb4:   10a4fffc        beq     a1,a0,120284ea8 <servent_unpack+0x188>\r\n   120284eb8:   00000000        nop\r\n   120284ebc:   df818030        ld      at,-32720(gp)\r\n   120284ec0:   6421e3f9        daddiu  at,at,-7175\r\n   120284ec4:   48840047        cfromptr        c4,c0,at\r\n   120284ec8:   d98bf0a0        clc     c12,s8,160(c11)\r\n   120284ecc:   48f16000        cjalr   c17,c12\r\n   120284ed0:   49a3b000        cmove   c3,c22\r\n   120284ed4:   49c11cc0        ceq     at,c3,c19\r\n   120284ed8:   1420006b        bnez    at,120285088 <servent_unpack+0x368>\r\n   120284edc:   f8720000        csc     c3,zero,0(c18)\r\n   120284ee0:   fb0bf020        csc     c24,s8,32(c11)\r\n   120284ee4:   64010001        daddiu  at,zero,1\r\n   120284ee8:   6782f788        daddiu  v0,gp,-2168\r\n   120284eec:   48810087        cfromptr        c1,c0,v0\r\n   120284ef0:   c8410003        cld     v0,zero,0(c1)\r\n   120284ef4:   49b81840        cincoffset      c24,c3,at\r\n   120284ef8:   fb120000        csc     c24,zero,0(c18)\r\n   120284efc:   e8030000        csb     zero,zero,0(c3)\r\n   120284f00:   49aca081        csetoffset      c12,c20,v0\r\n   120284f04:   6404000a        daddiu  a0,zero,10\r\n   120284f08:   49a3b000        cmove   c3,c22\r\n   120284f0c:   48f16000        cjalr   c17,c12\r\n   120284f10:   49a4b800        cmove   c4,c23\r\n   120284f14:   d82bf080        clc     c1,s8,128(c11)\r\n   120284f18:   e8410003        csd     v0,zero,0(c1)\r\n   120284f1c:   d8370000        clc     c1,zero,0(c23)\r\n   120284f20:   49c10d80        ceq     at,c1,c22\r\n   120284f24:   14200058        bnez    at,120285088 <servent_unpack+0x368>\r\n   120284f28:   00000000        nop\r\n   120284f2c:   3401ffff        li      at,0xffff\r\n   120284f30:   0022082b        sltu    at,at,v0\r\n   120284f34:   14200054        bnez    at,120285088 <servent_unpack+0x368>\r\n   120284f38:   00000000        nop\r\n   120284f3c:   c8210004        clb     at,zero,0(c1)\r\n   120284f40:   302100ff        andi    at,at,0xff\r\n   120284f44:   14200050        bnez    at,120285088 <servent_unpack+0x368>\r\n   120284f48:   00000000        nop\r\n   120284f4c:   00020800        sll     at,v0,0x0\r\n   120284f50:   3021ffff        andi    at,at,0xffff\r\n   120284f54:   e8350202        csw     at,zero,64(c21)\r\n   120284f58:   fb150060        csc     c24,zero,96(c21)\r\n   120284f5c:   d82bf040        clc     c1,s8,64(c11)\r\n   120284f60:   f8350020        csc     c1,zero,32(c21)\r\n   120284f64:   d84bf060        clc     c2,s8,96(c11)\r\n   120284f68:   f8220000        csc     c1,zero,0(c2)\r\n   120284f6c:   49b50800        cmove   c21,c1\r\n   120284f70:   6641f505        daddiu  at,s2,-2811\r\n   120284f74:   48840047        cfromptr        c4,c0,at\r\n   120284f78:   d98bf0a0        clc     c12,s8,160(c11)\r\n   120284f7c:   48f16000        cjalr   c17,c12\r\n   120284f80:   49a3c000        cmove   c3,c24\r\n   120284f84:   f8720000        csc     c3,zero,0(c18)\r\n   120284f88:   49c11cc0        ceq     at,c3,c19\r\n   120284f8c:   14200005        bnez    at,120284fa4 <servent_unpack+0x284>\r\n   120284f90:   49a19800        cmove   c1,c19\r\n   120284f94:   64010001        daddiu  at,zero,1\r\n   120284f98:   49a11840        cincoffset      c1,c3,at\r\n   120284f9c:   f8320000        csc     c1,zero,0(c18)\r\n   120284fa0:   e8030000        csb     zero,zero,0(c3)\r\n   120284fa4:   49c10cc0        ceq     at,c1,c19\r\n   120284fa8:   daebf020        clc     c23,s8,32(c11)\r\n   120284fac:   14200030        bnez    at,120285070 <servent_unpack+0x350>\r\n   120284fb0:   00000000        nop\r\n   120284fb4:   00110978        dsll    at,s1,0x5\r\n   120284fb8:   6421ffe0        daddiu  at,at,-32\r\n   120284fbc:   49b3a840        cincoffset      c19,c21,at\r\n   120284fc0:   24110009        li      s1,9\r\n   120284fc4:   64130001        daddiu  s3,zero,1\r\n   120284fc8:   48940007        cfromptr        c20,c0,zero\r\n   120284fcc:   24140020        li      s4,32\r\n   120284fd0:   64150020        daddiu  s5,zero,32\r\n   120284fd4:   6641f505        daddiu  at,s2,-2811\r\n   120284fd8:   48980047        cfromptr        c24,c0,at\r\n   120284fdc:   c8410000        clbu    v0,zero,0(c1)\r\n   120284fe0:   10510003        beq     v0,s1,120284ff0 <servent_unpack+0x2d0>\r\n   120284fe4:   00000000        nop\r\n   120284fe8:   14540007        bne     v0,s4,120285008 <servent_unpack+0x2e8>\r\n   120284fec:   00000000        nop\r\n   120284ff0:   49a10cc0        cincoffset      c1,c1,s3\r\n   120284ff4:   49c10d00        ceq     at,c1,c20\r\n   120284ff8:   1020fff8        beqz    at,120284fdc <servent_unpack+0x2bc>\r\n   120284ffc:   f8320000        csc     c1,zero,0(c18)\r\n   120285000:   080a141a        j       120285068 <servent_unpack+0x348>\r\n   120285004:   00000000        nop\r\n   120285008:   1040001b        beqz    v0,120285078 <servent_unpack+0x358>\r\n   12028500c:   00000000        nop\r\n   120285010:   49c19d43        cle     at,c19,c21\r\n   120285014:   1420003a        bnez    at,120285100 <servent_unpack+0x3e0>\r\n   120285018:   00000000        nop\r\n   12028501c:   49b6ad40        cincoffset      c22,c21,s5\r\n   120285020:   d84bf060        clc     c2,s8,96(c11)\r\n   120285024:   fac20000        csc     c22,zero,0(c2)\r\n   120285028:   f8350000        csc     c1,zero,0(c21)\r\n   12028502c:   d8720000        clc     c3,zero,0(c18)\r\n   120285030:   d98bf0a0        clc     c12,s8,160(c11)\r\n   120285034:   48f16000        cjalr   c17,c12\r\n   120285038:   49a4c000        cmove   c4,c24\r\n   12028503c:   49c11d00        ceq     at,c3,c20\r\n   120285040:   1420000e        bnez    at,12028507c <servent_unpack+0x35c>\r\n   120285044:   f8720000        csc     c3,zero,0(c18)\r\n   120285048:   49a11cc0        cincoffset      c1,c3,s3\r\n   12028504c:   f8320000        csc     c1,zero,0(c18)\r\n   120285050:   e8030000        csb     zero,zero,0(c3)\r\n   120285054:   49c10d01        cne     at,c1,c20\r\n   120285058:   1420ffe0        bnez    at,120284fdc <servent_unpack+0x2bc>\r\n   12028505c:   49b5b000        cmove   c21,c22\r\n   120285060:   080a141f        j       12028507c <servent_unpack+0x35c>\r\n   120285064:   00000000        nop\r\n   120285068:   080a141f        j       12028507c <servent_unpack+0x35c>\r\n   12028506c:   49b6a800        cmove   c22,c21\r\n   120285070:   080a141f        j       12028507c <servent_unpack+0x35c>\r\n   120285074:   49b6a800        cmove   c22,c21\r\n   120285078:   49b6a800        cmove   c22,c21\r\n   12028507c:   48810007        cfromptr        c1,c0,zero\r\n   120285080:   f8360000        csc     c1,zero,0(c22)                                  <-- Boom here\r\n   120285084:   24100000        li      s0,0\r\n   120285088:   02001025        move    v0,s0\r\n   12028508c:   03c0e825        move    sp,s8\r\n   120285090:   da2be940        clc     c17,sp,320(c11)\r\n   120285094:   da4be960        clc     c18,sp,352(c11)\r\n   120285098:   da6be980        clc     c19,sp,384(c11)\r\n   12028509c:   da8be9a0        clc     c20,sp,416(c11)\r\n   1202850a0:   daabe9c0        clc     c21,sp,448(c11)\r\n   1202850a4:   dacbe9e0        clc     c22,sp,480(c11)\r\n   1202850a8:   67a10200        daddiu  at,sp,512\r\n   1202850ac:   daeb0800        clc     c23,at,0(c11)\r\n   1202850b0:   67a10220        daddiu  at,sp,544\r\n   1202850b4:   db0b0800        clc     c24,at,0(c11)\r\n   1202850b8:   67a10240        daddiu  at,sp,576\r\n   1202850bc:   ca0b0803        cld     s0,at,0(c11)\r\n   1202850c0:   67a10248        daddiu  at,sp,584\r\n   1202850c4:   ca2b0803        cld     s1,at,0(c11)\r\n   1202850c8:   67a10250        daddiu  at,sp,592\r\n   1202850cc:   ca4b0803        cld     s2,at,0(c11)\r\n   1202850d0:   67a10258        daddiu  at,sp,600\r\n   1202850d4:   ca6b0803        cld     s3,at,0(c11)\r\n   1202850d8:   67a10260        daddiu  at,sp,608\r\n   1202850dc:   ca8b0803        cld     s4,at,0(c11)\r\n   1202850e0:   67a10268        daddiu  at,sp,616\r\n   1202850e4:   caab0803        cld     s5,at,0(c11)\r\n   1202850e8:   67a10270        daddiu  at,sp,624\r\n   1202850ec:   cb8b0803        cld     gp,at,0(c11)\r\n   1202850f0:   67a10278        daddiu  at,sp,632\r\n   1202850f4:   cbcb0803        cld     s8,at,0(c11)\r\n   1202850f8:   49008800        cjr     c17\r\n   1202850fc:   67bd0280        daddiu  sp,sp,640\r\n   120285100:   fa950000        csc     c20,zero,0(c21)\r\n   120285104:   24010022        li      at,34\r\n   120285108:   080a1422        j       120285088 <servent_unpack+0x368>\r\n   12028510c:   e8370002        csw     at,zero,0(c23)\r\n```\r\n\r\n$c22 is not 32-byte aligned, so the capability store fails."}}