Date: Mon, 08 Feb 2021 08:31:58 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 253337] Linuxulator: glibc's pthread_getattr_np reports stack size as 124K Message-ID: <bug-253337-227-cKkCOSFWAO@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-253337-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253337 --- Comment #4 from Alex S <iwtcex@gmail.com> --- Here's how this looks on Ubuntu: xubuntu@xubuntu:~$ uname -a Linux xubuntu 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux xubuntu@xubuntu:~$ gcc apparent_stack_size.c -pthread -o test xubuntu@xubuntu:~$ ./test 7feaba441000-7feaba442000 rw-p 00000000 00:00 0 7ffca0aef000-7ffca0b10000 rw-p 00000000 00:00 0 [stack] 7ffca0b6b000-7ffca0b6e000 r--p 00000000 00:00 0 [vvar] 7ffca0b6e000-7ffca0b6f000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0 [vsyscall] stack size = 8384512 xubuntu@xubuntu:~$ ulimit -s 3000 xubuntu@xubuntu:~$ ./test 7f07aa268000-7f07aa269000 rw-p 00000000 00:00 0 7ffc606ee000-7ffc6070f000 rw-p 00000000 00:00 0 [stack] 7ffc60765000-7ffc60768000 r--p 00000000 00:00 0 [vvar] 7ffc60768000-7ffc60769000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0 [vsyscall] stack size = 3063808 -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253337-227-cKkCOSFWAO>
