[#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:84935] [Ruby trunk Bug#14375] 3 Spec failures building MinGW 2018-01-20 trunk 61964

From: Greg.mpls@...
Date: 2018-01-19 21:31:49 UTC
List: ruby-core #84935
Issue #14375 has been updated by MSP-Greg (Greg L).

File chmod_umask.patch added
File chmod_spec.rb added
File umask_spec.rb added

@Eregon,

Attached are three files (one patch, and two spec files from repo).  Changes allow it to pass on MinGW.  Rearranged things, not sure if that's appropriate (or done correctly)...

Thanks, Greg

----------------------------------------
Bug #14375: 3 Spec failures building MinGW 2018-01-20 trunk 61964
https://bugs.ruby-lang.org/issues/14375#change-69641

* Author: MSP-Greg (Greg L)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.6.0dev (2018-01-20 trunk 61964) [x64-mingw32]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
Below are the results of spec tests for 61964.  The previous build, `ruby 2.6.0dev (2018-01-19 trunk 61949) [x64-mingw32]` did not have these failures.

Thanks, Greg


```
1)
File#chmod always succeeds with any numeric values FAILED
Expected to not get Exception
but got RangeError (integer -1073741824 too small to convert to `unsigned short')
spec/ruby/core/file/chmod_spec.rb:23:in `block (4 levels) in <top (required)>'
spec/ruby/core/file/chmod_spec.rb:22:in `each'
spec/ruby/core/file/chmod_spec.rb:22:in `block (3 levels) in <top (required)>'
spec/ruby/core/file/chmod_spec.rb:3:in `<top (required)>'

2)
File.chmod always succeeds with any numeric values FAILED
Expected to not get Exception
but got RangeError (integer -1073741824 too small to convert to `unsigned short')
spec/ruby/core/file/chmod_spec.rb:131:in `block (4 levels) in <top (required)>'
spec/ruby/core/file/chmod_spec.rb:130:in `each'
spec/ruby/core/file/chmod_spec.rb:130:in `block (3 levels) in <top (required)>'
spec/ruby/core/file/chmod_spec.rb:111:in `<top (required)>'

3)
File.umask always succeeds with any integer values FAILED
Expected to not get Exception
but got RangeError (integer -1073741824 too small to convert to `unsigned short')
spec/ruby/core/file/umask_spec.rb:37:in `block (3 levels) in <top (required)>'
spec/ruby/core/file/umask_spec.rb:36:in `each'
spec/ruby/core/file/umask_spec.rb:36:in `block (2 levels) in <top (required)>'
spec/ruby/core/file/umask_spec.rb:3:in `<top (required)>'
```

---Files--------------------------------
chmod_umask.patch (5.22 KB)
umask_spec.rb (2.04 KB)
chmod_spec.rb (7.3 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