[#105104] [Ruby master Bug#18141] Marshal load with proc yield strings before they are fully initialized — "byroot (Jean Boussier)" <noreply@...>

Issue #18141 has been reported by byroot (Jean Boussier).

10 messages 2021/09/01

[#105114] [Ruby master Feature#18143] Add a new method to change GC.stress only in the given block such as GC.with_stress(flag) {...} — "kou (Kouhei Sutou)" <noreply@...>

Issue #18143 has been reported by kou (Kouhei Sutou).

8 messages 2021/09/02

[#105180] [Ruby master Bug#18156] 3.0.2 configuration checks by default for C++ compiler instead of C? — "vo.x (Vit Ondruch)" <noreply@...>

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

11 messages 2021/09/08

[#105191] [Ruby master Bug#18159] Integrate functionality of dead_end gem into Ruby — duerst <noreply@...>

Issue #18159 has been reported by duerst (Martin Dst).

37 messages 2021/09/11

[#105269] [Ruby master Bug#18169] Local copies of gemified libraries are being released out of sync with their gems — "headius (Charles Nutter)" <noreply@...>

Issue #18169 has been reported by headius (Charles Nutter).

15 messages 2021/09/15

[#105276] [Ruby master Bug#18170] Exception#inspect should not include newlines — "mame (Yusuke Endoh)" <noreply@...>

Issue #18170 has been reported by mame (Yusuke Endoh).

29 messages 2021/09/16

[#105310] [Ruby master Misc#18174] DevelopersMeeting20211021Japan — "mame (Yusuke Endoh)" <noreply@...>

Issue #18174 has been reported by mame (Yusuke Endoh).

14 messages 2021/09/16

[#105313] [Ruby master Misc#18175] Propose Jean Boussier (@byroot) as a core committer — "tenderlovemaking (Aaron Patterson)" <noreply@...>

Issue #18175 has been reported by tenderlovemaking (Aaron Patterson).

11 messages 2021/09/16

[#105354] [Ruby master Feature#18181] Introduce Enumerable#min_with_value, max_with_value, and minmax_with_value — "kyanagi (Kouhei Yanagita)" <noreply@...>

Issue #18181 has been reported by kyanagi (Kouhei Yanagita).

16 messages 2021/09/20

[#105361] [Ruby master Feature#18183] make SecureRandom.choose public — "olleicua (Antha Auciello)" <noreply@...>

Issue #18183 has been reported by olleicua (Antha Auciello).

17 messages 2021/09/21

[#105377] [Ruby master Bug#18187] Float#clamp() returns ArgumentError (comparison of Float with 1 failed) — "SouravGoswami (Sourav Goswami)" <noreply@...>

Issue #18187 has been reported by SouravGoswami (Sourav Goswami).

7 messages 2021/09/22

[#105391] [Ruby master Bug#18189] `rb_cString` can be NULL during `Init_Object` — "ioquatix (Samuel Williams)" <noreply@...>

Issue #18189 has been reported by ioquatix (Samuel Williams).

9 messages 2021/09/23

[#105428] [Ruby master Bug#18194] No easy way to format exception messages per thread/fiber scheduler context. — "ioquatix (Samuel Williams)" <noreply@...>

Issue #18194 has been reported by ioquatix (Samuel Williams).

16 messages 2021/09/26

[#105450] [Ruby master Feature#18228] Add a `timeout` option to `IO.copy_stream` — "byroot (Jean Boussier)" <noreply@...>

Issue #18228 has been reported by byroot (Jean Boussier).

11 messages 2021/09/27

[#105452] [Ruby master Feature#18229] Proposal to merge YJIT — "maximecb (Maxime Chevalier-Boisvert)" <noreply@...>

Issue #18229 has been reported by maximecb (Maxime Chevalier-Boisvert).

21 messages 2021/09/27

[#105500] [Ruby master Feature#18231] `RubyVM.keep_script_lines` — "ko1 (Koichi Sasada)" <noreply@...>

Issue #18231 has been reported by ko1 (Koichi Sasada).

19 messages 2021/09/30

[#105504] [Ruby master Bug#18232] Ractor.make_shareable is broken in code loaded with RubyVM::InstructionSequence.load_from_binary — "byroot (Jean Boussier)" <noreply@...>

Issue #18232 has been reported by byroot (Jean Boussier).

7 messages 2021/09/30

[ruby-core:105375] [Ruby master Bug#18186] SEGV with system command - MinGW?

From: "MSP-Greg (Greg L)" <noreply@...>
Date: 2021-09-22 15:20:00 UTC
List: ruby-core #105375
Issue #18186 has been reported by MSP-Greg (Greg L).

----------------------------------------
Bug #18186: SEGV with system command - MinGW?
https://bugs.ruby-lang.org/issues/18186

* Author: MSP-Greg (Greg L)
* Status: Open
* Priority: Normal
* ruby -v: ruby 3.1.0dev (2021-09-22T07:37:13Z master 0dea31c437) [x64-mingw32]
* Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
This morning ran the update code for https://msp-greg.github.io, and had a SEGV on a system call using MinGW.  I tried a few things from the console, and they all worked.  I haven't installed all the dependencies on WSL2/Ubuntu, so I can't (yet) test it there.  The code ran fine about 11 hours ago.  AFK for a bit, log below:

Possibly due to ['Add support for non-blocking Kernel.system'](https://github.com/ruby/ruby/commit/7db021f83bc68420746835bb92fce9a5d5a93d9b)?

@ioquatix?

```
C:/GitHub/gen-docs/code/main_generate.rb:100: [BUG] Segmentation fault
ruby 3.1.0dev (2021-09-22T07:37:13Z master 0dea31c437) [x64-mingw32]

-- Control frame information -----------------------------------------------
c:0012 p:---- s:0061 e:000060 CFUNC  :system
c:0011 p:0072 s:0056 e:000055 BLOCK  C:/GitHub/gen-docs/code/main_generate.rb:100 [FINISH]
c:0010 p:---- s:0045 e:000044 CFUNC  :chdir
c:0009 p:0281 s:0040 e:000039 METHOD C:/GitHub/gen-docs/code/main_generate.rb:96
c:0008 p:0028 s:0031 e:000030 BLOCK  C:/GitHub/gen-docs/code/main_generate.rb:47 [FINISH]
c:0007 p:---- s:0027 e:000026 CFUNC  :each
c:0006 p:0057 s:0023 e:000022 BLOCK  C:/GitHub/gen-docs/code/main_generate.rb:45 [FINISH]
c:0005 p:---- s:0018 e:000017 CFUNC  :each
c:0004 p:0006 s:0014 e:000013 METHOD C:/GitHub/gen-docs/code/main_generate.rb:40
c:0003 p:0023 s:0010 e:000009 METHOD C:/GitHub/gen-docs/code/main_generate.rb:34
c:0002 p:0069 s:0006 e:000005 EVAL   C:/GitHub/gen-docs/code/main_generate.rb:242 [FINISH]
c:0001 p:0000 s:0003 E:0014a0 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
C:/GitHub/gen-docs/code/main_generate.rb:242:in `<main>'
C:/GitHub/gen-docs/code/main_generate.rb:34:in `run_all'
C:/GitHub/gen-docs/code/main_generate.rb:40:in `run_needed_jobs'
C:/GitHub/gen-docs/code/main_generate.rb:40:in `each'
C:/GitHub/gen-docs/code/main_generate.rb:45:in `block in run_needed_jobs'
C:/GitHub/gen-docs/code/main_generate.rb:45:in `each'
C:/GitHub/gen-docs/code/main_generate.rb:47:in `block (2 levels) in run_needed_jobs'
C:/GitHub/gen-docs/code/main_generate.rb:96:in `generate_docs'
C:/GitHub/gen-docs/code/main_generate.rb:96:in `chdir'
C:/GitHub/gen-docs/code/main_generate.rb:100:in `block in generate_docs'
C:/GitHub/gen-docs/code/main_generate.rb:100:in `system'

-- C level backtrace information -------------------------------------------
C:\Windows\SYSTEM32\ntdll.dll(NtWaitForSingleObject+0x14) [0x00007ffa5c20cdf4]
C:\Windows\System32\KERNELBASE.dll(WaitForSingleObjectEx+0x8e) [0x00007ffa59ee1a8e]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_vm_bugreport+0x30b) [0x00007ffa0c93f25b]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_bug_for_fatal_signal+0x88) [0x00007ffa0c7414a8]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_fiber_scheduler_address_resolve+0x2be) [0x00007ffa0c89243e]
 [0x00007ff6cd621fa2]
C:\Windows\System32\msvcrt.dll(_C_specific_handler+0x98) [0x00007ffa5a547ff8]
C:\Windows\SYSTEM32\ntdll.dll(_chkstk+0x11f) [0x00007ffa5c2120cf]
C:\Windows\SYSTEM32\ntdll.dll(RtlRaiseException+0x434) [0x00007ffa5c1c1454]
C:\Windows\SYSTEM32\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0x00007ffa5c210bfe]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_process_status_waitv+0x1ca) [0x00007ffa0c83a90a]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_error_arity+0x269) [0x00007ffa0c916629]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_add_method+0x1d5) [0x00007ffa0c92ee95]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_vm_exec+0x237) [0x00007ffa0c921e87]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_yield+0x26c) [0x00007ffa0c93723c]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_ensure+0x18f) [0x00007ffa0c74c33f]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(ruby_debug_counter_show_at_exit+0x302b) [0x00007ffa0c7150db]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_error_arity+0x269) [0x00007ffa0c916629]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_vm_search_method_slowpath+0x59b) [0x00007ffa0c91986b]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_add_method+0x279) [0x00007ffa0c92ef39]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_vm_exec+0x237) [0x00007ffa0c921e87]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_yield+0x26c) [0x00007ffa0c93723c]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_ary_each+0x3d) [0x00007ffa0c6a53ed]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_error_arity+0x269) [0x00007ffa0c916629]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_vm_search_method_slowpath+0x59b) [0x00007ffa0c91986b]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_add_method+0x279) [0x00007ffa0c92ef39]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_vm_exec+0x237) [0x00007ffa0c921e87]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_hash_compare_by_id_p+0x458) [0x00007ffa0c7722a8]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_hash_values+0xdfc) [0x00007ffa0c77356c]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_st_foreach_check+0x77) [0x00007ffa0c89f727]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_hash_set_default_proc+0x14f9) [0x00007ffa0c776069]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_ensure+0x18f) [0x00007ffa0c74c33f]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_hash_set_default_proc+0x1952) [0x00007ffa0c7764c2]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_hash_set_default_proc+0x3acc) [0x00007ffa0c77863c]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_error_arity+0x269) [0x00007ffa0c916629]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_vm_search_method_slowpath+0x59b) [0x00007ffa0c91986b]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_add_method+0x279) [0x00007ffa0c92ef39]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_vm_exec+0xa7f) [0x00007ffa0c9226cf]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(rb_call_end_proc+0x130) [0x00007ffa0c745ac0]
C:\ruby-mingw\bin\x64-msvcrt-ruby310.dll(ruby_run_node+0xa5) [0x00007ffa0c74b135]
 [0x00007ff6cd62289d]
 [0x00007ff6cd6213b1]
 [0x00007ff6cd6214e6]
C:\Windows\System32\KERNEL32.DLL(BaseThreadInitThunk+0x14) [0x00007ffa5a9a7034]
```



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