[#103241] [Ruby master Bug#17777] 2.6.7 fails to build on macOS: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99 — eregontp@...
Issue #17777 has been reported by Eregon (Benoit Daloze).
17 messages
2021/04/05
[#103305] [Ruby master Feature#17785] Allow named parameters to be keywords — marcandre-ruby-core@...
Issue #17785 has been reported by marcandre (Marc-Andre Lafortune).
21 messages
2021/04/08
[#103342] [Ruby master Feature#17790] Have a way to clear a String without resetting its capacity — jean.boussier@...
Issue #17790 has been reported by byroot (Jean Boussier).
14 messages
2021/04/09
[#103388] [ANN] Multi-factor Authentication of bugs.ruby-lang.org — SHIBATA Hiroshi <hsbt@...>
Hello,
5 messages
2021/04/12
[#103414] Re: [ANN] Multi-factor Authentication of bugs.ruby-lang.org
— Martin J. Dürst <duerst@...>
2021/04/13
SXMgdGhlcmUgYSB3YXkgdG8gdXNlIHRoaXMgbXVsdGktZmFjdG9yIGF1dGhlbnRpY2F0aW9uIGZv
[#103547] List of CI sites to check — Martin J. Dürst <duerst@...>
SGVsbG8gZXZlcnlib2R5LAoKRHVlIHRvIHZhcmlvdXMgcGVyc29uYWwgcmVhc29ucywgSSBoYXZl
4 messages
2021/04/22
[#103596] [Ruby master Feature#17830] Add Integer#previous and Integer#prev — rafasoaresms@...
Issue #17830 has been reported by rafasoares (Rafael Soares).
9 messages
2021/04/26
[ruby-core:103659] [Ruby master Bug#17794] addr2line.c can free(3) an invalid pointer without zlib
From:
xtkoba+ruby@...
Date:
2021-04-29 14:58:03 UTC
List:
ruby-core #103659
Issue #17794 has been updated by xtkoba (Tee KOBAYASHI). PR: https://github.com/ruby/ruby/pull/4430 This should be trivial. ---------------------------------------- Bug #17794: addr2line.c can free(3) an invalid pointer without zlib https://bugs.ruby-lang.org/issues/17794#change-91755 * Author: xtkoba (Tee KOBAYASHI) * Status: Open * Priority: Normal * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- When built without zlib (`./configure ac_cv_lib_z_uncompress=no`), `ruby` aborts immediately after C level backtrace information is printed. ``` $ ruby -e 'Process.kill :SEGV, $$' -e:1: [BUG] Segmentation fault at 0x000003e8000052ac (...snip...) -- C level backtrace information ------------------------------------------- /var/tmp/build.debug/x86_64-linux-gcc/lib/libruby.so.3.1(0x7f8abe871147) [0x7f8abe871147] [0x7f8abe871179] (...snip...) [0x7f8abe65b5fa] /var/tmp/build.debug/x86_64-linux-gcc/bin/ruby(main+0x7f) [0x55d1e2fd1234] ../main.c:47 free(): invalid pointer Aborted ``` This happens because at [addr2line.c:2344](https://github.com/ruby/ruby/blob/799ea1d1540aca03542ee31647052343507a4b41/addr2line.c#L2344) `s->ptr` can be an invalid pointer. A patch is attached for a workaround that makes `s->ptr` either valid or `NULL`. ---Files-------------------------------- ruby-addr2line-free-invalid-pointer.patch (490 Bytes) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>