[#84867] [Ruby trunk Bug#14357] thread_safe tests suite segfaults — v.ondruch@...

Issue #14357 has been reported by vo.x (Vit Ondruch).

11 messages 2018/01/15

[#84980] [Ruby trunk Feature#13618][Assigned] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — hsbt@...

Issue #13618 has been updated by hsbt (Hiroshi SHIBATA).

10 messages 2018/01/23
[#85012] Re: [Ruby trunk Feature#13618][Assigned] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — Eric Wong <normalperson@...> 2018/01/23

hsbt@ruby-lang.org wrote:

[ruby-core:85267] [Ruby trunk Bug#14425] rb_funcall too strict on extra args

From: mame@...
Date: 2018-01-31 00:45:54 UTC
List: ruby-core #85267
Issue #14425 has been updated by mame (Yusuke Endoh).


normalperson (Eric Wong) wrote:
> Attached are over 500 gem-codesearch results of latest gems.

nitpick: Your query includes `rb_funcall2`, `rb_funcall3`, and `rb_funcallv` which are safe to pass "`0, 0`".


----------------------------------------
Bug #14425: rb_funcall too strict on extra args
https://bugs.ruby-lang.org/issues/14425#change-70032

* Author: normalperson (Eric Wong)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.3: DONTNEED, 2.4: DONTNEED, 2.5: REQUIRED
----------------------------------------
Ruby 2.5 instroduces extra checking for rb_funcall checking,
but apparently it is too strict for some compilers and extra
args should not cause fatal problems (only warnings).

Jeremy first reported this to me in:
https://bogomips.org/kgio-public/20171215053434.GT7579@jeremyevans.local/
but there's apparently hundreds of instances on RubyGems.org alone.

Attached are over 500 gem-codesearch results of latest gems.

/me goes to setup a sid chroot again...


---Files--------------------------------
funcall-extra-zeros.txt (47.4 KB)
0001-ruby.h-relax-rb_funcall-check-on-extra-args-for-clan.patch (3.25 KB)


-- 
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>

In This Thread

Prev Next