Issue #13410 has been updated by timhormersdorf / googlemail.com (Tim Foerster).


I'am currently unable to reproduce them, i hoped any body could take a look at file implementation. I'll get feedback as soon as possible.

----------------------------------------
Bug #13410: [BUG] Segmentation fault at file read
https://bugs.ruby-lang.org/issues/13410#change-64148

* Author: timhormersdorf / googlemail.com (Tim Foerster)
* Status: Feedback
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
The following line has triggered this issue: 

~~~ ruby
Dir['/proc/[0-9]*/cmdline'].map do |x|
  File.read(x)[/^qemu-system-x86_64.*(vm-\d+)/,1] # Line 41
end
~~~


---Files--------------------------------
bug-13410.log (125 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>