<div dir="ltr">Hi,<div><br></div><div><br></div><div>    aioEnable et al should really check the fd argument against FD_SETSIZE and answer error codes that get tested in clients.  See two messages below:</div><div class="gmail_extra"><br></div><div class="gmail_extra">On Tue, Mar 6, 2018 at 2:49 AM, Sabine Manaa <span dir="ltr"><<a href="mailto:manaa.sabine@gmail.com" target="_blank">manaa.sabine@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I can report the following: </div><div><br></div><div>The problem with the Buffer overflow remains also with OSProcess. </div><div>Also with the normal vm (<a href="https://get.pharo.org/" target="_blank" style="color:black;font-family:monospace;background-color:rgb(238,238,238)">https://get.pharo.org</a><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium;background-color:rgb(238,238,238)"> </span>).</div><div><br></div><div>Summary: I have buffer overflow crashes with my application on Linux.</div><div>The same code runs without problems on MacOS and on Windows.<br></div><div>I have the same test data/database and do exactly the same.</div><div><br></div><div>The problem occurs only after calling several times OSProcess/OSSubprocess.</div><div>This is the reason why I first had a suspicion that OSSubprocess is responsible for the crashes.</div><div><br></div><div>Can anyone tell me how to proceed to find the reason for the buffer overflow?</div><div>There is no PharoDebug.log </div><div><br></div><div>Help is very appreciated!</div><div><br></div><div>This is the message when terminating:</div><div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">root@Pharo_ubuntu_16:/spf/buil<wbr>d# ./pharo Pharo-Productive-SPF.image --no-quit</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">SmalltalkImageInstanceID class>>startUp*** buffer overflow detected ***: /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/pharo terminated</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">======= Backtrace: =========</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">/lib/i386-linux-gnu/libc.so.6(<wbr>+0x67377)[0xf75b9377]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">/lib/i386-linux-gnu/libc.so.6(<wbr>__fortify_fail+0x68)[0xf764970<wbr>8]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">/lib/i386-linux-gnu/libc.so.6(<wbr>+0xf58f8)[0xf76478f8]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">/lib/i386-linux-gnu/libc.so.6(<wbr>+0xf75fa)[0xf76495fa]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">/spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/pharo(aioEnab<wbr>le+0x31)[0x80c9811]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">/spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/pharo[0x81215<wbr>ee]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">[0x90010e0]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">[0x90ad2d0]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">[0x90db8b4]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">[0x90ad24a]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">[0x900be6b]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">[0x900b04d]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">[0x9007a3e]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">[0x9004247]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">[0x9004572]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">[0x9001020]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">[0xa98c524]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">[0xb1755db]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">[0x9003efc]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">[0x9001020]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">[0xdcb558c]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">[0xb0d4d95]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">[0x9000ff0]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">======= Memory map: ========</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">08048000-08164000 r-xp 00000000 00:1b 1183256                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/pharo</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">08164000-08165000 r--p 0011b000 00:1b 1183256                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/pharo</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">08165000-08170000 rw-p 0011c000 00:1b 1183256                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/pharo</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">08170000-081a7000 rw-p 00000000 00:00 0 </span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">08fdd000-08ffe000 rw-p 00000000 00:00 0                                  [heap]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">09000000-09100000 rwxp 00000000 00:00 0 </span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">09100000-11200000 rw-p 00000000 00:00 0 </span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f552e000-f554a000 r-xp 00000000 00:1b 8244                               /lib/i386-linux-gnu/libgcc_s.s<wbr>o.1</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f554a000-f554b000 rw-p 0001b000 00:1b 8244                               /lib/i386-linux-gnu/libgcc_s.s<wbr>o.1</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f554b000-f684c000 rw-p 00000000 00:00 0 </span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f684c000-f684f000 r-xp 00000000 00:1b 1183242                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/JPEGReaderPlu<wbr>gin.so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f684f000-f6850000 r--p 00002000 00:1b 1183242                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/JPEGReaderPlu<wbr>gin.so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6850000-f6851000 rw-p 00003000 00:1b 1183242                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/JPEGReaderPlu<wbr>gin.so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6851000-f68b2000 r-xp 00000000 00:1b 1183230                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/libssl.so.1.0<wbr>.0</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f68b2000-f68b3000 ---p 00061000 00:1b 1183230                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/libssl.so.1.0<wbr>.0</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f68b3000-f68b5000 r--p 00061000 00:1b 1183230                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/libssl.so.1.0<wbr>.0</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f68b5000-f68b9000 rw-p 00063000 00:1b 1183230                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/libssl.so.1.0<wbr>.0</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f68b9000-f6a7b000 r-xp 00000000 00:1b 1183239                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/libcrypto.so.<wbr>1.0.0</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6a7b000-f6a7c000 ---p 001c2000 00:1b 1183239                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/libcrypto.so.<wbr>1.0.0</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6a7c000-f6a8c000 r--p 001c2000 00:1b 1183239                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/libcrypto.so.<wbr>1.0.0</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6a8c000-f6a93000 rw-p 001d2000 00:1b 1183239                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/libcrypto.so.<wbr>1.0.0</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6a93000-f6a96000 rw-p 00000000 00:00 0 </span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6a96000-f6a9b000 r-xp 00000000 00:1b 1183249                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/SqueakSSL.so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6a9b000-f6a9c000 r--p 00004000 00:1b 1183249                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/SqueakSSL.so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6a9c000-f6a9d000 rw-p 00005000 00:1b 1183249                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/SqueakSSL.so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6a9d000-f6ab1000 r-xp 00000000 00:1b 7925                               /lib/i386-linux-gnu/<a href="http://libresolv-2.23.so/" target="_blank">libresolv-<wbr>2.23.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6ab1000-f6ab2000 ---p 00014000 00:1b 7925                               /lib/i386-linux-gnu/<a href="http://libresolv-2.23.so/" target="_blank">libresolv-<wbr>2.23.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6ab2000-f6ab3000 r--p 00014000 00:1b 7925                               /lib/i386-linux-gnu/<a href="http://libresolv-2.23.so/" target="_blank">libresolv-<wbr>2.23.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6ab3000-f6ab4000 rw-p 00015000 00:1b 7925                               /lib/i386-linux-gnu/<a href="http://libresolv-2.23.so/" target="_blank">libresolv-<wbr>2.23.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6ab4000-f6ab6000 rw-p 00000000 00:00 0 </span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6ab6000-f6abb000 r-xp 00000000 00:1b 7931                               /lib/i386-linux-gnu/<a href="http://libnss_dns-2.23.so/" target="_blank">libnss_dns<wbr>-2.23.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6abb000-f6abc000 r--p 00004000 00:1b 7931                               /lib/i386-linux-gnu/<a href="http://libnss_dns-2.23.so/" target="_blank">libnss_dns<wbr>-2.23.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6abc000-f6abd000 rw-p 00005000 00:1b 7931                               /lib/i386-linux-gnu/<a href="http://libnss_dns-2.23.so/" target="_blank">libnss_dns<wbr>-2.23.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6abd000-f6c05000 rw-p 00000000 00:00 0 </span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6c05000-f6c2e000 r-xp 00000000 00:1b 8373                               /lib/i386-linux-gnu/libpng12.s<wbr>o.0.54.0</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6c2e000-f6c2f000 r--p 00028000 00:1b 8373                               /lib/i386-linux-gnu/libpng12.s<wbr>o.0.54.0</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6c2f000-f6c30000 rw-p 00029000 00:1b 8373                               /lib/i386-linux-gnu/libpng12.s<wbr>o.0.54.0</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6c30000-f6c49000 r-xp 00000000 00:1b 8362                               /lib/i386-linux-gnu/libz.so.1.<wbr>2.8</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6c49000-f6c4a000 r--p 00018000 00:1b 8362                               /lib/i386-linux-gnu/libz.so.1.<wbr>2.8</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6c4a000-f6c4b000 rw-p 00019000 00:1b 8362                               /lib/i386-linux-gnu/libz.so.1.<wbr>2.8</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6c4b000-f6cf6000 r-xp 00000000 00:1b 8395                               /usr/lib/i386-linux-gnu/libfre<wbr>etype.so.6.12.1</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6cf6000-f6cfa000 r--p 000aa000 00:1b 8395                               /usr/lib/i386-linux-gnu/libfre<wbr>etype.so.6.12.1</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6cfa000-f6cfb000 rw-p 000ae000 00:1b 8395                               /usr/lib/i386-linux-gnu/libfre<wbr>etype.so.6.12.1</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6cfb000-f6d02000 r-xp 00000000 00:1b 1183229                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/FT2Plugin.so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6d02000-f6d03000 r--p 00006000 00:1b 1183229                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/FT2Plugin.so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6d03000-f6d04000 rw-p 00007000 00:1b 1183229                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/FT2Plugin.so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6d04000-f6d0f000 r-xp 00000000 00:1b 7934                               /lib/i386-linux-gnu/<a href="http://libnss_files-2.23.so/" target="_blank">libnss_fil<wbr>es-2.23.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6d0f000-f6d10000 r--p 0000a000 00:1b 7934                               /lib/i386-linux-gnu/<a href="http://libnss_files-2.23.so/" target="_blank">libnss_fil<wbr>es-2.23.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6d10000-f6d11000 rw-p 0000b000 00:1b 7934                               /lib/i386-linux-gnu/<a href="http://libnss_files-2.23.so/" target="_blank">libnss_fil<wbr>es-2.23.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6d11000-f6d38000 rw-p 00000000 00:00 0 </span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6d38000-f6d39000 ---p 00000000 00:00 0 </span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f6d39000-f7539000 rw-p 00000000 00:00 0                                  [stack:21188]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f7539000-f753b000 r-xp 00000000 00:1b 7968                               /usr/lib/i386-linux-gnu/gconv/<wbr>MACINTOSH.so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f753b000-f753c000 r--p 00001000 00:1b 7968                               /usr/lib/i386-linux-gnu/gconv/<wbr>MACINTOSH.so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f753c000-f753d000 rw-p 00002000 00:1b 7968                               /usr/lib/i386-linux-gnu/gconv/<wbr>MACINTOSH.so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f753d000-f7544000 r--s 00000000 00:1b 7977                               /usr/lib/i386-linux-gnu/gconv/<wbr>gconv-modules.cache</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f7544000-f754a000 r-xp 00000000 00:1b 1183240                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/vm-sound-OSS.<wbr>so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f754a000-f754b000 r--p 00005000 00:1b 1183240                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/vm-sound-OSS.<wbr>so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f754b000-f754c000 rw-p 00006000 00:1b 1183240                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/vm-sound-OSS.<wbr>so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f754c000-f754e000 r-xp 00000000 00:1b 1183257                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/vm-display-nu<wbr>ll.so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f754e000-f754f000 r--p 00001000 00:1b 1183257                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/vm-display-nu<wbr>ll.so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f754f000-f7550000 rw-p 00002000 00:1b 1183257                            /spf/build/pharo-vm/lib/pharo/<wbr>5.0-201707201942/vm-display-nu<wbr>ll.so</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f7550000-f7552000 rw-p 00000000 00:00 0 </span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f7552000-f7702000 r-xp 00000000 00:1b 7921                               /lib/i386-linux-gnu/<a href="http://libc-2.23.so/" target="_blank">libc-2.23.<wbr>so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f7702000-f7704000 r--p 001af000 00:1b 7921                               /lib/i386-linux-gnu/<a href="http://libc-2.23.so/" target="_blank">libc-2.23.<wbr>so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f7704000-f7705000 rw-p 001b1000 00:1b 7921                               /lib/i386-linux-gnu/<a href="http://libc-2.23.so/" target="_blank">libc-2.23.<wbr>so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f7705000-f7708000 rw-p 00000000 00:00 0 </span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f7708000-f775b000 r-xp 00000000 00:1b 7917                               /lib/i386-linux-gnu/<a href="http://libm-2.23.so/" target="_blank">libm-2.23.<wbr>so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f775b000-f775c000 r--p 00052000 00:1b 7917                               /lib/i386-linux-gnu/<a href="http://libm-2.23.so/" target="_blank">libm-2.23.<wbr>so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f775c000-f775d000 rw-p 00053000 00:1b 7917                               /lib/i386-linux-gnu/<a href="http://libm-2.23.so/" target="_blank">libm-2.23.<wbr>so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f775d000-f7776000 r-xp 00000000 00:1b 7920                               /lib/i386-linux-gnu/<a href="http://libpthread-2.23.so/" target="_blank">libpthread<wbr>-2.23.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f7776000-f7777000 r--p 00018000 00:1b 7920                               /lib/i386-linux-gnu/<a href="http://libpthread-2.23.so/" target="_blank">libpthread<wbr>-2.23.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f7777000-f7778000 rw-p 00019000 00:1b 7920                               /lib/i386-linux-gnu/<a href="http://libpthread-2.23.so/" target="_blank">libpthread<wbr>-2.23.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f7778000-f777a000 rw-p 00000000 00:00 0 </span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f777a000-f777d000 r-xp 00000000 00:1b 7923                               /lib/i386-linux-gnu/<a href="http://libdl-2.23.so/" target="_blank">libdl-2.23<wbr>.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f777d000-f777e000 r--p 00002000 00:1b 7923                               /lib/i386-linux-gnu/<a href="http://libdl-2.23.so/" target="_blank">libdl-2.23<wbr>.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f777e000-f777f000 rw-p 00003000 00:1b 7923                               /lib/i386-linux-gnu/<a href="http://libdl-2.23.so/" target="_blank">libdl-2.23<wbr>.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f777f000-f7780000 rw-p 00000000 00:00 0 </span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f7780000-f7781000 r-xp 00000000 00:00 0                                  [vdso]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f7781000-f77a4000 r-xp 00000000 00:1b 7919                               /lib/i386-linux-gnu/<a href="http://ld-2.23.so/" target="_blank">ld-2.23.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f77a4000-f77a5000 r--p 00022000 00:1b 7919                               /lib/i386-linux-gnu/<a href="http://ld-2.23.so/" target="_blank">ld-2.23.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">f77a5000-f77a6000 rw-p 00023000 00:1b 7919                               /lib/i386-linux-gnu/<a href="http://ld-2.23.so/" target="_blank">ld-2.23.so</a></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">ffc55000-ffcd1000 rw-p 00000000 00:00 0                                  [stack]</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">./pharo: line 11: 14639 Aborted                 "$DIR"/"pharo-vm/pharo" --nodisplay "$@"</span></p></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div></div></blockquote><div> </div><div class="gmail_quote">On Tue, Mar 6, 2018 at 5:26 AM, Henrik Sperre Johansen <span dir="ltr"><<a href="mailto:henrik.s.johansen@veloxit.no" target="_blank">henrik.s.johansen@veloxit.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Seems to me aioEnable somehow triggers this.<br>
It maintains buffers of size FD_SETSIZE (1024 on Linux)*, so an fd<br>
parameter** >= that, could probably trigger such an error.<br>
Maybe you could put a halt in whichever method in OSSubprocess/OSProcess<br>
calls the primitive triggered when condition occurs, to see if that is the<br>
cause?<br>
If so, identifying *why* you end up with fd's that high (which, afaik, isn't<br>
normal), will probably lead to a workaround/solution...<br>
<br>
Cheers,<br>
Henry<br>
<br>
*<br>
<a href="https://github.com/pharo-project/pharo-vm/blob/e0ce2d9d78c3c7b37bbc12cd8730c6a15f1f057c/opensmalltalk-vm/platforms/unix/vm/aio.c" rel="noreferrer" target="_blank">https://github.com/pharo-proje<wbr>ct/pharo-vm/blob/e0ce2d9d78c3c<wbr>7b37bbc12cd8730c6a15f1f057c/<wbr>opensmalltalk-vm/platforms/<wbr>unix/vm/aio.c</a><br>
**<br>
<a href="https://github.com/pharo-project/pharo-vm/blob/c50dec02d2875de56c84d11889c78484e2d5cda8/mc/VMConstruction-Plugins-AioPlugin.package/UnixAioPlugin.class/instance/primitiveAioEnable.st" rel="noreferrer" target="_blank">https://github.com/pharo-proje<wbr>ct/pharo-vm/blob/c50dec02d2875<wbr>de56c84d11889c78484e2d5cda8/<wbr>mc/VMConstruction-Plugins-<wbr>AioPlugin.package/UnixAioPlugi<wbr>n.class/instance/primitiveAioE<wbr>nable.st</a><div class="gmail-m_-7966549444407728355HOEnZb"><div class="gmail-m_-7966549444407728355h5">
<br>
--<br>
Sent from: <a href="http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html" rel="noreferrer" target="_blank">http://forum.world.st/Pharo-Sm<wbr>alltalk-Developers-f1294837.ht<wbr>ml</a></div></div></blockquote><div> </div></div><div class="gmail-m_-7966549444407728355gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>