Hi Masatake! On Mon, 2023-11-13 at 02:54 +0900, Masatake YAMATO wrote: > Could you show the outout of "pmap $$" on the target platform? Here you go: glaubitz@stadler:~$ pmap $$ 1490335: -bash 0000010000000000 1248K r-x-- bash 00000100002fa000 24K r---- bash 0000010000300000 48K rwx-- bash 000001000030c000 40K rwx-- [ anon ] 0000010000316000 520K rwx-- [ anon ] 000007feffa22000 136K rw--- [ stack ] fff8000100000000 160K r-x-- ld-linux.so.2 fff8000100028000 16K rw--- [ anon ] fff800010002c000 32K r--s- gconv-modules.cache fff80001001fe000 8K r---- ld-linux.so.2 fff8000100200000 8K rw--- ld-linux.so.2 fff8000100426000 8K r---- [ anon ] fff8000100428000 8K r-x-- [ anon ] fff8000100500000 184K r-x-- libtinfo.so.6.4 fff800010052e000 1848K ----- libtinfo.so.6.4 fff80001006fc000 16K r---- libtinfo.so.6.4 fff8000100700000 8K rwx-- libtinfo.so.6.4 fff8000100800000 1584K r-x-- libc.so.6 fff800010098c000 1472K ----- libc.so.6 fff8000100afc000 16K r---- libc.so.6 fff8000100b00000 16K rwx-- libc.so.6 fff8000100b04000 48K rwx-- [ anon ] fff8000100b10000 2984K r---- locale-archive fff8000100e00000 32K r-x-- libnss_compat.so.2 fff8000100e08000 2008K ----- libnss_compat.so.2 fff8000100ffe000 8K r---- libnss_compat.so.2 fff8000101000000 8K rwx-- libnss_compat.so.2 fff8000101100000 24K r-x-- libnss_db-2.2.3.so fff8000101106000 2016K ----- libnss_db-2.2.3.so fff80001012fe000 8K r---- libnss_db-2.2.3.so fff8000101300000 8K rwx-- libnss_db-2.2.3.so fff8000101400000 1624K r-x-- libdb-5.3.so fff8000101596000 1424K ----- libdb-5.3.so fff80001016fa000 24K r---- libdb-5.3.so fff8000101700000 56K rwx-- libdb-5.3.so total 17672K glaubitz@stadler:~$ and for zsh: stadler% pmap $$ 1490470: zsh 0000010000000000 792K r-x-- zsh 00000100001fe000 8K r---- zsh 0000010000200000 32K rwx-- zsh 0000010000208000 80K rwx-- [ anon ] 000001000021c000 408K rwx-- [ anon ] 000007feff92a000 136K rw--- [ stack ] fff8000100000000 160K r-x-- ld-linux.so.2 fff8000100028000 32K rw--- [ anon ] fff8000100032000 16K rw--- [ anon ] fff8000100038000 32K r--s- gconv-modules.cache fff8000100066000 8K r--s- Newuser.zwc fff8000100082000 8K r--s- Completion.zwc fff80001001fe000 8K r---- ld-linux.so.2 fff8000100200000 8K rw--- ld-linux.so.2 fff800010032c000 8K r---- [ anon ] fff800010032e000 8K r-x-- [ anon ] fff8000100400000 392K r-x-- libpcre2-8.so.0.11.2 fff8000100462000 1648K ----- libpcre2-8.so.0.11.2 fff80001005fe000 8K r---- libpcre2-8.so.0.11.2 fff8000100600000 8K rwx-- libpcre2-8.so.0.11.2 fff8000100700000 56K r-x-- libgdbm.so.6.0.0 fff800010070e000 1984K ----- libgdbm.so.6.0.0 fff80001008fe000 8K r---- libgdbm.so.6.0.0 fff8000100900000 8K rwx-- libgdbm.so.6.0.0 fff8000100a00000 40K r-x-- libcap.so.2.66 fff8000100a0a000 2000K ----- libcap.so.2.66 fff8000100bfe000 8K r---- libcap.so.2.66 fff8000100c00000 8K rwx-- libcap.so.2.66 fff8000100d00000 208K r-x-- libncursesw.so.6.4 fff8000100d34000 1832K ----- libncursesw.so.6.4 fff8000100efe000 8K r---- libncursesw.so.6.4 fff8000100f00000 16K rwx-- libncursesw.so.6.4 fff8000101000000 184K r-x-- libtinfo.so.6.4 fff800010102e000 1848K ----- libtinfo.so.6.4 fff80001011fc000 16K r---- libtinfo.so.6.4 fff8000101200000 8K rwx-- libtinfo.so.6.4 fff8000101300000 736K r-x-- libm.so.6 fff80001013b8000 1304K ----- libm.so.6 fff80001014fe000 8K r---- libm.so.6 fff8000101500000 8K rwx-- libm.so.6 fff8000101600000 1584K r-x-- libc.so.6 fff800010178c000 1472K ----- libc.so.6 fff80001018fc000 16K r---- libc.so.6 fff8000101900000 16K rwx-- libc.so.6 fff8000101904000 48K rwx-- [ anon ] fff8000101910000 2984K r---- locale-archive fff8000101c00000 32K r-x-- libnss_compat.so.2 fff8000101c08000 2008K ----- libnss_compat.so.2 fff8000101dfe000 8K r---- libnss_compat.so.2 fff8000101e00000 8K rwx-- libnss_compat.so.2 fff8000101f00000 24K r-x-- libnss_db-2.2.3.so fff8000101f06000 2016K ----- libnss_db-2.2.3.so fff80001020fe000 8K r---- libnss_db-2.2.3.so fff8000102100000 8K rwx-- libnss_db-2.2.3.so fff8000102200000 1624K r-x-- libdb-5.3.so fff8000102396000 1424K ----- libdb-5.3.so fff80001024fa000 24K r---- libdb-5.3.so fff8000102500000 56K rwx-- libdb-5.3.so fff8000102600000 8K r-x-- terminfo.so fff8000102602000 2032K ----- terminfo.so fff80001027fe000 8K r---- terminfo.so fff8000102800000 8K rwx-- terminfo.so fff8000102900000 296K r-x-- zle.so fff800010294a000 1744K ----- zle.so fff8000102afe000 8K r---- zle.so fff8000102b00000 40K rwx-- zle.so fff8000102b0a000 8K rwx-- [ anon ] fff8000102c00000 144K r-x-- complete.so fff8000102c24000 1896K ----- complete.so fff8000102dfe000 8K r---- complete.so fff8000102e00000 16K rwx-- complete.so fff8000102f00000 32K r-x-- zutil.so fff8000102f08000 2008K ----- zutil.so fff80001030fe000 8K r---- zutil.so fff8000103100000 8K rwx-- zutil.so fff8000103200000 16K r-x-- files.so fff8000103204000 2024K ----- files.so fff80001033fe000 8K r---- files.so fff8000103400000 8K rwx-- files.so fff8000103500000 40K r-x-- parameter.so fff800010350a000 2000K ----- parameter.so fff80001036fe000 8K r---- parameter.so fff8000103700000 8K rwx-- parameter.so total 39832K stadler% > On my PC (Fedora 38 running on x86_64): > > 929547: zsh > 000055e86f2d7000 92K r---- zsh > 000055e86f2ee000 716K r-x-- zsh > 000055e86f3a1000 88K r---- zsh > ... > > The failed test case is highly depends on "r-x--" iin > the line "000055e86f2ee000 716K r-x-- zsh". > > I guess, on your environment, the field is "rwx--". It currently looks like this for bash: 1490335: -bash 0000010000000000 1248K r-x-- bash 00000100002fa000 24K r---- bash 0000010000300000 48K rwx-- bash and for zsh: 1490470: zsh 0000010000000000 792K r-x-- zsh 00000100001fe000 8K r---- zsh 0000010000200000 32K rwx-- zsh > If, my guessing is correct, I must fix the test case. That would be great. Thank you! Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913