Actions
Bug #5241
closedtest_massign.rb:165 fails on Debian GNU/kFreeBSD (amd64)
Description
Files
Actions
Like0
Like0Like0Like0Like0
Added by lucas (Lucas Nussbaum) over 13 years ago. Updated over 13 years ago.
Description
Files
freebsd_map_stack.patch (719 Bytes) freebsd_map_stack.patch | lucas (Lucas Nussbaum), 08/28/2011 03:53 PM |
Why do kFreeBSD fail to allocate a stack?
Hi,
The attached patch fixes the issue. It's a bug in FreeBSD's mmap, that was already reported.
FreeBSD is not defined on Debian GNU/kFreeBSD. Since it uses the FreeBSD kernel with the GNU Libc, semantics be be either those of the FreeBSD kernel, or those of the GNU Libc, so it doesn't make sense to just look at "FreeBSD". Instead, FreeBSD_kernel is defined.
I've looked at other uses of FreeBSD kernel, and try to remember to provide patches for them if I run into issues that could be caused by them.
I've also added a reference to the FreeBSD bug report in the comment.
Ok, I'll commit your patch. Thank you!
This issue was solved with changeset r33118.
Lucas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.