ncopa (Natanael Copa)
- Login: ncopa
- Registered on: 03/08/2018
- Last sign in: 03/27/2024
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 3 | 3 |
Activity
03/27/2024
-
11:48 AM Ruby Bug #19716: SystemStackError occurs too easily on Alpine Linux (due to small stack size reported by pthread_attr_getstacksize on musl libc)
- hsbt (Hiroshi SHIBATA) wrote in #note-5:
> We welcome patch for them.
[Patch](https://bugs.ruby-lang.org/attachments/7081) has been available for for years. https://bugs.ruby-lang.org/issues/19716#note-2 confirms it still works for...
09/25/2020
-
05:56 PM Ruby Bug #17189 (Closed): test_thread.rb in testsuite deadlocks with musl libc 1.2.1
- When we build ruby-2.7.1 in alpine linux the test suite deadlocks in `test_thread.rb`.
There are multiple processes:
```
$ ps xa | grep ruby
12401 ncopa 0:01 /home/ncopa/aports/main/ruby/src/ruby-2.7.1/ruby --disable-gems ./boo...
04/23/2020
-
08:49 AM Ruby Bug #16810 (Closed): ruby segfaults on s390x with musl libc
- When trying to build mruby-2.1.0 ruby segfaults when running `ruby ./minirake -v`.
I was able to get a backtrace with gdb:
```
Program received signal SIGSEGV, Segmentation fault. ... -
08:07 AM Ruby Bug #16455: coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
- This is still an issue for alpine s390x. See #16809
-
08:05 AM Ruby Bug #16809 (Closed): Fiber crashes with --with-coroutine=copy
- ```
./revision.h unchanged ...
04/21/2020
-
03:13 PM Ruby Bug #14387: Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
- hshimoyama (Hiroyasu Shimoyama) wrote in #note-24:
> I tried to reproduce this issue, but it was not reproduced today.
> ...
It works because the docker library image is using my patch:
https://github.com/docker-library/ruby/blob/ma...
06/11/2018
-
01:44 PM Ruby Bug #14387: Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
- wanabe (_ wanabe) wrote:
> It seems to be reasonable not to rely `pthread_getattr_np()` on `defined(__linux__) && !defined(__GLIBC__)` environment because the function has suffix ["_np"](https://bugs.ruby-lang.org/issues/14387#note-12).... -
12:43 PM Ruby Bug #14387: Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
- wanabe (_ wanabe) wrote:
> It's acceptable because it doesn't break other tested environment, but `getrlimit` really works on musl libc environment?
`getrlimit` works on musl libc, as defined by POSIX. This is a syscall so there is... -
12:22 PM Ruby Bug #14387: Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
- naruse (Yui NARUSE) wrote:
> jottr (jottr -) wrote:
> ...
No. `get_main_stack` gets defined in the #else block for everything that is not Linux or not glibc:
````
#if defined(__linux__) && !defined(__GLIBC__) && defined(HAVE_GETRLIMI...
03/16/2018
-
12:57 PM Ruby Bug #14387: Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
- this is somewhat related to this comment: https://bugs.ruby-lang.org/issues/9454#note-6
There is a problem with pthread_getattr_np() when running main thread since we get different results depending on implementation. The `_np` means ...